Tool Shed error: AttributeError: 'NoneType' object has no attribute 'status'
Hi, back for testing and migrating to the tool shed. Sorry in advance! During installation via the API I'm usually watching the status with 'Manage installed tool shed repositories'. Installation is still running but I now get these error: URL: http://localhost:8080/admin_toolshed/browse_repositories File '/home/gruening/projects/code/galaxy-central/eggs/WebError-0.8a-py2.7.egg/weberror/evalexception/middleware.py', line 364 in respond app_iter = self.application(environ, detect_start_response) File '/usr/lib/python2.7/site-packages/paste/recursive.py', line 84 in __call__ return self.application(environ, start_response) File '/usr/lib/python2.7/site-packages/paste/httpexceptions.py', line 633 in __call__ return self.application(environ, start_response) File '/home/gruening/projects/code/galaxy-central/lib/galaxy/web/framework/base.py', line 132 in __call__ return self.handle_request( environ, start_response ) File '/home/gruening/projects/code/galaxy-central/lib/galaxy/web/framework/base.py', line 190 in handle_request body = method( trans, **kwargs ) File '/home/gruening/projects/code/galaxy-central/lib/galaxy/web/framework/__init__.py', line 221 in decorator return func( self, trans, *args, **kwargs ) File '/home/gruening/projects/code/galaxy-central/lib/galaxy/webapps/galaxy/controllers/admin_toolshed.py', line 151 in browse_repositories return self.installed_repository_grid( trans, **kwd ) File '/home/gruening/projects/code/galaxy-central/lib/galaxy/web/framework/helpers/grids.py', line 288 in __call__ kwargs=kwargs ) File '/home/gruening/projects/code/galaxy-central/lib/galaxy/web/framework/__init__.py', line 990 in fill_template return self.fill_template_mako( filename, **kwargs ) File '/home/gruening/projects/code/galaxy-central/lib/galaxy/web/framework/__init__.py', line 1005 in fill_template_mako return template.render( **data ) File '/home/gruening/projects/code/galaxy-central/eggs/Mako-0.4.1-py2.7.egg/mako/template.py', line 296 in render return runtime._render(self, self.callable_, args, data) File '/home/gruening/projects/code/galaxy-central/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py', line 660 in _render **_kwargs_for_callable(callable_, data)) File '/home/gruening/projects/code/galaxy-central/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py', line 692 in _render_context _exec_template(inherit, lclcontext, args=args, kwargs=kwargs) File '/home/gruening/projects/code/galaxy-central/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py', line 718 in _exec_template callable_(context, *args, **kwargs) File '/home/gruening/projects/code/galaxy-central/database/compiled_templates/base.mako.py', line 42 in render_body __M_writer(unicode(next.body())) File '/home/gruening/projects/code/galaxy-central/database/compiled_templates/grid_base.mako.py', line 127 in render_body __M_writer(unicode(self.grid_body( grid ))) File '/home/gruening/projects/code/galaxy-central/database/compiled_templates/grid_base.mako.py', line 747 in render_grid_body __M_writer(unicode(self.make_grid( grid ))) File '/home/gruening/projects/code/galaxy-central/database/compiled_templates/grid_base.mako.py', line 777 in render_make_grid __M_writer(unicode(self.render_grid_table( grid, show_item_checkboxes ))) File '/home/gruening/projects/code/galaxy-central/database/compiled_templates/grid_base.mako.py', line 724 in render_render_grid_table __M_writer(unicode(render_grid_table_body_contents( grid, show_item_checkboxes ))) File '/home/gruening/projects/code/galaxy-central/database/compiled_templates/grid_base.mako.py', line 627 in render_grid_table_body_contents return render_render_grid_table_body_contents(context,grid,show_item_checkboxes) File '/home/gruening/projects/code/galaxy-central/database/compiled_templates/grid_base.mako.py', line 335 in render_render_grid_table_body_contents value = column.get_value( trans, grid, item ) File '/home/gruening/projects/code/galaxy-central/lib/tool_shed/galaxy_install/grids/admin_toolshed_grids.py', line 58 in get_value if tool_shed_repository.missing_repository_dependencies: File '/home/gruening/projects/code/galaxy-central/lib/galaxy/model/__init__.py', line 3566 in missing_repository_dependencies if required_repository.status not in [ self.installation_status.INSTALLED ]: AttributeError: 'NoneType' object has no attribute 'status' Cheers, Bjoern
Hello Bjoern, This is a strange error which I have not been able to reprioduce. However, I've committed a fix that I believe will keep it from reoccurring in changeset 10411:c42567f43aa7. Thanks for reportin ghtis and please let me know if my fix does not resolve it. Thanks! Greg Von Kuster On Aug 15, 2013, at 5:21 AM, Bjoern Gruening <bjoern.gruening@gmail.com> wrote:
Hi,
back for testing and migrating to the tool shed. Sorry in advance!
During installation via the API I'm usually watching the status with 'Manage installed tool shed repositories'. Installation is still running but I now get these error:
URL: http://localhost:8080/admin_toolshed/browse_repositories File '/home/gruening/projects/code/galaxy-central/eggs/WebError-0.8a-py2.7.egg/weberror/evalexception/middleware.py', line 364 in respond app_iter = self.application(environ, detect_start_response) File '/usr/lib/python2.7/site-packages/paste/recursive.py', line 84 in __call__ return self.application(environ, start_response) File '/usr/lib/python2.7/site-packages/paste/httpexceptions.py', line 633 in __call__ return self.application(environ, start_response) File '/home/gruening/projects/code/galaxy-central/lib/galaxy/web/framework/base.py', line 132 in __call__ return self.handle_request( environ, start_response ) File '/home/gruening/projects/code/galaxy-central/lib/galaxy/web/framework/base.py', line 190 in handle_request body = method( trans, **kwargs ) File '/home/gruening/projects/code/galaxy-central/lib/galaxy/web/framework/__init__.py', line 221 in decorator return func( self, trans, *args, **kwargs ) File '/home/gruening/projects/code/galaxy-central/lib/galaxy/webapps/galaxy/controllers/admin_toolshed.py', line 151 in browse_repositories return self.installed_repository_grid( trans, **kwd ) File '/home/gruening/projects/code/galaxy-central/lib/galaxy/web/framework/helpers/grids.py', line 288 in __call__ kwargs=kwargs ) File '/home/gruening/projects/code/galaxy-central/lib/galaxy/web/framework/__init__.py', line 990 in fill_template return self.fill_template_mako( filename, **kwargs ) File '/home/gruening/projects/code/galaxy-central/lib/galaxy/web/framework/__init__.py', line 1005 in fill_template_mako return template.render( **data ) File '/home/gruening/projects/code/galaxy-central/eggs/Mako-0.4.1-py2.7.egg/mako/template.py', line 296 in render return runtime._render(self, self.callable_, args, data) File '/home/gruening/projects/code/galaxy-central/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py', line 660 in _render **_kwargs_for_callable(callable_, data)) File '/home/gruening/projects/code/galaxy-central/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py', line 692 in _render_context _exec_template(inherit, lclcontext, args=args, kwargs=kwargs) File '/home/gruening/projects/code/galaxy-central/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py', line 718 in _exec_template callable_(context, *args, **kwargs) File '/home/gruening/projects/code/galaxy-central/database/compiled_templates/base.mako.py', line 42 in render_body __M_writer(unicode(next.body())) File '/home/gruening/projects/code/galaxy-central/database/compiled_templates/grid_base.mako.py', line 127 in render_body __M_writer(unicode(self.grid_body( grid ))) File '/home/gruening/projects/code/galaxy-central/database/compiled_templates/grid_base.mako.py', line 747 in render_grid_body __M_writer(unicode(self.make_grid( grid ))) File '/home/gruening/projects/code/galaxy-central/database/compiled_templates/grid_base.mako.py', line 777 in render_make_grid __M_writer(unicode(self.render_grid_table( grid, show_item_checkboxes ))) File '/home/gruening/projects/code/galaxy-central/database/compiled_templates/grid_base.mako.py', line 724 in render_render_grid_table __M_writer(unicode(render_grid_table_body_contents( grid, show_item_checkboxes ))) File '/home/gruening/projects/code/galaxy-central/database/compiled_templates/grid_base.mako.py', line 627 in render_grid_table_body_contents return render_render_grid_table_body_contents(context,grid,show_item_checkboxes) File '/home/gruening/projects/code/galaxy-central/database/compiled_templates/grid_base.mako.py', line 335 in render_render_grid_table_body_contents value = column.get_value( trans, grid, item ) File '/home/gruening/projects/code/galaxy-central/lib/tool_shed/galaxy_install/grids/admin_toolshed_grids.py', line 58 in get_value if tool_shed_repository.missing_repository_dependencies: File '/home/gruening/projects/code/galaxy-central/lib/galaxy/model/__init__.py', line 3566 in missing_repository_dependencies if required_repository.status not in [ self.installation_status.INSTALLED ]: AttributeError: 'NoneType' object has no attribute 'status'
Cheers, Bjoern ___________________________________________________________ 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: http://lists.bx.psu.edu/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
participants (2)
-
Bjoern Gruening
-
Greg Von Kuster