Modify

Opened 11 years ago

Last modified 11 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

Description

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
SvnAuthzAdminPlugin 0.1.2.-Moved.to.Trac.0.11-
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
TracWysiwyg 0.12.0.3-r9676
WorkflowEditorPlugin 1.1.5-r10055

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 511, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.6/site-packages/trac/admin/web_ui.py", line 121, in process_request
    path_info)
  File "build/bdist.linux-i686/egg/tracdownloader/admin.py", line 142, in process_admin_request
    template = self._serve_files_admin(req)
  File "build/bdist.linux-i686/egg/tracdownloader/admin.py", line 187, in _serve_files_admin
    render_downloads_table(self.env, req)
  File "build/bdist.linux-i686/egg/tracdownloader/model.py", line 167, in render_downloads_table
    files_obj, files_list = release.get_files()
  File "build/bdist.linux-i686/egg/tracdownloader/model.py", line 532, in get_files
    "ORDER BY sort, name", (str(self.id,)))
  File "/usr/lib/python2.6/site-packages/trac/db/util.py", 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 11 years ago by Jun Omae

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

comment:2 Changed 11 years ago by Ryan J Ollos

See also #4214.

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.