<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<STYLE>.hmmessage P {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
FONT-SIZE: 10pt; FONT-FAMILY: Verdana
}
</STYLE>
<META content="MSHTML 6.00.6001.18226" name=GENERATOR></HEAD>
<BODY class=hmmessage bgColor=#ffffff>
<DIV>Hi </DIV>
<DIV> </DIV>
<DIV>OMERO.web works with SQLite database as default. If you are using Python
2.4, you will need pysqlite. Use version 2.0.3 or higher. Python 2.5 ships with
an SQLite wrapper in the standard library, so you do not need to install
anything extra in that case. <BR></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV>
<DIV><SPAN
style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA">Your
settings.py contains wrong database details. They need to define OMERO.web local
database, not OMERO one. You don't need to modify them unless you wish to work
with different one. If you want to do it please follow the instruction on
</SPAN><A
href="http://docs.djangoproject.com/en/1.0/topics/install/#get-your-database-running">http://docs.djangoproject.com/en/1.0/topics/install/#get-your-database-running</A></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial>Thanks</FONT></DIV>
<DIV><FONT face=Arial>Ola</FONT></DIV></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=jtrjacob@hotmail.com href="mailto:jtrjacob@hotmail.com">jtr jacob</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=mvalle@cscs.ch
href="mailto:mvalle@cscs.ch">mvalle@cscs.ch</A> ; <A
title=ome-users@lists.openmicroscopy.org.uk
href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, April 21, 2009 5:53
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [ome-users] Windows
installation error</DIV>
<DIV><BR></DIV>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:<BR><BR>Traceback (most recent call last):<BR> File "manage.py",
line 108, in <module><BR>
execute_manager(settings)<BR> File
"C:\omero_dist\lib\python\django\core\management\__init__.py", line 340, in
execute_manager<BR> utility.execute()<BR> File
"C:\omero_dist\lib\python\django\core\management\__init__.py", line 295, in
execute<BR>
self.fetch_command(subcommand).run_from_argv(self.argv)<BR> File
"C:\omero_dist\lib\python\django\core\management\base.py", line 77, in
run_from_argv<BR> self.execute(*args,
**options.__dict__)<BR> File
"C:\omero_dist\lib\python\django\core\management\base.py", line 87, in
execute<BR> translation.activate('en-us')<BR> File
"C:\omero_dist\lib\python\django\utils\translation\__init__.py", line 73, in
activate<BR> return real_activate(language)<BR> File
"C:\omero_dist\lib\python\django\utils\translation\__init__.py", line 43, in
delayed_loader<BR> return g['real_%s' % caller](*args,
**kwargs)<BR> File
"C:\omero_dist\lib\python\django\utils\translation\trans_real.py", line 209,
in activate<BR> _active[currentThread()] =
translation(language)<BR> File
"C:\omero_dist\lib\python\django\utils\translation\trans_real.py", line 198,
in translation<BR> default_translation =
_fetch(settings.LANGUAGE_CODE)<BR> File
"C:\omero_dist\lib\python\django\utils\translation\trans_real.py", line 181,
in _fetch<BR> app = getattr(__import__(appname[:p], {}, {},
[appname[p+1:]]), appname[p+1:])<BR> File
"C:\omero_dist\lib\python\django\contrib\admin\__init__.py", line 1, in
<module><BR> from django.contrib.admin.options import
ModelAdmin, HORIZONTAL, VERTICAL<BR> File
"C:\omero_dist\lib\python\django\contrib\admin\options.py", line 5, in
<module><BR> from django.contrib.contenttypes.models
import ContentType<BR> File
"C:\omero_dist\lib\python\django\contrib\contenttypes\models.py", line 1, in
<module><BR> from django.db import models<BR>
File "C:\omero_dist\lib\python\django\db\__init__.py", line 16, in
<module><BR> backend = __import__('%s%s.base' %
(_import_path, settings.DATABASE_ENGINE), {}, {}, [''])<BR> File
"C:\omero_dist\lib\python\django\db\backends\postgresql\base.py", line 19, in
<module><BR> raise ImproperlyConfigured("Error loading
psycopg module: %s" % e)<BR>django.core.exceptions.ImproperlyConfigured: Error
loading psycopg module: No module named psycopg<BR><BR>My settings.py are as
follows:<BR># Database settings<BR>DATABASE_ENGINE =
'postgresql' <BR>DATABASE_NAME = ''
<BR>DATABASE_USER =
'omero'
<BR>DATABASE_PASSWORD =
'omero' <BR>DATABASE_HOST =
''
<BR>DATABASE_PORT =
'5432' <BR><BR>#
Test database name<BR>TEST_DATABASE_NAME = ''<BR><BR>Thanks for your help
again!<BR><BR>> Date: Tue, 21 Apr 2009 18:18:16 +0200<BR>> From:
mvalle@cscs.ch<BR>> To: jtrjacob@hotmail.com<BR>> Subject: Re:
[ome-users] Windows installation error<BR>> <BR>> Do you have
defined<BR>>
PYTHONPATH=/Users/mvalle/Ice-3.3.0/py/python:/omero-4.0.1/dist/lib/python<BR>>
to contain the Ice python directory (see above)?<BR>> Hope it helps<BR>>
mario<BR>> <BR>> jtr jacob wrote:<BR>> > Hi,<BR>> > I have
been following the instructions to install OME server on a <BR>> >
Windows box. I got all the pre-req and pre-install done. I have used all
<BR>> > the default settings. However, when I come to initialize the OME
<BR>> > database, I get this error when running| bin\omero db
script<BR>> > Traceback (most recent call last):<BR>> > File
"bin\omero", line 67, in <module><BR>> > import omero.cli<BR>>
> File "C:\omero_dist\lib\python\omero\__init__.py", line 14, in
<module><BR>> > import Ice, Glacier2<BR>> > ImportError: No
module named Ice<BR>> > <BR>> > I have tried restarting the
machine, re-copying omero_dist etc. The <BR>> > error seems to stay put.
One of the causes could be that I had <BR>> > ActivePython 2.6 running,
which I deleted and went back to 2.5.4... and <BR>> > then rebooted the
machine. Didn't seem to make a difference<BR>> > <BR>> >
Appreciate if you can suggest me some directions to troubleshoot<BR>> >
Thanks!<BR><BR></BLOCKQUOTE></BODY></HTML>