[ome-users] Windows installation error
jtr jacob
jtrjacob at hotmail.com
Tue Apr 21 17:53:41 BST 2009
Thanks! That helped. The online documentation needs to be updated to say that for newbies like me. I went ahead with the Django web server installation and got this error when running python manage.py syncdb:
Traceback (most recent call last):
File "manage.py", line 108, in <module>
execute_manager(settings)
File "C:\omero_dist\lib\python\django\core\management\__init__.py", line 340, in execute_manager
utility.execute()
File "C:\omero_dist\lib\python\django\core\management\__init__.py", line 295, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\omero_dist\lib\python\django\core\management\base.py", line 77, in run_from_argv
self.execute(*args, **options.__dict__)
File "C:\omero_dist\lib\python\django\core\management\base.py", line 87, in execute
translation.activate('en-us')
File "C:\omero_dist\lib\python\django\utils\translation\__init__.py", line 73, in activate
return real_activate(language)
File "C:\omero_dist\lib\python\django\utils\translation\__init__.py", line 43, in delayed_loader
return g['real_%s' % caller](*args, **kwargs)
File "C:\omero_dist\lib\python\django\utils\translation\trans_real.py", line 209, in activate
_active[currentThread()] = translation(language)
File "C:\omero_dist\lib\python\django\utils\translation\trans_real.py", line 198, in translation
default_translation = _fetch(settings.LANGUAGE_CODE)
File "C:\omero_dist\lib\python\django\utils\translation\trans_real.py", line 181, in _fetch
app = getattr(__import__(appname[:p], {}, {}, [appname[p+1:]]), appname[p+1:])
File "C:\omero_dist\lib\python\django\contrib\admin\__init__.py", line 1, in <module>
from django.contrib.admin.options import ModelAdmin, HORIZONTAL, VERTICAL
File "C:\omero_dist\lib\python\django\contrib\admin\options.py", line 5, in <module>
from django.contrib.contenttypes.models import ContentType
File "C:\omero_dist\lib\python\django\contrib\contenttypes\models.py", line 1, in <module>
from django.db import models
File "C:\omero_dist\lib\python\django\db\__init__.py", line 16, in <module>
backend = __import__('%s%s.base' % (_import_path, settings.DATABASE_ENGINE), {}, {}, [''])
File "C:\omero_dist\lib\python\django\db\backends\postgresql\base.py", line 19, in <module>
raise ImproperlyConfigured("Error loading psycopg module: %s" % e)
django.core.exceptions.ImproperlyConfigured: Error loading psycopg module: No module named psycopg
My settings.py are as follows:
# Database settings
DATABASE_ENGINE = 'postgresql'
DATABASE_NAME = ''
DATABASE_USER = 'omero'
DATABASE_PASSWORD = 'omero'
DATABASE_HOST = ''
DATABASE_PORT = '5432'
# Test database name
TEST_DATABASE_NAME = ''
Thanks for your help again!
> Date: Tue, 21 Apr 2009 18:18:16 +0200
> From: mvalle at cscs.ch
> To: jtrjacob at hotmail.com
> Subject: Re: [ome-users] Windows installation error
>
> Do you have defined
> PYTHONPATH=/Users/mvalle/Ice-3.3.0/py/python:/omero-4.0.1/dist/lib/python
> to contain the Ice python directory (see above)?
> Hope it helps
> mario
>
> jtr jacob wrote:
> > Hi,
> > I have been following the instructions to install OME server on a
> > Windows box. I got all the pre-req and pre-install done. I have used all
> > the default settings. However, when I come to initialize the OME
> > database, I get this error when running| bin\omero db script
> > Traceback (most recent call last):
> > File "bin\omero", line 67, in <module>
> > import omero.cli
> > File "C:\omero_dist\lib\python\omero\__init__.py", line 14, in <module>
> > import Ice, Glacier2
> > ImportError: No module named Ice
> >
> > I have tried restarting the machine, re-copying omero_dist etc. The
> > error seems to stay put. One of the causes could be that I had
> > ActivePython 2.6 running, which I deleted and went back to 2.5.4... and
> > then rebooted the machine. Didn't seem to make a difference
> >
> > Appreciate if you can suggest me some directions to troubleshoot
> > Thanks!
> > |
> > ------------------------------------------------------------------------
> > Windows Live™ SkyDrive™: Get 25 GB of free online storage. Check it out.
> > <http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_skydrive_042009>
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > ome-users mailing list
> > ome-users at lists.openmicroscopy.org.uk
> > http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
>
> --
> Ing. Mario Valle
> Data Analysis and Visualization Group | http://www.cscs.ch/~mvalle
> Swiss National Supercomputing Centre (CSCS) | Tel: +41 (91) 610.82.60
> v. Cantonale Galleria 2, 6928 Manno, Switzerland | Fax: +41 (91) 610.82.82
_________________________________________________________________
Rediscover Hotmail®: Now available on your iPhone or BlackBerry
http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobile2_042009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20090421/ea2636e3/attachment.html>
More information about the ome-users
mailing list