Hello everybody,

currently I have some trouble with the following kind of error:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 155: ordinal not in range(128)

We have encountered it twice now. The first time it was related to a shared library, which could not be opened anymore because of this error. So we deleted the library and set it up again.

The second time it was related to a workflow. Clicking on "Run" caused this error to appear, while editing still worked. This time I saved the error message and you can find it attached to this mail. The cause of the error was a < sign in a renaming step inside the workflow (the < was part of the new name). After removing the < everything worked again.

However, when using the < in a history item, it works without a problem.

Unfortunately I cannot reproduce the error currently on my machine. The computer that caused it was a Mac.

Should we just try to avoid any special characters or is this actually a bug which could be fixed?

Best regards,
Sarah
10.1.4.162 - - [09/Jun/2011:10:56:28 +0200] "GET 
/workflow/run?id=91cc5a0bc3008f7d HTTP/1.1" 500 - 
"http://solweb2/workflow/list_for_run"; "Mozilla/5.0 (Macintosh; U; Intel Mac OS 
X 10.6; en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16"
Error - <type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 
0xe2 in position 155: ordinal not in range(128)
URL: http://solweb2/workflow/run?id=91cc5a0bc3008f7d
File 
'/galaxy/galaxy_server/eggs/Paste-1.6-py2.6.egg/paste/exceptions/errormiddleware.py',
 line 143 in __call__
  app_iter = self.application(environ, start_response)
File '/galaxy/galaxy_server/eggs/Paste-1.6-py2.6.egg/paste/recursive.py', line 
80 in __call__
  return self.application(environ, start_response)
File '/galaxy/galaxy_server/eggs/Paste-1.6-py2.6.egg/paste/httpexceptions.py', 
line 632 in __call__
  return self.application(environ, start_response)
File '/galaxy/galaxy_server/lib/galaxy/web/framework/base.py', line 145 in 
__call__
  body = method( trans, **kwargs )
File '/galaxy/galaxy_server/lib/galaxy/web/controllers/workflow.py', line 1397 
in run
  incoming=kwargs )
File '/galaxy/galaxy_server/lib/galaxy/web/framework/__init__.py', line 650 in 
fill_template
  return self.fill_template_mako( filename, **kwargs )
File '/galaxy/galaxy_server/lib/galaxy/web/framework/__init__.py', line 661 in 
fill_template_mako
  return template.render( **data )
File '/galaxy/galaxy_server/eggs/Mako-0.2.5-py2.6.egg/mako/template.py', line 
133 in render
  return runtime._render(self, self.callable_, args, data)
File '/galaxy/galaxy_server/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 '/galaxy/galaxy_server/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 '/galaxy/galaxy_server/eggs/Mako-0.2.5-py2.6.egg/mako/runtime.py', line 
414 in _exec_template
  callable_(context, *args, **kwargs)
File '/galaxy/galaxy_server/database/compiled_templates/base.mako.py', line 40 
in render_body
  __M_writer(unicode(next.body()))
File '/galaxy/galaxy_server/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 '/galaxy/galaxy_server/database/compiled_templates/workflow/run.mako.py', 
line 226 in render_body
  __M_writer(unicode(do_inputs( module.get_runtime_inputs(type_filter), 
step.state.inputs, errors.get( step.id, dict() ), "", step )))
File '/galaxy/galaxy_server/database/compiled_templates/workflow/run.mako.py', 
line 39 in do_inputs
  return 
render_do_inputs(context.locals_(__M_locals),inputs,values,errors,prefix,step,other_values)
File '/galaxy/galaxy_server/database/compiled_templates/workflow/run.mako.py', 
line 391 in render_do_inputs
  __M_writer(unicode(row_for_param( input, values[ input.name ], other_values, 
errors, prefix, step )))
File '/galaxy/galaxy_server/database/compiled_templates/workflow/run.mako.py', 
line 297 in row_for_param
  return 
render_row_for_param(context,param,value,other_values,error_dict,prefix,step)
File '/galaxy/galaxy_server/database/compiled_templates/workflow/run.mako.py', 
line 466 in render_row_for_param
  __M_writer(unicode(param.get_html_field( t, value, other_values ).get_html( 
str(step.id) + "|" + prefix )))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 155: 
ordinal not in range(128)


CGI Variables
-------------
  CONTENT_LENGTH: '0'
  HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
  HTTP_ACCEPT_CHARSET: 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
  HTTP_ACCEPT_ENCODING: 'gzip,deflate'
  HTTP_ACCEPT_LANGUAGE: 'en-us,en;q=0.5'
  HTTP_CONNECTION: 'Keep-Alive'
  HTTP_COOKIE: 
'galaxysession=f611411aa8a0c6655dce25cc8ce7931696473135a41884694eefb704cf34d98429880ec7e01926f8'
  HTTP_HOST: 'solweb2'
  HTTP_REFERER: 'http://solweb2/workflow/list_for_run'
  HTTP_USER_AGENT: 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; 
rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16'
  HTTP_X_FORWARDED_FOR: '10.1.4.162'
  HTTP_X_FORWARDED_HOST: 'solweb2'
  HTTP_X_FORWARDED_SERVER: 'solweb2'
  ORGINAL_HTTP_HOST: 'localhost:8080'
  ORGINAL_REMOTE_ADDR: '127.0.0.1'
  PATH_INFO: '/workflow/run'
  QUERY_STRING: 'id=91cc5a0bc3008f7d'
  REMOTE_ADDR: '10.1.4.162'
  REQUEST_METHOD: 'GET'
  SERVER_NAME: '0.0.0.0'
  SERVER_PORT: '8080'
  SERVER_PROTOCOL: 'HTTP/1.1'


Configuration
-------------
  __file__: '/galaxy/galaxy_server/universe_wsgi.webapp.ini'
  admin_users: 'xxx'
  allow_library_path_paste: 'False'
  allow_user_creation: 'True'
  allow_user_deletion: 'True'
  apache_xsendfile: 'True'
  bugs_email: 'xxx'
  cookie_path: '/'
  database_connection: 'postgres://galaxy:galaxy@localhost/galaxy'
  database_engine_option_server_side_cursors: 'True'
  database_engine_option_strategy: 'threadlocal'
  datatypes_config_file: 'datatypes_conf.xml'
  debug: 'False'
  enable_api: 'True'
  enable_job_running: 'False'
  enable_pages: 'True'
  enable_tracks: 'True'
  error_email_to: 'xxx'
  external_service_type_config_file: 'external_service_types_conf.xml'
  external_service_type_path: 'external_service_types'
  file_path: 'database/files'
  fulltext_max_size: '200'
  fulltext_noindex_filetypes: 
'bam,sam,wig,bigwig,fasta,fastq,fastqsolexa,fastqillumina,fastqsanger'
  gbrowse_display_sites: 
'wormbase,tair,modencode_worm,modencode_fly,local_mouse,local_human,local_fly'
  genetrack_display_sites: 'main,test'
  here: '/galaxy/galaxy_server'
  id_secret: 'xxx'
  job_working_directory: 'database/job_working_directory'
  len_file_path: 'tool-data/shared/ucsc/chrom'
  library_import_dir: '/galaxy/galaxy_server/data'
  log_actions: 'True'
  log_events: 'True'
  log_level: 'DEBUG'
  new_file_path: 'database/tmp'
  new_user_dataset_access_role_default_private: 'False'
  nglims_config_file: 'tool-data/nglims.yaml'
  require_login: 'False'
  set_metadata_externally: 'True'
  smtp_server: 'xxx'
  static_cache_time: '360'
  static_dir: '/galaxy/galaxy_server/static/'
  static_enabled: 'True'
  static_favicon_dir: '/galaxy/galaxy_server/static/favicon.ico'
  static_images_dir: '/galaxy/galaxy_server/static/images'
  static_scripts_dir: '/galaxy/galaxy_server/static/scripts/'
  static_style_dir: '/galaxy/galaxy_server/static/june_2007_style/blue'
  tool_config_file: 'tool_conf.xml'
  tool_data_path: 'tool-data'
  tool_path: 'tools'
  ucsc_display_sites: 'main,archaea,ucla'
  upstream_gzip: 'False'
  use_interactive: 'False'
  use_lint: 'False'
  use_nglims: 'False'
  use_profile: 'False'
  wiki_url: 'http://bitbucket.org/galaxy/galaxy-central/wiki'


WSGI Variables
--------------
  application: <paste.recursive.RecursiveMiddleware object at 0x5871850>
  paste.cookies: (<SimpleCookie: 
galaxysession='f611411aa8a0c6655dce25cc8ce7931696473135a41884694eefb704cf34d98429880ec7e01926f8'>,
 
'galaxysession=f611411aa8a0c6655dce25cc8ce7931696473135a41884694eefb704cf34d98429880ec7e01926f8')
  paste.expected_exceptions: [<class 'paste.httpexceptions.HTTPException'>]
  paste.httpexceptions: <paste.httpexceptions.HTTPExceptionHandler object at 
0x3483f10>
  paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at 0xd03c50>
  paste.parsed_querystring: ([('id', '91cc5a0bc3008f7d')], 
'id=91cc5a0bc3008f7d')
  paste.recursive.forward: <paste.recursive.Forwarder from />
  paste.recursive.include: <paste.recursive.Includer from />
  paste.recursive.include_app_iter: <paste.recursive.IncluderAppIter from />
  paste.recursive.script_name: ''
  paste.throw_errors: True
  webob._parsed_query_vars: (MultiDict([('id', '91cc5a0bc3008f7d')]), 
'id=91cc5a0bc3008f7d')
  wsgi process: 'Multithreaded'
------------------------------------------------------------

___________________________________________________________
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