Modify

Opened 17 years ago

Closed 4 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 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 17 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/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 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 15 years ago by Viktor Ferenczi

See #5856 for a somewhat cumbersome workaround.

comment:5 Changed 4 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Deprecated and removed.

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.