Modify ↓
Ticket #4288 (closed defect: worksforme)
Opened 5 years ago
Last modified 5 years ago
AttributeError: 'array.array' object has no attribute 'islower'
| Reported by: | so1o | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.10.2 |
| Severity: | normal | Keywords: | needinfo |
| Cc: | |||
| Release Notes: | |||
| API 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
Change History
Changed 5 years ago by so1o
comment:1 Changed 5 years ago by mgood
- 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 Changed 5 years ago by anonymous
- Resolution set to fixed
- Status changed from new to closed
I fixed the error..
i created the db with explicit collate set to utf8.. that fixed everything..
comment:3 Changed 5 years ago by eblot
- Resolution fixed deleted
- Status changed from closed to reopened
comment:4 Changed 5 years ago by eblot
- Resolution set to worksforme
- Status changed from reopened to closed
Note: See
TracTickets for help on using
tickets.



trac.ini