[Twisted-Python] txjsonrpc.web2 ?

bino oetomo bino at indoakses-online.com
Fri Jan 13 03:46:43 EST 2012


Dear All ...
I try to use txjsonrpc web2.
I download the source from 
http://pypi.python.org/packages/source/t/txJSON-RPC/txJSON-RPC-0.3.1.tar.gz

after extracting and installing .. I go to the examples/web2 directory ...
and run :
bino at bino-desktop:~/Documents/IWIC/JSONRPC/txJSON-RPC-0.3.1/examples/web2$ 
twistd -ny ./server.tac -l ./server.log  --pidfile server.pid
---------------------------------------
and I got exception :

--- <exception caught here> ---
   File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", 
line 450, in getApplication
     application = service.loadApplication(filename, style, passphrase)
   File 
"/usr/lib/python2.6/dist-packages/twisted/application/service.py", line 
390, in loadApplication
     application = sob.loadValueFromFile(filename, 'application', 
passphrase)
   File "/usr/lib/python2.6/dist-packages/twisted/persisted/sob.py", 
line 210, in loadValueFromFile
     exec fileObj in d, d
   File "./server.tac", line 1, in <module>
     from twisted.web2 import server
exceptions.ImportError: No module named web2

-------------------

I try to install newst twisted from svn ... but got same exception.

Question : Where can i got twisted.web2 ?

Sincerely
-bino-



More information about the Twisted-Python mailing list