Ticket #2240 (new defect)

Opened 1 year ago

Last modified 2 months ago

0.11 Support ?

Reported by: anonymous Assigned to: merlimat
Priority: normal Component: EclipseTracPlugin
Severity: normal Keywords: ATTACHMENT_VIEW
Cc: mkovacik@digitalsystems.sk, fcorreia@gmail.com Trac Release: 0.11

Description

I don't get the plugin to work on 0.11. Any plans ?

Attachments

Change History

11/29/07 08:25:49 changed by merlimat

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

04/07/08 06:10:22 changed by mkovacik@digitalsystems.sk

  • cc set to mkovacik@digitalsystems.sk.

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

10/27/08 14:30:37 changed by FilipeCorreia

  • cc changed from mkovacik@digitalsystems.sk to mkovacik@digitalsystems.sk, fcorreia@gmail.com.
  • keywords set to ATTACHMENT_VIEW.

The image macro issue seems to be similar to ticket #3335 on the PageToPdfPlugin.


Add/Change #2240 (0.11 Support ?)




Change Properties
Action