parse-librarian-apache-logs script failing trying to parse empty files

Bug #481375 reported by Ursula Junque
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Guilherme Salgado

Bug Description

parse-librarian-apache-logs script is failing when gzipped apache logs containing just one line are parsed for the second time. To reproduce, just gzip one of the files in
lib/canonical/launchpad/scripts/tests/apache-log-files-for-sampledata and change the test_run in tests/test_librarian_apache_log_parser.py to run the script twice.

Related branches

Changed in launchpad-foundations:
status: New → Triaged
description: updated
Changed in launchpad-foundations:
importance: Undecided → High
description: updated
Changed in launchpad-foundations:
status: Triaged → In Progress
assignee: nobody → Guilherme Salgado (salgado)
milestone: none → 3.1.11
milestone: 3.1.11 → 3.1.12
Changed in launchpad-foundations:
milestone: 3.1.12 → 3.1.11
Revision history for this message
Diogo Matsubara (matsubara) wrote : Bug fixed by a commit
Changed in launchpad-foundations:
status: In Progress → Fix Committed
Changed in launchpad-foundations:
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.