Hi James & Ross, here is the static part of our universe_wsgi.in... # all commented by chris on 30-12-2011 as pages served by apache2 #static_enabled = True #static_cache_time = 360 #static_dir = %(here)s/static/ #static_images_dir = %(here)s/static/images #static_favicon_dir = %(here)s/static/favicon.ico #static_scripts_dir = %(here)s/static/scripts/ #static_style_dir = %(here)s/static/june_2007_style/blue Yes, it is all commented, but worked fine since December 2011 when we proxied Galaxy by apache. Chris 2013/4/16 James Taylor <james@jamestaylor.org>
This looks like just a configuration file problem. What is the value of the various static_ options (like static_dir =) in your universe_wsgi.ini?
On Mon, Apr 15, 2013 at 7:25 PM, Christophe Antoniewski <christophe.antoniewski@snv.jussieu.fr> wrote:
webapp = wrap_in_static( webapp, global_conf, **kwargs ) File "/home/galaxy/galaxy-dist/lib/galaxy/webapps/galaxy/buildapp.py", line 327, in wrap_in_static urlmap["/static"] = Static( conf.get( "static_dir" ), cache_time ) File "/home/galaxy/galaxy-dist/lib/galaxy/web/framework/middleware/static.py", line 16, in __init__ StaticURLParser.__init__( self, directory ) File
"/home/galaxy/galaxy-dist/eggs/Paste-1.7.5.1-py2.7.egg/paste/urlparser.py",
line 430, in __init__ self.directory = self.normpath(directory) File
"/home/galaxy/galaxy-dist/eggs/Paste-1.7.5.1-py2.7.egg/paste/urlparser.py",
line 435, in normpath return os.path.normcase(os.path.abspath(path)) File "/usr/lib/python2.7/posixpath.py", line 343, in abspath if not isabs(path): File "/usr/lib/python2.7/posixpath.py", line 53, in isabs return s.startswith('/') AttributeError: 'NoneType' object has no attribute 'startswith'
-- Christophe Antoniewski Drosophila Genetics and Epigenetics Laboratoire de Biolologie du Développement 9, Quai St Bernard, Boîte courrier 24 75252 Paris Cedex 05 Tel +33 1 44 27 34 39 Fax +33 1 44 27 34 45 Mobile +33 6 68 60 51 50 http://drosophile.org