|
List Info
Thread: CP300beta, OSError: Operation not supported
|
|
| CP300beta, OSError: Operation not
supported |

|
2006-10-23 17:44:33 |
Hello,
I am traing to update my existing CP2.2.1 application to
work with
CP300beta and seem to have a problem with the new autoreload
feature.
The application so far seems to run fine, but anytime the
autoreload of
the development mode is hit, I get an OSError:
os.execv(sys.executable, args)
OSError: [Errno 45] Operation not supported
I am running python2.4 on an OSX Intel macbook. Might this
be a
specific Apple w/Intel problem? I had no oppertunity to test
the
application under linux or windows (I will try and report
this
tomorrow).
Any help greatly appreciated.
Thanks,
Markus
-----
Traceback (most recent call last):
File "start_server.py", line 123, in ?
cherrypy.engine.start()
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/cherrypy/_cpengine.py",
line 78, in start
self.block()
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/cherrypy/_cpengine.py",
line 88, in block
self.autoreload()
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/cherrypy/_cpengine.py",
line 150, in autoreload
self.reexec()
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/cherrypy/_cpengine.py",
line 115, in reexec
os.execv(sys.executable, args)
OSError: [Errno 45] Operation not supported
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/2.4//lib
/python2.4/atexit.py",
line 24, in _run_exitfuncs
func(*targs, **kargs)
File
"/Library/Frameworks/Python.framework/Versions/2.4//lib
/python2.4/logging/__init__.py",
line 1333, in shutdown
h.close()
File
"/Library/Frameworks/Python.framework/Versions/2.4//lib
/python2.4/logging/__init__.py",
line 674, in close
del _handlers[self]
KeyError: <logging.StreamHandler instance at
0x13192b0>
Error in sys.exitfunc:
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/2.4//lib
/python2.4/atexit.py",
line 24, in _run_exitfuncs
func(*targs, **kargs)
File
"/Library/Frameworks/Python.framework/Versions/2.4//lib
/python2.4/logging/__init__.py",
line 1333, in shutdown
h.close()
File
"/Library/Frameworks/Python.framework/Versions/2.4//lib
/python2.4/logging/__init__.py",
line 674, in close
del _handlers[self]
KeyError: <logging.StreamHandler instance at
0x13192b0>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at ht
tp://groups-beta.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---
|
|
| CP300beta, OSError: Operation not
supported |

|
2006-10-23 17:48:37 |
|
Hi Markus,
This is an open issue with CP3 beta 2. http://www.cherrypy.org/ticket/581
If you can figure out anything or provide any info that is not already on the ticket, please feel free to login as a guest and update the ticket.
Christian http://www.dowski.com
On 10/23/06, Markus < wixner googlemail.com">wixner googlemail.com
> wrote: Hello, I am traing to update my existing CP2.2.1 application to work with
CP300beta and seem to have a problem with the new autoreload feature. The application so far seems to run fine, but anytime the autoreload of the development mode is hit, I get an OSError:
os.execv(sys.executable
, args) OSError: [Errno 45] Operation not supported
I am running python2.4 on an OSX Intel macbook. Might this be a specific Apple w/Intel problem? I had no oppertunity to test the application under linux or windows (I will try and report this
tomorrow).
Any help greatly appreciated.
Thanks, Markus
----- Traceback (most recent call last): File "start_server.py", line 123, in ? cherrypy.engine.start() File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/cherrypy/_cpengine.py", line 78, in start self.block() File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/cherrypy/_cpengine.py",
line 88, in block self.autoreload() File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/cherrypy/_cpengine.py", line 150, in autoreload self.reexec()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/cherrypy/_cpengine.py", line 115, in reexec os.execv(sys.executable, args) OSError: [Errno 45] Operation not supported
Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs)
File "/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/logging/__init__.py", line 1333, in shutdown h.close() File "/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/logging/__init__.py",
line 674, in close del _handlers[self] KeyError: <logging.StreamHandler instance at 0x13192b0> Error in sys.exitfunc: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/atexit.py",
line 24, in _run_exitfuncs func(*targs, **kargs) File "/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/logging/__init__.py", line 1333, in shutdown h.close() File
"/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/logging/__init__.py", line 674, in close del _handlers[self] KeyError: <logging.StreamHandler instance at 0x13192b0>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "cherrypy-users" group. To post to this group, send email to cherrypy-users googlegroups.com To unsubscribe from this group, send email to cherrypy-users-unsubscribe googlegroups.com For more options, visit this group at http://groups-beta.google.com/group/cherrypy-users -~----------~----~----~----~------~----~------~--~---
|
| CP300beta, OSError: Operation not
supported |

|
2006-10-23 18:14:06 |
Thanks Christian,
its exactly what I experience.
Do you know if respawning happens in production mode too?
If not one could at least deploy the application already.
Markus
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at ht
tp://groups-beta.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---
|
|
| CP300beta, OSError: Operation not
supported |

|
2006-10-23 18:15:44 |
|
On 10/23/06, Markus < wixner googlemail.com">wixner googlemail.com> wrote:
Thanks Christian, its exactly what I experience. Do you know if respawning happens in production mode too? If not one could at least deploy the application already. No, respawning does not happen in production mode. Autoreload is off by default in that mode.
Christian http://www.dowski.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "cherrypy-users" group. To post to this group, send email to cherrypy-users googlegroups.com To unsubscribe from this group, send email to cherrypy-users-unsubscribe googlegroups.com For more options, visit this group at http://groups-beta.google.com/group/cherrypy-users -~----------~----~----~----~------~----~------~--~---
|
[1-4]
|
|