[Zope] How to install a new product in Zope 2.7

andre borelan at wanadoo.fr
Sat Aug 16 18:19:38 EDT 2003


Well, stupid error, it was obvious but not reported.

There was a reference to another product(not installed) in my product.
Using the method you suggested, i immediately found the error.
  I have now three zope running (2.6, 2.7, 3) the 2.x versions as 
services and z3 in a console window.

I saw an interface package in Zope 2.7 does that mean that this version 
is a path between Z2 and Z3 ?

If true,  how to follow this path ?

Many thanks for your help

Andre



Chris McDonough a écrit:
> The product is failing to initialize and Zope refuses to start as a
> result.  Nothing is written to the log due to the decision to defer
> logging to a file until after we've been able to do some houskeeping
> (which, ironically, is vital under UNIX but totally unnecessary under
> Windows).
> 
> In any case. we just need to see the error messages to understand what's
> happening.  What's happening is that Python isn't printing the messages
> to the console because it's using "pythonw.exe" which (I think)
> suppresses standard error output instead of "python.exe".
> 
> Change the line in runzope.bat that says
> 
> @set PYTHON=c:\some\path\pythonw.exe
> 
> to
> 
> @set PYTHON=c:\some\path\python.exe
> 
> Then start up a DOS box and run runzope.bat again from the DOS box (dont
> try to run it by clicking the "start zope in a console" link in the
> start menu).  You should see some error messages print to the console. 
> If you don't we'll go back to the drawing board.
> 
> FWIW, the lack of adequate error reporting under this circumstance is a
> real issue and needs to be fixed.  For now, let's just try to find
> 
> - C
> 
> 
> On Sat, 2003-08-16 at 11:11, andre wrote:
> 
>>Chris McDonough a écrit:
>>
>> > Try running Zope manually via the "bin\runzope.bat" batch file with
>> > the "product $INSTANCE\Products" directive in your config file and
>> > look at the console output.  It should tell you what is going wrong.
>>
>>No messages on console output except :
>>"c:\Zope-Instance\bin .... -C ..zope.conf etc...
>>then the windows is closed, the server doesn't start (even with the
>>products directive commented out). No messages, no errors in logs.
>>If i suppress the product from Zope-Instance\Products, the server starts 
>>normally even if i modify the zope.conf.
>>When i add a product in the directory, i can't restart the server.
>>I deleted the directory, re-created it, same result.
>>
>>I tried to add the product in Zope-Home Products' directory, same result.
>>It seems that Zope2.7 doesn't want a new product.
>>
>>Stuck?
>>
>>Andre
>>
>>
>>_______________________________________________
>>Zope maillist  -  Zope at zope.org
>>http://mail.zope.org/mailman/listinfo/zope
>>**   No cross posts or HTML encoding!  **
>>(Related lists - 
>> http://mail.zope.org/mailman/listinfo/zope-announce
>> http://mail.zope.org/mailman/listinfo/zope-dev )
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
> 





More information about the Zope mailing list