← Back to team overview

yade-dev team mailing list archive

Re: qt4 tree view, new attempt

 

Václav Šmilauer said:     (by the date of Tue, 13 Jul 2010 21:42:57 +0200)

> FYI in the attachment (100 lines of code), with instantaneous updates.
> Python is better for this.

hmm. what's wrong?

janek@atak:~/20-Programowanie/10-cpp/50-Yade/Code/HEAD/trunk/scripts/test$ yy ./qt4-attributes.py
Welcome to Yade bzr2363
TCP python prompt on localhost:9001, auth cookie `uadcey'
TCP info provider on localhost:21001
Running script ./qt4-attributes.py
Traceback (most recent call last):
  File "/home/janek/bin/yy", line 105, in <module>
    execfile(args[0])
  File "./qt4-attributes.py", line 93
     class updateVec:
         ^
 SyntaxError: invalid syntax
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view, F10 both, F9 generator, F8 plot. ]]
Yade [1]: 
Do you really want to exit ([y]/n)? y
Yade: normal exit.
zsh: terminated  yy ./qt4-attributes.py


janek@atak:~/20-Programowanie/10-cpp/50-Yade/Code/HEAD/trunk/scripts/test$ yy ./qt4-pyqglviewer.py 
Welcome to Yade bzr2363
TCP python prompt on localhost:9001, auth cookie `sceuad'
TCP info provider on localhost:21001
Running script ./qt4-pyqglviewer.py
Traceback (most recent call last):
  File "/home/janek/bin/yy", line 105, in <module>
    execfile(args[0])
  File "./qt4-pyqglviewer.py", line 2, in <module>
    from PyQGLViewer import *
ImportError: No module named PyQGLViewer
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view, F10 both, F9 generator, F8 plot. ]]
Yade [1]: 
Do you really want to exit ([y]/n)? y
Yade: normal exit.
zsh: terminated  yy ./qt4-pyqglviewer.py
janek@atak:~/20-Programowanie/10-cpp/50-Yade/Code/HEAD/trunk/scripts/test$ 



-- 
Janek Kozicki                               http://janek.kozicki.pl/  |



Follow ups

References