Opened 16 years ago

Closed 2 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


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

Attachments (0)

Change History (5)

comment:1 Changed 16 years ago by Matteo Merli

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

comment:2 Changed 15 years ago by mkovacik@…

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/", 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/", line 179, in process
    text = self.processor(text)
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/wiki/", line 166, in _macro_processor
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/wiki/", 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/", 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/", line 530, in _has_permission
    decision = PermissionSystem(self.env). \
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/", 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/", line 109, in __repr__
    return '<Resource %r>' % (', '.join(reversed(path)))
TypeError: sequence item 0: expected string, NoneType found

comment:3 Changed 15 years ago by Filipe Correia

Cc: Filipe Correia added
Keywords: ATTACHMENT_VIEW added

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

comment:4 Changed 14 years ago by Viktor Ferenczi

See #5856 for a somewhat cumbersome workaround.

comment:5 Changed 2 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Deprecated and removed.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Matteo Merli.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.