Daemon mode does not work on windows, check out Bourbon
(http://chichen-itza.compmed.ucdavis.edu/trac/bourbontrac) if you want
to run on Windows.  Its basically just a Windows service wrapper around
a paste composit setup, that works really well with Pylons.  BTW now
that Pylons 0.9.6 is offically out I'll be doing some bug fixes in
Bourbon, but nothing that will keep the current version from working, I
just don't think the current "example" pylons apps work real well under
0.96.  But the rest of the framework works just fine.  If you need any
help with it let me know
jose


voltron wrote:
> Running the paster server in daemon mode emits a traceback:
>
> D:\Projects\Pylons_projects\test3>paster serve --daemon
> development.ini
> Entering daemon mode
> Traceback (most recent call last):
>   File "C:\Python24\Scripts\paster-script.py", line 7, in ?
>     sys.exit(
>   File "c:\python24\lib\site-packages\PasteScript-1.3.6-py2.4.egg\paste
> \script\c
> ommand.py", line 78, in run
>     invoke(command, command_name, options, args[1:])
>   File "c:\python24\lib\site-packages\PasteScript-1.3.6-py2.4.egg\paste
> \script\c
> ommand.py", line 117, in invoke
>     exit_code = runner.run(args)
>   File "c:\python24\lib\site-packages\PasteScript-1.3.6-py2.4.egg\paste
> \script\c
> ommand.py", line 212, in run
>     result = self.command()
>   File "c:\python24\lib\site-packages\PasteScript-1.3.6-py2.4.egg\paste
> \script\s
> erve.py", line 204, in command
>     self.daemonize()
>   File "c:\python24\lib\site-packages\PasteScript-1.3.6-py2.4.egg\paste
> \script\s
> erve.py", line 255, in daemonize
>     pid = os.fork()
> AttributeError: 'module' object has no attribute 'fork'
>
> I´m using 0.96 on Windows 2000 with python 2.4
>
>
> >
>
>   

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to