[galaxy-dev] CSV import of Sample information Error
Greg Von Kuster
greg at bx.psu.edu
Tue Jun 7 15:56:05 EDT 2011
Hello Joe,
Can you send me your csv file?
Thanks!
On Jun 7, 2011, at 10:45 AM, Joe Cruz wrote:
> Hello Everyone,
>
> I wanted to ask if anyone has experience successfully importing sample information through a csv file.
>
> I know there is an issue already created for csv file import, which I left a comment earlier:
>
> https://bitbucket.org/galaxy/galaxy-central/issue/398/csv-import-of-sample-information-is-broken#comment-510683\
>
> but my bug doesn't seem to deal with an 'Invalid Request ID' as the issue above states.
>
> This is the error I get:
>
> URL: http://localhost/requests_common/add_samples?cntrller=requests&id=a65cf3ca8eb85be3
> File '/home/galaxy1/galaxy-dist/eggs/Paste-1.6-py2.6.egg/paste/exceptions/errormiddleware.py', line 143 in __call__
> app_iter = self.application(environ, start_response)
> File '/home/galaxy1/galaxy-dist/eggs/Paste-1.6-py2.6.egg/paste/debug/prints.py', line 98 in __call__
> environ, self.app)
> File '/home/galaxy1/galaxy-dist/eggs/Paste-1.6-py2.6.egg/paste/wsgilib.py', line 539 in intercept_output
> app_iter = application(environ, replacement_start_response)
> File '/home/galaxy1/galaxy-dist/eggs/Paste-1.6-py2.6.egg/paste/recursive.py', line 80 in __call__
> return self.application(environ, start_response)
> File '/home/galaxy1/galaxy-dist/eggs/Paste-1.6-py2.6.egg/paste/httpexceptions.py', line 632 in __call__
> return self.application(environ, start_response)
> File '/home/galaxy1/galaxy-dist/lib/galaxy/web/framework/base.py', line 145 in __call__
> body = method( trans, **kwargs )
> File '/home/galaxy1/galaxy-dist/lib/galaxy/web/framework/__init__.py', line 84 in decorator
> return func( self, trans, *args, **kwargs )
> File '/home/galaxy1/galaxy-dist/lib/galaxy/web/controllers/requests_common.py', line 829 in add_samples
> return self.__import_samples( trans, cntrller, request, displayable_sample_widgets, libraries, **kwd )
> File '/home/galaxy1/galaxy-dist/lib/galaxy/web/controllers/requests_common.py', line 1109 in __import_samples
> sample_copy_select_field=sample_copy_select_field )
> File '/home/galaxy1/galaxy-dist/lib/galaxy/web/framework/__init__.py', line 650 in fill_template
> return self.fill_template_mako( filename, **kwargs )
> File '/home/galaxy1/galaxy-dist/lib/galaxy/web/framework/__init__.py', line 661 in fill_template_mako
> return template.render( **data )
> File '/home/galaxy1/galaxy-dist/eggs/Mako-0.2.5-py2.6.egg/mako/template.py', line 133 in render
> return runtime._render(self, self.callable_, args, data)
> File '/home/galaxy1/galaxy-dist/eggs/Mako-0.2.5-py2.6.egg/mako/runtime.py', line 364 in _render
> _render_context(template, callable_, context, *args, **_kwargs_for_callable(callable_, data))
> File '/home/galaxy1/galaxy-dist/eggs/Mako-0.2.5-py2.6.egg/mako/runtime.py', line 381 in _render_context
> _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
> File '/home/galaxy1/galaxy-dist/eggs/Mako-0.2.5-py2.6.egg/mako/runtime.py', line 414 in _exec_template
> callable_(context, *args, **kwargs)
> File '/home/galaxy1/galaxy-dist/database/compiled_templates/base.mako.py', line 40 in render_body
> __M_writer(unicode(next.body()))
> File '/home/galaxy1/galaxy-dist/eggs/Mako-0.2.5-py2.6.egg/mako/runtime.py', line 255 in <lambda>
> return lambda *args, **kwargs:callable_(self.context, *args, **kwargs)
> File '/home/galaxy1/galaxy-dist/database/compiled_templates/requests/common/add_samples.mako.py', line 164 in render_body
> __M_writer(unicode(render_samples_grid( cntrller, request, displayable_sample_widgets, action='edit_samples', adding_new_samples=True, encoded_selected_sample_ids=[], render_buttons=False, grid_header=grid_header )))
> File '/home/galaxy1/galaxy-dist/eggs/Mako-0.2.5-py2.6.egg/mako/runtime.py', line 255 in <lambda>
> return lambda *args, **kwargs:callable_(self.context, *args, **kwargs)
> File '/home/galaxy1/galaxy-dist/database/compiled_templates/requests/common/common.mako.py', line 749 in render_render_samples_grid
> sample_widget_history = sample_widget[ 'history' ]
> KeyError: 'history'
>
> I greatly appreciate your help and patience.
>
> Thanks,
>
> joe
> ___________________________________________________________
> 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/
Greg Von Kuster
Galaxy Development Team
greg at bx.psu.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bx.psu.edu/pipermail/galaxy-dev/attachments/20110607/26957031/attachment.html>
More information about the galaxy-dev
mailing list