← Back to team overview

yade-users team mailing list archive

Re: [Question #482400]: index out of range

 

Question #482400 on Yade changed:
https://answers.launchpad.net/yade/+question/482400

sunwei posted a new comment:
the complete error is as follows:


Yade [1]: import sys

Yade [2]: sys.path.append('/home/thusunwei/myyade/trunk/py/FEMxDEM')

Yade [3]: from yadeimport import *
---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
/home/thusunwei/myyade/build/bins/yade-2017-02-07.git-11c276f in <module>()
----> 1 from yadeimport import *

/home/thusunwei/myyade/trunk/py/FEMxDEM/yadeimport.py in <module>()
     36 except ImportError: # argparse not present, print error message
     37         raise RuntimeError("\n\nPlease install 'python-argparse' package.\n")
---> 38 prog = os.path.basename(sys.argv[0])
     39 par=argparse.ArgumentParser(usage='%s [options] [ simulation.xml[.bz2] | script.py [script options]]'%prog,
     40   prog=prog,description="Yade: open-source platform for dynamic compuations. It\

IndexError: list index out of range

i use the ubuntu version 14.04 and Yade version is 2017-02-07.git-
11c276f

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.