Modify ↓
      
#12366 closed defect (cantfix)
UndefinedError: <trac.perm.PermissionCache object at 0x7f20cdf171e0> has no member named "permissions"
| Reported by: | 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 )
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.
- Trac detected an internal error:
UndefinedError: <trac.perm.PermissionCache object at 0x7f20cdf171e0> has no member named "permissions"
 - 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">
 - 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 , 10 years ago
| Component: | wiki system → general | 
|---|---|
| Description: | modified (diff) | 
| Milestone: | 1.2 | 
| Resolution: | → cantfix | 
| Status: | new → closed | 
comment:2 by , 10 years ago
That plugin uses deprecated PermissionCache.permissions method. The deprecated method has been removed in Trac 1.1.2 ([12606#file2], #11494).
  Note:
 See   TracTickets
 for help on using tickets.
    


  
PluginIssue (th:SimpleMultiProjectPlugin).