[Twisted-Python] nevow Examples 2004 - example1 not work

Alessandro Barchi linuxlist at roggeroetortia.it
Mon Aug 2 08:20:03 MDT 2004


Hi,

I try to use (and above all) understanding
this framework.

I've a debian stable base installation,

this are the package installed:
ii  python2.3      2.3.4-5        An interactive high-level object-oriented
la
ii  python2.3-nevo 0.2.0-2        Web application templating system for
Python
ii  python2.3-twis 1.3.0-2        Event-based framework for internet
applicati
ii  python2.3-twis 1.3.0-2        Event-based framework for internet
applicati

I dowloaded NevowExamples_2004.zip
when try the example1 i have this error:

********************************************
mail:/home/alex/nevow_samples/Example1# twistd -noy sched.tac
2004/08/02 15:29 CEST [-] Log opened.
2004/08/02 15:29 CEST [-] twistd 1.3.0rc1 (/usr/bin/python2.3 2.3.4)
starting up
2004/08/02 15:29 CEST [-] reactor class:
twisted.internet.default.SelectReactor
2004/08/02 15:29 CEST [-] Loading sched.tac...
2004/08/02 15:29 CEST [-] Traceback (most recent call last):
2004/08/02 15:29 CEST [-]   File
"/usr/lib/python2.3/site-packages/twisted/application/app.py", line 118, in
getApplication
2004/08/02 15:29 CEST [-]     application =
service.loadApplication(filename, style, passphrase)
2004/08/02 15:29 CEST [-]   File
"/usr/lib/python2.3/site-packages/twisted/application/service.py", line 319,
in loadApplication
2004/08/02 15:29 CEST [-]     application = sob.loadValueFromFile(filename,
'application', passphrase)
2004/08/02 15:29 CEST [-]   File
"/usr/lib/python2.3/site-packages/twisted/persisted/sob.py", line 213, in
loadValueFromFile
2004/08/02 15:29 CEST [-]     exec data in d, d
2004/08/02 15:29 CEST [-]   File "<string>", line 3, in ?
2004/08/02 15:29 CEST [-] ImportError: No module named schedule
2004/08/02 15:29 CEST [-] Failed to load application: No module named
schedule
2004/08/02 15:29 CEST [-] Traceback (most recent call last):
          File "/usr/bin/twistd", line 36, in ?
            run()
          File "/usr/lib/python2.3/site-packages/twisted/scripts/twistd.py",
line 184, in run
            app.run(runApp, ServerOptions)
          File
"/usr/lib/python2.3/site-packages/twisted/application/app.py", line 205, in
run
            runApp(config)
          File "/usr/lib/python2.3/site-packages/twisted/scripts/twistd.py",
line 174, in runApp
            application = app.getApplication(config, passphrase)
        --- <exception caught here> ---
          File
"/usr/lib/python2.3/site-packages/twisted/application/app.py", line 118, in
getApplication
            application = service.loadApplication(filename, style,
passphrase)
          File
"/usr/lib/python2.3/site-packages/twisted/application/service.py", line 319,
in loadApplication
            application = sob.loadValueFromFile(filename, 'application',
passphrase)
          File "/usr/lib/python2.3/site-packages/twisted/persisted/sob.py",
line 213, in loadValueFromFile
            exec data in d, d
          File "<string>", line 3, in ?

        exceptions.ImportError: No module named schedule


Failed to load application: No module named schedule
2004/08/02 15:29 CEST [-]
********************************************

where I wrong??

Bye

A. Barchi

barchi at roggeroetortia.it

barchi at roggeroetortia.it

  Poligrafico_Roggero_&_Tortia S.p.A.
------------------------------------------
Via Frejus 5 - 10092 Beinasco TO Italy
Tel. +390113499222 - Fax +39 0113498866





More information about the Twisted-Python mailing list