Edgewall Software
Modify

Opened 17 years ago

Closed 17 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)

trac.ini (2.3 KB ) - added by so1o 17 years ago.
trac.ini

Download all attachments as: .zip

Change History (5)

by so1o, 17 years ago

Attachment: trac.ini added

trac.ini

comment:1 by Matthew Good, 17 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 anonymous, 17 years ago

Resolution: fixed
Status: newclosed

I fixed the error..

i created the db with explicit collate set to utf8.. that fixed everything..

comment:3 by Emmanuel Blot, 17 years ago

Resolution: fixed
Status: closedreopened

comment:4 by Emmanuel Blot, 17 years ago

Resolution: worksforme
Status: reopenedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström 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.