mansrz / pymt

Automatically exported from code.google.com/p/pymt
0 stars 0 forks source link

Parsing default.css fails on Windows #354

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by jgoss...@gmail.com on 30 Dec 2010 at 3:29