timekpr-gui crash

Bug #531653 reported by frt975
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
timekpr
Incomplete
Undecided
Unassigned

Bug Description

I ran gksu timekpr-gui form terminal and got
:~$ gksu timekpr-gui
Traceback (most recent call last):
  File "/usr/share/python-support/timekpr/timekpr-gui.py", line 473, in read_settings
    self.statusicons(self, uislocked)
  File "/usr/share/python-support/timekpr/timekpr-gui.py", line 427, in statusicons
    used = int(t.readline())
ValueError: invalid literal for int() with base 10: ''
Traceback (most recent call last):
  File "/usr/share/python-support/timekpr/timekpr-gui.py", line 587, in <module>
    timekprGUI()
  File "/usr/share/python-support/timekpr/timekpr-gui.py", line 163, in __init__
    self.read_settings(self)
  File "/usr/share/python-support/timekpr/timekpr-gui.py", line 473, in read_settings
    self.statusicons(self, uislocked)
  File "/usr/share/python-support/timekpr/timekpr-gui.py", line 427, in statusicons
    used = int(t.readline())
ValueError: invalid literal for int() with base 10: ''

I'm running 32 bit Ubuntu karmic.

Revision history for this message
frt975 (frt975-deactivatedaccount) wrote :
Revision history for this message
frt975 (frt975-deactivatedaccount) wrote :
Revision history for this message
frt975 (frt975-deactivatedaccount) wrote :
Revision history for this message
Savvas Radevic (medigeek) wrote :

Hm.. that's a weird bug, it's like it created an empty .time file. can you remove the files in /var/lib/timekpr/ and try again?

sudo /etc/init.d/timekpr stop
sudo rm -r /var/lib/timekpr/*
sudo /etc/init.d/timekpr start
gksu timekpr-gui

Revision history for this message
frt975 (frt975-deactivatedaccount) wrote :

It works!

Revision history for this message
Savvas Radevic (medigeek) wrote :

Great! :)
I'll set this as "Incomplete". If you see the same bug again, please report it here. If you notice another bug, report it as a different bug report.

Changed in timekpr:
status: New → Incomplete
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.