On sab, 2012-01-14 at 13:51 +0100, Spiderdab wrote: > On ven, 2012-01-13 at 11:15 -0700, s...@highlab.com wrote: > > Oh! Try "git checkout <filename>". > > Did this way (thanks for suggestion). > I have the same problem, indentation is wrong. > If you open that you can see that in the new part of file, indentation > is correct, but is not in the most of the file. Sincerely i don't know > if that's the cause of my errors, but as you open the file it returns > indent errors. > > anyway the error i have after correctly importing this module, and after > copying this to /usr/lib/python2.6/dist-packages/vismach.pyc, is this: > > > dab@dab-tetra:~/emc2-dev/bin$ python tvm > > Exception in Tkinter callback > > Traceback (most recent call last): > > File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 1413, in __call__ > > return self.func(*args) > > File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 498, in callit > > func(*args) > > File "vismach.py", line 1003, in <lambda> > > AttributeError: O instance has no attribute 'set_viewangle' > > in which tvm is a vismach example really simple (only draws a box). And > before modifying vismach.py it worked. now it doesn't also with original > vismach.py.... > but maybe is better to post this, with files in the forum. is it? > > thanks, Davide. I solved the issue doing a make clean and make.. don't know why. indentation issue was solved re-doing all the 1000 lines indentations by-hand... :) This way I could finally add the possibility of drawing lines. If any body is interested i can post here the corrected file: vismach.py
Ciao, Davide. ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users