Modify

Opened 9 years ago

Closed 6 years ago

#2664 closed defect (wontfix)

Python errors after install

Reported by: anonymous Owned by: dagomez
Priority: normal Component: StractisticsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

Hi I'm using a SLES 9 (suse linux) 64bit running python 2.3 and trac 10.4 and installed Stractistics from SVN. When I click on the Stractistics button, I get the following python trace:

Traceback (most recent call last):
  File "/usr/lib64/python2.3/site-packages/trac/web/main.py", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib64/python2.3/site-packages/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-x86_64/egg/stractistics/stractistics.py", line 84, in process_request
  File "build/bdist.linux-x86_64/egg/stractistics/stractistics.py", line 112, in _repository_activity
  File "build/bdist.linux-x86_64/egg/stractistics/stractistics.py", line 176, in _most_active_repository_authors
  File "/usr/lib64/python2.3/site-packages/trac/db/util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/lib64/python2.3/site-packages/trac/db/util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
ProgrammingError:  Fehler »syntax error« bei »author« at character 26

Any hints?

Attachments (0)

Change History (3)

comment:1 Changed 9 years ago by dagomez

Status: newassigned

Hi, What database system are you using? SQLite, PostreSQL, MySQL?

comment:2 Changed 9 years ago by anonymous

Hi, I'm seeing the same error. Here's my traceback:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/stractistics/stractistics.py", line 84, in process_request
  File "build/bdist.linux-i686/egg/stractistics/stractistics.py", line 112, in _repository_activity
  File "build/bdist.linux-i686/egg/stractistics/stractistics.py", line 176, in _most_active_repository_authors
  File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
ProgrammingError: syntax error at or near "author" at character 26

I'm using postgresql.

]$ rpm -q postgresql-server
postgresql-server-8.1.10-1.fc6

comment:3 Changed 6 years ago by Ryan J Ollos

Resolution: wontfix
Status: assignedclosed

0.10 version will no longer be supported. See trunk for a 0.11 version (trunk might have a 0.12 version shortly, in which case a 0.11 branch will be created).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain dagomez.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.