Modify ↓
Opened 19 years ago
Closed 19 years ago
#4288 closed defect (worksforme)
AttributeError: 'array.array' object has no attribute 'islower'
| Reported by: | so1o | Owned by: | Jonas Borgström |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.10.2 |
| Severity: | normal | Keywords: | needinfo |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
I get this error when i try to access the installation..
my configuration: apache_2.0.59 mysql-5.0.27 python-2.4.4 svn-1.4.2 trac-0.10.2 clearsilver-0.9.14
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\trac\web\main.py", line 387, in dispatch_request
dispatcher.dispatch(req)
File "C:\Python24\Lib\site-packages\trac\web\main.py", line 191, in dispatch
req.perm = PermissionCache(self.env, req.authname)
File "C:\Python24\Lib\site-packages\trac\perm.py", line 267, in __init__
self.perms = PermissionSystem(env).get_user_permissions(username)
File "C:\Python24\Lib\site-packages\trac\perm.py", line 231, in get_user_permissions
for perm in self.store.get_user_permissions(username):
File "C:\Python24\Lib\site-packages\trac\perm.py", line 118, in get_user_permissions
if not action.islower() and action not in actions:
AttributeError: 'array.array' object has no attribute 'islower'
Attachments (1)
Change History (5)
by , 19 years ago
comment:1 by , 19 years ago
| Keywords: | needinfo added |
|---|
What version of the Python MySQLdb library did you install? It looks like it may be returning an array instead of a string for that database query.
comment:2 by , 19 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
I fixed the error..
i created the db with explicit collate set to utf8.. that fixed everything..
comment:3 by , 19 years ago
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
comment:4 by , 19 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | reopened → closed |
Note:
See TracTickets
for help on using tickets.



trac.ini