Hi, 2009/3/28 Vincent Bain <[email protected]>: > pdctype='text', coords=coord) > File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/ma > pdisp_window.py", line 366, in Draw
try to put before this line print type(coords[0]), type(coords[1]) <type 'int'> <type 'int'> should be printed. [...] > pdc.DrawText(img['text'], coords[0], coords[1]) > File "/usr/local/grass-6.5.svn/etc/wxpython/vdigit/grass6_ > wxvdigit.py", line 372, in DrawText > > def DrawText(*args): return > _grass6_wxvdigit.PseudoDC_DrawText(*args) > TypeError > : > in method 'PseudoDC_DrawText', argument 3 of type 'int' > > > Could the source of this problem be my configuration of wxpython ? (no > errors detected at compilation) It's related to the local copy of PseudoDC from vdigit. BTW, which version of swig are you using? Martin -- Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
