[galaxy-dev] Error when creating Visualization

2012-10-25 Thread Andreas Kuntzagk

Hi,

on our local Galaxy instance I try to setup Visualization.
I followed 
http://wiki.g2.bx.psu.edu/Learn/Visualization#Setup_for_Local_Instances

But when I try to create a new visalization I get an error with this traceback:

URL: http://bbc.mdc-berlin.de/galaxy/visualization/create
File '/data/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 '/data/galaxy/galaxy-dist/eggs/Paste-1.6-py2.6.egg/paste/debug/prints.py', 
line 98 in __call__
  environ, self.app)
File '/data/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 '/data/galaxy/galaxy-dist/eggs/Paste-1.6-py2.6.egg/paste/recursive.py', 
line 80 in __call__
  return self.application(environ, start_response)
File 
'/data/galaxy/galaxy-dist/eggs/Paste-1.6-py2.6.egg/paste/httpexceptions.py', 
line 632 in __call__
  return self.application(environ, start_response)
File '/data/galaxy/galaxy-dist/lib/galaxy/web/framework/base.py', line 160 in 
__call__
  body = method( trans, **kwargs )
File '/data/galaxy/galaxy-dist/lib/galaxy/web/framework/__init__.py', line 93 
in decorator
  return func( self, trans, *args, **kwargs )
File '/data/galaxy/galaxy-dist/lib/galaxy/webapps/galaxy/controllers/visualization.py', line 590 in 
create

  type=visualization_type )
File '/data/galaxy/galaxy-dist/lib/galaxy/web/base/controller.py', line 343 in 
create_visualization
  revision = trans.model.VisualizationRevision( visualization=visualization, title=title, 
config=config, dbkey=dbkey )

File 'string', line 4 in __init__
File '/data/galaxy/galaxy-dist/eggs/SQLAlchemy-0.5.6_dev_r6498-py2.6.egg/sqlalchemy/orm/state.py', 
line 82 in initialize_instance

  return manager.events.original_init(*mixed[1:], **kwargs)
File '/data/galaxy/galaxy-dist/lib/galaxy/model/__init__.py', line 2764 in 
__init__
  self.visualization = visualization
File 
'/data/galaxy/galaxy-dist/eggs/SQLAlchemy-0.5.6_dev_r6498-py2.6.egg/sqlalchemy/orm/attributes.py', 
line 150 in __set__

  self.impl.set(instance_state(instance), instance_dict(instance), value, None)
File 
'/data/galaxy/galaxy-dist/eggs/SQLAlchemy-0.5.6_dev_r6498-py2.6.egg/sqlalchemy/orm/attributes.py', 
line 590 in set

  value = self.fire_replace_event(state, dict_, value, old, initiator)
File 
'/data/galaxy/galaxy-dist/eggs/SQLAlchemy-0.5.6_dev_r6498-py2.6.egg/sqlalchemy/orm/attributes.py', 
line 610 in fire_replace_event

  value = ext.set(state, value, previous, initiator or self)
File 
'/data/galaxy/galaxy-dist/eggs/SQLAlchemy-0.5.6_dev_r6498-py2.6.egg/sqlalchemy/orm/attributes.py', 
line 847 in set

  new_state,  new_dict = instance_state(child), instance_dict(child)
AttributeError: 'dict' object has no attribute '_sa_instance_state'


Any idea what may be wrong?

regards, Andreas

--
Andreas Kuntzagk

SystemAdministrator

Berlin Institute for Medical Systems Biology at the
Max-Delbrueck-Center for Molecular Medicine
Robert-Roessle-Str. 10, 13125 Berlin, Germany

http://www.mdc-berlin.de/en/bimsb/BIMSB_groups/Dieterich
___
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/


Re: [galaxy-dev] Error when creating Visualization

2012-10-25 Thread Andreas Kuntzagk

My fault. I did not set a title for it.
(Anyway this should be caught I think.)

regards, Andreas

On 25.10.2012 13:18, Andreas Kuntzagk wrote:

Hi,

on our local Galaxy instance I try to setup Visualization.
I followed 
http://wiki.g2.bx.psu.edu/Learn/Visualization#Setup_for_Local_Instances

But when I try to create a new visalization I get an error with this traceback:

URL: http://bbc.mdc-berlin.de/galaxy/visualization/create
File 
'/data/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 '/data/galaxy/galaxy-dist/eggs/Paste-1.6-py2.6.egg/paste/debug/prints.py', 
line 98 in __call__
   environ, self.app)
File '/data/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 '/data/galaxy/galaxy-dist/eggs/Paste-1.6-py2.6.egg/paste/recursive.py', 
line 80 in __call__
   return self.application(environ, start_response)
File 
'/data/galaxy/galaxy-dist/eggs/Paste-1.6-py2.6.egg/paste/httpexceptions.py', 
line 632 in __call__
   return self.application(environ, start_response)
File '/data/galaxy/galaxy-dist/lib/galaxy/web/framework/base.py', line 160 in 
__call__
   body = method( trans, **kwargs )
File '/data/galaxy/galaxy-dist/lib/galaxy/web/framework/__init__.py', line 93 
in decorator
   return func( self, trans, *args, **kwargs )
File 
'/data/galaxy/galaxy-dist/lib/galaxy/webapps/galaxy/controllers/visualization.py',
 line 590 in
create
   type=visualization_type )
File '/data/galaxy/galaxy-dist/lib/galaxy/web/base/controller.py', line 343 in 
create_visualization
   revision = trans.model.VisualizationRevision( visualization=visualization, 
title=title,
config=config, dbkey=dbkey )
File 'string', line 4 in __init__
File 
'/data/galaxy/galaxy-dist/eggs/SQLAlchemy-0.5.6_dev_r6498-py2.6.egg/sqlalchemy/orm/state.py',
line 82 in initialize_instance
   return manager.events.original_init(*mixed[1:], **kwargs)
File '/data/galaxy/galaxy-dist/lib/galaxy/model/__init__.py', line 2764 in 
__init__
   self.visualization = visualization
File
'/data/galaxy/galaxy-dist/eggs/SQLAlchemy-0.5.6_dev_r6498-py2.6.egg/sqlalchemy/orm/attributes.py',
line 150 in __set__
   self.impl.set(instance_state(instance), instance_dict(instance), value, None)
File
'/data/galaxy/galaxy-dist/eggs/SQLAlchemy-0.5.6_dev_r6498-py2.6.egg/sqlalchemy/orm/attributes.py',
line 590 in set
   value = self.fire_replace_event(state, dict_, value, old, initiator)
File
'/data/galaxy/galaxy-dist/eggs/SQLAlchemy-0.5.6_dev_r6498-py2.6.egg/sqlalchemy/orm/attributes.py',
line 610 in fire_replace_event
   value = ext.set(state, value, previous, initiator or self)
File
'/data/galaxy/galaxy-dist/eggs/SQLAlchemy-0.5.6_dev_r6498-py2.6.egg/sqlalchemy/orm/attributes.py',
line 847 in set
   new_state,  new_dict = instance_state(child), instance_dict(child)
AttributeError: 'dict' object has no attribute '_sa_instance_state'


Any idea what may be wrong?

regards, Andreas



--
Andreas Kuntzagk

SystemAdministrator

Berlin Institute for Medical Systems Biology at the
Max-Delbrueck-Center for Molecular Medicine
Robert-Roessle-Str. 10, 13125 Berlin, Germany

http://www.mdc-berlin.de/en/bimsb/BIMSB_groups/Dieterich
___
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/