We're Hiring!

Errors at startup

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.

Errors at startup

Postby ahar » Mon Sep 10, 2012 3:07 pm

Hi,
I'm trying to upgrade to the latest version and I think I've done everything I need to but I get the following for all the commands I try e.g. omero admin start, omero admin diagnostics, omero config get
Code: Select all
C:\omero_dist\bin>omero admin start
Error loading: C:\omero_dist\lib\python\omero\plugins\admin.py
Traceback (most recent call last):
  File "C:\omero_dist\lib\python\omero\cli.py", line 1127, in loadpath
    execfile( str(pathobj), loc )
  File "C:\omero_dist\lib\python\omero\plugins\admin.py", line 21, in <module>
    import portalocker
  File "C:\omero_dist\lib\python\portalocker.py", line 69, in <module>
    import win32con
ImportError: No module named win32con
Error loading: C:\omero_dist\lib\python\omero\plugins\node.py
Traceback (most recent call last):
  File "C:\omero_dist\lib\python\omero\cli.py", line 1127, in loadpath
    execfile( str(pathobj), loc )
  File "C:\omero_dist\lib\python\omero\plugins\node.py", line 17, in <module>
    from omero.plugins.admin import AdminControl
  File "C:\omero_dist\lib\python\omero\plugins\admin.py", line 21, in <module>
    import portalocker
  File "C:\omero_dist\lib\python\portalocker.py", line 69, in <module>
    import win32con
ImportError: No module named win32con
Error loading: C:\omero_dist\lib\python\omero\plugins\perf.py
Traceback (most recent call last):
  File "C:\omero_dist\lib\python\omero\cli.py", line 1127, in loadpath
    execfile( str(pathobj), loc )
  File "C:\omero_dist\lib\python\omero\plugins\perf.py", line 17, in <module>
    import omero.install.perf_test as perf_test
  File "C:\omero_dist\lib\python\omero\install\perf_test.py", line 22, in <modul
e>
    import omero.util.temp_files
  File "C:\omero_dist\lib\python\omero\util\temp_files.py", line 18, in <module>

    import portalocker
  File "C:\omero_dist\lib\python\portalocker.py", line 69, in <module>
    import win32con
ImportError: No module named win32con
Error loading: C:\omero_dist\lib\python\omero\plugins\prefs.py
Traceback (most recent call last):
  File "C:\omero_dist\lib\python\omero\cli.py", line 1127, in loadpath
    execfile( str(pathobj), loc )
  File "C:\omero_dist\lib\python\omero\plugins\prefs.py", line 16, in <module>
    import portalocker
  File "C:\omero_dist\lib\python\portalocker.py", line 69, in <module>
    import win32con
ImportError: No module named win32con
usage: C:\omero_dist\bin\\omero [-h] [-v] [-d DEBUG] [--path PATH] [-C]
                                [-s SERVER] [-p PORT] [-g GROUP] [-u USER]
                                [-w PASSWORD] [-k KEY]
                                <subcommand> ...
C:\omero_dist\bin\\omero: error: argument <subcommand>: invalid choice: 'admin'

choose from:
        cecog, chgrp, db, delete, download, export, group, help, hql,
        import, ldap, load, login, logout, quit, script, search, server,
        sessions, shell, testengine, upload, user, version, web

C:\omero_dist\bin>


What have I done wrong now?
Thanks
ahar
 
Posts: 37
Joined: Fri Jan 22, 2010 7:09 pm

Re: Errors at startup

Postby jmoore » Mon Sep 10, 2012 6:30 pm

Nothing should have changed with regard to the win32con requirement between OMERO versions. Do you know why that library isn't currently available? Did you re-install Python as well?

Cheers,
~Josh
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: Errors at startup

Postby ahar » Thu Sep 27, 2012 2:11 pm

Hi,
Sorry for not getting back to you.It's working now.
I had Python installed but maybe I used an installer that didn't include the component that was missing or I failed to separately install the thing which provided it - I can't quite tell now that the installation instructions I used have been replaced.
ahar
 
Posts: 37
Joined: Fri Jan 22, 2010 7:09 pm

Re: Errors at startup

Postby jmoore » Thu Sep 27, 2012 2:20 pm

Do you know which instructions you used? Perhaps these from OMERO 4.4.2?

~J.
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest