Opened 10 years ago

Last modified 10 years ago

#3858 new defect

TypeError in after installation

Reported by: sgtrc-turtle.testudo12@… Owned by: Tim Coulter
Priority: normal Component: TrashTalkPlugin
Severity: normal Keywords:
Cc: sgtrc-turtle.testudo12@… Trac Release: 0.11


Hello, I just installed TrashTalkPlugin version 0.11 from revision 3513 and received the following error after upgrading my trac environment:

Traceback (most recent call last):
  File "/Library/Python/2.3/site-packages/Trac-0.11stable_r7581-py2.3.egg/trac/web/", line 367, in send_error
  File "/Library/Python/2.3/site-packages/Trac-0.11stable_r7581-py2.3.egg/trac/web/", line 690, in render_template
    stream |= self._filter_stream(req, method, filename, stream, data)
  File "build/bdist.darwin-8.10.0-Power_Macintosh/egg/genshi/", line 128, in __or__
  File "/Library/Python/2.3/site-packages/Trac-0.11stable_r7581-py2.3.egg/trac/web/", line 777, in inner
  File "build/bdist.darwin-8.10.0-Power_Macintosh/egg/trashtalk/", line 102, in filter_stream
  File "build/bdist.darwin-8.10.0-Power_Macintosh/egg/trashtalk/", line 203, in _get_incoming_links_for_ticket
  File "/Library/Python/2.3/site-packages/Trac-0.11stable_r7581-py2.3.egg/trac/db/", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/Library/Python/2.3/site-packages/Trac-0.11stable_r7581-py2.3.egg/trac/db/", line 56, in execute
    sql = sql % (('?',) * len(args))
TypeError: not all arguments converted during string formatting

The error occurred when I go to view any ticket.


The only way that I could view my tickets was to uninstall the TrashTalkPlugin


  • I had installed TrashTalkPlugin version 0.11 from revision 3513 with the following command:
    easy_install ''


Here are some details on my environment, if it helps the developers

  • OS: Mac OS X, Darwin 8.10.0
  • Trac: Trac 0.11stable-r7581
  • DB: sqlite

Here's the contents of my easy-install.pth file, which lists all of my installed plugins:

import sys; sys.__plen = len(sys.path)
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,
'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new)

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by Tim Coulter

Hmm... At the time TrashTalk was written, it required Genshi trunk because of a Transformer class (or something very similar) that would help display the data on screen. This was before Trac 0.11 final, and at the time, the right version of Genshi was not distributed with Trac releases. Can you try installing Genshi trunk? Run the following command below:


Try that, and let me know what happens. Tim

comment:2 Changed 10 years ago by sgtrc-turtle.testudo12@…

When I've got a chance for some downtime, I'll give that a shot and let you know if that does the trick.

In the meantime, I realized that I hadn't given my version of Python... we're using v. 2.3.5.

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Tim Coulter.

Add Comment

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

Note: See TracTickets for help on using tickets.