Reporting fails when only one activity has been logged
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GTimeLog |
Fix Released
|
Medium
|
Barry Warsaw | ||
gtimelog (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Reporting works fine when NOTHING was reported ("No work done today.").
However, when the initial activity was logged, but nothing else, the enumeration of categories fails:
-----
Traceback (most recent call last):
File "/usr/local/
self.
File "/usr/local/
write_
File "/usr/local/
if categories:
UnboundLocalError: local variable 'categories' referenced before assignment
-----
Related branches
- Barry Warsaw: Approve
-
Diff: 28 lines (+5/-1)2 files modifiedNEWS.txt (+4/-0)
src/gtimelog/main.py (+1/-1)
Changed in gtimelog: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Barry Warsaw (barry) |
status: | Confirmed → Fix Committed |
Changed in gtimelog: | |
milestone: | none → 0.6 |
Changed in gtimelog: | |
status: | Fix Committed → Fix Released |
affects: | ubuntu → gtimelog (Ubuntu) |
This bug was fixed in the package gtimelog - 0.6.0-0ubuntu1
---------------
gtimelog (0.6.0-0ubuntu1) oneiric; urgency=low
* debian/watch: Update for new location on Launchpad. version_ api patches/ force-gi: Unfuzz. patches/ gi-fixes: Fix working with current Pango, and missing
* New upstream release. Changes since to our bzr snapshot and patches:
- Ctrl-Q now quits. (LP: #750092)
- Fixed UnboundLocalError. (LP: #778285)
- Hide the main window on Esc. (LP: #716257)
* Drop patches which are upstream now:
- fix-gobject-import
- fix-appindicator
- gi_require_
- pango_tab_align
* debian/
* Add debian/
import.
* debian/control: Bump gir1.2-pango-1.0 dependency to a version with
unbroken GIR.
* debian/control: Bump GIR dependencies for GTK 3.
-- Martin Pitt <email address hidden> Tue, 20 Sep 2011 12:12:26 +0200