On May 12, 4:55 am, CM <[EMAIL PROTECTED]> wrote:
> On May 10, 6:53 am, Gab <[EMAIL PROTECTED]> wrote:
>
>
>
> > The resolution on changeset 3627 works, no more error while enabling.
> > However, the next step failed with the following error:
>
> > 2008-05-10 13:47:26,717 Trac[main] DEBUG: Dispatching <Request "GET u'/
> > tasklist'">
> > 2008-05-10 13:47:26,733 Trac[main] DEBUG: TasklistPlugin: Using
> > default query: 'status!=closed&amp;owner=toto'
> > 2008-05-10 13:47:26,750 Trac[session] DEBUG: Retrieving session for ID
> > u'toto'
> > 2008-05-10 13:47:26,765 Trac[main] ERROR: not all arguments converted
> > during string formatting
> > Traceback (most recent call last):
> >   File "c:\python25\lib\site-packages\Trac-0.12dev_r6942-py2.5.egg\trac
> > \web\main.py", line 417, in _dispatch_request
> >     dispatcher.dispatch(req)
> >   File "c:\python25\lib\site-packages\Trac-0.12dev_r6942-py2.5.egg\trac
> > \web\main.py", line 197, in dispatch
> >     resp = chosen_handler.process_request(req)
> >   File "build\bdist.win32\egg\tasklist\main.py", line 162, in
> > process_request
> >     template, data, mime_type = self.display_html(req, query)
> >   File "c:\python25\lib\site-packages\Trac-0.12dev_r6942-py2.5.egg\trac
> > \ticket\query.py", line 858, in display_html
> >     tickets = query.execute(req, db)
> >   File "c:\python25\lib\site-packages\Trac-0.12dev_r6942-py2.5.egg\trac
> > \ticket\query.py", line 259, in execute
> >     self.num_items = self._count(sql, args, db)
> >   File "c:\python25\lib\site-packages\Trac-0.12dev_r6942-py2.5.egg\trac
> > \ticket\query.py", line 244, in _count
> >     cursor.execute(count_sql, args);
> >   File "c:\python25\lib\site-packages\Trac-0.12dev_r6942-py2.5.egg\trac
> > \db\util.py", line 50, in execute
> >     return self.cursor.execute(sql_escape_percent(sql), args)
> >   File "c:\python25\lib\site-packages\Trac-0.12dev_r6942-py2.5.egg\trac
> > \db\sqlite_backend.py", line 56, in execute
> >     sql = sql % (('?',) * len(args))
> > TypeError: not all arguments converted during string formatting
>
> > any idea ?
>
> > thanks
>
> > gabriel
>
> I don't have a fix but a workaround - drop the tasklist default_query
> defined in trac.ini.  There seems to be some parsing errors causing
> the SQL statement to be invalid.   I'll open a trac ticket.  Hope this
> works for you.
>
> Cathy

Ack!  Didn't get much further before hitting the same problem with a
different query.

CM
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to