Hey Greg,
Joe,Thanks very much for the example csv file. I've fixed this issue in change set 5668:81a5c317d909, which should be available in the distribution within the next few weeks. If you don't want to wait, you can update from our development repo at https://bitbucket.org/galaxy/galaxy-central/wiki/Home.Greg Von KusterOn Jun 7, 2011, at 6:21 PM, Joe Cruz wrote:<importSample.csv>For my sample forms I have fields for Sample type, concentration, run type, and read length.
I greatly appreciate your help Greg. If you have any other questions let me know.
Thanks,
JoeOn Tue, Jun 7, 2011 at 2:56 PM, Greg Von Kuster <greg@bx.psu.edu> wrote: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:but my bug doesn't seem to deal with an 'Invalid Request ID' as the issue above states.This is the error I get: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_outputapp_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 decoratorreturn func( self, trans, *args, **kwargs )File '/home/galaxy1/galaxy-dist/lib/galaxy/web/controllers/requests_common.py', line 829 in add_samplesreturn 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_samplessample_copy_select_field=sample_copy_select_field )File '/home/galaxy1/galaxy-dist/lib/galaxy/web/framework/__init__.py', line 650 in fill_templatereturn self.fill_template_mako( filename, **kwargs )File '/home/galaxy1/galaxy-dist/lib/galaxy/web/framework/__init__.py', line 661 in fill_template_makoreturn template.render( **data )File '/home/galaxy1/galaxy-dist/eggs/Mako-0.2.5-py2.6.egg/mako/template.py', line 133 in renderreturn 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_templatecallable_(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_gridsample_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 KusterGalaxy Development Team