Dear All,
Having installed Q2.5 and 2.6, when I try to run either simpler_server or
scgi_server, I get:
TypeError: import_module() takes no keyword arguments
Is this a known problem with Quixote and python 2.6 / 2.5?
Regards,
RJL
Full output:
--------------------------------------
/usr/local/lib/python2.6/site-packages/quixote/http_response.py:7:
DeprecationWarning: the sets module is deprecated
from sets import Set
Traceback (most recent call last):
File "/usr/local/lib/python2.6/site-
packages/quixote/server/simple_server.py", line 116, in <module>
https=options.https)
File "/usr/local/lib/python2.6/site-
packages/quixote/server/simple_server.py", line 99, in run
publisher = create_publisher()
File "/usr/local/lib/python2.6/site-packages/quixote/demo/__init__.py", line
6, in create_publisher
from quixote.demo.root import RootDirectory
File "/usr/local/lib/python2.6/site-packages/quixote/ptl/ptl_import.py",
line 116, in find_import_module
return self.loader.load_module(fullname, stuff)
File "/usr/local/lib/python2.6/site-packages/quixote/ptl/ptl_import.py",
line 96, in load_module
return _load_ptl(name, filename, file)
File "/usr/local/lib/python2.6/site-packages/quixote/ptl/ptl_import.py",
line 76, in _load_ptl
return _exec_module_code(code, name, filename)
File "/usr/local/lib/python2.6/site-packages/quixote/ptl/ptl_import.py",
line 28, in _exec_module_code
exec code in mod.__dict__
File "/usr/local/lib/python2.6/site-packages/quixote/demo/root.ptl", line
101, in <module>
""".decode('base64')
File "/usr/lib/python2.6/encodings/__init__.py", line 100, in
search_function
level=0)
TypeError: import_module() takes no keyword arguments
--
Robert Ladyman
File-Away Limited, 32 Church Street, Newtyle
Perthshire, PH12 8TZ SCOTLAND
Registered in Scotland, Company Number SC222086
Tel: +44 (0) 1828 898 158
Mobile: +44 (0) 7732 771 649
http://www.file-away.co.uk
_______________________________________________
Quixote-users mailing list
[email protected]
http://mail.mems-exchange.org/mailman/listinfo/quixote-users