hamster-time-tracker crashed with TypeError: can't compare datetime.datetime to NoneType
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Project Hamster |
Expired
|
Medium
|
|||
hamster-applet (Ubuntu) |
Fix Released
|
Undecided
|
Jamie Strandboge |
Bug Description
I was fooling around on precise with hamster 2.91.3+
I started and stopped a few tasks, then edited one, dragging the graphical extent to make it start earlier, as I recall. I might have done other stuff too. Then it crashed and offered to send in a bug report, so I said yes. Here it is. This was in the terminal window where I started it.
/usr/lib/
ui.add_
Traceback (most recent call last):
File "/usr/lib/
if start_time > dt.datetime.now():
TypeError: can't compare datetime.datetime to NoneType
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: hamster-applet 2.91.3+
Uname: Linux 3.1.0-030100-
NonfreeKernelMo
ApportVersion: 1.91-0ubuntu1
Architecture: i386
Date: Fri Feb 3 15:46:07 2012
ExecutablePath: /usr/bin/
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: python /usr/bin/
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_US.UTF-8
PythonArgs: ['/usr/
SourcePackage: hamster-applet
Title: hamster-
Traceback:
Traceback (most recent call last):
File "/usr/lib/
if start_time > dt.datetime.now():
TypeError: can't compare datetime.datetime to NoneType
UpgradeStatus: Upgraded to precise on 2012-01-29 (5 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
tags: | removed: need-duplicate-check |
Changed in hamster-applet: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in hamster-applet (Ubuntu): | |
assignee: | nobody → Jamie Strandboge (jdstrand) |
status: | Confirmed → In Progress |
Changed in hamster-applet: | |
status: | New → In Progress |
Changed in hamster-applet: | |
status: | In Progress → Expired |
I can confirm this. The way to reproduce seems to be to modify an entry, then click/drag on the range bar, then go left to right such that the times are the same, then unclick.