Fw: mxODBC Installation problem in Zope2.7.8

"Sudesh Soni" <[email protected]>
Newsgroups gmane.comp.web.zope.database
Message-ID <009c01c6b561$5e726bd0$da02a8c0@ebwsudesh>
This is the error i get:

----------------------------------------------------------------------------------------------------------------------

D:\>"%PYTHON%" "%ZOPE_RUN%" -C "%CONFIG_FILE%" %1 %2 %3 %4 %5 %6 %7
Error: positional arguments are not supported
For help, use C:\Program Files\Zope-2.7.8\lib\python\Zope\Startup\run.py -h

D:\>"%PYTHON%" "%ZOPE_RUN%" -C "%CONFIG_FILE%"
------
2006-08-01T17:11:21 INFO(0) ZServer HTTP server started at Tue Aug 01 17:11:21 2
006
        Hostname: ebwsudesh
        Port: 8080
------
2006-08-01T17:11:21 INFO(0) ZServer FTP server started at Tue Aug 01 17:11:21 20
06
        Hostname: ebwsudesh
        Port: 8021
Traceback (most recent call last):
  File "C:\Program Files\Zope-2.7.8\lib\python\Zope\Startup\run.py", line 50, in
 ?
    run()
  File "C:\Program Files\Zope-2.7.8\lib\python\Zope\Startup\run.py", line 19, in
 run
    start_zope(opts.configroot)
  File "C:\Program Files\Zope-2.7.8\lib\python\Zope\Startup\__init__.py", line 4
9, in start_zope
    starter.makeLockFile()
  File "C:\Program Files\Zope-2.7.8\lib\python\Zope\Startup\__init__.py", line 2
50, in makeLockFile
    os.unlink(lock_filename)
OSError: [Errno 13] Permission denied: 'd:\\Zope1\\var\\Z2.lock'

D:\>"%PYTHON%" "%ZOPE_RUN%" -C "%CONFIG_FILE%"
------
2006-08-01T17:22:10 INFO(0) ZServer HTTP server started at Tue Aug 01 17:22:10 2
006
        Hostname: ebwsudesh
        Port: 8080
------
2006-08-01T17:22:10 INFO(0) ZServer FTP server started at Tue Aug 01 17:22:10 20
06
        Hostname: ebwsudesh
        Port: 8021
------
2006-08-01T17:22:10 ERROR(200) Zope Could not import Products.mxODBCZopeDA
Traceback (most recent call last):
  File "C:\Program Files\Zope-2.7.8\lib\python\OFS\Application.py", line 673, in
 import_product
    product=__import__(pname, global_dict, global_dict, silly)
ImportError: Bad magic number in d:\Zope1\Products\mxODBCZopeDA\__init__.pyc
Traceback (most recent call last):
  File "C:\Program Files\Zope-2.7.8\lib\python\Zope\Startup\run.py", line 50, in
 ?
    run()
  File "C:\Program Files\Zope-2.7.8\lib\python\Zope\Startup\run.py", line 19, in
 run
    start_zope(opts.configroot)
  File "C:\Program Files\Zope-2.7.8\lib\python\Zope\Startup\__init__.py", line 5
2, in start_zope
    starter.startZope()
  File "C:\Program Files\Zope-2.7.8\lib\python\Zope\Startup\__init__.py", line 2
31, in startZope
    Zope.startup()
  File "C:\Program Files\Zope-2.7.8\lib\python\Zope\__init__.py", line 47, in st
artup
    _startup()
  File "C:\Program Files\Zope-2.7.8\lib\python\Zope\App\startup.py", line 45, in
 startup
    OFS.Application.import_products()
  File "C:\Program Files\Zope-2.7.8\lib\python\OFS\Application.py", line 650, in
 import_products
    import_product(product_dir, product_name, raise_exc=debug_mode)
  File "C:\Program Files\Zope-2.7.8\lib\python\OFS\Application.py", line 673, in
 import_product
    product=__import__(pname, global_dict, global_dict, silly)
ImportError: Bad magic number in d:\Zope1\Products\mxODBCZopeDA\__init__.pyc

D:\>
--------------------------------------------------------------------------------------------------------------------


Regards
Suson



----- Original Message ----- 
From: Sudesh Soni 
To: ZOPE-DA 
Sent: Tuesday, August 01, 2006 4:56 PM
Subject: mxODBC Installation problem in Zope2.7.8 



Can anyone help on the problem why i am not able to install mxODBC1.0 in zope 2.7.8 

[I am able to install in Zope2.6.1]


I have tried installation in following way:

Put lib\python\mx   in  ZopeInstanceHome\               
Put \mxODBCZopeDA  into ZopeInstanceHome\Products

Installed licenses file in lib\python\mx\ODBC  as mentioned in the documentation.

Restarted the Zope Instance service.

But i get "Bad gateway Error" when i open url 
http://localhost:8080/manage

Any help will be appreciated

Suson

_______________________________________________
Zope-DB mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/zope-db
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.