Opened 5 years ago

Closed 5 years ago

#8957 closed defect (invalid)

Too many values to unpack

Reported by: anonymous Owned by: gotoh
Priority: normal Component: TicketBoxMacro
Severity: normal Keywords:
Cc: Trac Release: 0.12


I'm migrating to a new server and from Trac .11 to .12.2 under Python 2.6 -- using the latest version of in my environment's plugins directory I get the following:

Error: Macro TicketBox("Active Tickets",1,inline) failed too many values to unpack

Trac.log reads:

2011-07-07 11:47:32,717 Trac[formatter] ERROR: Macro TicketBox("Active Tickets",[report:1],inline) failed: 
Traceback (most recent call last):
  File "/home/threespot/webapps/trac_wsgi/env/lib/python2.6/site-packages/trac/wiki/", line 717, in _macro_formatter
    return macro.process(args, in_paragraph=True)
  File "/home/threespot/webapps/trac_wsgi/env/lib/python2.6/site-packages/trac/wiki/", line 304, in process
    text = self.processor(text)
  File "/home/threespot/webapps/trac_wsgi/env/lib/python2.6/site-packages/trac/wiki/", line 291, in _macro_processor
  File "/home/threespot/webapps/trac_wsgi/env/trac/projects/testme/plugins/", line 171, in expand_macro
    return execute(formatter, args)
  File "/home/threespot/webapps/trac_wsgi/env/trac/projects/testme/plugins/", line 116, in execute
    query, dv = ReportModule(env).sql_sub_vars(query, dv, db)
ValueError: too many values to unpack

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by anonymous

  • Resolution set to invalid
  • Status changed from new to closed

Doh! I was testing the wrong environment -- closing ticket as invalid

Add Comment

Modify Ticket

as closed The owner will remain gotoh.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.