"UnboundLocalError: local variable 'sample' referenced before assignment" when deleting transferred datasets
Dear Galaxy Dev, There seems to be another bug in the latest galaxy-dist, when you are on the Manage Datasets screen for a sample and you click on a few datasets that have been transferred and associated already and try select to delete them you get the following stack trace error: UnboundLocalError: local variable 'sample' referenced before assignment URL: http://galaxyserver/requests_admin/manage_datasets?sort=-create_time&show_item_checkboxes=false&async=false&page=1&webapp=undefined&operation=delete&id=f2db41e1fa331b3e,f597429621d6eb2b& Module weberror.evalexception.middleware:364 in respond view
app_iter = self.application(environ, detect_start_response) Module paste.debug.prints:98 in __call__ view environ, self.app) Module paste.wsgilib:539 in intercept_output view app_iter = application(environ, replacement_start_response) Module paste.recursive:80 in __call__ view return self.application(environ, start_response) Module galaxy.web.framework.middleware.remoteuser:111 in __call__ view return self.app( environ, start_response ) Module paste.httpexceptions:632 in __call__ view return self.application(environ, start_response) Module galaxy.web.framework.base:145 in __call__ view body = method( trans, **kwargs ) Module galaxy.web.framework:139 in decorator view return func( self, trans, *args, **kwargs ) Module galaxy.web.controllers.requests_admin:239 in manage_datasets view sample_id=trans.security.encode_id( sample.id ), UnboundLocalError: local variable 'sample' referenced before assignment
Hi Leandro, This issue should be fixed in change set 6911:9f5750e19c1e, which is currently available in our central repository. You're separate reported issues are being corrected as well and we'll let you know when fixes are available. thanks very much for reporting this. Greg Von Kuster On Mar 28, 2012, at 11:16 AM, Leandro Hermida wrote:
Dear Galaxy Dev,
There seems to be another bug in the latest galaxy-dist, when you are on the Manage Datasets screen for a sample and you click on a few datasets that have been transferred and associated already and try select to delete them you get the following stack trace error:
UnboundLocalError: local variable 'sample' referenced before assignment URL: http://galaxyserver/requests_admin/manage_datasets?sort=-create_time&show_item_checkboxes=false&async=false&page=1&webapp=undefined&operation=delete&id=f2db41e1fa331b3e,f597429621d6eb2b& Module weberror.evalexception.middleware:364 in respond view
app_iter = self.application(environ, detect_start_response) Module paste.debug.prints:98 in __call__ view environ, self.app) Module paste.wsgilib:539 in intercept_output view app_iter = application(environ, replacement_start_response) Module paste.recursive:80 in __call__ view return self.application(environ, start_response) Module galaxy.web.framework.middleware.remoteuser:111 in __call__ view return self.app( environ, start_response ) Module paste.httpexceptions:632 in __call__ view return self.application(environ, start_response) Module galaxy.web.framework.base:145 in __call__ view body = method( trans, **kwargs ) Module galaxy.web.framework:139 in decorator view return func( self, trans, *args, **kwargs ) Module galaxy.web.controllers.requests_admin:239 in manage_datasets view sample_id=trans.security.encode_id( sample.id ), UnboundLocalError: local variable 'sample' referenced before assignment
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:
participants (2)
-
Greg Von Kuster
-
Leandro Hermida