Issue 354 in pymt: Parsing default.css fails on Windows

1 view
Skip to first unread message

py...@googlecode.com

unread,
Dec 30, 2010, 10:30:12 AM12/30/10
to pymt-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 354 by jgossage: Parsing default.css fails on Windows
http://code.google.com/p/pymt/issues/detail?id=354

What steps will reproduce the problem?
1. Run examples\desktop\desktop-single.py
2.
3.

What is the expected output? What do you see instead?
The application should come up. Instead it fails in ui\color.py at line 178
when trying to parse an entry that contains an absolute path to a font. On
Windows this causes a ValueError because the Windows path to the font
contains a ":" which causes split() to generate too many results. I have
generated and tested a patch that corrects this problem and will submit it
to Github.


What version of the product are you using? On what operating system?
PyMT 0.5.2, Windows 7 64 bit, Python 2.6 32 bit


Please provide any additional information below.


Reply all
Reply to author
Forward
0 new messages