[Twisted-web] trouble making tap file

Michael Schneider michaelschneider at fuse.net
Mon Sep 5 12:09:14 MDT 2005


Hello All,

Setup:

    Windows XP 32 bit, all patches
    Athon64
    1 gig mem

    python 2.4 (latest)
    twisted 2.0.1
    nevow (svn)


I can run the example tac file.

When I try to run mktap,  nevow.application can't be found,  I added a 
print statement in mktap, and the site-packates were included (along 
with the rest).

Here is the error that I get:


Any suggestions???
----------------------------------------------------------------------------------------------------
C:\grid\gridnode\grid>mktap gridnoded
C:\grid\gridnode\grid\gridnode\plugins.tml:7: DeprecationWarning: The 
twisted.py
thon.plugin system is deprecated.  See twisted.plugin for the revised 
edition.
  tapname="gridnoded")
Traceback (most recent call last):
  File "C:\Python24\scripts\mktap.py", line 19, in ?
    run()
  File "C:\Python24\Lib\site-packages\twisted\scripts\mktap.py", line 
193, in ru
n
    options.parseOptions(sys.argv[1:])
  File "C:\Python24\Lib\site-packages\twisted\python\usage.py", line 
197, in par
seOptions
    self.postOptions()
  File "C:\Python24\Lib\site-packages\twisted\scripts\mktap.py", line 
180, in po
stOptions
    self.parseOptions(self.params)
  File "C:\Python24\Lib\site-packages\twisted\python\usage.py", line 
185, in par
seOptions
    self.subOptions = parser()
  File "C:\Python24\Lib\site-packages\twisted\scripts\mktap.py", line 
146, in <l
ambda>
    name, None, lambda obj=module: obj.load().Options(),
  File "C:\Python24\Lib\site-packages\twisted\python\plugin.py", line 
49, in loa
d
    return namedModule(self.module)
  File "C:\Python24\Lib\site-packages\twisted\python\reflect.py", line 
344, in n
amedModule
    topLevel = __import__(name)
  File "C:\grid\gridnode\grid\gridnode\gridnodetap.py", line 7, in ?
    from gridnode.web.GridNodeSite import GridNodeSite
  File "C:\grid\gridnode\grid\gridnode\web\GridNodeSite.py", line 4, in ?
    from nevow import appserver
ImportError: cannot import name appserver

C:\grid\gridnode\grid>



More information about the Twisted-web mailing list