Hello,
I cannot use my toolshed anymore because of a bug.
The service is running, but the web page display this error :
Module galaxy.web.framework.middleware.error:151 in __call__
http://galaxy.iarc.fr:9009/# app_iter = self.application(environ, sr_checker)
Module paste.recursive:85 in __call__
http://galaxy.iarc.fr:9009/# return self.application(environ, start_response)
Module galaxy.webapps.tool_shed.framework.middleware.hg:218 in __call__
http://galaxy.iarc.fr:9009/# return self.app( environ, start_response )
Module paste.httpexceptions:640 in __call__
http://galaxy.iarc.fr:9009/# return self.application(environ, start_response)
Module galaxy.web.framework.base:131 in __call__
http://galaxy.iarc.fr:9009/# return self.handle_request( environ, start_response )
Module galaxy.web.framework.base:190 in handle_request
http://galaxy.iarc.fr:9009/# body = method( trans, **kwargs )
Module galaxy.webapps.tool_shed.controllers.repository:1963 in index
http://galaxy.iarc.fr:9009/# status=status )
Module galaxy.web.framework.webapp:858 in fill_template
http://galaxy.iarc.fr:9009/# return self.fill_template_mako( filename, **kwargs )
Module galaxy.web.framework.webapp:872 in fill_template_mako
http://galaxy.iarc.fr:9009/# return template.render( **data )
Module mako.template:445 in render
http://galaxy.iarc.fr:9009/# return runtime._render(self, self.callable_, args, data)
Module mako.runtime:829 in _render
http://galaxy.iarc.fr:9009/# **_kwargs_for_callable(callable_, data))
Module mako.runtime:864 in _render_context
http://galaxy.iarc.fr:9009/# _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
Module mako.runtime:890 in _exec_template
http://galaxy.iarc.fr:9009/# callable_(context, *args, **kwargs)
Module _base_base_panels_mako:123 in render_body
http://galaxy.iarc.fr:9009/# __M_writer(unicode(self.left_panel()))
Module _webapps_tool_shed_index_mako:166 in render_left_panel
http://galaxy.iarc.fr:9009/# __M_writer(filters.html_escape(unicode(trans.app.shed_counter.generation_time )))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2: ordinal not in range(128)
Thanks,
Vincent
Hello Vincent,
This looks like an encoding problem we we can fix. Could you please try the following patch?
https://gist.github.com/martenson/22f6efc7cd577ea6af85a11694091d5f
Thanks,
Martin
On Wed, Aug 24, 2016 at 5:17 AM Vincent Cahais CahaisV@iarc.fr wrote:
Hello,
I cannot use my toolshed anymore because of a bug.
The service is running, but the web page display this error :
Module galaxy.web.framework.middleware.error:*151* in __call__
http://galaxy.iarc.fr:9009/#app_iter = self.application(environ,
sr_checker) Module paste.recursive:*85* in __call__
http://galaxy.iarc.fr:9009/#return self.application(environ,
start_response) Module galaxy.webapps.tool_shed.framework.middleware.hg:*218* in __call__
http://galaxy.iarc.fr:9009/#return self.app( environ,
start_response ) Module paste.httpexceptions:*640* in __call__
http://galaxy.iarc.fr:9009/#return self.application(environ,
start_response) Module galaxy.web.framework.base:*131* in __call__
http://galaxy.iarc.fr:9009/#return self.handle_request( environ,
start_response ) Module galaxy.web.framework.base:*190* in handle_request
http://galaxy.iarc.fr:9009/#body = method( trans, **kwargs )
Module galaxy.webapps.tool_shed.controllers.repository:*1963* in index
http://galaxy.iarc.fr:9009/#status=status )
Module galaxy.web.framework.webapp:*858* in fill_template
http://galaxy.iarc.fr:9009/#return self.fill_template_mako(
filename, **kwargs ) Module galaxy.web.framework.webapp:*872* in fill_template_mako
http://galaxy.iarc.fr:9009/#return template.render( **data )
Module mako.template:*445* in render
http://galaxy.iarc.fr:9009/#return runtime._render(self,
self.callable_, args, data) Module mako.runtime:*829* in _render
http://galaxy.iarc.fr:9009/#**_kwargs_for_callable(callable_, data))
Module mako.runtime:*864* in _render_context
http://galaxy.iarc.fr:9009/#_exec_template(inherit, lclcontext,
args=args, kwargs=kwargs) Module mako.runtime:*890* in _exec_template
http://galaxy.iarc.fr:9009/#callable_(context, *args, **kwargs)
Module _base_base_panels_mako:*123* in render_body
http://galaxy.iarc.fr:9009/#__M_writer(unicode(self.left_panel()))
Module _webapps_tool_shed_index_mako:*166* in render_left_panel
http://galaxy.iarc.fr:9009/#__M_writer(filters.html_escape(unicode(trans.app.shed_counter.generation_time
))) *UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2: ordinal not in range(128)*
Thanks,
Vincent ___________________________________________________________ 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: https://lists.galaxyproject.org/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
Hello Vincent,
I faced similar issues of UnicodeDecodeError: 'ascii' codec can't decode byte… specially when creating the virtualenv.
I switched from LANG=fr_FR.UTF-8 to LANG=en_US.UTF-8. And not only in .profile ou .bashrc but also for the whole system (/etc/sysconfig/i18n in my case)
Maybe it helps.
Fred
De : galaxy-dev [mailto:galaxy-dev-bounces@lists.galaxyproject.org] De la part de Martin Cech Envoyé : mercredi 24 août 2016 17:24 À : Vincent Cahais CahaisV@iarc.fr; galaxy-dev@lists.galaxyproject.org Objet : Re: [galaxy-dev] problem with local toolshed
Hello Vincent,
This looks like an encoding problem we we can fix. Could you please try the following patch?
https://gist.github.com/martenson/22f6efc7cd577ea6af85a11694091d5f
Thanks,
Martin On Wed, Aug 24, 2016 at 5:17 AM Vincent Cahais <CahaisV@iarc.frmailto:CahaisV@iarc.fr> wrote:
Hello,
I cannot use my toolshed anymore because of a bug.
The service is running, but the web page display this error :
Module galaxy.web.framework.middleware.error:151 in __call__
http://galaxy.iarc.fr:9009/ app_iter = self.application(environ, sr_checker)
Module paste.recursive:85 in __call__
http://galaxy.iarc.fr:9009/ return self.application(environ, start_response)
Module galaxy.webapps.tool_shed.framework.middleware.hg:218 in __call__
http://galaxy.iarc.fr:9009/ return self.app( environ, start_response )
Module paste.httpexceptions:640 in __call__
http://galaxy.iarc.fr:9009/ return self.application(environ, start_response)
Module galaxy.web.framework.base:131 in __call__
http://galaxy.iarc.fr:9009/ return self.handle_request( environ, start_response )
Module galaxy.web.framework.base:190 in handle_request
http://galaxy.iarc.fr:9009/ body = method( trans, **kwargs )
Module galaxy.webapps.tool_shed.controllers.repository:1963 in index
http://galaxy.iarc.fr:9009/ status=status )
Module galaxy.web.framework.webapp:858 in fill_template
http://galaxy.iarc.fr:9009/ return self.fill_template_mako( filename, **kwargs )
Module galaxy.web.framework.webapp:872 in fill_template_mako
http://galaxy.iarc.fr:9009/ return template.render( **data )
Module mako.template:445 in render
http://galaxy.iarc.fr:9009/ return runtime._render(self, self.callable_, args, data)
Module mako.runtime:829 in _render
http://galaxy.iarc.fr:9009/ **_kwargs_for_callable(callable_, data))
Module mako.runtime:864 in _render_context
http://galaxy.iarc.fr:9009/ _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
Module mako.runtime:890 in _exec_template
http://galaxy.iarc.fr:9009/ callable_(context, *args, **kwargs)
Module _base_base_panels_mako:123 in render_body
http://galaxy.iarc.fr:9009/ __M_writer(unicode(self.left_panel()))
Module _webapps_tool_shed_index_mako:166 in render_left_panel
http://galaxy.iarc.fr:9009/ __M_writer(filters.html_escape(unicode(trans.app.shed_counter.generation_time )))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2: ordinal not in range(128)
Thanks,
Vincent ___________________________________________________________ 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: https://lists.galaxyproject.org/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
It works, thank you.
Vincent
Le 24/08/2016 à 17:24, Martin Čech a écrit : Hello Vincent,
This looks like an encoding problem we we can fix. Could you please try the following patch?
https://gist.github.com/martenson/22f6efc7cd577ea6af85a11694091d5f
Thanks,
Martin
On Wed, Aug 24, 2016 at 5:17 AM Vincent Cahais <CahaisV@iarc.frmailto:CahaisV@iarc.fr> wrote:
Hello,
I cannot use my toolshed anymore because of a bug.
The service is running, but the web page display this error :
Module galaxy.web.framework.middleware.error:151 in __call__
http://galaxy.iarc.fr:9009/# app_iter = self.application(environ, sr_checker)
Module paste.recursive:85 in __call__
http://galaxy.iarc.fr:9009/# return self.application(environ, start_response)
Module galaxy.webapps.tool_shed.framework.middleware.hg:218 in __call__
http://galaxy.iarc.fr:9009/# return self.app( environ, start_response )
Module paste.httpexceptions:640 in __call__
http://galaxy.iarc.fr:9009/# return self.application(environ, start_response)
Module galaxy.web.framework.base:131 in __call__
http://galaxy.iarc.fr:9009/# return self.handle_request( environ, start_response )
Module galaxy.web.framework.base:190 in handle_request
http://galaxy.iarc.fr:9009/# body = method( trans, **kwargs )
Module galaxy.webapps.tool_shed.controllers.repository:1963 in index
http://galaxy.iarc.fr:9009/# status=status )
Module galaxy.web.framework.webapp:858 in fill_template
http://galaxy.iarc.fr:9009/# return self.fill_template_mako( filename, **kwargs )
Module galaxy.web.framework.webapp:872 in fill_template_mako
http://galaxy.iarc.fr:9009/# return template.render( **data )
Module mako.template:445 in render
http://galaxy.iarc.fr:9009/# return runtime._render(self, self.callable_, args, data)
Module mako.runtime:829 in _render
http://galaxy.iarc.fr:9009/# **_kwargs_for_callable(callable_, data))
Module mako.runtime:864 in _render_context
http://galaxy.iarc.fr:9009/# _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
Module mako.runtime:890 in _exec_template
http://galaxy.iarc.fr:9009/# callable_(context, *args, **kwargs)
Module _base_base_panels_mako:123 in render_body
http://galaxy.iarc.fr:9009/# __M_writer(unicode(self.left_panel()))
Module _webapps_tool_shed_index_mako:166 in render_left_panel
http://galaxy.iarc.fr:9009/# __M_writer(filters.html_escape(unicode(trans.app.shed_counter.generation_time )))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2: ordinal not in range(128)
Thanks,
Vincent
___________________________________________________________ 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: https://lists.galaxyproject.org/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
galaxy-dev@lists.galaxyproject.org