We're Hiring!

Problems with mod_python and Omero web installation

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

Problems with mod_python and Omero web installation

Postby uestra » Wed Feb 24, 2010 10:22 am

Hello,
I have problems with mod_python on Ubuntu 9.10.
I got this error message when i try to use the web-interface on http://ip-address/webclient
Code: Select all
MOD_PYTHON ERROR
ProcessId:      22247
Interpreter:    'omero'
ServerName:     'omero'
DocumentRoot:   '/var/www'
URI:            '/webclient'
Location:       '/'
Directory:      None
Filename:       '/var/www/webclient'
PathInfo:       ''
Phase:          'PythonHandler'
Handler:        'django.core.handlers.modpython'
Traceback (most recent call last):

  File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)
  File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1186, in _process_target
    newpath = eval(pathstring)
  File "<string>", line 1

    ['/OMERO/omero_dist/lib/python', '/OMERO/omero_dist/lib/python/omeroweb] + sys.path

SyntaxError: EOL while scanning string literal

Does anyone know what's wrong here?

Best Regards
Mike
uestra
 
Posts: 12
Joined: Wed Feb 24, 2010 9:51 am

Re: Problems with mod_python and Omero web installation

Postby uestra » Wed Feb 24, 2010 10:56 am

this was a problem by copy & paste
Code: Select all
['/OMERO/omero_dist/lib/python', '/OMERO/omero_dist/lib/python/omeroweb]

it must look like this:
Code: Select all
['/OMERO/omero_dist/lib/python', '/OMERO/omero_dist/lib/python/omeroweb']
uestra
 
Posts: 12
Joined: Wed Feb 24, 2010 9:51 am


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest