yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #01788
[Bug 415265] Re: Script works only with linkStrategy=monolithic option (dispatching bug)
hm, I am unable to run this script pr.py:
Running script pr.py
/usr/lib/python2.5/site-packages/pytz/__init__.py:32: UserWarning: Module dateutil was already imported from /usr/lib/pymodules/python2.5/dateutil/__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-ZZ-test-fast/gui/PythonUI_rc.py", line 128, in <module>
execfile(runtime.script)
File "pr.py", line 56, in <module>
ids_spheres=O.bodies.append(pack.regularHexa(pack.inCylinder((0,0,-boxHeight/2*boxCoef),(0,0,-boxHeight/2*boxCoef+h),a),radius=radiusGrain,gap=distBetweenGrains,color=(0.282,0.875,1),exampleNumber=1,initCohesive=True,**kw))
File "/home/janek/tmp/ZZ/BIN/lib/yade-ZZ-test-fast/py/yade/pack.py", line 172, in regularHexa
for i,j,k in itertools.product(ii,jj,kk):
AttributeError: 'module' object has no attribute 'product'
--
Script works only with linkStrategy=monolithic option (dispatching bug)
https://bugs.launchpad.net/bugs/415265
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
Status in Yet Another Dynamic Engine: Confirmed
Bug description:
When I start the simulation with the attached script, I get:
gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
/home/gladk/.yade-current/gdb_crash_batch-pid13289:1: Error in sourced command file:
ptrace: No such process.
(gdb)
But when I do the same on installation with linkstrategy=monolithic compilation option it works normally.
References