[Erp5-dev] Re: [Erp5-users] Invoking "Activity Pending" state

Sadegh Ismael Nattaj me at sin.ir
Thu Feb 8 13:22:11 CET 2007


On Thu, 2007-02-08 at 01:16 +0100, Yoshinori Okuji wrote:

> On Wednesday 07 February 2007 18:34, Sadegh Ismael Nattaj wrote:
> > The problem solved! as YO said I was faced to problem because of
> > TimeService bad configuration which I made.
> >
> > It seems that "timerserver" works by getting IP address of hostname. In
> > my special case my Zope instance is running (LISTEN) on another
> > interface that its IP is different from hostname IP.
> >
> > So, simply I changed "site-packages/timerserver/TimerServer.py" :
> >         #ip = socket.gethostbyname(socket.gethostname())
> >         ip = '172.27.5.202'
> >
> > I know that it's not the final solution, but anyway ERP5 is working
> > nice!
> 
> I would like to say that this is a bug in TimerService. TimerService should 
> obtain an IP address from the config, and when not set, fall back to 
> 127.0.0.1. Can anybody make a patch for this?
> 
> YO

Hi,

This is first time involving in Python coding, so maybe it will not be
the correct patch.

Hope to help
--sin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20070208/8a4cdece/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: timerserver-ip_address.patch
Type: text/x-patch
Size: 1369 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20070208/8a4cdece/attachment.bin>


More information about the Erp5-dev mailing list