[Bugs] #4512 Read UNSP: Read can't open txt files
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Thu May 30 15:14:34 EDT 2013
#4512: Read can't open txt files
------------------------------------------+---------------------------------
Reporter: godiard | Owner: godiard
Type: defect | Status: closed
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: Read | Version: 0.98.x
Severity: Unspecified | Resolution: fixed
Keywords: | Distribution: Unspecified
Status_field: Unconfirmed |
------------------------------------------+---------------------------------
Comment(by godiard):
The attached test, in sugar-build finish with error:
{{{
[gonzalo at localhost test]$ python tag_undeline_property_SL4512.py
3 6 4
Traceback (most recent call last):
File "tag_undeline_property_SL4512.py", line 7, in <module>
tag.set_property('underline', 'single')
ValueError: invalid literal for int() with base 10: 'single'
}}}
But in F18 works ok.
If we replace the line:
tag.set_property('underline', 'single')
by
tag.set_property('underline', Pango.Underline.SINGLE)
works on F18 and in sugar-build
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/4512#comment:2>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list