Problem: Eclipse 3.3 and Trac 0.11dev

0 views
Skip to first unread message

Thomy

unread,
Jul 28, 2007, 7:53:02 AM7/28/07
to Trac Users
The environment:
Windows XP with Eclipse 3.3 Europa and the current Mylyn Trac
Connector 2.0.0. Trac is running behind Apache 2.2 with mod_python and
Python 2.5 installed.

I've installed Trac 0.11dev: http://svn.edgewall.org/repos/trac/trunk
(r5882). I read the Trac XMMLRPC #1075 (http://www.trac-hacks.org/
ticket/1075) and patched Trac XMLRPC, see: http://trac-hacks.org/svn/xmlrpcplugin
(r2531).

The problem:
Although I can connect from Eclipse/Mylyn to Trac via XMLRPC (set up a
new Task Repository, validation is successful) and see my ticket (in a
list), I cannot do anything with them. The tooltip says that an error
has occured.

The Trac log file shows the following traceback (times are UTC + 2
hours ;-):

2007-07-28 13:37:19,164 Trac[web_ui] ERROR: cannot marshal <class
'xmlrpclib.Fault'> objects
2007-07-28 13:37:19,164 Trac[web_ui] ERROR: Traceback (most recent
call last):
File "build\bdist.win32\egg\tracrpc\web_ui.py", line 59, in
process_request
self._send_response(req, xmlrpclib.dumps(result,
methodresponse=True))
File "C:\Programme\Python\Lib\xmlrpclib.py", line 1080, in dumps
data = m.dumps(params)
File "C:\Programme\Python\Lib\xmlrpclib.py", line 623, in dumps
dump(v, write)
File "C:\Programme\Python\Lib\xmlrpclib.py", line 635, in __dump
f(self, value, write)
File "C:\Programme\Python\Lib\xmlrpclib.py", line 695, in dump_array
dump(v, write)
File "C:\Programme\Python\Lib\xmlrpclib.py", line 633, in __dump
raise TypeError, "cannot marshal %s objects" % type(value)
TypeError: cannot marshal <class 'xmlrpclib.Fault'> objects

The question:
Is there a solution to my problem, and if yes, what is it?

Emmanuel Blot

unread,
Jul 28, 2007, 8:01:25 AM7/28/07
to trac-...@googlegroups.com
> The question:
> Is there a solution to my problem, and if yes, what is it?

AFAICT, XmlRpcPlugin has yet to be ported to 0.11. Check out
http://trac-hacks.org/wiki/XmlRpcPlugin#Noteabout0.11compatibility

Thomy

unread,
Jul 28, 2007, 9:11:15 AM7/28/07
to Trac Users
> XmlRpcPlugin has yet to be ported to 0.11

yes, that's right. But see http://www.trac-hacks.org/ticket/1075 for
what has been tried so far. I guess I've to wait ...

Reply all
Reply to author
Forward
0 new messages