Hi,

The problem has been solved.
There was a corruption within a user's email address, there was a character
that could not be decoded so it caused errors with permissions and the
datasets the user had uploaded.

--
Chris


On Fri, Feb 8, 2013 at 3:59 PM, <galaxy-dev-requ...@lists.bx.psu.edu> wrote:

> From: Christos Kannas <chriskan...@gmail.com>
> To: galaxy-dev@lists.bx.psu.edu
> Cc:
> Date: Fri, 8 Feb 2013 14:35:25 +0200
> Subject: [galaxy-dev] Error when trying to change the permissions in data
> libraries.
> Hi,
>
> In our local Galaxy server an error came up today.
> When I try to edit the permissions of data librarles via the Admin panel I
> get the following error:
> (Also attached is an image of the following error)
>
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0:
> ordinal not in range(128)
>
> URL:
> http://lisis.cs.ucy.ac.cy/library_common/library_permissions?show_deleted=False&cntrller=library_admin&use_panels=False&id=0174dcff8bad94a7
> File
> '/home/galaxy/galaxy-dist/eggs/WebError-0.8a-py2.6.egg/weberror/evalexception/middleware.py',
> line 364 in respond
>   app_iter = self.application(environ, detect_start_response)
> File
> '/home/galaxy/galaxy-dist/eggs/Paste-1.6-py2.6.egg/paste/debug/prints.py',
> line 98 in __call__
>   environ, self.app)
> File '/home/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
> '/home/galaxy/galaxy-dist/eggs/Paste-1.6-py2.6.egg/paste/recursive.py',
> line 80 in __call__
>   return self.application(environ, start_response)
> File
> '/home/galaxy/galaxy-dist/eggs/Paste-1.6-py2.6.egg/paste/httpexceptions.py',
> line 632 in __call__
>   return self.application(environ, start_response)
> File '/home/galaxy/galaxy-dist/lib/galaxy/web/framework/base.py', line 160
> in __call__
>   body = method( trans, **kwargs )
> File
> '/home/galaxy/galaxy-dist/lib/galaxy/webapps/galaxy/controllers/library_common.py',
> line 262 in library_permissions
>   status=status )
> File '/home/galaxy/galaxy-dist/lib/galaxy/web/framework/__init__.py', line
> 832 in fill_template
>   return self.fill_template_mako( filename, **kwargs )
> File '/home/galaxy/galaxy-dist/lib/galaxy/web/framework/__init__.py', line
> 843 in fill_template_mako
>   return template.render( **data )
> File
> '/home/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 '/home/galaxy/galaxy-dist/eggs/Mako-0.4.1-py2.6.egg/mako/runtime.py',
> line 660 in _render
>   **_kwargs_for_callable(callable_, data))
> File '/home/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 '/home/galaxy/galaxy-dist/eggs/Mako-0.4.1-py2.6.egg/mako/runtime.py',
> line 718 in _exec_template
>   callable_(context, *args, **kwargs)
> File '/home/galaxy/galaxy-dist/database/compiled_templates/base.mako.py',
> line 42 in render_body
>   __M_writer(unicode(next.body()))
> File '/home/galaxy/galaxy-dist/database/compiled_templates/library/common/
> library_permissions.mako.py', line 76 in render_body
>   __M_writer(unicode(render_permission_form( library, library.name,
> h.url_for( controller='library_common', action='library_permissions',
> cntrller=cntrller, id=trans.security.encode_id( library.id ),
> show_deleted=show_deleted ), roles, do_not_render=[], all_roles=all_roles
> )))
> File '/home/galaxy/galaxy-dist/database/compiled_templates/dataset/
> security_common.mako.py', line 108 in render_render_permission_form
>   __M_writer(unicode(render_select( current_actions, k, v, all_roles )))
> File '/home/galaxy/galaxy-dist/database/compiled_templates/dataset/
> security_common.mako.py', line 34 in render_select
>   return
> render_render_select(context,current_actions,action_key,action,roles)
> File '/home/galaxy/galaxy-dist/database/compiled_templates/dataset/
> security_common.mako.py', line 190 in render_render_select
>   __M_writer(unicode(role.name))
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0:
> ordinal not in range(128)
>
> We are using a modified version of Galaxy.
> The info from hg (latest galaxy-dist we have pulled):
>
> changeset:   7828:b5bda7a5c345
> user:        Nate Coraor <n...@bx.psu.edu>
> date:        Fri Oct 05 15:49:26 2012 -0400
> summary:     Fix the Compute tool to only allow for execution of a limited
> set of expressions.
>
> What we have to do to fix it?
>
> Thanks,
> Christos
>
> --
>
> Christos Kannas
> Researcher
> Ph.D Student
>
> e-Health Laboratory <http://www.medinfo.cs.ucy.ac.cy/>
> kannas.chris...@ucy.ac.cy
> kannas.chris...@cs.ucy.ac.cy
> chriskan...@gmail.com
>
> ...
>
>


-- 

Christos Kannas
Researcher
Ph.D Student

e-Health Laboratory <http://www.medinfo.cs.ucy.ac.cy/>
kannas.chris...@ucy.ac.cy
kannas.chris...@cs.ucy.ac.cy
chriskan...@gmail.com

Mob: (+357) 99530608
___________________________________________________________
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