[Twisted-Python] sAsync example.

Arye aryeh at bigfoot.com
Fri Apr 27 09:36:45 MDT 2007


Hello all,
I was able to run the "semi-functional Twisted XML-RPC Server"
example, available on http://foss.eepatents.com/sAsync/wiki/Examples
successfully.

However, I have the error message below on the server side when
changing the database from sqlite to postgres.

Any info would be greatly appreciated.

Arye.

___________________begin
C:\AH\WORK\tutorials\SAsync\OrigPG>\Python24\python.exe \Python24\scripts\twistd
.py -noy server.py
2007/04/27 16:41 Paris, Madrid [-] Log opened.
2007/04/27 16:41 Paris, Madrid [-] twistd 2.1.0
(C:\Python24\python.exe 2.4.4) starting up
2007/04/27 16:41 Paris, Madrid [-] reactor class:
twisted.internet.selectreactor.SelectReactor
2007/04/27 16:41 Paris, Madrid [-] Loading server.py...
2007/04/27 16:41 Paris, Madrid [-] Loaded.
2007/04/27 16:41 Paris, Madrid [-] twisted.web.server.Site starting on 8080
2007/04/27 16:41 Paris, Madrid [-] Starting factory
<twisted.web.server.Site instance at 0x011A7C38>
2007/04/27 16:41 Paris, Madrid [-] Traceback (most recent call last):
        Failure: psycopg2.ProgrammingError: no results to fetch

2007/04/27 16:41 Paris, Madrid [-] 127.0.0.1 - - [27/Apr/2007:14:41:52
+0000] "POST /RPC2 HTTP/1.0" 200 263 "-" "Twisted/XMLRPClib"
2007/04/27 17:00 Paris, Madrid [-] Received SIGINT, shutting down.
2007/04/27 17:00 Paris, Madrid [-] (Port 8080 Closed)
2007/04/27 17:00 Paris, Madrid [-] Stopping factory
<twisted.web.server.Site instance at 0x011A7C38>
2007/04/27 17:00 Paris, Madrid [-] Main loop terminated.
2007/04/27 17:00 Paris, Madrid [-] Server Shut Down.
___________________end




More information about the Twisted-Python mailing list