Shaun, this is a bug, so thanks very much for pointing it out. This has been fixed in change set 3044:3c96ab27aa31 which will be available in the distribution shortly. In the mean time, you can correct the bug in your local instance if you want by changing
Module galaxy.web.controllers.library_common:121 in make_library_uploaded_dataset
trans.sa_session.data.flush()
to be trans.sa_session.flush() Greg On Nov 17, 2009, at 11:09 AM, SHAUN WEBB wrote:
Hi, I have updated Galaxy today with the latest changes.
While trying to upload a file from the system path without copying to Galaxy I am getting the following Server error:
AttributeError: 'ScopedSession' object has no attribute 'data'
The full message is below.
This does not occur if the file is copied in to galaxy. I have made local changes to a few of the upload files to support an additional binary file type, but I can't see how these would affect upload from system path.
Is any one else having a similar issue? Any help would be appreciated
Thanks Shaun Webb
URL: http://bifx3.bio.ed.ac.uk:8080/library_admin/ upload_library_dataset Module paste.exceptions.errormiddleware:143 in __call__
app_iter = self.application(environ, start_response) Module paste.debug.prints:98 in __call__ environ, self.app) Module paste.wsgilib:539 in intercept_output app_iter = application(environ, replacement_start_response) Module paste.recursive:80 in __call__ return self.application(environ, start_response) Module paste.httpexceptions:632 in __call__ return self.application(environ, start_response) Module galaxy.web.framework.base:125 in __call__ body = self.call_body_method( method, trans, kwargs ) Module galaxy.web.framework.base:144 in call_body_method return method( trans, **kwargs ) Module galaxy.web.framework:87 in decorator return func( self, trans, *args, **kwargs ) Module galaxy.web.controllers.library_admin:712 in upload_library_dataset **kwd ) Module galaxy.web.controllers.library_common:87 in upload_dataset uploaded_datasets, err_redirect, msg = self.get_path_paste_uploaded_datasets( trans, params, library_bunch, err_redirect, msg ) Module galaxy.web.controllers.library_common:171 in get_path_paste_uploaded_datasets uploaded_datasets.append( self.make_library_uploaded_dataset ( trans, params, name, path, 'path_paste', library_bunch ) ) Module galaxy.web.controllers.library_common:121 in make_library_uploaded_dataset trans.sa_session.data.flush() AttributeError: 'ScopedSession' object has no attribute 'data'
-- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
_______________________________________________ galaxy-dev mailing list galaxy-dev@lists.bx.psu.edu http://lists.bx.psu.edu/listinfo/galaxy-dev
Greg Von Kuster Galaxy Development Team greg@bx.psu.edu