Modify ↓
Opened 5 years ago
Closed 5 years ago
#13733 closed defect (fixed)
Announcer: Preferences trigger ValueError: too many values to unpack
Reported by: | anonymous | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | AnnouncerPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description
With Trac version 1.2.5 if a logged-in user clicks on Preferences and then either on Announcements or subscriptions the following error occurs:
Trac detected an internal error: ValueError: too many values to unpack
File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 647, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 248, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.7/dist-packages/trac/prefs/web_ui.py", line 112, in process_request chosen_provider.render_preference_panel(req, panel_id)
Attachments (2)
Change History (7)
Changed 5 years ago by
Attachment: | fix_preferences.diff added |
---|
comment:1 Changed 5 years ago by
comment:2 Changed 5 years ago by
Owner: | set to Ryan J Ollos |
---|---|
Resolution: | → fixed |
Status: | new → closed |
In 17660:
comment:3 Changed 5 years ago by
Work is needed in #12120 to make TracAnnouncer fully compatible with Trac 1.2.
Changed 5 years ago by
Attachment: | fix_pref_syntax_error.diff added |
---|
comment:4 Changed 5 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Sorry, but your latest modification contains a syntax error:
File "/usr/local/lib/python2.7/site-packages/announcer/pref.py", line 195 def filter_stream(self, req, method, filename, stream, data): ^ SyntaxError: invalid syntax (pref.py, line 195)
The attached file fix_pref_syntax_error.diff solves this issue.
Note: See
TracTickets for help on using
tickets.
With the attached patch file the error is fixed for me.