Re: [galaxy-dev] Galaxy reports crashing with the latest stable release

2014-06-04 Thread Björn Grüning

Hi Dannon,

after removing the *pyc files and killing manually the daemon 
(--stop-daemon did not work) fixes the problem for me.


Sorry for the noise!
Bjoern

Am 04.06.2014 13:52, schrieb Dannon Baker:

I'm having trouble reproducing this. The base grid object that's used by
the SpecifiedDateListGrid does have that info_text field -- it's almost as
if you're somehow using an outdated grid module, while the rendering
template is current.

It's a bit brute force, but can you try (from the base of your galaxy
directory) something like:

find . -name '*.pyc' -delete

and restart your reports app?


On Wed, Jun 4, 2014 at 5:10 AM, bjoern.gruen...@googlemail.com <
bjoern.gruen...@gmail.com> wrote:


Hi,

I encountered the following bug during my testing of the latest stable
release:

Error - : 'SpecifiedDateListGrid' object
has no attribute 'info_text'
URL:
http://galaxy.uni-freiburg.de:9001/jobs/specified_date_handler?specified_date=2014-06-04
File
'/usr/local/galaxy/galaxy-dist/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
'/usr/local/galaxy/galaxy-dist/eggs/Paste-1.7.5.1-py2.7.egg/paste/recursive.py',
line 84 in __call__
   return self.application(environ, start_response)
File
'/usr/local/galaxy/galaxy-dist/eggs/Paste-1.7.5.1-py2.7.egg/paste/httpexceptions.py',
line 633 in __call__
   return self.application(environ, start_response)
File '/usr/local/galaxy/galaxy-dist/lib/galaxy/web/framework/base.py',
line 132 in __call__
   return self.handle_request( environ, start_response )
File '/usr/local/galaxy/galaxy-dist/lib/galaxy/web/framework/base.py',
line 190 in handle_request
   body = method( trans, **kwargs )
File
'/usr/local/galaxy/galaxy-dist/lib/galaxy/webapps/reports/controllers/jobs.py',
line 177 in specified_date_handler
   return self.specified_date_list_grid( trans, **kwd )
File
'/usr/local/galaxy/galaxy-dist/lib/galaxy/web/framework/helpers/grids.py',
line 296 in __call__
   message = message,
File '/usr/local/galaxy/galaxy-dist/lib/galaxy/web/framework/__init__.py',
line 1184 in fill_template
   def fill_template(self, filename, **kwargs):
File '/usr/local/galaxy/galaxy-dist/lib/galaxy/web/framework/__init__.py',
line 1199 in fill_template_mako
   template_lookup = template_lookup or self.webapp.mako_template_lookup
File
'/usr/local/galaxy/galaxy-dist/eggs/Mako-0.4.1-py2.7.egg/mako/template.py',
line 296 in render
   return runtime._render(self, self.callable_, args, data)
File
'/usr/local/galaxy/galaxy-dist/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py',
line 660 in _render
   **_kwargs_for_callable(callable_, data))
File
'/usr/local/galaxy/galaxy-dist/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
'/usr/local/galaxy/galaxy-dist/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py',
line 718 in _exec_template
   callable_(context, *args, **kwargs)
File '/usr/local/galaxy/galaxy-dist/database/compiled_templates/reports/
base.mako.py', line 66 in render_body
   __M_writer(unicode(next.body()))
File '/usr/local/galaxy/galaxy-dist/database/compiled_templates/reports/
grid_base.mako.py', line 91 in render_body
   __M_writer(unicode(self.load()))
File '/usr/local/galaxy/galaxy-dist/database/compiled_templates/reports/
grid_base.mako.py', line 120 in render_load
   __M_writer(unicode( h.to_json_string( self.get_grid_config(
embedded=embedded, insert=insert ) ) ))
File '/usr/local/galaxy/galaxy-dist/database/compiled_templates/reports/
grid_base.mako.py', line 193 in render_get_grid_config
   'info_text' : grid.info_text,
AttributeError: 'SpecifiedDateListGrid' object has no attribute 'info_text'

Trello card is here:
https://trello.com/c/EqQCAcIe


Thanks,
Bjoern


___
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] Galaxy reports crashing with the latest stable release

2014-06-04 Thread Dannon Baker
I'm having trouble reproducing this. The base grid object that's used by
the SpecifiedDateListGrid does have that info_text field -- it's almost as
if you're somehow using an outdated grid module, while the rendering
template is current.

It's a bit brute force, but can you try (from the base of your galaxy
directory) something like:

find . -name '*.pyc' -delete

and restart your reports app?


On Wed, Jun 4, 2014 at 5:10 AM, bjoern.gruen...@googlemail.com <
bjoern.gruen...@gmail.com> wrote:

> Hi,
>
> I encountered the following bug during my testing of the latest stable
> release:
>
> Error - : 'SpecifiedDateListGrid' object
> has no attribute 'info_text'
> URL:
> http://galaxy.uni-freiburg.de:9001/jobs/specified_date_handler?specified_date=2014-06-04
> File
> '/usr/local/galaxy/galaxy-dist/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
> '/usr/local/galaxy/galaxy-dist/eggs/Paste-1.7.5.1-py2.7.egg/paste/recursive.py',
> line 84 in __call__
>   return self.application(environ, start_response)
> File
> '/usr/local/galaxy/galaxy-dist/eggs/Paste-1.7.5.1-py2.7.egg/paste/httpexceptions.py',
> line 633 in __call__
>   return self.application(environ, start_response)
> File '/usr/local/galaxy/galaxy-dist/lib/galaxy/web/framework/base.py',
> line 132 in __call__
>   return self.handle_request( environ, start_response )
> File '/usr/local/galaxy/galaxy-dist/lib/galaxy/web/framework/base.py',
> line 190 in handle_request
>   body = method( trans, **kwargs )
> File
> '/usr/local/galaxy/galaxy-dist/lib/galaxy/webapps/reports/controllers/jobs.py',
> line 177 in specified_date_handler
>   return self.specified_date_list_grid( trans, **kwd )
> File
> '/usr/local/galaxy/galaxy-dist/lib/galaxy/web/framework/helpers/grids.py',
> line 296 in __call__
>   message = message,
> File '/usr/local/galaxy/galaxy-dist/lib/galaxy/web/framework/__init__.py',
> line 1184 in fill_template
>   def fill_template(self, filename, **kwargs):
> File '/usr/local/galaxy/galaxy-dist/lib/galaxy/web/framework/__init__.py',
> line 1199 in fill_template_mako
>   template_lookup = template_lookup or self.webapp.mako_template_lookup
> File
> '/usr/local/galaxy/galaxy-dist/eggs/Mako-0.4.1-py2.7.egg/mako/template.py',
> line 296 in render
>   return runtime._render(self, self.callable_, args, data)
> File
> '/usr/local/galaxy/galaxy-dist/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py',
> line 660 in _render
>   **_kwargs_for_callable(callable_, data))
> File
> '/usr/local/galaxy/galaxy-dist/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
> '/usr/local/galaxy/galaxy-dist/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py',
> line 718 in _exec_template
>   callable_(context, *args, **kwargs)
> File '/usr/local/galaxy/galaxy-dist/database/compiled_templates/reports/
> base.mako.py', line 66 in render_body
>   __M_writer(unicode(next.body()))
> File '/usr/local/galaxy/galaxy-dist/database/compiled_templates/reports/
> grid_base.mako.py', line 91 in render_body
>   __M_writer(unicode(self.load()))
> File '/usr/local/galaxy/galaxy-dist/database/compiled_templates/reports/
> grid_base.mako.py', line 120 in render_load
>   __M_writer(unicode( h.to_json_string( self.get_grid_config(
> embedded=embedded, insert=insert ) ) ))
> File '/usr/local/galaxy/galaxy-dist/database/compiled_templates/reports/
> grid_base.mako.py', line 193 in render_get_grid_config
>   'info_text' : grid.info_text,
> AttributeError: 'SpecifiedDateListGrid' object has no attribute 'info_text'
>
> Trello card is here:
> https://trello.com/c/EqQCAcIe
>
>
> Thanks,
> Bjoern
>
>
> ___
> 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/

[galaxy-dev] Galaxy reports crashing with the latest stable release

2014-06-04 Thread bjoern.gruen...@googlemail.com
Hi,

I encountered the following bug during my testing of the latest stable
release:

Error - : 'SpecifiedDateListGrid' object
has no attribute 'info_text'
URL:
http://galaxy.uni-freiburg.de:9001/jobs/specified_date_handler?specified_date=2014-06-04
File
'/usr/local/galaxy/galaxy-dist/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
'/usr/local/galaxy/galaxy-dist/eggs/Paste-1.7.5.1-py2.7.egg/paste/recursive.py',
line 84 in __call__
  return self.application(environ, start_response)
File
'/usr/local/galaxy/galaxy-dist/eggs/Paste-1.7.5.1-py2.7.egg/paste/httpexceptions.py',
line 633 in __call__
  return self.application(environ, start_response)
File '/usr/local/galaxy/galaxy-dist/lib/galaxy/web/framework/base.py', line
132 in __call__
  return self.handle_request( environ, start_response )
File '/usr/local/galaxy/galaxy-dist/lib/galaxy/web/framework/base.py', line
190 in handle_request
  body = method( trans, **kwargs )
File
'/usr/local/galaxy/galaxy-dist/lib/galaxy/webapps/reports/controllers/jobs.py',
line 177 in specified_date_handler
  return self.specified_date_list_grid( trans, **kwd )
File
'/usr/local/galaxy/galaxy-dist/lib/galaxy/web/framework/helpers/grids.py',
line 296 in __call__
  message = message,
File '/usr/local/galaxy/galaxy-dist/lib/galaxy/web/framework/__init__.py',
line 1184 in fill_template
  def fill_template(self, filename, **kwargs):
File '/usr/local/galaxy/galaxy-dist/lib/galaxy/web/framework/__init__.py',
line 1199 in fill_template_mako
  template_lookup = template_lookup or self.webapp.mako_template_lookup
File
'/usr/local/galaxy/galaxy-dist/eggs/Mako-0.4.1-py2.7.egg/mako/template.py',
line 296 in render
  return runtime._render(self, self.callable_, args, data)
File
'/usr/local/galaxy/galaxy-dist/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py',
line 660 in _render
  **_kwargs_for_callable(callable_, data))
File
'/usr/local/galaxy/galaxy-dist/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
'/usr/local/galaxy/galaxy-dist/eggs/Mako-0.4.1-py2.7.egg/mako/runtime.py',
line 718 in _exec_template
  callable_(context, *args, **kwargs)
File '/usr/local/galaxy/galaxy-dist/database/compiled_templates/reports/
base.mako.py', line 66 in render_body
  __M_writer(unicode(next.body()))
File '/usr/local/galaxy/galaxy-dist/database/compiled_templates/reports/
grid_base.mako.py', line 91 in render_body
  __M_writer(unicode(self.load()))
File '/usr/local/galaxy/galaxy-dist/database/compiled_templates/reports/
grid_base.mako.py', line 120 in render_load
  __M_writer(unicode( h.to_json_string( self.get_grid_config(
embedded=embedded, insert=insert ) ) ))
File '/usr/local/galaxy/galaxy-dist/database/compiled_templates/reports/
grid_base.mako.py', line 193 in render_get_grid_config
  'info_text' : grid.info_text,
AttributeError: 'SpecifiedDateListGrid' object has no attribute 'info_text'

Trello card is here:
https://trello.com/c/EqQCAcIe


Thanks,
Bjoern
___
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/