Re: [galaxy-dev] inable to login to testtoolshed login because of Server Error: AttributeError: 'GalaxySession' object has no attribute 'current_history'

2013-03-29 Thread Dave Bouvier

Jorrit,

I've committed a fix for this in 9220:56de0ee7932f, thank you for 
helping me track down the issue.


   --Dave B.

On 3/28/13 20:30:37.000, Dave Bouvier wrote:

Jorrit,

Thank you for the additional information, following those steps I was
able to reproduce the error and will be looking into the issue.

--Dave B.

On 3/28/13 18:04:48.000, jorrit poelen wrote:

Hey Dave,

I just reproduced this issue by:

1. clear all cookies (reset browser)
2. login to testtoolshed.g2.bx.psu.edu
3. login succeeds
4. logout
5. logout succeeds
6. (re-)login to testtoolshed.g2.bx.psu.edu
7. login fails with Server Error (for stacktrace, see below).

thx,
-jorrit

URL: http://testtoolshed.g2.bx.psu.edu/user/login?use_panels=True
File
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/exceptions/errormiddleware.py',
line 144 in __call__
   app_iter = self.application(environ, sr_checker)
File
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/debug/prints.py',
line 106 in __call__
   environ, self.app)
File
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/wsgilib.py',
line 543 in intercept_output
   app_iter = application(environ, replacement_start_response)
File
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/recursive.py',
line 84 in __call__
   return self.application(environ, start_response)
File
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/httpexceptions.py',
line 633 in __call__
   return self.application(environ, start_response)
File
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/lib/galaxy/web/framework/base.py',
line 128 in __call__
   return self.handle_request( environ, start_response )
File
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/lib/galaxy/web/framework/base.py',
line 184 in handle_request
   body = method( trans, **kwargs )
File
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/lib/galaxy/webapps/galaxy/controllers/user.py',
line 466 in login
   active_view=user )
File
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/lib/galaxy/web/framework/__init__.py',
line 863 in fill_template
   return self.fill_template_mako( filename, **kwargs )
File
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/lib/galaxy/web/framework/__init__.py',
line 874 in fill_template_mako
   return template.render( **data )
File
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Mako-0.4.1-py2.7.egg/mako/template.py',
line 296 in render
   return runtime._render(self, self.callable_, args, data)
File
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py',
line 660 in _render
   **_kwargs_for_callable(callable_, data))
File
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py',
line 692 in _render_context
   _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py',
line 718 in _exec_template
   callable_(context, *args, **kwargs)
File
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/database/compiled_templates/community/base/base_panels.mako.py',
line 85 in render_body
   __M_writer(unicode(self.masthead()))
File
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/database/compiled_templates/community/webapps/galaxy/base_panels.mako.py',
line 209 in render_masthead
   tab( lab, Lab, None, menu_options=menu_options, visible=(
trans.user and ( trans.user.requests or
trans.app.security_agent.get_accessible_request_types( trans,
trans.user ) ) ) )
AttributeError: 'User' object has no attribute 'requests'

On Mar 28, 2013, at 2:22 PM, Dave Bouvier wrote:


Jorrit,

While I investigate the root cause of this, have you tried clearing
all cookies for testtoolshed.g2.bx.psu.edu?

   --Dave B.

On 3/28/13 17:14:55.000, jorrit poelen wrote:

Hey y'all galaxiers,

Today, I tried to login using the testtoolshed web ui.  To make sure
that it wasn't just isolated to an existing account, I created a new
account, and still I encountered the Server Error attached below.
This error is not shown when entering an invalid password.  I was
able to login and push hg changes a couple of days ago.

Was the test toolshed recently upgraded?

Please let me know what I can do to login to testtoolshed at
http://testtoolshed.g2.bx.psu.edu

thx,
-jorrit

PS Please find attached stack trace on login with valid password
through toolshed web ui at around 2pm PST.

URL: http://testtoolshed.g2.bx.psu.edu/user/login?use_panels=True
File
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/exceptions/errormiddleware.py',
line 144 in __call__
   app_iter = self.application(environ, sr_checker)
File
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/debug/prints.py',
line 106 in __call__
   environ, self.app)
File
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/wsgilib.py',
line 543 in 

[galaxy-dev] inable to login to testtoolshed login because of Server Error: AttributeError: 'GalaxySession' object has no attribute 'current_history'

2013-03-28 Thread jorrit poelen
Hey y'all galaxiers,

Today, I tried to login using the testtoolshed web ui.  To make sure that it 
wasn't just isolated to an existing account, I created a new account, and still 
I encountered the Server Error attached below.  This error is not shown when 
entering an invalid password.  I was able to login and push hg changes a couple 
of days ago.

Was the test toolshed recently upgraded?

Please let me know what I can do to login to testtoolshed at 
http://testtoolshed.g2.bx.psu.edu

thx,
-jorrit

PS Please find attached stack trace on login with valid password through 
toolshed web ui at around 2pm PST.

URL: http://testtoolshed.g2.bx.psu.edu/user/login?use_panels=True
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/exceptions/errormiddleware.py',
 line 144 in __call__
  app_iter = self.application(environ, sr_checker)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/debug/prints.py',
 line 106 in __call__
  environ, self.app)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/wsgilib.py',
 line 543 in intercept_output
  app_iter = application(environ, replacement_start_response)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/recursive.py',
 line 84 in __call__
  return self.application(environ, start_response)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/httpexceptions.py',
 line 633 in __call__
  return self.application(environ, start_response)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/lib/galaxy/web/framework/base.py', 
line 128 in __call__
  return self.handle_request( environ, start_response )
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/lib/galaxy/web/framework/base.py', 
line 184 in handle_request
  body = method( trans, **kwargs )
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/lib/galaxy/webapps/galaxy/controllers/user.py',
 line 466 in login
  active_view=user )
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/lib/galaxy/web/framework/__init__.py',
 line 863 in fill_template
  return self.fill_template_mako( filename, **kwargs )
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/lib/galaxy/web/framework/__init__.py',
 line 874 in fill_template_mako
  return template.render( **data )
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Mako-0.4.1-py2.7.egg/mako/template.py',
 line 296 in render
  return runtime._render(self, self.callable_, args, data)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py',
 line 660 in _render
  **_kwargs_for_callable(callable_, data))
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py',
 line 692 in _render_context
  _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py',
 line 718 in _exec_template
  callable_(context, *args, **kwargs)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/database/compiled_templates/community/base/base_panels.mako.py',
 line 85 in render_body
  __M_writer(unicode(self.masthead()))
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/database/compiled_templates/community/webapps/galaxy/base_panels.mako.py',
 line 337 in render_masthead
  usage = trans.app.quota_agent.get_usage( trans=trans )
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/lib/galaxy/quota/__init__.py', 
line 26 in get_usage
  history = trans.history
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/lib/galaxy/web/framework/__init__.py',
 line 741 in get_history
  history = self.galaxy_session.current_history
AttributeError: 'GalaxySession' object has no attribute 'current_history'



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

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/


Re: [galaxy-dev] inable to login to testtoolshed login because of Server Error: AttributeError: 'GalaxySession' object has no attribute 'current_history'

2013-03-28 Thread Dave Bouvier

Jorrit,

While I investigate the root cause of this, have you tried clearing all 
cookies for testtoolshed.g2.bx.psu.edu?


   --Dave B.

On 3/28/13 17:14:55.000, jorrit poelen wrote:

Hey y'all galaxiers,

Today, I tried to login using the testtoolshed web ui.  To make sure that it 
wasn't just isolated to an existing account, I created a new account, and still 
I encountered the Server Error attached below.  This error is not shown when 
entering an invalid password.  I was able to login and push hg changes a couple 
of days ago.

Was the test toolshed recently upgraded?

Please let me know what I can do to login to testtoolshed at 
http://testtoolshed.g2.bx.psu.edu

thx,
-jorrit

PS Please find attached stack trace on login with valid password through 
toolshed web ui at around 2pm PST.

URL: http://testtoolshed.g2.bx.psu.edu/user/login?use_panels=True
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/exceptions/errormiddleware.py',
 line 144 in __call__
   app_iter = self.application(environ, sr_checker)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/debug/prints.py',
 line 106 in __call__
   environ, self.app)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/wsgilib.py',
 line 543 in intercept_output
   app_iter = application(environ, replacement_start_response)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/recursive.py',
 line 84 in __call__
   return self.application(environ, start_response)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/httpexceptions.py',
 line 633 in __call__
   return self.application(environ, start_response)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/lib/galaxy/web/framework/base.py', 
line 128 in __call__
   return self.handle_request( environ, start_response )
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/lib/galaxy/web/framework/base.py', 
line 184 in handle_request
   body = method( trans, **kwargs )
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/lib/galaxy/webapps/galaxy/controllers/user.py',
 line 466 in login
   active_view=user )
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/lib/galaxy/web/framework/__init__.py',
 line 863 in fill_template
   return self.fill_template_mako( filename, **kwargs )
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/lib/galaxy/web/framework/__init__.py',
 line 874 in fill_template_mako
   return template.render( **data )
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Mako-0.4.1-py2.7.egg/mako/template.py',
 line 296 in render
   return runtime._render(self, self.callable_, args, data)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py',
 line 660 in _render
   **_kwargs_for_callable(callable_, data))
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py',
 line 692 in _render_context
   _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py',
 line 718 in _exec_template
   callable_(context, *args, **kwargs)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/database/compiled_templates/community/base/base_panels.mako.py',
 line 85 in render_body
   __M_writer(unicode(self.masthead()))
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/database/compiled_templates/community/webapps/galaxy/base_panels.mako.py',
 line 337 in render_masthead
   usage = trans.app.quota_agent.get_usage( trans=trans )
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/lib/galaxy/quota/__init__.py', 
line 26 in get_usage
   history = trans.history
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/lib/galaxy/web/framework/__init__.py',
 line 741 in get_history
   history = self.galaxy_session.current_history
AttributeError: 'GalaxySession' object has no attribute 'current_history'



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

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:
 http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
 http://galaxyproject.org/search/mailinglists/


Re: [galaxy-dev] inable to login to testtoolshed login because of Server Error: AttributeError: 'GalaxySession' object has no attribute 'current_history'

2013-03-28 Thread Dave Bouvier

Jorrit,

Thank you for the additional information, following those steps I was 
able to reproduce the error and will be looking into the issue.


   --Dave B.

On 3/28/13 18:04:48.000, jorrit poelen wrote:

Hey Dave,

I just reproduced this issue by:

1. clear all cookies (reset browser)
2. login to testtoolshed.g2.bx.psu.edu
3. login succeeds
4. logout
5. logout succeeds
6. (re-)login to testtoolshed.g2.bx.psu.edu
7. login fails with Server Error (for stacktrace, see below).

thx,
-jorrit

URL: http://testtoolshed.g2.bx.psu.edu/user/login?use_panels=True
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/exceptions/errormiddleware.py',
 line 144 in __call__
   app_iter = self.application(environ, sr_checker)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/debug/prints.py',
 line 106 in __call__
   environ, self.app)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/wsgilib.py',
 line 543 in intercept_output
   app_iter = application(environ, replacement_start_response)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/recursive.py',
 line 84 in __call__
   return self.application(environ, start_response)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/httpexceptions.py',
 line 633 in __call__
   return self.application(environ, start_response)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/lib/galaxy/web/framework/base.py', 
line 128 in __call__
   return self.handle_request( environ, start_response )
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/lib/galaxy/web/framework/base.py', 
line 184 in handle_request
   body = method( trans, **kwargs )
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/lib/galaxy/webapps/galaxy/controllers/user.py',
 line 466 in login
   active_view=user )
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/lib/galaxy/web/framework/__init__.py',
 line 863 in fill_template
   return self.fill_template_mako( filename, **kwargs )
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/lib/galaxy/web/framework/__init__.py',
 line 874 in fill_template_mako
   return template.render( **data )
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Mako-0.4.1-py2.7.egg/mako/template.py',
 line 296 in render
   return runtime._render(self, self.callable_, args, data)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py',
 line 660 in _render
   **_kwargs_for_callable(callable_, data))
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py',
 line 692 in _render_context
   _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py',
 line 718 in _exec_template
   callable_(context, *args, **kwargs)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/database/compiled_templates/community/base/base_panels.mako.py',
 line 85 in render_body
   __M_writer(unicode(self.masthead()))
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/database/compiled_templates/community/webapps/galaxy/base_panels.mako.py',
 line 209 in render_masthead
   tab( lab, Lab, None, menu_options=menu_options, visible=( trans.user and 
( trans.user.requests or trans.app.security_agent.get_accessible_request_types( trans, trans.user ) 
) ) )
AttributeError: 'User' object has no attribute 'requests'

On Mar 28, 2013, at 2:22 PM, Dave Bouvier wrote:


Jorrit,

While I investigate the root cause of this, have you tried clearing all cookies 
for testtoolshed.g2.bx.psu.edu?

   --Dave B.

On 3/28/13 17:14:55.000, jorrit poelen wrote:

Hey y'all galaxiers,

Today, I tried to login using the testtoolshed web ui.  To make sure that it 
wasn't just isolated to an existing account, I created a new account, and still 
I encountered the Server Error attached below.  This error is not shown when 
entering an invalid password.  I was able to login and push hg changes a couple 
of days ago.

Was the test toolshed recently upgraded?

Please let me know what I can do to login to testtoolshed at 
http://testtoolshed.g2.bx.psu.edu

thx,
-jorrit

PS Please find attached stack trace on login with valid password through 
toolshed web ui at around 2pm PST.

URL: http://testtoolshed.g2.bx.psu.edu/user/login?use_panels=True
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/exceptions/errormiddleware.py',
 line 144 in __call__
   app_iter = self.application(environ, sr_checker)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/debug/prints.py',
 line 106 in __call__
   environ, self.app)
File 
'/var/opt/galaxy/g2cmnty/galaxy_testtoolshed/eggs/Paste-1.7.5.1-py2.7.egg/paste/wsgilib.py',
 line 543 in intercept_output
   app_iter = application(environ, replacement_start_response)
File