Hi Davide,
I'm trying to get this working too but applying your patch gives me an error
Traceback (most recent call last):
File "./scripts/check_eggs.py", line 20, in <module>
from galaxy.eggs import Crate
File "/house/tooldirs/galaxy/galaxy-jgi/lib/galaxy/eggs/__init__.py", line 290, in <module>
class GalaxyConfig( object ):
File "/house/tooldirs/galaxy/galaxy-jgi/lib/galaxy/eggs/__init__.py", line 291, in GalaxyConfig
config_file = os.path.join( galaxy_dir, sys.argv[2] )
IndexError: list index out of range
Some eggs are out of date, attempting to fetch...
Traceback (most recent call last):
File "./scripts/fetch_eggs.py", line 21, in <module>
from galaxy.eggs import Crate, EggNotFetchable
File "/house/tooldirs/galaxy/galaxy-jgi/lib/galaxy/eggs/__init__.py", line 290, in <module>
class GalaxyConfig( object ):
File "/house/tooldirs/galaxy/galaxy-jgi/lib/galaxy/eggs/__init__.py", line 291, in GalaxyConfig
config_file = os.path.join( galaxy_dir, sys.argv[2] )
IndexError: list index out of range
Fetch failed.
I've got IT coming by to help me next week; I'll be sure to pass-along anything I learn.
Cheers!
EdOn Fri, May 21, 2010 at 1:32 AM, Davide Cittaro <davide.cittaro@ifom-ieo-campus.it> wrote:
On May 21, 2010, at 10:13 AM, Davide Cittaro wrote:I'm now looking where and how the config file is passed to galaxy from command line...It works after this:$ hg diff lib/galaxy/eggs/__init__.pydiff -r 48432330228e lib/galaxy/eggs/__init__.py--- a/lib/galaxy/eggs/__init__.py Fri May 14 10:37:36 2010 -0400+++ b/lib/galaxy/eggs/__init__.py Fri May 21 10:30:59 2010 +0200@@ -288,7 +288,7 @@raise EggNotFetchable( missing )class GalaxyConfig( object ):- config_file = os.path.join( galaxy_dir, "universe_wsgi.ini" )+ config_file = os.path.join( galaxy_dir, sys.argv[2] )always_conditional = ( 'GeneTrack', 'pysam' )def __init__( self ):self.config = ConfigParser.ConfigParser()Of course, this assumes that the config file is always the second argument (which is seems mandatory to me...)d/*Davide CittaroCogentech - Consortium for Genomic Technologiesvia adamello, 1620139 MilanoItalytel.: +39(02)574303007*/
_______________________________________________
galaxy-dev mailing list
galaxy-dev@lists.bx.psu.edu
http://lists.bx.psu.edu/listinfo/galaxy-dev