ok... so I installed new script. I forgot to set version=trunk so it was a full recompile ;) And now I get another error:
Running script ../../yade/examples/concrete/uniax.py /usr/lib/python2.5/site-packages/pytz/__init__.py:32: UserWarning: Module pylab was already imported from /usr/lib/pymodules/python2.5/pylab.py, but /usr/lib/pymodules/python2.5 is being added to sys.path from pkg_resources import resource_stream /usr/lib/python2.5/site-packages/pytz/__init__.py:32: UserWarning: Module matplotlib was already imported from /usr/lib/pymodules/python2.5/matplotlib/__init__.py, but /usr/lib/pymodules/python2.5 is being added to sys.path from pkg_resources import resource_stream Traceback (most recent call last): File "/home/janek/tmp/ZZ/BIN/lib/yade-bzr1734/gui/PythonUI_rc.py", line 128, in <module> execfile(runtime.script) File "../../yade/examples/concrete/uniax.py", line 69, in <module> spheres=pack.randomDensePack(pack.inHyperboloid((0,0,-.5*specimenLength),(0,0,.5*specimenLength),.25*specimenLength,.2*specimenLength),spheresInCell=2000,radius=sphereRadius,memoizeDb='/tmp/triaxPackCache.sqlite',young=young,poisson=poisson,frictionAngle=frictionAngle,physParamsClass='CpmMat',density=density) File "/home/janek/tmp/ZZ/BIN/lib/yade-bzr1734/py/yade/pack.py", line 267, in randomDensePack raise RuntimeError("ERROR: database",memoizeDb," not compatible with randomDensePack (deprecated format or not db created by randomDensePack)") RuntimeError: ('ERROR: database', '/tmp/triaxPackCache.sqlite', ' not compatible with randomDensePack (deprecated format or not db created by randomDensePack)') So I deleted this file /tmp/triaxPackCache.sqlite and ran the script again... And now it is running. It only printed few warnings: ja...@atak:~/tmp/ZZ/BIN/bin$ ./yade-bzr1734 ../../yade/examples/concrete/uniax.py INFO /home/janek/tmp/ZZ/yade/core/yade.cpp:266 main: Loading /home/janek/.yade-bzr1734/preferences.xml INFO /home/janek/tmp/ZZ/yade/core/yade.cpp:268 main: Loading plugins INFO gui/qt3/YadeQtMainWindow.cpp:64 YadeQtMainWindow: Loading configuration file: /home/janek/.yade-bzr1734/QtGUIPreferences.xml. Python TCP server listening on localhost:9000, auth cookie is `sdycsk' Running script ../../yade/examples/concrete/uniax.py /usr/lib/python2.5/site-packages/pytz/__init__.py:32: UserWarning: Module pylab was already imported from /usr/lib/pymodules/python2.5/pylab.py, but /usr/lib/pymodules/python2.5 is being added to sys.path from pkg_resources import resource_stream /usr/lib/python2.5/site-packages/pytz/__init__.py:32: UserWarning: Module matplotlib was already imported from /usr/lib/pymodules/python2.5/matplotlib/__init__.py, but /usr/lib/pymodules/python2.5 is being added to sys.path from pkg_resources import resource_stream INFO pkg/common/RenderingEngine/OpenGLRenderingEngine/OpenGLRenderingEngine.cpp:68 initgl: (re)initializing GL for gldraw methods. also in the OpenGL view I see it being compressed and some circles/wire- spheres appearing and disappearing around. But after 9000 they stopped appearing around, and it is just compressing. I'll let you know when it will finish. -- some scripts possibly not compatible with python 2.5 https://bugs.launchpad.net/bugs/416906 You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. Status in Yet Another Dynamic Engine: New Bug description: Python 2.5 should be fully supported because it is in lenny, squeeze and hardy, which we want to support for 0.20. All scripts should be checked that they work with python 2.5. The initial report was use of itertools.product in yade.pack by Janek. _______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp