← Back to team overview

yade-dev team mailing list archive

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

 

OK, I let it run until the end... and it produced one file (in the
attachment), and an error:

INFO  pkg/dem/Engine/DeusExMachina/TriaxialCompressionEngine.cpp:234 applyCondition: UnbalancedForce=0.024853, rel stress 0.0048636
Packing saved to the database /tmp/triaxPackCache.sqlite
Traceback (most recent call last):
  File "/home/janek/tmp/ZZ/BIN/lib/yade-ZZ-test-fast/gui/PythonUI_rc.py", line 128, in <module>
    execfile(runtime.script)
  File "../../yade/examples/concrete/uniaxial/rb.py", line 68, in <module>
    bb=utils.uniaxialTestFeatures()
  File "/home/janek/tmp/ZZ/BIN/lib/yade-ZZ-test-fast/py/yade/utils.py", line 486, in uniaxialTestFeatures
    dim=aabbDim(); axis=dim.index(max(dim))
AttributeError: 'tuple' object has no attribute 'index'


File in the attachment.

** Attachment added: "triaxPackCache.sqlite"
   http://launchpadlibrarian.net/30714831/triaxPackCache.sqlite

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