problem with local toolshed

classic Classic list List threaded Threaded
4 messages Options
| Threaded
Open this post in threaded view
|

problem with local toolshed

Vincent Cahais

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__
<a onclick="return switch_source(this, 'short')" class="switch_source" href="http://galaxy.iarc.fr:9009/#">>>  app_iter = self.application(environ, sr_checker)
Module paste.recursive:85 in __call__
<a onclick="return switch_source(this, 'short')" class="switch_source" href="http://galaxy.iarc.fr:9009/#">>>  return self.application(environ, start_response)
Module galaxy.webapps.tool_shed.framework.middleware.hg:218 in __call__
<a onclick="return switch_source(this, 'short')" class="switch_source" href="http://galaxy.iarc.fr:9009/#">>>  return self.app( environ, start_response )
Module paste.httpexceptions:640 in __call__
<a onclick="return switch_source(this, 'short')" class="switch_source" href="http://galaxy.iarc.fr:9009/#">>>  return self.application(environ, start_response)
Module galaxy.web.framework.base:131 in __call__
<a onclick="return switch_source(this, 'short')" class="switch_source" href="http://galaxy.iarc.fr:9009/#">>>  return self.handle_request( environ, start_response )
Module galaxy.web.framework.base:190 in handle_request
<a onclick="return switch_source(this, 'short')" class="switch_source" href="http://galaxy.iarc.fr:9009/#">>>  body = method( trans, **kwargs )
Module galaxy.webapps.tool_shed.controllers.repository:1963 in index
<a onclick="return switch_source(this, 'short')" class="switch_source" href="http://galaxy.iarc.fr:9009/#">>>  status=status )
Module galaxy.web.framework.webapp:858 in fill_template
<a onclick="return switch_source(this, 'short')" class="switch_source" href="http://galaxy.iarc.fr:9009/#">>>  return self.fill_template_mako( filename, **kwargs )
Module galaxy.web.framework.webapp:872 in fill_template_mako
<a onclick="return switch_source(this, 'short')" class="switch_source" href="http://galaxy.iarc.fr:9009/#">>>  return template.render( **data )
Module mako.template:445 in render
<a onclick="return switch_source(this, 'short')" class="switch_source" href="http://galaxy.iarc.fr:9009/#">>>  return runtime._render(self, self.callable_, args, data)
Module mako.runtime:829 in _render
<a onclick="return switch_source(this, 'short')" class="switch_source" href="http://galaxy.iarc.fr:9009/#">>>  **_kwargs_for_callable(callable_, data))
Module mako.runtime:864 in _render_context
<a onclick="return switch_source(this, 'short')" class="switch_source" href="http://galaxy.iarc.fr:9009/#">>>  _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
Module mako.runtime:890 in _exec_template
<a onclick="return switch_source(this, 'short')" class="switch_source" href="http://galaxy.iarc.fr:9009/#">>>  callable_(context, *args, **kwargs)
Module _base_base_panels_mako:123 in render_body
<a onclick="return switch_source(this, 'short')" class="switch_source" href="http://galaxy.iarc.fr:9009/#">>>  __M_writer(unicode(self.left_panel()))
Module _webapps_tool_shed_index_mako:166 in render_left_panel
<a onclick="return switch_source(this, 'short')" class="switch_source" href="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/
| Threaded
Open this post in threaded view
|

Re: problem with local toolshed

Martin Čech
Hello Vincent,

This looks like an encoding problem we we can fix. Could you please try the following patch?


Thanks,

Martin

On Wed, Aug 24, 2016 at 5:17 AM Vincent Cahais <[hidden email]> 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__
>>  app_iter = self.application(environ, sr_checker)
Module paste.recursive:85 in __call__
>>  return self.application(environ, start_response)
Module galaxy.webapps.tool_shed.framework.middleware.hg:218 in __call__
>>  return self.app( environ, start_response )
Module paste.httpexceptions:640 in __call__
>>  return self.application(environ, start_response)
Module galaxy.web.framework.base:131 in __call__
>>  return self.handle_request( environ, start_response )
Module galaxy.web.framework.base:190 in handle_request
>>  body = method( trans, **kwargs )
Module galaxy.webapps.tool_shed.controllers.repository:1963 in index
>>  status=status )
Module galaxy.web.framework.webapp:858 in fill_template
>>  return self.fill_template_mako( filename, **kwargs )
Module galaxy.web.framework.webapp:872 in fill_template_mako
>>  return template.render( **data )
Module mako.template:445 in render
>>  return runtime._render(self, self.callable_, args, data)
Module mako.runtime:829 in _render
>>  **_kwargs_for_callable(callable_, data))
Module mako.runtime:864 in _render_context
>>  _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
Module mako.runtime:890 in _exec_template
>>  callable_(context, *args, **kwargs)
Module _base_base_panels_mako:123 in render_body
>>  __M_writer(unicode(self.left_panel()))
Module _webapps_tool_shed_index_mako:166 in render_left_panel
>>  __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/

___________________________________________________________
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/
| Threaded
Open this post in threaded view
|

Re: problem with local toolshed

SAPET, Frederic

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:[hidden email]] De la part de Martin Cech
Envoyé : mercredi 24 août 2016 17:24
À : Vincent Cahais <[hidden email]>; [hidden email]
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?

 

 

Thanks,

 

Martin

On Wed, Aug 24, 2016 at 5:17 AM Vincent Cahais <[hidden email]> 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__
>>  app_iter = self.application(environ, sr_checker)
Module paste.recursive:85 in __call__
>>  return self.application(environ, start_response)
Module galaxy.webapps.tool_shed.framework.middleware.hg:218 in __call__
>>  return self.app( environ, start_response )
Module paste.httpexceptions:640 in __call__
>>  return self.application(environ, start_response)
Module galaxy.web.framework.base:131 in __call__
>>  return self.handle_request( environ, start_response )
Module galaxy.web.framework.base:190 in handle_request
>>  body = method( trans, **kwargs )
Module galaxy.webapps.tool_shed.controllers.repository:1963 in index
>>  status=status )
Module galaxy.web.framework.webapp:858 in fill_template
>>  return self.fill_template_mako( filename, **kwargs )
Module galaxy.web.framework.webapp:872 in fill_template_mako
>>  return template.render( **data )
Module mako.template:445 in render
>>  return runtime._render(self, self.callable_, args, data)
Module mako.runtime:829 in _render
>>  **_kwargs_for_callable(callable_, data))
Module mako.runtime:864 in _render_context
>>  _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
Module mako.runtime:890 in _exec_template
>>  callable_(context, *args, **kwargs)
Module _base_base_panels_mako:123 in render_body
>>  __M_writer(unicode(self.left_panel()))
Module _webapps_tool_shed_index_mako:166 in render_left_panel
>>  __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/


___________________________________________________________
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/
| Threaded
Open this post in threaded view
|

Re: problem with local toolshed

Vincent Cahais
In reply to this post by Martin Čech

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?


Thanks,

Martin

On Wed, Aug 24, 2016 at 5:17 AM Vincent Cahais <[hidden email]> 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__
>>  app_iter = self.application(environ, sr_checker)
Module paste.recursive:85 in __call__
>>  return self.application(environ, start_response)
Module galaxy.webapps.tool_shed.framework.middleware.hg:218 in __call__
>>  return self.app( environ, start_response )
Module paste.httpexceptions:640 in __call__
>>  return self.application(environ, start_response)
Module galaxy.web.framework.base:131 in __call__
>>  return self.handle_request( environ, start_response )
Module galaxy.web.framework.base:190 in handle_request
>>  body = method( trans, **kwargs )
Module galaxy.webapps.tool_shed.controllers.repository:1963 in index
>>  status=status )
Module galaxy.web.framework.webapp:858 in fill_template
>>  return self.fill_template_mako( filename, **kwargs )
Module galaxy.web.framework.webapp:872 in fill_template_mako
>>  return template.render( **data )
Module mako.template:445 in render
>>  return runtime._render(self, self.callable_, args, data)
Module mako.runtime:829 in _render
>>  **_kwargs_for_callable(callable_, data))
Module mako.runtime:864 in _render_context
>>  _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
Module mako.runtime:890 in _exec_template
>>  callable_(context, *args, **kwargs)
Module _base_base_panels_mako:123 in render_body
>>  __M_writer(unicode(self.left_panel()))
Module _webapps_tool_shed_index_mako:166 in render_left_panel
>>  __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/


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