Question: admin pages trims top directory
0
Jeremy Leipzig • 50 wrote:
I am seeing a weird problem where the some of the admin pages are getting the path sent to mako without the top directory.
'/cbmi_bioinf/galaxy-python/galaxy-dist/database/compiled_templates/admin/forms/grid.mako.py'
should be
'/home/cbmi_bioinf/galaxy-python/galaxy-dist/database/compiled_templates/admin/forms/grid.mako.py'
File '/home/cbmi_bioinf/galaxy-python/galaxy-dist/eggs/WebError-0.8a-py2.7.egg/weberror/evalexception/middleware.py', line 364 in respond app_iter = self.application(environ, detect_start_response) File '/home/cbmi_bioinf/galaxy-python/galaxy-dist/eggs/Paste-1.7.5.1-py2.7.egg/paste/recursive.py', line 84 in __call__ return self.application(environ, start_response) File '/home/cbmi_bioinf/galaxy-python/galaxy-dist/lib/galaxy/web/framework/middleware/remoteuser.py', line 141 in __call__ return self.app( environ, start_response ) File '/home/cbmi_bioinf/galaxy-python/galaxy-dist/eggs/Paste-1.7.5.1-py2.7.egg/paste/httpexceptions.py', line 633 in __call__ return self.application(environ, start_response) File '/home/cbmi_bioinf/galaxy-python/galaxy-dist/lib/galaxy/web/framework/base.py', line 133 in __call__ return self.handle_request( environ, start_response ) File '/home/cbmi_bioinf/galaxy-python/galaxy-dist/lib/galaxy/web/framework/base.py', line 191 in handle_request body = method( trans, **kwargs ) File '/home/cbmi_bioinf/galaxy-python/galaxy-dist/lib/galaxy/web/framework/decorators.py', line 87 in decorator return func( self, trans, *args, **kwargs ) File '/home/cbmi_bioinf/galaxy-python/galaxy-dist/lib/galaxy/web/base/controllers/admin.py', line 943 in users return self.user_list_grid( trans, **kwd ) File '/home/cbmi_bioinf/galaxy-python/galaxy-dist/lib/galaxy/web/framework/helpers/grids.py', line 307 in __call__ kwargs=kwargs ) File '/home/cbmi_bioinf/galaxy-python/galaxy-dist/lib/galaxy/web/framework/webapp.py', line 809 in fill_template return self.fill_template_mako( filename, **kwargs ) File '/home/cbmi_bioinf/galaxy-python/galaxy-dist/lib/galaxy/web/framework/webapp.py', line 817 in fill_template_mako template = template_lookup.get_template( filename ) File '/home/cbmi_bioinf/galaxy-python/galaxy-dist/eggs/Mako-0.4.1-py2.7.egg/mako/lookup.py', line 218 in get_template return self._load(srcfile, uri) File '/home/cbmi_bioinf/galaxy-python/galaxy-dist/eggs/Mako-0.4.1-py2.7.egg/mako/lookup.py', line 283 in _load **self.template_args) File '/home/cbmi_bioinf/galaxy-python/galaxy-dist/eggs/Mako-0.4.1-py2.7.egg/mako/template.py', line 218 in __init__ module = self._compile_from_file(path, filename) File '/home/cbmi_bioinf/galaxy-python/galaxy-dist/eggs/Mako-0.4.1-py2.7.egg/mako/template.py', line 236 in _compile_from_file util.verify_directory(os.path.dirname(path)) File '/home/cbmi_bioinf/galaxy-python/galaxy-dist/eggs/Mako-0.4.1-py2.7.egg/mako/util.py', line 76 in verify_directory os.makedirs(dir, 0775) File '/home/cbmi_bioinf/galaxy-python/lib/python2.7/os.py', line 150 in makedirs makedirs(head, mode) File '/home/cbmi_bioinf/galaxy-python/lib/python2.7/os.py', line 150 in makedirs makedirs(head, mode) File '/home/cbmi_bioinf/galaxy-python/lib/python2.7/os.py', line 150 in makedirs makedirs(head, mode) File '/home/cbmi_bioinf/galaxy-python/lib/python2.7/os.py', line 150 in makedirs makedirs(head, mode) File '/home/cbmi_bioinf/galaxy-python/lib/python2.7/os.py', line 150 in makedirs makedirs(head, mode) File '/home/cbmi_bioinf/galaxy-python/lib/python2.7/os.py', line 150 in makedirs makedirs(head, mode) File '/home/cbmi_bioinf/galaxy-python/lib/python2.7/os.py', line 157 in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/cbmi_bioinf'
ADD COMMENT
• link
•
modified 3.1 years ago
by
Bjoern Gruening ♦ 5.1k
•
written
3.3 years ago by
Jeremy Leipzig • 50
Hello, Are you running the latest master Galaxy build - 15.07? Or another branch? Thanks, Jen
was on release_15.03. upgraded and that seemed to fix the problem