← Back to team overview

yade-dev team mailing list archive

[Bug 416906] Re: some scripts possibly not compatible with python 2.5

 

I suppose that it works now:

janek@atak:~/tmp/ZZ/BIN/bin$ rm /tmp/triaxPackCache.sqlite 
janek@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.

INFO  extra/PeriodicInsertionSortCollider.cpp:432 action: Loaded to 1e+11 done, going to 1e+08 now
INFO  pkg/common/RenderingEngine/OpenGLRenderingEngine/OpenGLRenderingEngine.cpp:68 initgl: (re)initializing GL for gldraw methods.

INFO  extra/PeriodicInsertionSortCollider.cpp:428 action: Finished
Packing saved to the database /tmp/triaxPackCache.sqlite
Timestep 1.2521980674e-06
INFO  /home/janek/tmp/ZZ/yade/core/Omega.cpp:272 saveSimulation: Saving file :memory:initial
init
init done, will now run.
INFO  pkg/dem/Engine/StandAloneEngine/UniaxialStrainer.cpp:40 init: Setting initial length to 0.19226 (between #21 and #390)
INFO  pkg/dem/Engine/StandAloneEngine/UniaxialStrainer.cpp:64 init: Strain speed will be 0.019226, strain rate 0.1; velocities will be set directly at the beginning.
INFO  pkg/dem/Engine/StandAloneEngine/UniaxialStrainer.cpp:84 init: Stress will be updated every 79 steps.

        __   __    ____          ____                      _      
        \ \ / /_ _|  _ \  ___   / ___|___  _ __  ___  ___ | | ___ 
         \ V / _` | | | |/ _ \ | |   / _ \| '_ \/ __|/ _ \| |/ _ \ 
          | | (_| | |_| |  __/ | |__| (_) | | | \__ \ (_) | |  __/
          |_|\__,_|____/ \___|  \____\___/|_| |_|___/\___/|_|\___|


In [1]: 20090825T103420p3155 tension 2.89257753603e-05 299967.505565
20090825T103420p3155 tension 4.38269323642e-05 877874.455292
20090825T103420p3155 tension 5.87280893678e-05 1458510.79307
20090825T103420p3155 tension 7.36292463717e-05 2039108.81177
20090825T103420p3155 tension 8.80295241485e-05 2039108.81177
20090825T103420p3155 tension 0.000102930681152 2608309.68231
20090825T103420p3155 tension 0.000117831838156 3105548.79418
20090825T103420p3155 tension 0.000131981676319 3478610.11643
20090825T103420p3155 tension 0.000146757613516 3629749.68248
20090825T103420p3155 tension 0.000161533550713 3629749.68248
20090825T103420p3155 tension 0.000176184268104 3865066.494
20090825T103420p3155 tension 0.000189958446847 4025471.16199
20090825T103420p3155 tension 0.00020448394443 4125289.87333
20090825T103420p3155 tension 0.000218884222207 4185554.4989
20090825T103420p3155 tension 0.000232908840563 4185554.4989
20090825T103420p3155 tension 0.000246432579693 4185061.20288
20090825T103420p3155 tension 0.00026083285747 4081887.81576
20090825T103420p3155 tension 0.000275233135246 3734761.59853
20090825T103420p3155 tension 0.000289257753603 3325755.76535
20090825T103420p3155 tension 0.000303031932346 3325755.76535
20090825T103420p3155 tension 0.000313174736693 3143992.54529
20090825T103420p3155 tension 0.000321063584519 2863445.39658
20090825T103420p3155 tension 0.000330955949252 2714962.53932
20090825T103420p3155 tension 0.000338844797078 2588289.81719
20090825T103420p3155 tension 0.000346733644903 2588289.81719
20090825T103420p3155 tension 0.000354497272922 2456690.91919
20090825T103420p3155 tension 0.000362386120748 2363146.17701
20090825T103420p3155 tension 0.000370274968573 2247115.25037
20090825T103420p3155 tension 0.000378289036206 2137743.83668
20090825T103420p3155 tension 0.000386428323645 2137743.83668
20090825T103420p3155 tension 0.000394442391277 2034592.31657
Damaged, switching to compression... 
init
INFO  /home/janek/tmp/ZZ/yade/core/Omega.cpp:238 loadSimulation: Loading file :memory:initial
Reversing plot data
init done, will now run.
INFO  pkg/dem/Engine/StandAloneEngine/UniaxialStrainer.cpp:40 init: Setting initial length to 0.19226 (between #21 and #390)
INFO  pkg/dem/Engine/StandAloneEngine/UniaxialStrainer.cpp:64 init: Strain speed will be -0.19226, strain rate -1; velocities will be set directly at the beginning.
INFO  pkg/dem/Engine/StandAloneEngine/UniaxialStrainer.cpp:84 init: Stress will be updated every 7 steps.
20090825T103420p3155 compression -0.000235413236671 -4149158.28014
20090825T103420p3155 compression -0.000360633043412 -8806202.25701
20090825T103420p3155 compression -0.000495870434691 -13312562.3167
20090825T103420p3155 compression -0.000616081449161 -17626709.9677
20090825T103420p3155 compression -0.000736292463632 -17626709.9677
20090825T103420p3155 compression -0.0008527468839 -21269543.5927
20090825T103420p3155 compression -0.000967949106101 -24394040.4881
20090825T103420p3155 compression -0.00108064693217 -27204684.1568
20090825T103420p3155 compression -0.00119209256017 -29770517.6834
20090825T103420p3155 compression -0.00129727719783 -29770517.6834
20090825T103420p3155 compression -0.00140872282583 -31860457.6362
20090825T103420p3155 compression -0.00151390746349 -33692713.7183
20090825T103420p3155 compression -0.00162410089342 -34947952.4792
20090825T103420p3155 compression -0.00173429432335 -35333547.7444
20090825T103420p3155 compression -0.00184448775328 -35333547.7444
20090825T103420p3155 compression -0.00195217678708 -34846421.9465
20090825T103420p3155 compression -0.00205610922667 -33632769.1383
20090825T103420p3155 compression -0.002155032874 -32351784.6254
20090825T103420p3155 compression -0.00225646091746 -30438584.8633
20090825T103420p3155 compression -0.00236039335705 -30438584.8633
20090825T103420p3155 compression -0.00246683019278 -28539556.1942
20090825T103420p3155 compression -0.00256324944397 -26882582.9913
20090825T103420p3155 compression -0.00263963352608 -25217827.4745
20090825T103420p3155 compression -0.00270725222172 -23950968.9087
20090825T103420p3155 compression -0.00277612311543 -23950968.9087
20090825T103420p3155 compression -0.00284499400914 -23025771.0199
20090825T103420p3155 compression -0.00291386490284 -21615929.1698
20090825T103420p3155 compression -0.00298273579655 -20686326.6317
20090825T103420p3155 compression -0.00305160669026 -19534011.293
20090825T103420p3155 compression -0.0031192253859 -19534011.293
20090825T103420p3155 compression -0.0031880962796 -18640522.1211
20090825T103420p3155 compression -0.00325571497524 -17457298.0858
Damaged, stopping.
Strengths fc=-3.53335e+07, ft=4.18555e+06, |fc/ft|=8.44178
gnuplot 20090825T103420p3155.gnuplot
Bye.
Must construct a QApplication before a QFont
terminating...
zsh: terminated  ./yade-bzr1734 ../../yade/examples/concrete/uniax.py

-- 
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.



References