Trac Integration

I have successfully integrated the Trac issue tracker into Pycharm in that it pulls in the task ID and summary in the new task window, however the "Show Description" and "Open in Browser" options in Tools -> Tasks & Contexts are grayed out (Ctrl-Q and Shift F1 also generate AssertionErrors in the PyCharm log).  Are these features not supported for Trac?  Or do I need to do some additional configuration to enable those features?

Thanks,
John
3 comments
Comment actions Permalink
Hi John! What are the assertion errors in PyCharm log?
0
Comment actions Permalink
From the task description window, pressing Shift-F1 or using the mouse to view external docs produces the following stack traces:

java.lang.AssertionError
java.lang.AssertionError
 at com.intellij.codeInsight.documentation.DocumentationComponent$ExternalDocAction.actionPerformed(DocumentationComponent.java:623)
 at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$3.performAction(IdeKeyEventDispatcher.java:560)
 at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:608)
 at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.d(IdeKeyEventDispatcher.java:463)
 at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:208)
 at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:524)
 at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:421)
 at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:379)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

2012-09-26 12:05:06,609 [494643547]  ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(71,43),absolute(168,151),button=1,modifiers=Button1,clickCount=1] on dialog2
java.lang.AssertionError
java.lang.AssertionError
 at com.intellij.codeInsight.documentation.DocumentationComponent$ExternalDocAction.actionPerformed(DocumentationComponent.java:623)
 at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:171)
 at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:134)
 at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:312)
 at java.awt.Component.processEvent(Component.java:6055)
 at java.awt.Container.processEvent(Container.java:2039)
 at java.awt.Component.dispatchEventImpl(Component.java:4653)
 at java.awt.Container.dispatchEventImpl(Container.java:2097)
 at java.awt.Component.dispatchEvent(Component.java:4481)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
 at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
 at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
 at java.awt.Container.dispatchEventImpl(Container.java:2083)
 at java.awt.Window.dispatchEventImpl(Window.java:2482)
 at java.awt.Component.dispatchEvent(Component.java:4481)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:648)
 at java.awt.EventQueue.access$000(EventQueue.java:84)
 at java.awt.EventQueue$1.run(EventQueue.java:607)
 at java.awt.EventQueue$1.run(EventQueue.java:605)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
 at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
 at java.awt.EventQueue$2.run(EventQueue.java:621)
 at java.awt.EventQueue$2.run(EventQueue.java:619)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:618)
 at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:718)
 at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:539)
 at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:421)
 at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:379)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
2012-09-26 12:05:06,625 [494643563]  ERROR - com.intellij.ide.IdeEventQueue - PyCharm 2.6.2  Build #PY-121.224
2012-09-26 12:05:06,625 [494643563]  ERROR - com.intellij.ide.IdeEventQueue - JDK: 1.6.0_31
0
Comment actions Permalink
Is there any specific condition that enables/disables the "Show Description" and "Open in Browser" options in Tools -> Tasks & Contexts in the menu?  What is the PyCharm code looking for that determines this?
0

Please sign in to leave a comment.