hugday crashed with Please run 'hugday current --remember' or give a date in get_url()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-qa-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ubuntu-qa-tools
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu jaunty (development branch)
Release: 9.04
Codename: jaunty
$ LANG=C apt-cache policy ubuntu-qa-tools
ubuntu-qa-tools:
Installed: 0.1.1
Candidate: 0.1.1
Version table:
*** 0.1.1 0
500 http://
100 /var/lib/
I ran aptitude to install ubuntu-qa-tools for using the command "hugday."
After installing it successfully, I run "hugday list" as shown in the following website.
https:/
But, it failed to get list of all task for current hugday and the next error was displayed instead.
---
$ hugday list
Traceback (most recent call last):
File "/usr/bin/hugday", line 409, in <module>
sys.
File "/usr/bin/hugday", line 391, in main
url = get_url(
File "/usr/bin/hugday", line 371, in get_url
"give a date" %CONFIGFILE))
RuntimeError: No value for 'current' found in '/home/
Please run 'hugday current --remember' or give a date
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
os.
OSError: [Errno 17] File exists: '/var/crash/
Original exception was:
Traceback (most recent call last):
File "/usr/bin/hugday", line 409, in <module>
sys.
File "/usr/bin/hugday", line 391, in main
url = get_url(
File "/usr/bin/hugday", line 371, in get_url
"give a date" %CONFIGFILE))
RuntimeError: No value for 'current' found in '/home/
Please run 'hugday current --remember' or give a date
---
P.S. After running 'hugday current --remember', as shown in the error message,
the result of 'hugday list' worked successfully.
Maybe, it needs error processing to avoid displaying the above error message...
ProblemType: Crash
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/hugday
InterpreterPath: /usr/bin/python2.5
Package: ubuntu-qa-tools 0.1.1
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/hugday list
ProcEnviron:
SHELL=/bin/bash
LANG=ja_JP.UTF-8
PythonArgs: ['/usr/bin/hugday', 'list']
SourcePackage: ubuntu-qa-tools
Title: hugday crashed with Please run 'hugday current --remember' or give a date in get_url()
Uname: Linux 2.6.28-7-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
Related branches
- Ubuntu Bug Control: Pending requested
- Diff: None lines
Changed in ubuntu-qa-tools (Ubuntu): | |
status: | Won't Fix → Fix Released |
Hi afujihara,
thanks for this bugreport, unfortunately I was not subscribed to this bugreport so I did not notice your issue.
For me this is a documentation issue, this
hugday current --remember
is essential if you would like to run `hugday list` or `hugday close`without the `--day` option
So it is either
hugday current --remember
hugday list
hugday close 123456
hugday close 2345 3456
[....]
or
hugday list --day 20080101
hugday close 123456 --day 20080101
hugday close 2345 3456 --day 20080101
[....]
I personally do not like the idea of a fallback which is automatically running `hugday current` if the hugday tools does not know about a date because this operation is expensive and might slow things down.
Does this make sense?
Markus