'module' object has no attribute 'fork'
OS: Win7 32bit Python: 2.7.5 When I run command "start", there is an error 'module' object has no attribute 'fork'. How can I run ramona on windows?
Yes, Windows are supported platform, however minor. Can you provide full trackback of this issue? Thank you
When I running demo.py, the error happend.
Thanks a lot!
The config file is below:
--------ramona.conf--------------------------------------------------- [general] appname=ramona-dev
logdir=.\log\
[ramona:server] #consoleuri=unix:///tmp/ramona-dev.sock?mode=0600 consoleuri=tcp://localhost:7788 pidfile=.\tmp\ramona-dev.pid
[ramona:console] #serveruri=unix:///tmp/ramona-dev.sock serveruri=tcp://localhost:7788 history=.\ramonadev_history
------------demo.conf--------------------------------------------------- [general] appname=ramona-demo
logdir=.\log logmaxsize=10000
[env] RAMONADEMO=test RAMONAdemo1=test2 STRIGAROOT= DEVNULL=/dev/null FOO=bar
[env:alternative1] BAR=foo
[ramona:server]
#consoleuri=unix:///tmp/ramona-demo.sock?mode=0600
#consoleuri=tcp://127.0.0.1:8899?ssl=1&certfile=democert.pem
consoleuri=tcp://127.0.0.1:7788
pidfile=.\ramona-demo.pid
log=
[ramona:notify] #delivery=smtp://user:[email protected]:587/?tls=1 [email protected] #[email protected]
[ramona:console] #serveruri=unix:///tmp/ramona-demo.sock #serveruri=tcp://127.0.0.1:8899?ssl=1&certfile=democert.pem serveruri=tcp://127.0.0.1:7788 history=.\ramona_demo_history
[program:hellocycle]
command=bash -c "sleep 1; echo ahoj1 ttot neni error nebo je; sleep 1; echo ja nevim;sleep 1; echo error to je; sleep 1; echo -n err; sleep 2; echo or; sleep 1; ls --help; sleep 1"
stdout=
[program:testdisabled] disabled=true command=tail -f /dev/null
[program:two]
Uses [env:alternative1]
env=alternative1 command=bash -c "while true; do date; echo Bar '(should print foo):' ${BAR}; echo 'Foo (should be blank):' ${FOO}; sleep 1; done"
[program:ramonahttpfend]
command=
Can get either plain text or a SHA1 hash, if the password starts with {SHA} prefix
#password=password
SHA example. To generate use for example: echo -n "secret" | sha1sum
#password={SHA}e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4
[program:testexit] command=bash -c "exit 2"
I am also encountering this error. Immediately after executing xxx.py start, I get "ERROR: 'module' object has no attribute 'fork'. I am running Python 2.7 on Windows XP 32-bit if that matters. Still looking around for a fix/troubleshooting. :(
hi windows are not support os.fork() ,you can use cygwin,and run it!