Re: [Yade-users] [Question #482400]: index out of range

2017-03-21 Thread Jan Stránský
Question #482400 on Yade changed: https://answers.launchpad.net/yade/+question/482400 Jan Stránský posted a new comment: > "bash: syntax error the "bash" looks very suspicious.. could you please send all commands (including console command starting yade or possibly even some console commands

Re: [Yade-users] [Question #482400]: index out of range

2017-03-21 Thread sunwei
Question #482400 on Yade changed: https://answers.launchpad.net/yade/+question/482400 Status: Solved => Open sunwei is still having a problem: now I input Yade [1]: import sys Yade [2]: sys.path.append('/home/thusunwei/myyade/trunk/py/FEMxDEM') Yade [3]: from yadeimport import * but

Re: [Yade-users] [Question #482400]: index out of range

2017-03-06 Thread sunwei
Question #482400 on Yade changed: https://answers.launchpad.net/yade/+question/482400 Status: Answered => Solved sunwei confirmed that the question is solved: thank you jan. That solves my problem. The reason why i import Yade into Yade session is to take Yade as an object to couple with

Re: [Yade-users] [Question #482400]: index out of range

2017-02-27 Thread Jan Stránský
Question #482400 on Yade changed: https://answers.launchpad.net/yade/+question/482400 Jan Stránský proposed the following answer: Thanks for info, empty sys.argv is not standard. A workaround should be argv = sys.argv sys.argv = ['whatever'] from yadeimport import * sys.argv = argv Anyway, why

Re: [Yade-users] [Question #482400]: index out of range

2017-02-25 Thread sunwei
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 *

Re: [Yade-users] [Question #482400]: index out of range

2017-02-25 Thread Jan Stránský
Question #482400 on Yade changed: https://answers.launchpad.net/yade/+question/482400 Jan Stránský proposed the following answer: Please put here complete error, system you use and Yade version. Thanks Jan 2017-02-25 8:43 GMT+01:00 sunwei : > Question

Re: [Yade-users] [Question #482400]: index out of range

2017-02-24 Thread sunwei
Question #482400 on Yade changed: https://answers.launchpad.net/yade/+question/482400 sunwei posted a new comment: in fact, i had already installed it. so it doesn't work. it still has the" index out of range" problem. -- You received this question notification because your team yade-users is

Re: [Yade-users] [Question #482400]: index out of range

2017-02-24 Thread Jan Stránský
Question #482400 on Yade changed: https://answers.launchpad.net/yade/+question/482400 Status: Open => Answered Jan Stránský proposed the following answer: Hello, "except ImportError: # argparse not present, print error message > raise RuntimeError("\n\nPlease install 'python-argparse'

[Yade-users] [Question #482400]: index out of range

2017-02-23 Thread sunwei
New question #482400 on Yade: https://answers.launchpad.net/yade/+question/482400 when i want to Import Yade in other Python applications, i do the command as https://www.yade-dem.org/doc/user.html#python-specialties-and-tricks: $ cd /path/where/you/want/yadeimport $ ln -s