yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #21125
[Question #685405]: Error in running code in YADE 2019.01a-2
New question #685405 on Yade:
https://answers.launchpad.net/yade/+question/685405
Hello guys,
I recently I have installed YADE 2019.01a-2. So I put my previous codes to run them. The codes run correctly in YADE 2018.02b But I see the following error when running them in YADE 2019.01a-2:
Welcome to Yade 2019.01a
TCP python prompt on localhost:9000, auth cookie `usdska'
XMLRPC info provider on http://localhost:21000
Running script poly4.py
Traceback (most recent call last):
File "/usr/bin/yade", line 241, in runScript
execfile(script,globals())
File "poly4.py", line 4, in <module>
RawVer=np.genfromtxt('ring.txt',names=True,dtype=None)
File "/usr/lib/python2.7/dist-packages/numpy/lib/npyio.py", line 1798, in genfromtxt
names = validate_names(names)
File "/usr/lib/python2.7/dist-packages/numpy/lib/_iotools.py", line 425, in __call__
return self.validate(names, defaultfmt=defaultfmt, nbfields=nbfields)
File "/usr/lib/python2.7/dist-packages/numpy/lib/_iotools.py", line 402, in validate
for item in names:
TypeError: 'QCborSimpleType' object is not iterable
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view (use h-key for showing help), F10 both, F9 generator, F8 plot. ]]
Why is this happening? please help
My codes are here:
https://answers.launchpad.net/yade/+question/685203
Best regards,
Mahdeyeh
--
You received this question notification because your team yade-users is
an answer contact for Yade.