We're Hiring!

OMERO 4.2.1 Local Installation

General and open developer discussion about using OMERO APIs from C++, Java, Python, Matlab and more! Please 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

If you are having trouble with custom code, please provide a link to a public repository, ideally GitHub.

OMERO 4.2.1 Local Installation

Postby icaoberg » Tue Jun 05, 2012 8:50 pm

I am trying to install OMERO.server 4.2.1 locally in order to recover an old repository. So far I have followed all the instructions in

http://www.openmicroscopy.org/site/support/omero4/server/installation

but when I do

Code: Select all
icaoberg@ubuntu:~$ omero config set omero.db.name "ascb"


I get

Code: Select all
Error loading: /home/icaoberg/omero.server-4.2.1/lib/python/omero/plugins/web.py
Traceback (most recent call last):
  File "/home/icaoberg/omero.server-4.2.1/lib/python/omero/cli.py", line 1094, in loadpath
    execfile( str(pathobj), loc )
  File "/home/icaoberg/omero.server-4.2.1/lib/python/omero/plugins/web.py", line 13, in <module>
    from omeroweb import settings
  File "/home/icaoberg/omero.server-4.2.1/lib/python/omeroweb/settings.py", line 34, in <module>
    import omero.clients
  File "/home/icaoberg/omero.server-4.2.1/lib/python/omero/clients.py", line 13, in <module>
    model = __import__('omero.model')
  File "/home/icaoberg/omero.server-4.2.1/lib/python/omero/model/__init__.py", line 2, in <module>
    map()
  File "/home/icaoberg/omero.server-4.2.1/lib/python/omero/util/FactoryMap.py", line 11, in map
    import omero.model, omero_model_PermissionsI, omero_model_DetailsI
  File "/home/icaoberg/omero.server-4.2.1/lib/python/omero_model_PermissionsI.py", line 11, in <module>
    import omero_model_Permissions_ice
  File "/home/icaoberg/omero.server-4.2.1/lib/python/omero_model_Permissions_ice.py", line 17, in <module>
    import omero_model_IObject_ice
  File "/home/icaoberg/omero.server-4.2.1/lib/python/omero_model_IObject_ice.py", line 129, in <module>
    ('_details', (), _M_omero.model._t_Details),
AttributeError: 'module' object has no attribute '_t_Details'
/home/icaoberg/omero.server-4.2.1/lib/python/omero/config.py:122: FutureWarning: The behavior of this method will change in future versions.  Use specific 'len(elem)' or 'elem is not None' test instead.
  if not self.XML:
/home/icaoberg/omero.server-4.2.1/lib/python/omero/config.py:213: FutureWarning: The behavior of this method will change in future versions.  Use specific 'len(elem)' or 'elem is not None' test instead.
  if self.XML:


I never encountered this error before. Do you have any idea why? Ice is installed so I don't know is happening.

Ivan
icaoberg
 
Posts: 145
Joined: Fri Sep 17, 2010 9:05 pm
Location: Pittsburgh, PA

Re: OMERO 4.2.1 Local Installation

Postby jmoore » Wed Jun 06, 2012 5:52 am

That looks like a mismatch between Ice 3.3 and 3.4. Which Ice do you have installed? Did you build or download OMERO 4.2.1?
~Josh
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: OMERO 4.2.1 Local Installation

Postby icaoberg » Wed Jun 06, 2012 12:08 pm

i download omero 4.2.1 from the web.

ivan
icaoberg
 
Posts: 145
Joined: Fri Sep 17, 2010 9:05 pm
Location: Pittsburgh, PA

Re: OMERO 4.2.1 Local Installation

Postby jmoore » Wed Jun 06, 2012 12:28 pm

And Ice?
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: OMERO 4.2.1 Local Installation

Postby icaoberg » Wed Jun 06, 2012 3:24 pm

Ice 4.3.2
icaoberg
 
Posts: 145
Joined: Fri Sep 17, 2010 9:05 pm
Location: Pittsburgh, PA

Re: OMERO 4.2.1 Local Installation

Postby jmoore » Wed Jun 06, 2012 3:35 pm

All OMERO versions before 4.4 don't support Ice 3.4. You'll need Ice 3.3.
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: OMERO 4.2.1 Local Installation

Postby icaoberg » Wed Jun 20, 2012 6:04 pm

the backup was made from an omero.server v4.2.1

could i restore it in a newer version of omero?

ivan
icaoberg
 
Posts: 145
Joined: Fri Sep 17, 2010 9:05 pm
Location: Pittsburgh, PA

Re: OMERO 4.2.1 Local Installation

Postby cxallan » Thu Jun 21, 2012 8:39 am

You could certainly restore it and run the database upgrade scripts to get you to 4.3.4 but that still does not support Ice 3.4. We're probably a week or so away from the 4.4.0 database upgrade scripts being available.
cxallan
Site Admin
 
Posts: 509
Joined: Fri May 01, 2009 8:07 am

Re: OMERO 4.2.1 Local Installation

Postby icaoberg » Thu Jun 21, 2012 5:41 pm

i was able to install the requirements in a virtual machine i am trying to run it from there. all i care is exporting the raw images from the backup. thanks for all your help.
icaoberg
 
Posts: 145
Joined: Fri Sep 17, 2010 9:05 pm
Location: Pittsburgh, PA

Re: OMERO 4.2.1 Local Installation

Postby icaoberg » Thu Jun 21, 2012 7:47 pm

i was able to restore omero. now i am trying to export the images but then i hit a wall

Code: Select all
omero@ascb:~$ omero export Image:3757 -f 3757.tif
Server: [localhost]
Username: [omero]
Password:
Password check failed
Password:
Password check failed
Password:


because of this situation, is there a way a can create a super user from omerocli?

ivan
icaoberg
 
Posts: 145
Joined: Fri Sep 17, 2010 9:05 pm
Location: Pittsburgh, PA

Next

Return to Developer Discussion

Who is online

Users browsing this forum: No registered users and 1 guest