Edgewall Software
Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#7917 closed defect (invalid)

ProgrammingError: Incorrect number of bindings supplied. The current statement uses 1, and there are 0 supplied.

Reported by: vietlq Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.2.1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:

Description

How to Reproduce

While doing a GET operation on /gantt/2, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'id': u'2'}

User Agent was: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en; rv:1.8.1.19) Gecko/20081212 Camino/1.6.6 (MultiLang) (like Firefox/2.0.0.19)

System Information

Trac 0.11.2.1
Python 2.5.4 (r254:67916, Dec 28 2008, 00:30:48)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-9)]
setuptools 0.6c9
SQLite 3.6.7
pysqlite 2.5.1
Genshi 0.5.1
Pygments 1.0
Subversion 1.4.4 (r25188)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/web/main.py", line 432, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/web/main.py", line 204, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/tracgantt/gantt.py", line 118, in process_request
    tickets,dates,broken = self._tickets_for_report(db, report['query'])
  File "build/bdist.linux-i686/egg/tracgantt/gantt.py", line 175, in _tickets_for_report
    cursor.execute(query)
  File "/usr/local/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/db/util.py", line 51, in execute
    return self.cursor.execute(sql)
  File "/usr/local/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/db/sqlite_backend.py", line 58, in execute
    args or [])
  File "/usr/local/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/db/sqlite_backend.py", line 50, in _rollback_on_error
    return function(self, *args, **kwargs)
ProgrammingError: Incorrect number of bindings supplied. The current statement uses 1, and there are 0 supplied.

Attachments (0)

Change History (2)

comment:1 by Emmanuel Blot, 11 years ago

Resolution: invalid
Status: newclosed

Please stop reporting errors from the Gantt plugin on Trac web site: please report them to the plugin maintainer.

comment:2 by anonymous, 11 years ago

Sorry for disturbing. I was unaware. Now I know where I should submit. Thanks.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to as closed The owner will be changed from (none) 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.