source_ubiquity started to crash

Bug #1265735 reported by Dimitri John Ledkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport/report.py", line 197, in _run_hook
    symb['add_info'](report, ui)
  File "/usr/share/apport/package-hooks/source_ubiquity.py", line 124, in add_info
    for line in f.splitlines():
AttributeError: '_io.TextIOWrapper' object has no attribute 'splitlines'

as seen in recent ubiquity reports.

Revision history for this message
Martin Pitt (pitti) wrote :

Closing manually due to mis-formatted changelog. I also committed this to bzr.

apport (2.12.7-0ubuntu4) trusty; urgency=medium

  * In python3 (unlike python2) file object does not have "splitlines()"
    method, instead one iterate over the lines in the file directly. (LP:
    #1265735)

 -- Dimitri John Ledkov <email address hidden> Fri, 03 Jan 2014 08:36:55 +0000

Changed in apport (Ubuntu):
status: New → Fix Released
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

I don't think that bug line is misformatted, as it is recognised by parsechangelog / lp highlighting etc.
Bugs are closed upon migration from -proposed to -release pocket.
So far -0ubuntu4 hasn't migrated to release pocket due to autopackagetest failures, which i am not able to figure out how to fix / where the problem is.

Changed in apport (Ubuntu):
status: Fix Released → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 2.12.7-0ubuntu6

---------------
apport (2.12.7-0ubuntu6) trusty; urgency=medium

  * Merge from trunk:
    - setup.py: Make updating of hashbangs work when building without Java,
      and also apply it on bin/.
  * Bump Standards-Version to 3.9.5, no changes necessary.
 -- Martin Pitt <email address hidden> Tue, 07 Jan 2014 18:41:12 +0100

Changed in apport (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.