Opened 8 years ago

Last modified 8 years ago

#11116 new defect

TypeError: not all arguments converted during string formatting

Reported by: daikuei Owned by: Petr Škoda
Priority: normal Component: TracDownloaderPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12


How to Reproduce

While doing a GET operation on /admin/general/downloader, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'cat_id': u'general',
 'page': 1,
 'page_part': 'files',
 'panel_id': u'downloader',
 'path_info': None}

User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0

System Information

Trac 0.12.1
Babel 0.9.5
Genshi 0.6
mod_python 3.3.1
psycopg2 2.2.2
Pygments 1.3.1
Python 2.6.5 (r265:79063, Jul 5 2010, 11:47:21)
[GCC 4.5.0 20100604 [gcc-4_5-branch revision 160292]]
pytz 2010h
setuptools 0.6c11
Subversion 1.6.9 (r901367)
jQuery 1.4.2

Enabled Plugins

cc-selector 0.0.3dev
PrivateWikis 1.0.0
TicketExtPlugin 0.3.2
TracAccountManager 0.3.2
TracActiveDirectoryAuth 0.2.2
TracCustomFieldAdmin 0.2.8-r11265
TracDateField 1.0.1
TracDownloader 0.1
TracPrivateTickets 2.0.2
TracTags 0.6
WorkflowEditorPlugin 1.1.5-r10055

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/trac/web/", line 511, in _dispatch_request
  File "/usr/lib/python2.6/site-packages/trac/web/", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.6/site-packages/trac/admin/", line 121, in process_request
  File "build/bdist.linux-i686/egg/tracdownloader/", line 142, in process_admin_request
    template = self._serve_files_admin(req)
  File "build/bdist.linux-i686/egg/tracdownloader/", line 187, in _serve_files_admin
    render_downloads_table(self.env, req)
  File "build/bdist.linux-i686/egg/tracdownloader/", line 167, in render_downloads_table
    files_obj, files_list = release.get_files()
  File "build/bdist.linux-i686/egg/tracdownloader/", line 532, in get_files
    "ORDER BY sort, name", (str(,)))
  File "/usr/lib/python2.6/site-packages/trac/db/", line 65, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
TypeError: not all arguments converted during string formatting

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by Jun Omae

Component: SELECT A HACKTracDownloaderPlugin
Owner: changed from anonymous to Petr Škoda
Trac Release: 0.12

comment:2 Changed 8 years ago by Ryan J Ollos

See also #4214.

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Petr Škoda.

Add Comment

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

Note: See TracTickets for help on using tickets.