﻿ticket	summary	type	release	owner	status	created	modified	_description	_reporter
7089	Segmentation Fault on Ubuntu 64 Bit under Apache Control	defect	0.11	Filipe Correia	new	2010-05-07T09:15:16+02:00	2010-05-19T09:58:34+02:00	"I have used the Plugin for a while in 32-Bit configuration (Ubuntu) with Apache and mod_python. Now I have ported to a machine running 64-Bit Ubuntu. Trying mod_python or mod_wsgi allways results in Segmentation Fault. Using Trac standalone works. Whats wrong?

Python 2.6.4, Trac 0.11.5, PageToDocbook 0.6.2"	anonymous
4016	Error dealing with image macros	defect	0.11	Filipe Correia	new	2008-10-31T18:39:50+01:00	2009-09-30T15:06:10+02:00	"The following error is happening when image attachments are user and included by using the image macro:
{{{
2008-10-31 17:24:22,102 Trac[formatter] ERROR: Macro Image(0001.png, 300) failed
Traceback (most recent call last):
  File ""/usr/lib/python2.4/site-packages/trac/wiki/formatter.py"", line 468, in _macro_formatter
    return macro.process(args, in_paragraph=True)
  File ""/usr/lib/python2.4/site-packages/trac/wiki/formatter.py"", line 179, in process
    text = self.processor(text)
  File ""/usr/lib/python2.4/site-packages/trac/wiki/formatter.py"", line 166, in _macro_processor
    text)
  File ""/usr/lib/python2.4/site-packages/trac/wiki/macros.py"", line 425, in expand_macro
    if attachment and 'ATTACHMENT_VIEW' in formatter.perm(attachment):
  File ""/usr/lib/python2.4/site-packages/trac/perm.py"", line 523, in has_permission
    return self._has_permission(action, resource)
  File ""/usr/lib/python2.4/site-packages/trac/perm.py"", line 536, in _has_permission
    decision = PermissionSystem(self.env). \
  File ""/usr/lib/python2.4/site-packages/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/resource.py"", line 111, in __repr__
    return '<Resource %r>' % (', '.join(reversed(path)))
TypeError: sequence item 0: expected string, NoneType found
}}}"	Filipe Correia
