Question: Galaxy With Python 2.6
0
Rochak Neupane • 10 wrote:
Will galaxy source be updated to be compatible with python 2.6?
The README.txt file stats that it requires python 2.4 or 2.5, but I
used
scramble.py script to build the required eggs for 2.6.
Trying to run galaxy run.sh), I get a few warnings about deprecated
modules: sets, sha.
lib/galaxy/util/__init__.py:6: DeprecationWarning: the sets module is
deprecated
lib/galaxy/model/__init__.py:9: DeprecationWarning: the sha module is
deprecated; use the hashlib module instead
Once I fix that, Galaxy starts up, but I get the following error when
I try
to go to it from a browser.
File 'build/bdist.linux-
x86_64/egg/weberror/evalexception/middleware.py',
line 364 in respond
File 'build/bdist.linux-x86_64/egg/paste/debug/prints.py', line 98 in
__call__
File 'build/bdist.linux-x86_64/egg/paste/wsgilib.py', line 539 in
intercept_output
File 'build/bdist.linux-x86_64/egg/beaker/session.py', line 103 in
__call__
File 'build/bdist.linux-x86_64/egg/paste/recursive.py', line 80 in
__call__
File 'build/bdist.linux-x86_64/egg/paste/httpexceptions.py', line 632
in
__call__
File '/home/rochak/galaxy_python26/lib/galaxy/web/framework/base.py',
line
124 in __call__
body = method( trans, **kwargs )
File
'/home/rochak/galaxy_python26/lib/galaxy/web/controllers/root.py',
line
23 in index
m_c=m_c, m_a=m_a )
File
'/home/rochak/galaxy_python26/lib/galaxy/web/framework/__init__.py',
line 513 in fill_template
return self.fill_template_mako( filename, **kwargs )
File
'/home/rochak/galaxy_python26/lib/galaxy/web/framework/__init__.py',
line 523 in fill_template_mako
return template.render( **data )
File 'build/bdist.linux-x86_64/egg/mako/template.py', line 114 in
render
File 'build/bdist.linux-x86_64/egg/mako/runtime.py', line 287 in
_render
File 'build/bdist.linux-x86_64/egg/mako/runtime.py', line 304 in
_render_context
File 'build/bdist.linux-x86_64/egg/mako/runtime.py', line 337 in
_exec_template
File '/home/rochak/galaxy_python26/database/compiled_templates/
base_panels.mako.py', line 97 in render_body
context.write(unicode(next.body()))
AttributeError: 'builtin_function_or_method' object has no attribute
'body'
Thoughts?
Thanks,
Rochak