[GSAS-II] I can not export CIF-full in GSAS-II (Edward Ebner Avila Sosa)

Yang Yushi yangyushi1992 at icloud.com
Fri Nov 4 02:31:05 CDT 2016


> Today's Topics:
> 
>   1. I can not export CIF-full in GSAS-II (Edward Ebner Avila Sosa)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Thu, 3 Nov 2016 10:31:29 -0430 (VET)
> From: Edward Ebner Avila Sosa <eavila at ivic.gob.ve>
> To: gsas-ii at aps.anl.gov
> Subject: [GSAS-II] I can not export CIF-full in GSAS-II
> Message-ID:
> 	<1848592571.140252.1478185289340.JavaMail.zimbra at ivic.gob.ve>
> Content-Type: text/plain; charset="utf-8"
> 
> Hi everyone, 
> 
> I have a problem with GSAS-II program for export full CIF. This generate me the following errors: 
> 
> ==================================================================================== 
> Writing CIF output to file LaFeAlO3_3.cif... 
> Traceback (most recent call last): 
> File "C:\GSASII\GSASII.py", line 133, in MenuBinding 
> log.InvokeMenuCommand(event.GetId(),self,event) 
> File "C:\GSASII\GSASIIlog.py", line 458, in InvokeMenuCommand 
> handler(event) 
> File "C:\GSASII\exports\G2export_CIF.py", line 2001, in Exporter 
> self._Exporter(event=event) 
> File "C:\GSASII\exports\G2export_CIF.py", line 1819, in _Exporter 
> str(self.shortauthorname) + "|" + instnam) 
> File "C:\GSASII\exports\G2export_CIF.py", line 71, in WriteCIFitem 
> self.fp.write('; '+value+'\n') 
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 69: ordinal not in range(128) 
> ==================================================================================== 
> 

Is there some non-ascii characters in your "Instrument names”? I can re-produce similar error message by insert character í to the instrument names. 


> The GSAS-II version that I am using is 2511. Nevertheless, when I run the program and it ends, wirtes the lines down. 
> 
> ======================================================================== 
> C:\Users\Edward\Documents\Colaboraciones\Raquel del Toro\Refinamiento_Perovskita\MyWorks\RAQ-61A\Rietveld_PDF2-3\LaFeAlO3_3.gpx 
> project save successful 
> Hessian refinement on 16 variables: 
> 26 derivative time 0.0020 
> matrix modification needed; lambda now 1.0e-02 
> matrix modification needed; lambda now 1.0e-01 
> Cycle: 0, Time: 0.36s, Chi**2: 6881.7, Lambda: 0.01, Delta: -4.69e-05 
> converged 
> 26 derivative time 0.0040 
> Read from file: C:\Users\Edward\Documents\Colaboraciones\Raquel del Toro\Refinamiento_Perovskita\MyWorks\RAQ-61A\Rietveld_PDF2-3\LaFeAlO3_3.bak86.gpx 
> Save to file : C:\Users\Edward\Documents\Colaboraciones\Raquel del Toro\Refinamiento_Perovskita\MyWorks\RAQ-61A\Rietveld_PDF2-3\LaFeAlO3_3.gpx 
> GPX file save successful 
> Refinement results are in file: C:\Users\Edward\Documents\Colaboraciones\Raquel del Toro\Refinamiento_Perovskita\MyWorks\RAQ-61A\Rietveld_PDF2-3\LaFeAlO3_3.lst 
> ***** Refinement successful ***** 
> GPX load successful. Last saved with GSAS-II version 2509 
> ======================================================================== 
> 
> Particularly, catches me the last line. Is it GSAS-II version 2509 or 2511? 
> 

I think the GSAS-II version is 2509.

Yushi Yang



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.aps.anl.gov/pipermail/gsas-ii/attachments/20161104/d5839544/attachment.html>


More information about the GSAS-II mailing list