DpkgTerminalLog is zipped when it shouldn't be
Bug #723964 reported by
Brian Murray
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
Binary package hint: apport
apport-package reports include DpkgTerminalLog.txt and those seem to attached to bug reports as gz files although it isn't a binary file. This makes the triaging of apport-package bug reports more difficult as you have to download and unzip the log files. An example can be found in bug 716531.
I've poked around a bit and I'm not certain what characters in the file are causing it to be recognized as binary.
Changed in apport (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Triaged |
To post a comment you must log in.
What's causing this is the way that /usr/share/ apport/ package_ hook attaches the log file:
pr[mkattrname( l)] = (l,)
pr[mkattrname (path)] = (path,)
and
will cause those files to be compressed. If you don't want that, you can use hookutils. attach_ file instead, which won't compress them.
However, I think it's a bug in Launchpad that this results in the files being downloaded rather than viewed inline. It should be possible for the browser to transparently decompress them if the HTTP headers are set correctly.