Hi Sarah,

This looks to be due to a non-unicode character in the dataset's info field. 
Are you using a Galaxy revision >= 7563:fca4e12478d6? 


Thanks for using Galaxy,

Dan


On Dec 11, 2012, at 8:25 AM, Sarah Maman wrote:

> Hello,
> 
> One of my users gets the following message when he wishes to edit the 
> attribute of a dataset which is generated by using a tool (same problem as it 
> is a tool provided by Galaxy or a tool coded by us).
> 
> Do you have any idea?
> 
> Thanks in advance,
> Sarah Maman
> 
> URL: 
> http://sigenae-workbench.toulouse.inra.fr/galaxy/datasets/b9580783e2098a2b/edit
> File 
> '/usr/local/bioinfo/src/galaxy/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 
> '/usr/local/bioinfo/src/galaxy/galaxy-dist/eggs/Paste-1.6-py2.6.egg/paste/debug/prints.py',
>  line 98 in __call__
> environ, self.app)
> File 
> '/usr/local/bioinfo/src/galaxy/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 
> '/usr/local/bioinfo/src/galaxy/galaxy-dist/eggs/Paste-1.6-py2.6.egg/paste/recursive.py',
>  line 80 in __call__
> return self.application(environ, start_response)
> File 
> '/usr/local/bioinfo/src/galaxy/galaxy-dist/lib/galaxy/web/framework/middleware/remoteuser.py',
>  line 111 in __call__
> return self.app( environ, start_response )
> File 
> '/usr/local/bioinfo/src/galaxy/galaxy-dist/eggs/Paste-1.6-py2.6.egg/paste/httpexceptions.py',
>  line 632 in __call__
> return self.application(environ, start_response)
> File 
> '/usr/local/bioinfo/src/galaxy/galaxy-dist/lib/galaxy/web/framework/base.py', 
> line 160 in __call__
> body = method( trans, **kwargs )
> File 
> '/usr/local/bioinfo/src/galaxy/galaxy-dist/lib/galaxy/web/controllers/dataset.py',
>  line 600 in edit
> refresh_frames=refresh_frames )
> File 
> '/usr/local/bioinfo/src/galaxy/galaxy-dist/lib/galaxy/web/framework/__init__.py',
>  line 722 in fill_template
> return self.fill_template_mako( filename, **kwargs )
> File 
> '/usr/local/bioinfo/src/galaxy/galaxy-dist/lib/galaxy/web/framework/__init__.py',
>  line 733 in fill_template_mako
> return template.render( **data )
> File 
> '/usr/local/bioinfo/src/galaxy/galaxy-dist/eggs/Mako-0.4.1-py2.6.egg/mako/template.py',
>  line 296 in render
> return runtime._render(self, self.callable_, args, data)
> File 
> '/usr/local/bioinfo/src/galaxy/galaxy-dist/eggs/Mako-0.4.1-py2.6.egg/mako/runtime.py',
>  line 660 in _render
> **_kwargs_for_callable(callable_, data))
> File 
> '/usr/local/bioinfo/src/galaxy/galaxy-dist/eggs/Mako-0.4.1-py2.6.egg/mako/runtime.py',
>  line 692 in _render_context
> _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
> File 
> '/usr/local/bioinfo/src/galaxy/galaxy-dist/eggs/Mako-0.4.1-py2.6.egg/mako/runtime.py',
>  line 718 in _exec_template
> callable_(context, *args, **kwargs)
> File 
> '/usr/local/bioinfo/src/galaxy/galaxy-dist/database/compiled_templates/base.mako.py',
>  line 42 in render_body
> __M_writer(unicode(next.body()))
> File 
> '/usr/local/bioinfo/src/galaxy/galaxy-dist/database/compiled_templates/dataset/edit_attributes.mako.py',
>  line 95 in render_body
> __M_writer(filters.html_escape(unicode(data.info )))
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 31: 
> ordinal not in range(128)
> ___________________________________________________________
> 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/


___________________________________________________________
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/

Reply via email to