Edgewall Software

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#12366 closed defect (cantfix)

UndefinedError: <trac.perm.PermissionCache object at 0x7f20cdf171e0> has no member named "permissions"

Reported by: wachkama@… Owned by:
Priority: normal Milestone:
Component: general Version: 1.2dev
Severity: major Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Jun Omae)

I am getting errors when i install simplemultiproject version 0.50. Followed the installation process and plugin was succesfuly installed but it wount start. getting this errors.

  1. Trac detected an internal error:
    UndefinedError: <trac.perm.PermissionCache object at 0x7f20cdf171e0> has no member named "permissions"
  2. Most recent call last:
    File "/var/trac/eggs/SimpleMultiProject-0.5.0-py2.7.egg-tmp/simplemultiproject/templates/simplemultiproject_adminpanel.html", line 66, in <Expression u"'PROJECT_ADMIN' in perm.permissions()">
      <form py:if="'PROJECT_ADMIN' in perm.permissions()" class="addnew" id="simplemultiproject" action="" method="post">
  3. Trace back error.
    [Fri Feb 26 12:13:09.729123 2016] [:error] [pid 1692:tid 139669408818944] /var/trac/sites/Project/plugins/SimpleMultiProject-0.5.0-py2.7.egg/simplemultiproject/admin.py:166: RuntimeWarning: Parent module 'simplemultiproject' not found while handling absolute import

Attachments (0)

Change History (3)

comment:1 by Jun Omae, 7 years ago

Component: wiki systemgeneral
Description: modified (diff)
Milestone: 1.2
Resolution: cantfix
Status: newclosed

comment:2 by Jun Omae, 7 years ago

That plugin uses deprecated PermissionCache.permissions method. The deprecated method has been removed in Trac 1.1.2 ([12606#file2], #11494).

comment:3 by Ryan J Ollos, 7 years ago

Fixed in [th 15392].

Modify Ticket

Change Properties
Set your email in Preferences
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.