Create bug link is failing for python tracebacks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Errors |
Triaged
|
High
|
Unassigned |
Bug Description
This may be the same issue as bug 1197186. Clicking the Create link on the following OOPS will create an error.
http://
Traceback (most recent call last):
File "/usr/lib/
response = callback(request, *args, **kwargs)
File "/usr/lib/
return self.dispatch(
File "/var/www/
result = view(*args, **kwargs)
File "/var/www/
return Resource.
File "/usr/lib/
response = method(request, **kwargs)
File "/usr/lib/
deserialized = self.deserializ
File "/usr/lib/
deserialized = self._meta.
File "/usr/lib/
deserialized = getattr(self, "from_%s" % desired_
File "/usr/lib/
return simplejson.
File "/usr/lib/
return _default_
File "/usr/lib/
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/
obj, end = self.scan_once(s, idx)
JSONDecodeError: Invalid control character at: line 1 column 49 (char 49)
I'm pretty sure this has to do with the format of bucket / signature from errors/
This also happens on the main page (https:/
Changed in errors: | |
importance: | Undecided → High |
The main page just uses the function from the json data so in this particular case it is:
"function": "Traceback (most recent call last):\n File \"/usr/ lib/ubuntu- release- upgrader/ do-partial- upgrade\ ", line 105, in <module>\n controller. doPartialUpgrad e()\n File \"/usr/ lib/python3/ dist-packages/ DistUpgrade/ DistUpgradeCont roller. py\", line 1846, in doPartialUpgrade\n if not self.doPostUpgr ade():\ n File \"/usr/ lib/python3/ dist-packages/ DistUpgrade/ DistUpgradeCont roller. py\", line 1249, in doPostUpgrade\n remove_candidates = now_obsolete - self.obsolete_ pkgs\nTypeError : unsupported operand type(s) for -: 'set' and 'list'\n",
I'd guess it is the carriage returns causing an issue.