[GSAS-II] Error in importing CIF

Hooman Yaghoobnejad Asl hooma at utexas.edu
Wed Dec 13 11:39:09 CST 2017


Hi all,
My GSAS-II was working fine (unfortunately missed to remember the version)
until I decided to update it; following the update, it cannot import phases
from CIF, with the following error messages shown on console upon startup:

*C:\Users\Hooman\Desktop>E:\Softwares\GSAS\python.exe
E:\Softwares\GSAS\GSASII.py ""*
*GSAS-II binary directory: E:\Softwares\GSAS\bindist*
*6 values read from config file E:\Softwares\GSAS\config.py*
*Python module versions loaded:*
*  Python:     2.7.3*
*  wx:         2.8.10.1*
*  matplotlib: 1.1.0*
*  numpy:      1.6.1*
*  scipy:      0.10.1*
*  OpenGL:     3.0.2a5*
*  PIL.Image:  1.1.7*
*  Platform:   win3232bitAMD64*
*This is GSAS-II revision 3191*


*Import_Phase: Error importing file
E:\Softwares\GSAS\imports\G2phase_CIF.py*
*Error message: unqualified exec is not allowed in function
'convert_list_values' it contains a nested function with free variables
(CifFile.py, line 2849)*


*Import_Struct_Factor: Error importing file
E:\Softwares\GSAS\imports\G2sfact_CIF.py*
*Error message: unqualified exec is not allowed in function
'convert_list_values' it contains a nested function with free variables
(CifFile.py, line 2849)*


*Import_Powder_Data: Error importing file
E:\Softwares\GSAS\imports\G2pwd_CIF.py*
*Error message: unqualified exec is not allowed in function
'convert_list_values' it contains a nested function with free variables
(CifFile.py, line 2849)*

I'm running GSAS-II (version 3191) and EPD on Windows 10 (64 bits);
Previously I had no issue from running the 32 bit Python distribution on
the 64 bit machine. Despite the second and third errors, I can import
powder data and intensities are calculated from F^2 during refinement.
Any hint on this issue is highly appreciated.

Thanks
Hooman

-- 




*Hooman Yaghoobnejad AslPostdoctoral FellowTexas Materials Institute,
Cockrell School of Engineeringhooma at utexas.edu <hooma at utexas.edu>*

*204 E. Dean Keeton Street, C2200Austin, Texas 78712, USA*
*Office: ETC 8.112*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.aps.anl.gov/pipermail/gsas-ii/attachments/20171213/5ce20c58/attachment.html>


More information about the GSAS-II mailing list