-
Notifications
You must be signed in to change notification settings - Fork 309
ValueError: dictionary update sequence element #0 has length 1; 2 is required #533
Comments
I can't reproduce this. So far my hypothesis is that this is indicative of Heroku moving the ground out from beneath our feet. |
>>> import mimeparse
>>> mimeparse.best_match(['text/html'], 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;') These are the params best_match is called with (taken from the sentry page traceback). I guess this is a bug in the Googling for the problem reveals: Unfortunately it is not fixed yet 😢 |
Referencing #1521 to link them together. |
Technically that Accept: header is malformed; the trailing semicolon is disallowed since there're no quality parameters after it. |
Can we fix this in aspen? Like guarding against exceptions raised by |
@zwn Let's ticket in Aspen if we haven't already. |
Is this solved? |
The aspen side was solved 3 months ago. |
We last saw this 10 days ago, just before we landed the aspen 0.28 upgrade (#1699). Before that we were on 0.26.1, and the commit log on aspen-python shows that AspenWeb/pando.py#260 landed after 0.26.1 was released. The sentry error is already resolved. I'm closing this as fixed. |
https://app.getsentry.com/gittip/gittip/group/3352951/
The text was updated successfully, but these errors were encountered: