Hi All,

 

Due to previous DB errors we decided to let galaxy-dist repopulate the database (MySQL). We purged all tables from the DB and when restarting galaxy it repopulates the DB on the fly while doing all migration steps. A nicely running galaxy as the result.

I encountered a strange error which might be linked to this... or not...

When changing the attribute of a dataset I get the error below; We never had this before so my guess is that the DB is not constructed properly.

We are at tip 7986:12fcd068b12e of the dist release.

 

Any pointer to fix this? There is currently no user-data or histories anymore so I can experiment... before I open it for running publicly again...

 

Thanks;

Alex

 

URL: http://galaxy.wur.nl:8080/galaxy/datasets/b4bd1d7d8ca50a82/edit
Module paste.exceptions.errormiddleware:143 in __call__
>>  app_iter = self.application(environ, start_response)
Module paste.debug.prints:98 in __call__
>>  environ, self.app)
Module paste.wsgilib:539 in intercept_output
>>  app_iter = application(environ, replacement_start_response)
Module paste.recursive:80 in __call__
>>  return self.application(environ, start_response)
Module paste.httpexceptions:632 in __call__
>>  return self.application(environ, start_response)
Module galaxy.web.framework.base:160 in __call__
>>  body = method( trans, **kwargs )
Module galaxy.webapps.galaxy.controllers.dataset:496 in edit
>>  all_roles = trans.app.security_agent.get_legitimate_roles( trans, data.dataset, 'root' )
Module galaxy.security:192 in get_legitimate_roles
>>  return self.get_all_roles( trans, cntrller )
Module galaxy.security:168 in get_all_roles
>>  return self.sort_by_attr( [ role for role in roles ], 'name' )
Module galaxy.security:137 in sort_by_attr
>>  intermed = map( None, map( getattr, seq, ( attr, ) * len( seq ) ), xrange( len( seq ) ), seq )
AttributeError: 'NoneType' object has no attribute 'name'