Modify ↓
Opened 17 years ago
Closed 3 years ago
#2240 closed defect (wontfix)
0.11 Support ?
Reported by: | anonymous | Owned by: | Matteo Merli |
---|---|---|---|
Priority: | normal | Component: | EclipseTracPlugin |
Severity: | normal | Keywords: | ATTACHMENT_VIEW |
Cc: | mkovacik@…, Filipe Correia | Trac Release: | 0.11 |
Description
I don't get the plugin to work on 0.11. Any plans ?
Attachments (0)
Change History (5)
comment:1 Changed 17 years ago by
comment:2 Changed 17 years ago by
Cc: | mkovacik@… added; anonymous removed |
---|
I got this working with Trac 0.11b on my site. But I have problem with Image macros.
Following stacktrace was taken from logfile
Trac[__init__] ERROR: Macro Image(mylyn4.png) failed Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/wiki/formatter.py", line 465, in _macro_formatter return macro.process(args, in_paragraph=True) File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/wiki/formatter.py", line 179, in process text = self.processor(text) File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/wiki/formatter.py", line 166, in _macro_processor text) File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/wiki/macros.py", line 412, in expand_macro if attachment and 'ATTACHMENT_VIEW' in formatter.perm(attachment): File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/perm.py", line 519, in has_permission return self._has_permission(action, resource) File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/perm.py", line 530, in _has_permission decision = PermissionSystem(self.env). \ File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/perm.py", line 431, in check_permission self.log.debug("No policy allowed %s performing %s on %r" % File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/resource.py", line 109, in __repr__ return '<Resource %r>' % (', '.join(reversed(path))) TypeError: sequence item 0: expected string, NoneType found
comment:3 Changed 16 years ago by
Cc: | Filipe Correia added |
---|---|
Keywords: | ATTACHMENT_VIEW added |
The image macro issue seems to be similar to ticket #3335 on the PageToPdfPlugin.
Note: See
TracTickets for help on using
tickets.
I'm using the plugin with Trac 0.11 and is working fine.
As it relies on XmlRpcPlugin, be sure to get this working first. You can check it, by visiting the page: http://yourhost/trac/xmlrpc