Mylyn connect to Trac is not working with Trac 0.13dev-r10991

16 views
Skip to first unread message

Franz

unread,
Mar 22, 2012, 8:08:05 AM3/22/12
to Trac Development
Hi,

I am using eclipse (Version: Indigo Service Release 1) and tried to
connect with my Trac (Version: Trac 0.13dev-r10991) using Access type
"web". Our Trac instance is running on a Apache httpd. When clicking
"Validate Settings" everything works fine ("Authentication credentials
are valid.").

But when I try to make a "New Query" and synchronize it with Trac, I
won't get any tickets listed. Below is the output in the log. I also
tried it with XmlRpcPlugin, but this didn't work either (see
http://trac-hacks.org/ticket/9919).

Does anybody has idea what is going wrong?

Thanks in advance,
Franz

----- LOG-OUTPUT -----

2012-03-22 12:54:22,567 Trac[build\bdist.win32\egg\trac\perm] DEBUG:
No policy allowed anonymous performing TICKET_CREATE on None
2012-03-22 12:54:22,625 Trac[build\bdist.win32\egg\trac\perm] DEBUG:
No policy allowed anonymous performing ACCTMGR_CONFIG_ADMIN on None
2012-03-22 12:54:22,626 Trac[build\bdist.win32\egg\trac\perm] DEBUG:
No policy allowed anonymous performing ACCTMGR_USER_ADMIN on None
2012-03-22 12:54:22,626 Trac[build\bdist.win32\egg\trac\perm] DEBUG:
No policy allowed anonymous performing TRAC_ADMIN on None
2012-03-22 12:54:22,626 Trac[build\bdist.win32\egg\trac\perm] DEBUG:
No policy allowed anonymous performing CONTROLLER_ADMIN on None
2012-03-22 12:54:22,627 Trac[build\bdist.win32\egg\trac\perm] DEBUG:
No policy allowed anonymous performing PERMISSION_GRANT on None
2012-03-22 12:54:22,627 Trac[build\bdist.win32\egg\trac\perm] DEBUG:
No policy allowed anonymous performing PERMISSION_REVOKE on None
2012-03-22 12:54:22,627 Trac[build\bdist.win32\egg\trac\perm] DEBUG:
No policy allowed anonymous performing TICKET_ADMIN on None
2012-03-22 12:54:22,628 Trac[build\bdist.win32\egg\trac\perm] DEBUG:
No policy allowed anonymous performing VERSIONCONTROL_ADMIN on None
2012-03-22 12:54:22,628 Trac[build\bdist.win32\egg\trac\perm] DEBUG:
No policy allowed anonymous performing REPORT_VIEW on None
2012-03-22 12:54:22,630 Trac[build\bdist.win32\egg\trac\perm] DEBUG:
No policy allowed anonymous performing BROWSER_VIEW on None
2012-03-22 12:54:22,739 Trac[build\bdist.win32\egg\trac\ticket\query]
DEBUG: Count results in Query: 22

osimons

unread,
Mar 26, 2012, 3:15:23 AM3/26/12
to trac...@googlegroups.com

On Thursday, March 22, 2012 1:08:05 PM UTC+1, Franz wrote:
Hi,

I am using eclipse (Version: Indigo Service Release 1) and tried to
connect with my Trac (Version: Trac 0.13dev-r10991) using Access type
"web".

I'd be very surprised if the screen-scraping connector worked for current trunk - or even any recent version of Trac. It was originally added before RPC was available, and I haven't heard of anyone using it or maintaining it for years.
 
I also
tried it with XmlRpcPlugin, but this didn't work either (see
http://trac-hacks.org/ticket/​9919).


That's more like it. We've closed that ticket now though as it was due to your "python -OO" optimization which conflicted with the code (documentation) introspection. I've also added a small fix to handle that more gracefully.

However, the big issue with RPC in current trunk arise with the change in ticket update timestamp handling - the logic that intends to ensure that ticket collision updates don't occur (posting updates based on stale information). For current 0.13dev this has changed - both name of argument, and its format. See:

http://trac.edgewall.org/ticket/7145#comment:50

I've created a ticket for this issue, including an ugly patch that makes it work (and illustrates the problem). I rather hope to see this changed in Trac, but really the RPC ticket update code is already so messy that I suppose one more workaround may not make a big difference.... ;-) See:

http://trac-hacks.org/ticket/9921

:::simon

https://www.coderesort.com
http://trac-hacks.org/wiki/osimons

Reply all
Reply to author
Forward
0 new messages