Hi Matt,Thanks for the help. Not your trouble. This one was thanks to Apple. I strongly caution anyone who is upgrading. It took out a lot of software. GSAS-II was a nightmare to get working again.I can confirm that the removal of pyepics allows larch to run on the command line.However, I now have a different problem.If I run either larch -m or sudo larch -m, I get the following error.Warning: could not create shortcut to /Users/jterry/anaconda3/bin/larchWarning: could not create shortcut to /Users/jterry/anaconda3/bin/larch --wxguiWarning: could not create shortcut to /Users/jterry/anaconda3/bin/xas_viewerWarning: could not create shortcut to /Users/jterry/anaconda3/bin/gse_mapviewerWarning: could not create shortcut to /Users/jterry/anaconda3/bin/gse_dtcorrectWarning: could not create shortcut to /Users/jterry/anaconda3/bin/xrfdisplayWarning: could not create shortcut to /Users/jterry/anaconda3/bin/dioptas_larchWarning: could not create shortcut to /Users/jterry/anaconda3/bin/xrd2d_viewerWarning: could not create shortcut to /Users/jterry/anaconda3/bin/xrd1d_viewerI don’t know if Apple has munged up the permissions to writing to the Desktop which is where the old Larch directory was placed or if something else has gone wrong. All the files are located in the anaconda/bin directory. Larch just appears unable to create the folder on the desktop or the shortcuts.
_______________________________________________Thanks,Jeff
On Jan 9, 2020, at 9:36 AM, Matt Newville <newville@cars.uchicago.edu> wrote:_______________________________________________Hi Jeff,Sorry for the trouble, and yes I can confirm this trouble. It's actually not specific to MacOS version. It appears to be related to Python 3.7.6 (yes, 3.7.5 and 3.8.0 were OK) breaking pyepics on all systems. Unfortunately, a "conda update" will now install Python 3.7.6.For now, I would suggest just removing pyepics from the installation (it's not really necessary for Larch functionality) withrm -rf /Users/jterry/anaconda3/lib/python3.7/site-packages/epics/I think that should work, at least until pyepics gets fixed.On Thu, Jan 9, 2020 at 2:37 AM Jeff Terry <terryj@iit.edu> wrote:Hi Matt,_______________________________________________I had to upgrade my Mac to OS X 10.15 and it blew up my Anaconda distribution which has forced me to reinstall everything from scratch.Now whether I install larch from source or by using conda, I get the following error:Traceback (most recent call last):File "/Users/jterry/anaconda3/lib/python3.7/ctypes/__init__.py", line 97, in CFUNCTYPEreturn _c_functype_cache[(restype, argtypes, flags)]KeyError: (None, (<class 'epics.dbr.access_rights_handler_args'>,), 1)During handling of the above exception, another exception occurred:Traceback (most recent call last):File "/Users/jterry/anaconda3/bin/larch", line 11, in <module>load_entry_point('xraylarch==0.9.46', 'console_scripts', 'larch')()File "/Users/jterry/anaconda3/lib/python3.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_pointreturn get_distribution(dist).load_entry_point(group, name)File "/Users/jterry/anaconda3/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_pointreturn ep.load()File "/Users/jterry/anaconda3/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2443, in loadreturn self.resolve()File "/Users/jterry/anaconda3/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2449, in resolvemodule = __import__(self.module_name, fromlist=['__name__'], level=0)File "/Users/jterry/anaconda3/lib/python3.7/site-packages/larch/__init__.py", line 50, in <module>from . import builtinsFile "/Users/jterry/anaconda3/lib/python3.7/site-packages/larch/builtins.py", line 33, in <module>from . import epicsFile "/Users/jterry/anaconda3/lib/python3.7/site-packages/larch/epics/__init__.py", line 9, in <module>import epicsFile "/Users/jterry/anaconda3/lib/python3.7/site-packages/epics/__init__.py", line 29, in <module>from . import caFile "/Users/jterry/anaconda3/lib/python3.7/site-packages/epics/ca.py", line 761, in <module>dbr.access_rights_handler_args)File "/Users/jterry/anaconda3/lib/python3.7/site-packages/epics/dbr.py", line 339, in make_callbackreturn ctypes.CFUNCTYPE(None, args)(func)File "/Users/jterry/anaconda3/lib/python3.7/ctypes/__init__.py", line 99, in CFUNCTYPEclass CFunctionType(_CFuncPtr):TypeError: item 1 in _argtypes_ passes a struct/union with a bitfield by value, which is unsupported.I think that line 11 is: load_entry_point('xraylarch==0.9.46', 'console_scripts', 'larch')()Any ideas on how to address this issue?Thanks,Jeff
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit
----Matt Newville <newville at cars.uchicago.edu> 630-252-0431
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit