Hello Sarah,

The method signature for the user controller's index method changed in the 
latest distribution update, and your browser cache is causing the problem 
because it is using the old method signature.  Refreshing the masthead in your 
browser should solve the problem.  By "masthead", I mean the following - right 
click on it and select "Reload page", or whatever your browser provides for an 
option:

<<inline: masthead.tiff>>


On Apr 15, 2011, at 8:31 AM, Sarah Diehl wrote:

> Hello,
> 
> it seems since I updated to the newest galaxy-dist, I always get an error 
> when trying to register a new user.
> 
> When I try it from the admin panel, the error is the following:
> 
> Error - <type 'exceptions.NameError'>: Undefined
> URL: http://solweb2.immunbio.mpg.de/user/create?cntrller=admin&webapp=galaxy
> 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/user.py', line 523 in 
> create
>  status=status )
> 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/user/register.mako.py', 
> line 69 in render_body
>  __M_writer(unicode(render_registration_form()))
> File 
> '/galaxy/galaxy_server/database/compiled_templates/user/register.mako.py', 
> line 40 in render_registration_form
>  return 
> render_render_registration_form(context.locals_(__M_locals),form_action)
> File 
> '/galaxy/galaxy_server/database/compiled_templates/user/register.mako.py', 
> line 121 in render_render_registration_form
>  form_action = h.url_for( controller='user', action='create', 
> admin_view=admin_view )
> File '/galaxy/galaxy_server/eggs/Routes-1.12.3-py2.6.egg/routes/util.py', 
> line 248 in url_for
>  url = config.mapper.generate(*route_args, **newargs)
> File '/galaxy/galaxy_server/eggs/Routes-1.12.3-py2.6.egg/routes/mapper.py', 
> line 823 in generate
>  path = route.generate(**kargs)
> File '/galaxy/galaxy_server/eggs/Routes-1.12.3-py2.6.egg/routes/route.py', 
> line 736 in generate
>  fragments.append((key, _str_encode(val, self.encoding)))
> File '/galaxy/galaxy_server/eggs/Routes-1.12.3-py2.6.egg/routes/util.py', 
> line 129 in _str_encode
>  s = unicode(string).encode(encoding)
> File '/galaxy/galaxy_server/eggs/Mako-0.2.5-py2.6.egg/mako/runtime.py', line 
> 128 in __str__
>  raise NameError("Undefined")
> NameError: Undefined
> 
> 
> 
> If I log out and try it from the "User" menu, I get the following error:
> 
> Error - <type 'exceptions.TypeError'>: create() takes at least 3 arguments (2 
> given)
> URL: http://solweb2.immunbio.mpg.de/user/create
> 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 )
> TypeError: create() takes at least 3 arguments (2 given)
> 
> 
> I have no idea what is going on, any help is greatly appreciated, thank you!
> 
> Best regards,
> Sarah Diehl
> ___________________________________________________________
> 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/

Greg Von Kuster
Galaxy Development Team
g...@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