Modify

Opened 7 years ago

Closed 6 years ago

#1656 closed defect (wontfix)

Traceback with new installation of plugin

Reported by: anonymous Owned by: coderanger
Priority: normal Component: PrivateTicketsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

This may be an installation issue; any guidance is appreciated.

Here's what I did & what I encountered:

  • Downloaded the zipped package
  • Unzipped it
  • Build it using python setup.py bdist_egg
  • Cd'ed to dist directory
  • Copied the egg file TracPrivateTickets-1.1.1-py2.4.egg to my plugins dir
  • Edited my trac.ini
       [components]
       .
       .
       privatetickets.* = enabled
                                
       [privatetickets]
       group_blacklist = anonymous, authenticated
    
  • Restarted Apache

When I then go to my Trac installation & click 'View Tickets', I receive the following traceback:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 176, in dispatch
    chosen_handler = self._pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 264, in _pre_process_request
    chosen_handler = f.pre_process_request(req, chosen_handler)
  File "build/bdist.linux-i686/egg/privatetickets/report.py", line 16, in pre_process_request
AttributeError: 'NoneType' object has no attribute 'has_permission'  

Attachments (0)

Change History (3)

comment:1 follow-up: Changed 7 years ago by coderanger

What version of Trac?

comment:2 in reply to: ↑ 1 Changed 7 years ago by anonymous

Replying to coderanger:

What version of Trac?

Trac version 0.10.2 on Fedora Core 5

comment:3 Changed 6 years ago by coderanger

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

Please try again with 0.11 and repoen if needed.

Add Comment

Modify Ticket

Action
as closed .
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.