[Zope] problem with Zeo, it hangs a lot and never reply the request

Dieter Maurer dieter@handshake.de
Wed, 7 Aug 2002 19:39:00 +0200


Gustavo M. Palomares Reyes writes:
 > ...
 > python lib/python/ZEO/start.py -p 8800 -h 192.168.0.1
 > 
 > My clients run with the custom_zodb.py with 192.168.0.1 as the host and 7700
 > as the server port. The clients listen on the 8080 port.
As you write: ZEO waits on port 8800 but clients want to connect at
port 7700. A typo or a no-go?

 > ....
 >     LOG("ClientStorage", INFO, "Connected to storage")
 >   File "/usr/local/zope/lib/python/zLOG/__init__.py", line 130, in LOG
 >     log_write(subsystem, severity, summary, detail, error)
 > TypeError: object of type 'None' is not callable
"log_write" appears not be initialized correctly.
Apparently, it is "None".

Enable Zope logging by setting the environment variable "STUPID_LOG_FILE"
to your log file (you can do that with an argument to the Zope startup script).
And see, whether the problem goes away.


Dieter