When working through the manual in the pyVCP section and using halrun to test 
my 
panel I get an error any time the example has a <font></font> in it.

I have a file named tiny.xml with the following

<pyvcp>
     <label>
          <text>"This is a label:"</text>
          <font>('Helvetica',20</font>
     </label>
</pyvcp>


When I run it with the line

halrun loadusr pyvcp -c mypanel tiny.xml

I get the following error

Error evaluating xml file
Widget label, Property font
Syntax error: invalid syntax (<string>, line 1)


However, if I change the single quotes wrapping the font name to double quotes 
it 
all works. So I'm guessing a typo in the manual?

John

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to