[egenix-users] Re: [egenix-support] Installation problem
Chris McAvoy
mcavoy76 at hotmail.com
Fri Apr 2 17:41:08 CEST 2004
Ok...done...thanks a bunch for your help. I had the license in the wrong
place.
Chris
----- Original Message -----
From: "M.-A. Lemburg" <mal at egenix.com>
To: "Chris McAvoy" <mcavoy76 at hotmail.com>
Cc: <support at egenix.com>
Sent: Friday, April 02, 2004 12:52 PM
Subject: Re: [egenix-support] Installation problem
> Chris McAvoy wrote:
> > Thanks very much for the fast reply. Here's the info from my control
panel
> > (after removing the product):
> >
> > Zope Version (Zope 2.7.0, python 2.3.3, win32)
> > Python Version 2.3.3 (#51, Feb 11 2004, 15:18:58) [MSC v.1200 32
bit
> > (Intel)]
> > System Platform win32
> > SOFTWARE_HOME C:\Program Files\Zope-2.7.0\lib\python
> > ZOPE_HOME C:\Program Files\Zope-2.7.0
> > INSTANCE_HOME C:\Zope-Instance
> > CLIENT_HOME C:\Zope-Instance\var
> > Network Services ZServer.FTPServer.FTPServer (Port: 8021)
> > ZServer.HTTPServer.zhttp_server (Port: 8080)
> >
> > Process Id 3128 (3100)
> > Running For 18 sec
> >
> >
> > Here's the trace when I try to start Zope with the product in place:
> >
> > C:\Zope-Instance\bin>runzope.bat
> >
> > C:\Zope-Instance\bin>"C:\Program Files\Zope-2.7.0\bin\python.exe"
> > "C:\Program Fi
> > les\Zope-2.7.0\lib\python\Zope\Startup\run.py" -C
> > "C:\Zope-Instance\etc\zope.con
> > f"
> > ------
> > 2004-04-02T12:36:22 INFO(0) ZServer HTTP server started at Fri Apr 02
> > 12:36:22 2
> > 004
> > Hostname: usscscopensys03.lasalle.na.abnamro.com
> > Port: 8080
> > ------
> > 2004-04-02T12:36:22 INFO(0) ZServer FTP server started at Fri Apr 02
> > 12:36:22 20
> > 04
> > Hostname: usscscopensys03
> > Port: 8021
> > ------
> > 2004-04-02T12:36:25 ERROR(200) Zope Could not import Products.ZODBCDA
>
> Note that this traceback originated from the Zope Corporation's
> ZODBC DA product, not the eGenix one. The ZODBC Zope DA from
> Zope Corp is compiled against Python 2.1 and will not work
> in Zope 2.7. by contrast, our mxODBCZopeDA is available
> for all Zope versions since 2.3.
>
> The mxODBC Zope DA is available from this page:
>
> http://www.egenix.com/files/python/mxODBC-Zope-DA.html#Download
>
> Please make sure that you download the file:
>
>
http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.8.win32-py2.3.zi
p
>
> Please unzip this file to your Zope 2.7 *installation*
> directory (not the instance directory), e.g.
> C:\Programs\Zope-2.7.0\
>
> Then copy the license files to the lib\python\mx\ODBC
> directory in that installation directory and restart
> Zope.
>
> You will then see the eGenix mxODBC Zope DA listed in the
> "Add" drop-down list.
>
> > Traceback (most recent call last):
> > File "C:\Program Files\Zope-2.7.0\lib\python\OFS\Application.py", line
> > 654, in
> > import_product
> > product=__import__(pname, global_dict, global_dict, silly)
> > File "C:\Program
> > Files\Zope-2.7.0\lib\python\Products\ZODBCDA\__init__.py", li
> > ne 91, in ?
> > import DA
> > File "C:\Program Files\Zope-2.7.0\lib\python\Products\ZODBCDA\DA.py",
line
> > 92,
> > in ?
> > from db import DB, manage_ODBCDataSources
> > File "C:\Program Files\Zope-2.7.0\lib\python\Products\ZODBCDA\db.py",
line
> > 86,
> > in ?
> > from sql import *
> > ImportError: DLL load failed: The specified module could not be found.
> > Traceback (most recent call last):
> > File "C:\Program Files\Zope-2.7.0\lib\python\Zope\Startup\run.py",
line
> > 49, in
> > ?
> > run()
> > File "C:\Program Files\Zope-2.7.0\lib\python\Zope\Startup\run.py",
line
> > 19, in
> > run
> > start_zope(opts.configroot)
> > File "C:\Program
Files\Zope-2.7.0\lib\python\Zope\Startup\__init__.py",
> > line 5
> > 1, in start_zope
> > starter.startZope()
> > File "C:\Program
Files\Zope-2.7.0\lib\python\Zope\Startup\__init__.py",
> > line 2
> > 30, in startZope
> > Zope.startup()
> > File "C:\Program Files\Zope-2.7.0\lib\python\Zope\__init__.py", line
46,
> > in st
> > artup
> > _startup()
> > File "C:\Program Files\Zope-2.7.0\lib\python\Zope\App\startup.py",
line
> > 45, in
> > startup
> > OFS.Application.import_products()
> > File "C:\Program Files\Zope-2.7.0\lib\python\OFS\Application.py", line
> > 631, in
> > import_products
> > import_product(product_dir, product_name, raise_exc=debug_mode)
> > File "C:\Program Files\Zope-2.7.0\lib\python\OFS\Application.py", line
> > 654, in
> > import_product
> > product=__import__(pname, global_dict, global_dict, silly)
> > File "C:\Program
> > Files\Zope-2.7.0\lib\python\Products\ZODBCDA\__init__.py", li
> > ne 91, in ?
> > import DA
> > File "C:\Program Files\Zope-2.7.0\lib\python\Products\ZODBCDA\DA.py",
line
> > 92,
> > in ?
> > from db import DB, manage_ODBCDataSources
> > File "C:\Program Files\Zope-2.7.0\lib\python\Products\ZODBCDA\db.py",
line
> > 86,
> > in ?
> > from sql import *
> > ImportError: DLL load failed: The specified module could not be found.
> >
> > I checked the version of python that zope has in its installation
directory:
> >
> > C:\Program Files\Zope-2.7.0\bin>./python.exe
> > '.' is not recognized as an internal or external command,
> > operable program or batch file.
> >
> > C:\Program Files\Zope-2.7.0\bin>python
> > Python 2.3.3 (#51, Feb 11 2004, 15:18:58) [MSC v.1200 32 bit (Intel)] on
> > win32
> > Type "help", "copyright", "credits" or "license" for more information.
> >
> >
> >
> >
> > Thanks,
> > Chris
> >
> > ----- Original Message -----
> > From: "M.-A. Lemburg" <mal at egenix.com>
> > To: "Chris McAvoy" <mcavoy76 at hotmail.com>
> > Cc: <egenix-users at lists.egenix.com>
> > Sent: Friday, April 02, 2004 12:26 PM
> > Subject: Re: [egenix-users] Installation problem
> >
> >
> >
> >>Chris McAvoy wrote:
> >>
> >>>I downloaded the 2.7.0 / py 2.3 version of the driver, and have already
> >
> > purchased a license. When I try and start up zope, I get an error
> > "Python21.dll not found". Is the link wrong on the web page?
> >
> >>If you are working on Windows that it is possible that Zope
> >>picks up an already installed Python version 2.1. However,
> >>Zope 2.7 needs Python 2.3 to work correctly and that's also
> >>why we point you at the Python 2.3 version of the Zope DA
> >>for Zope 2.7.
> >>
> >>We have had a few reports of people having similiar problems.
> >>In all cases, Zope was picking up a wrong Python version.
> >>
> >>Please make sure that Zope is indeed running on Python 2.3
> >>and then try again. If the problem persists, please send in
> >>the complete traceback to support at egenix.com.
> >>
> >>Thanks,
> >>--
> >>Marc-Andre Lemburg
> >>eGenix.com
> >>
> >>Professional Python Services directly from the Source (#1, Apr 02 2004)
> >> >>> Python/Zope Consulting and Support ...
http://www.egenix.com/
> >> >>> mxODBC.Zope.Database.Adapter ...
http://zope.egenix.com/
> >> >>> mxODBC, mxDateTime, mxTextTools ...
http://python.egenix.com/
> >>________________________________________________________________________
> >>Python UK 2004, Oxford, UK 13 days left
> >>EuroPython 2004, Göteborg, Sweden 65 days left
> >>
> >>::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::
> >>
> >
> >
> > ______________________________________________________________________
> > eGenix Support Team support at egenix.com
> > http://www.egenix.com/
>
> --
> Marc-Andre Lemburg
> eGenix.com
>
> Professional Python Services directly from the Source (#1, Apr 02 2004)
> >>> Python/Zope Consulting and Support ... http://www.egenix.com/
> >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
> >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
> ________________________________________________________________________
> Python UK 2004, Oxford, UK 13 days left
> EuroPython 2004, Göteborg, Sweden 65 days left
>
> ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::
>
______________________________________________________________________
eGenix Support Team support at egenix.com
http://www.egenix.com/
More information about the egenix-users
mailing list