lava-dashboard-tool bundles raises python exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LAVA Tool |
Fix Released
|
Medium
|
Senthil Kumaran S |
Bug Description
Preconditions:
Bundle stream on LAVA dashboard exists and contains some bundles.
Steps to reproduce:
lava-dashboard-tool bundles --dashboard-url=http://<email address hidden>/path/RPC2/ /bundle/
Outcome:
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
run_
File "/usr/lib/
raise cls.run()
File "/usr/lib/
raise SystemExit(
File "/usr/lib/
return command.invoke()
File "/usr/lib/
return self.invoke_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
dataset, columns, maxlen = self._analyze_
File "/usr/lib/
row[column] = self.row_
File "/usr/lib/
'uploaded_on': lambda x: x.strftime(
AttributeError: DateTime instance has no attribute 'strftime'
Changed in lava-tool: | |
importance: | Undecided → Medium |
assignee: | nobody → Senthil Kumaran S (stylesen) |
Changed in lava-tool: | |
milestone: | none → 2013.05 |
status: | New → In Progress |
Changed in lava-tool: | |
status: | Fix Committed → Fix Released |
This is fixed in lava-tool and the following is a sample run:
<snip> stylesen@ 192.168. 1.50/RPC2/ /anonymous/ stylesen/
Bundles ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======
SHA1 | File name | Uploader | Upload date | Deserialized? ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------ e8c459b53c4e7bd 5279e5b506 | qemu-test | (anonymous) | 20130225T00:47:29 | yes 9fd3e12de4d9bad e2177611fd | qemu-test | (anonymous) | 20130225T01:06:03 | yes 66784f10c957a62 65d3b8731d | qemu-test | (anonymous) | 20130225T01:17:58 | yes cba9e7cc7825038 ac2bb32c28 | qemu-test | (anonymous) | 20130225T01:19:25 | yes 38b05d880b33119 c01bd8f6e5 | qemu-test | (anonymous) | 20130225T01:25:56 | yes
$ lava-tool bundles --dashboard-url=http://
=======
-------
2105c6e04d085fb
4eb37d9c56d00f5
6eb3388ed97c19e
717134703009b3c
f48b0318ac8c15e
</snip>