we have a debian 3.0 system here, with the zope 2.5.1 linux binary distrib. the following error occurs: zope@ohm:~$ bin/python ZServer/medusa/monitor_client.py localhost 10000 /home/sites/goa.hu/zope/lib/python2.1/regsub.py:15: DeprecationWarning: the regsub module is deprecated; please use re.sub() DeprecationWarning) Enter Password: Traceback (most recent call last): File "ZServer/medusa/monitor_client.py", line 114, in ? stdin = stdin_channel (0) File "/home/sites/goa.hu/zope/ZServer/medusa/asyncore.py", line 551, in __init__ flags = fcntl.fcntl (fd, fcntl.F_GETFL, 0) AttributeError: 'fcntl' module has no attribute 'F_GETFL' zope@ohm:~$ whats the problem? i tried to search for it, but no success thanks a lot, k -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ .
keo@arisztid.mentha.hu writes:
... File "/home/sites/goa.hu/zope/ZServer/medusa/asyncore.py", line 551, in __init__ flags = fcntl.fcntl (fd, fcntl.F_GETFL, 0) AttributeError: 'fcntl' module has no attribute 'F_GETFL' Are you using Python 2.2?
Use Python 2.1.3! Dieter
Hello Dieter, Thursday, September 12, 2002, 11:38:16 PM, you wrote: DM> > File "/home/sites/goa.hu/zope/ZServer/medusa/asyncore.py", line 551, in DM> > __init__ DM> > flags = fcntl.fcntl (fd, fcntl.F_GETFL, 0) DM> > AttributeError: 'fcntl' module has no attribute 'F_GETFL' DM> Are you using Python 2.2? DM> Use Python 2.1.3! of course i am using 2.1.3 ! k -- don't believe everything you think
3205 5361 1215 9784 writes:
DM> > flags = fcntl.fcntl (fd, fcntl.F_GETFL, 0) DM> > AttributeError: 'fcntl' module has no attribute 'F_GETFL' DM> Are you using Python 2.2? DM> Use Python 2.1.3!
of course i am using 2.1.3 ! In Python 2.1.3, "F_GETFL" is defined in module "FCNTL" not "fcntl".
Dieter
Hello Dieter, Monday, September 16, 2002, 6:50:09 PM, you wrote: DM> 3205 5361 1215 9784 writes: DM> > DM> > flags = fcntl.fcntl (fd, fcntl.F_GETFL, 0) DM> > DM> > AttributeError: 'fcntl' module has no attribute 'F_GETFL' DM> > DM> Are you using Python 2.2? DM> > DM> Use Python 2.1.3! DM> > of course i am using 2.1.3 ! DM> In Python 2.1.3, "F_GETFL" is defined in module "FCNTL" not "fcntl". if zope is using 2.1.3, it would be cool to have the FCNTL modules used instead of fcntl in the binary release... or any release. just a thought. ;) (oh yeah its working now) k -- don't believe everything you think
participants (3)
-
3205 5361 1215 9784 -
Dieter Maurer -
keo@arisztid.mentha.hu