[Bugs] #1590 UNSP: Make timestamp retrieval in Journal more robust
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Mon Aug 30 17:28:12 EDT 2010
#1590: Make timestamp retrieval in Journal more robust
------------------------------------------+---------------------------------
Reporter: sayamindu | Owner: alsroot
Type: defect | Status: assigned
Priority: Unspecified by Maintainer | Milestone: 0.90
Component: sugar | Version: Git as of bugdate
Severity: Major | Keywords: r-
Distribution: | Status_field: New
------------------------------------------+---------------------------------
Changes (by sascha_silbe):
* distribution: Unspecified =>
* status_field: Unconfirmed => New
* severity: Unspecified => Major
* version: Unspecified => Git as of bugdate
* milestone: Unspecified by Release Team => 0.90
Comment:
Here's another place that will break if timestamp is a float. Triggered
this while importing data store entries from Sugar 0.82.1 (OLPC Build
801):
{{{
Traceback (most recent call last):
File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.6/site-
packages/jarabe/journal/listmodel.py", line 142, in on_get_value
timestamp = int(metadata.get('timestamp', 0))
ValueError: invalid literal for int() with base 10: '1283202926.51'
}}}
#2208 is related (breakage on parsing the ctime property).
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/1590#comment:6>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list