<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>This is the error i get:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>----------------------------------------------------------------------------------------------------------------------</FONT></DIV><FONT
face=Arial size=2>
<DIV><BR>D:\>"%PYTHON%" "%ZOPE_RUN%" -C "%CONFIG_FILE%" %1 %2 %3 %4 %5 %6
%7<BR>Error: positional arguments are not supported<BR>For help, use C:\Program
Files\Zope-2.7.8\lib\python\Zope\Startup\run.py -h</DIV>
<DIV> </DIV>
<DIV>D:\>"%PYTHON%" "%ZOPE_RUN%" -C
"%CONFIG_FILE%"<BR>------<BR>2006-08-01T17:11:21 INFO(0) ZServer HTTP server
started at Tue Aug 01 17:11:21
2<BR>006<BR> Hostname:
ebwsudesh<BR> Port:
8080<BR>------<BR>2006-08-01T17:11:21 INFO(0) ZServer FTP server started at Tue
Aug 01 17:11:21 20<BR>06<BR> Hostname:
ebwsudesh<BR> Port: 8021<BR>Traceback
(most recent call last):<BR> File "C:\Program
Files\Zope-2.7.8\lib\python\Zope\Startup\run.py", line 50,
in<BR> ?<BR> run()<BR> File "C:\Program
Files\Zope-2.7.8\lib\python\Zope\Startup\run.py", line 19,
in<BR> run<BR> start_zope(opts.configroot)<BR> File
"C:\Program Files\Zope-2.7.8\lib\python\Zope\Startup\__init__.py", line 4<BR>9,
in start_zope<BR> starter.makeLockFile()<BR> File
"C:\Program Files\Zope-2.7.8\lib\python\Zope\Startup\__init__.py", line 2<BR>50,
in makeLockFile<BR> os.unlink(lock_filename)<BR>OSError:
[Errno 13] Permission denied: 'd:\\Zope1\\var\\Z2.lock'</DIV>
<DIV> </DIV>
<DIV>D:\>"%PYTHON%" "%ZOPE_RUN%" -C
"%CONFIG_FILE%"<BR>------<BR>2006-08-01T17:22:10 INFO(0) ZServer HTTP server
started at Tue Aug 01 17:22:10
2<BR>006<BR> Hostname:
ebwsudesh<BR> Port:
8080<BR>------<BR>2006-08-01T17:22:10 INFO(0) ZServer FTP server started at Tue
Aug 01 17:22:10 20<BR>06<BR> Hostname:
ebwsudesh<BR> Port:
8021<BR>------<BR>2006-08-01T17:22:10 ERROR(200) Zope Could not import
Products.mxODBCZopeDA<BR>Traceback (most recent call last):<BR> File
"C:\Program Files\Zope-2.7.8\lib\python\OFS\Application.py", line 673,
in<BR> import_product<BR> product=__import__(pname,
global_dict, global_dict, silly)<BR>ImportError: Bad magic number in
d:\Zope1\Products\mxODBCZopeDA\__init__.pyc<BR>Traceback (most recent call
last):<BR> File "C:\Program
Files\Zope-2.7.8\lib\python\Zope\Startup\run.py", line 50,
in<BR> ?<BR> run()<BR> File "C:\Program
Files\Zope-2.7.8\lib\python\Zope\Startup\run.py", line 19,
in<BR> run<BR> start_zope(opts.configroot)<BR> File
"C:\Program Files\Zope-2.7.8\lib\python\Zope\Startup\__init__.py", line 5<BR>2,
in start_zope<BR> starter.startZope()<BR> File
"C:\Program Files\Zope-2.7.8\lib\python\Zope\Startup\__init__.py", line 2<BR>31,
in startZope<BR> Zope.startup()<BR> File "C:\Program
Files\Zope-2.7.8\lib\python\Zope\__init__.py", line 47, in
st<BR>artup<BR> _startup()<BR> File "C:\Program
Files\Zope-2.7.8\lib\python\Zope\App\startup.py", line 45,
in<BR> startup<BR>
OFS.Application.import_products()<BR> File "C:\Program
Files\Zope-2.7.8\lib\python\OFS\Application.py", line 650,
in<BR> import_products<BR> import_product(product_dir,
product_name, raise_exc=debug_mode)<BR> File "C:\Program
Files\Zope-2.7.8\lib\python\OFS\Application.py", line 673,
in<BR> import_product<BR> product=__import__(pname,
global_dict, global_dict, silly)<BR>ImportError: Bad magic number in
d:\Zope1\Products\mxODBCZopeDA\__init__.pyc</DIV>
<DIV> </DIV>
<DIV>D:\></FONT></DIV>
<DIV><FONT face=Arial
size=2>--------------------------------------------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards</FONT></DIV>
<DIV><FONT face=Arial size=2>Suson</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV style="FONT: 10pt arial">----- Original Message -----
<DIV style="BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A
title=sudesh.soni@ebusinessware.com
href="mailto:sudesh.soni@ebusinessware.com">Sudesh Soni</A> </DIV>
<DIV><B>To:</B> <A title=zope-db@zope.org
href="mailto:zope-db@zope.org">ZOPE-DA</A> </DIV>
<DIV><B>Sent:</B> Tuesday, August 01, 2006 4:56 PM</DIV>
<DIV><B>Subject:</B> mxODBC Installation problem in Zope2.7.8 </DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Can anyone help on the problem why i am not able to
install mxODBC1.0 </FONT><FONT face=Arial size=2>in zope 2.7.8 </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>[I am able to install in
Zope2.6.1]</FONT></DIV></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have tried installation in following
way:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Put lib\python\mx in
ZopeInstanceHome\
</FONT></DIV>
<DIV><FONT face=Arial size=2>Put \mxODBCZopeDA into
ZopeInstanceHome\Products</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Installed licenses file in lib\python\mx\ODBC
as mentioned in the documentation.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Restarted the Zope Instance service.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>But i get "Bad gateway Error" when i open url
</FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="http://localhost:8080/manage">http://localhost:8080/manage</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any help will be appreciated</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Suson</FONT></DIV></BODY></HTML>