Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#192 closed defect (duplicate)

AttributeError: 'NoneType' object has no attribute 'perm'

Reported by: Markus Heberling <markus@…> Owned by: cmlenz
Priority: major Milestone:
Component: General Version: dev
Keywords: Cc:
Operating System: Linux

Description

From the trac bug database:

See trac:ticket:6061 for more information.

How to Reproduce

While doing a GET operation on /build, Trac issued an internal error.

(please provide additional details here)

This is with bitten 0.6dev-r502. Don't know if its a bitten or a trac issue.

System Information

Trac 0.11dev-r6021
Python 2.5.1c1 (release25-maint, Apr 12 2007, 20:57:14)
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)]
setuptools 0.6c5
SQLite 3.3.13
pysqlite 2.3.2
Genshi 0.4.4
Pygments None
Subversion 1.4.3 (r23084)

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/Trac-0.11dev_r6021-py2.5.egg/trac/web/main.py", line 381, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.5/site-packages/Trac-0.11dev_r6021-py2.5.egg/trac/web/main.py", line 191, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.5/site-packages/Bitten-0.6dev_r502-py2.5.egg/bitten/web_ui.py", line 128, in process_request
    self._render_overview(req)
  File "/usr/lib/python2.5/site-packages/Bitten-0.6dev_r502-py2.5.egg/bitten/web_ui.py", line 171, in _render_overview
    shorten_line(chgset.message), self.env)
  File "/usr/lib/python2.5/site-packages/Trac-0.11dev_r6021-py2.5.egg/trac/wiki/formatter.py", line 1052, in wiki_to_oneliner
    OneLinerFormatter(ctx).format(wikitext, out, shorten)
  File "/usr/lib/python2.5/site-packages/Trac-0.11dev_r6021-py2.5.egg/trac/wiki/formatter.py", line 881, in format
    result = re.sub(self.wikiparser.rules, self.replace, result)
  File "re.py", line 142, in sub
    return _compile(pattern, 0).sub(repl, string, count)
  File "/usr/lib/python2.5/site-packages/Trac-0.11dev_r6021-py2.5.egg/trac/wiki/formatter.py", line 735, in replace
    replacement = self.handle_match(fullmatch)
  File "/usr/lib/python2.5/site-packages/Trac-0.11dev_r6021-py2.5.egg/trac/wiki/formatter.py", line 728, in handle_match
    return external_handler(self, match, fullmatch)
  File "/usr/lib/python2.5/site-packages/Trac-0.11dev_r6021-py2.5.egg/trac/wiki/api.py", line 309, in wikipagename_link
    self.ignore_missing_pages)
  File "/usr/lib/python2.5/site-packages/Trac-0.11dev_r6021-py2.5.egg/trac/wiki/api.py", line 345, in format_link
    if 'WIKI_VIEW' not in req.perm(context):
AttributeError: 'NoneType' object has no attribute 'perm'

Attachments (0)

Change History (1)

comment:1 Changed 17 years ago by cmlenz

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate submission, see #191

Add Comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.