I have download the last version on sf.net, untar it and execute the
make command, but I receive some errors:
make[1]: Entering directory `/home/michele/spyce-2.0.2/www/docs'
python ../../run_spyceCmd.py -O doc-single.spy doc.spy eg.spy get.spy
license.spy links.spy mail.spy wishlist.spy
Processing: doc-single.spy
cache miss for ('/home/michele/spyce-2.0.2/modules/error.py',
'defaultErrorTemplate')
cache miss for ('/home/michele/spyce-2.0.2/tags/core.py', 'core')
cache miss for ('/home/michele/spyce-2.0.2/tags/form.py', 'form')
generating new spyceCode for
/home/michele/spyce-2.0.2/www/docs/doc-single.spy
<-cut->
after, I execute the "make install", but I receive the same errors, and
at last, the "spyce -l -p 2000 /any_path/", I receive:
Spyce 2.0.2 starting
# Spawning another server (for check_modules_and_restart option)
Spyce 2.0.2 starting
# Running reloading file monitor (for check_modules_and_restart option)
# Starting web server with configuration specified by
/usr/share/spyce/spyceconf.py
cache miss for ('/usr/share/spyce/modules/error.py', 'defaultErrorTemplate')
cache miss for ('/usr/share/spyce/tags/core.py', 'core')
cache miss for ('/usr/share/spyce/tags/form.py', 'form')
# Server IP:Port: :8000
# Server Root: /usr/share/spyce/www
# (server root is set by the "root = " line in your configuration file)
# MIME file: /usr/share/spyce/spyce.mime
handlers are {None: <unbound method myHTTPhandler.handler_dump>, 'spy':
<unbound method myHTTPhandler.handler_spyce>}
# Ready.
and after a Ctrl-C:
Traceback (most recent call last):
File "/usr/share/spyce/spyceCmd.py", line 333, in ?
exitcode=spyceMain(cgimode=0)
File "/usr/share/spyce/spyceCmd.py", line 246, in spyceMain
return spyceWWW.spyceHTTPserver(configFile, daemon=daemon)
File "/usr/share/spyce/spyceWWW.py", line 325, in spyceHTTPserver
args, new_environ)
File "/usr/lib/python2.3/os.py", line 531, in spawnve
return _spawnvef(mode, file, args, env, execve)
File "/usr/lib/python2.3/os.py", line 504, in _spawnvef
wpid, sts = waitpid(pid, 0)
KeyboardInterrupt
[root@... spyce-2.0.2]# Break!
Waiting for scheduler thread...
Scheduler thread has stoppe
With the last preview version (1.3), all work well!!
Thanks,
Michele
|