Modify

Opened 6 years ago

Closed 6 years ago

#8957 closed defect (invalid)

Too many values to unpack

Reported by: anonymous Owned by: Shun-ichi Goto
Priority: normal Component: TicketBoxMacro
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

I'm migrating to a new server and from Trac .11 to .12.2 under Python 2.6 -- using the latest version of TicketBox.py 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/formatter.py", 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/formatter.py", line 304, in process
    text = self.processor(text)
  File "/home/threespot/webapps/trac_wsgi/env/lib/python2.6/site-packages/trac/wiki/formatter.py", line 291, in _macro_processor
    text)
  File "/home/threespot/webapps/trac_wsgi/env/trac/projects/testme/plugins/TicketBox.py", line 171, in expand_macro
    return execute(formatter, args)
  File "/home/threespot/webapps/trac_wsgi/env/trac/projects/testme/plugins/TicketBox.py", 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 6 years ago by anonymous

Resolution: invalid
Status: newclosed

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

Modify Ticket

Action
as closed The owner will remain Shun-ichi Goto.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.