Page 1 of 1

CLOSED:Omero 4.2 Webadmin 500 Error

PostPosted: Fri Aug 06, 2010 8:17 am
by flekschas
Hi,

after upgrading Omero to 4.2 and following the instructions from http://www.openmicroscopy.org/community/viewtopic.php?f=5&t=427 I'm getting an error 500 after logging into the webadmin interface.

Here is the error message:
Code: Select all
Traceback (most recent call last):

  File "/srv/omero/omero_dist/lib/python/django/core/handlers/base.py", line 92, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/srv/omero/omero_dist/lib/python/omeroweb/webadmin/views.py", line 145, in wrapped
    return f(request, *args, **kwargs)

  File "/srv/omero/omero_dist/lib/python/omeroweb/webadmin/views.py", line 214, in wrapped
    return f(request, *args, **kwargs)

  File "/srv/omero/omero_dist/lib/python/omeroweb/webadmin/views.py", line 402, in experimenters
    controller = BaseExperimenters(conn)

  File "/srv/omero/omero_dist/lib/python/omeroweb/webadmin/controller/experimenter.py", line 44, in __init__
    isActive = exp.isActive()

  File "/srv/omero/omero_dist/lib/python/omero/gateway/__init__.py", line 2351, in isActive
    if ob.parent.name.val == "user":

AttributeError: 'NoneType' object has no attribute 'parent'


<ModPythonRequest
path:/webadmin/experimenters/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'sessionid': '853b7cf388e53d58bf4deb5f46515c5a'},
META:{'AUTH_TYPE': None,
'CONTENT_LENGTH': 0,
'CONTENT_TYPE': None,
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
'HTTP_ACCEPT_LANGUAGE': 'de-de,de;q=0.8,en-us;q=0.5,en;q=0.3',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'sessionid=853b7cf388e53d58bf4deb5f46515c5a',
'HTTP_HOST': 'sandstorm.charite.de',
'HTTP_KEEP_ALIVE': '115',
'HTTP_REFERER': 'http://sandstorm.charite.de/webadmin/login/?url=/webadmin/',
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.8) Gecko/20100723 SUSE/3.6.8-0.1.1 Firefox/3.6.8',
'PATH_INFO': u'/webadmin/experimenters/',
'PATH_TRANSLATED': None,
'QUERY_STRING': None,
'REMOTE_ADDR': '141.42.128.127',
'REMOTE_HOST': None,
'REMOTE_IDENT': None,
'REMOTE_USER': None,
'REQUEST_METHOD': 'GET',
'SCRIPT_NAME': '',
'SERVER_NAME': 'sandstorm.charite.de',
'SERVER_PORT': 80,
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'mod_python'}>


The logs say nothing.

Does anyone know what's wrong?

Best regards,

Fritz

Re: Omero 4.2 Webadmin 500 Error

PostPosted: Mon Aug 09, 2010 3:04 pm
by atarkowska
Hi Fritz

Sorry for the delay in responding to you.
This error is not related to the installation problem you had before.
Could you please give more details what did you change before that error occurred?

Did you try to manage users in any other way then webadmin?

Could you please list database tables: experimenter, experimentergroup, groupexperimentermap and attache output here or send me a private message.
Something must be wrong with users.

Re: Omero 4.2 Webadmin 500 Error

PostPosted: Fri Aug 20, 2010 7:10 am
by atarkowska
Hi Fritz

Sorry for the delay in replying, but I was on holiday.
User 306 has no default group.

You can try to insert it by hand:
Code: Select all
INSERT INTO groupexperimentermap (id, permissions, owner, version, child, parent, child_index)
VALUES (438, -1, FALSE, 0, 306, 1,0);

Re: Omero 4.2 Webadmin 500 Error

PostPosted: Mon Aug 23, 2010 12:57 pm
by flekschas
Thanks for the help. I implemented a central user management which seems to mess up some of the accounts. Everything is working now.
Thanks again :)