Question: Simplejson Reimport Error
0
gravatar for Sean Davis
10.1 years ago by
Sean Davis220
Sean Davis220 wrote:
/home/www/galaxy/lib/galaxy/eggs/__init__.py:529: UserWarning: Module simplejson was already imported from /usr/local/lib64/python2.5/site- packages/simplejson-1.7.1-py2.5.egg/simplejson/__init__.py, but /home/www/galaxy/eggs/py2.5-noplatform/simplejson-1.5-py2.5.egg is being added to sys.path pkg_resources.working_set.require( "%s==%s" % ( name, egg.get_vertag() ) ) I got this when doing Get Data->UCSC table browser->get BED of ucsc known genes; the download failed. It looks like there are some version confusions here. Any suggestions? Sean
galaxy • 1.1k views
ADD COMMENTlink modified 10.1 years ago by Nate Coraor3.2k • written 10.1 years ago by Sean Davis220
0
gravatar for Nate Coraor
10.1 years ago by
Nate Coraor3.2k
United States
Nate Coraor3.2k wrote:
Hi Sean, This is a bug with the way we handle dependency versions, but for the short term, a simple solution is to remove the conflicting egg (from /usr/local). --nate
ADD COMMENTlink written 10.1 years ago by Nate Coraor3.2k
Thanks, Nate. Removing the conflicting egg isn't really an option (the host runs multiple sites), but it is good to know what the problem is. I guess will need to go with a custom python installation for running galaxy. Sean
ADD REPLYlink written 10.1 years ago by Sean Davis220
Sean, I've tracked the bug down and pushed a fix to hg. Please update your source and try again. Hopefully you can avoid having to run a custom Python. --nate
ADD REPLYlink written 10.1 years ago by Nate Coraor3.2k
Great. Thanks so much for the information and the unbelievably quick fix! Sean
ADD REPLYlink written 10.1 years ago by Sean Davis220
I have finally gotten around to trying this--it looks like the error is now gone. Thanks again, Sean
ADD REPLYlink written 10.1 years ago by Sean Davis220
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 173 users visited in the last hour