Okay, yeah, when I changed it back to the original code it worked. ~ Brian -----Original Message----- From: Nate Coraor [mailto:nate@bx.psu.edu] Sent: Thursday, June 02, 2011 12:47 PM To: Lewis, Brian Andrew Cc: galaxy-dev@bx.psu.edu Subject: Re: [galaxy-dev] Error: unable to read Galaxy config Lewis, Brian Andrew wrote:
Nate -
I checked and I still have a copy of universe_wsgi.ini within my galaxy-dist directory. I did also make a change in /usr/local/galaxy-dist/lib/galaxy/eggs/__init__.py according to the post here: http://lists.bx.psu.edu/pipermail/galaxy-dev/2010-May/002637.html
Ah, this would probably be problematic - when tools/data_source/data_source.py runs, its argv[2] is not going to be the universe_wsgi.ini file. What happens if you change it back to the original? --nate
~ Brian
-----Original Message----- From: Nate Coraor [mailto:nate@bx.psu.edu] Sent: Thursday, June 02, 2011 11:51 AM To: Lewis, Brian Andrew Cc: galaxy-dev@bx.psu.edu Subject: Re: [galaxy-dev] Error: unable to read Galaxy config
Lewis, Brian Andrew wrote:
After following the instructions in the wiki for setting up scaling/load balancing, I was testing out submitting a job and got this error when trying to pull data from USCS Main:
Traceback (most recent call last): File "/usr/local/galaxy-dist/tools/data_source/data_source.py", line 6, in from galaxy.util import gzip_magic File "/usr/local/galaxy-dist/lib/galaxy/util/__init__.py", line 20, in pkg_resources.require( 'docutils' ) File "/usr/local/galaxy-dist/lib/galaxy/eggs/__init__.py", line 400, in require c = Crate() File "/usr/local/galaxy-dist/lib/galaxy/eggs/__init__.py", line 259, in __init__ self.galaxy_config = GalaxyConfig() File "/usr/local/galaxy-dist/lib/galaxy/eggs/__init__.py", line 358, in __init__ raise Exception( "error: unable to read Galaxy config from %s" % GalaxyConfig.config_file ) Exception: error: unable to read Galaxy config from /usr/local/galaxy-dist/0
I'm running Galaxy on a RHEL6 server and I have one web server and one runner set up using Apache as a proxy server.
Hi Brian,
Due to some hardcoding that shouldn't exist, you need to leave a copy of universe_wsgi.ini behind in addition to the two new configs. I'll work on a fix for this ASAP.
--nate
Thanks, Brian
___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: