Export to GitHub

pymt - issue #354

Parsing default.css fails on Windows


Posted on Dec 30, 2010 by Happy Panda

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.

Status: New

Labels:
Type-Defect Priority-Medium