Page 1 of 8

problem installation Omero.server

PostPosted: Thu May 24, 2012 10:23 am
by chettia02
Hello;
I can find a solution for this error:






PyPM 1.3.4 (Python Package Manager) brief help:
Type "pypm install PACKAGE" to install a package.
Type "pypm search KEYWORDS" to search for packages.
Type "pypm upgrade" to upgrade installed packages.
Type "pypm help" to show full help.

C:\Windows\system32>cd c:\omero_dist

c:\omero_dist>bin\omero config set omero.db.name omero
********************************************************************************


ERROR: Could not import omero.cli! (DLL load failed: Le module spÚcifiÚ
est introuvable.)

This means that your installation is incomplete. Contact
the OME mailing lists for more information:

https://www.openmicroscopy.org/site/community

If you are building from source, please supply the build log
as well as which version you are building from. If you
downloaded a distribution, please provide which link you
used.

********************************************************************************


Debugging Info:
--------------
CWD=c:\omero_dist
VERSION=2.7.2 (default, Jun 24 2011, 12:21:10) [MSC v.1500 32 bit (Intel
)]
OMERO_HOME=None
PYTHONPATH=['c:\\omero_dist\\lib\\python', 'c:\\omero_dist\\var\\lib', '
c:\\omero_dist\\bin', 'C:\\Python27\\lib\\site-packages\\sqlobject-1.3.0-py2.7.e
gg', 'C:\\Python27\\lib\\site-packages\\formencode-1.2.4-py2.7.egg', 'c:\\omero_
dist\\lib\\python', 'C:\\Ice-3.3.1\\python', 'C:\\Windows\\system32\\python27.zi
p', 'C:\\Python27\\DLLs', 'C:\\Python27\\lib', 'C:\\Python27\\lib\\plat-win', 'C
:\\Python27\\lib\\lib-tk', 'C:\\Python27', 'C:\\Python27\\lib\\site-packages', '
C:\\Python27\\lib\\site-packages\\PIL', 'C:\\Python27\\lib\\site-packages\\win32
', 'C:\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\Python27\\lib\\site-pack
ages\\Pythonwin', 'C:\\Python27\\lib\\site-packages\\setuptools-0.6c11-py2.7.egg
-info', 'c:\\omero_dist\\lib\\fallback']


c:\omero_dist>
thank you

Re: problem installation Omero.server

PostPosted: Thu May 24, 2012 11:58 am
by chettia02
Heeelp me plz

Re: problem installation Omero.server

PostPosted: Thu May 24, 2012 3:11 pm
by jmoore
Could you try running the following in a terminal?
Code: Select all
python -c "import Ice; print Ice.stringVersion()"


If Ice is installed, you'll see
Code: Select all
3.3.1


Otherwise, you'll see:
Code: Select all
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named Ice


Cheers,
~Josh

Re: problem installation Omero.server

PostPosted: Fri May 25, 2012 8:19 am
by chettia02
yes you are right that's the error:


Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named Ice

Re: problem installation Omero.server

PostPosted: Fri May 25, 2012 8:21 am
by jmoore
How did you install Ice?

Re: problem installation Omero.server

PostPosted: Fri May 25, 2012 8:24 am
by chettia02
i use:
python2.6 tables-2.3.1
python2.6 scipy-0.10.1
python2.6 PIL-1.1.7
python2.6 numpy-1.6.2
python2.6 ndimage-0.10.1
python2.6 matplotlib-1.1.1rc
postgresql 8.3
java SE development Kit 7 update 4
Ice 3.3.1 for visual Studio 2..5
activestate activepython 2.6.5.14 (32-bit)

and my OS: windows server 2008 R2 64bits

Re: problem installation Omero.server

PostPosted: Fri May 25, 2012 8:31 am
by chettia02
Now I used cmd.exe
that's the error



Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tous droits réservés.

C:\Users\Administrateur>cd c:\omero_dist

c:\omero_dist>bin\omero config set omero.db.name omero
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 973, in loadplugins
execfile( plugin, loc )
File "c:\omero_dist\lib\python\omero\plugins\admin.py", line 24, in <module>
import omero_ServerErrors_ice
File "c:\omero_dist\lib\python\omero_ServerErrors_ice.py", line 13, in <module
>
import Ice, IcePy, __builtin__
ImportError: No module named Ice
Error loading:c:\omero_dist\lib\python\omero\plugins\upload.py
Traceback (most recent call last):
File "c:\omero_dist\lib\python\omero\cli.py", line 973, in loadplugins
execfile( plugin, loc )
File "c:\omero_dist\lib\python\omero\plugins\upload.py", line 14, in <module>
import omero.util.originalfileutils;
File "c:\omero_dist\lib\python\omero\util\__init__.py", line 11, in <module>
import Ice
ImportError: No module named Ice


c:\omero_dist>

Re: problem installation Omero.server

PostPosted: Fri May 25, 2012 8:33 am
by chettia02
How did you install Ice?

I did not understand exactly what do you mean to me

Re: problem installation Omero.server

PostPosted: Fri May 25, 2012 8:51 am
by jmoore
I'm assuming you downloaded Ice from http://www.zeroc.com/download_3_3_1.html and installed it as instructed. Did you also update your PYTHONPATH as specified? What's the output in cmd.exe if you run:

Code: Select all
echo %PYTHONPATH%


~Josh

Re: problem installation Omero.server

PostPosted: Fri May 25, 2012 8:58 am
by chettia02
that is the result
C:\Ice-3.4.2\python