run prepareRVE.py in different directory

Asked by jamespaul

Hi,

When I opened the terminal

1 cd /usr/share/doc/yade/examples/FEMxDEM
2 yade prepareRVE.py

It can print data,but the controller is black and can only be closed by forced quit.And no .py file is generated.But I can run other examples successfully.

But when I copied the prepareRVE.py in another .py on home, it could run successfully and generated 0.yade.gz.

Why I run the same script in different directory will cause different result?

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
jamespaul
Solved:
Last query:
Last reply:
Revision history for this message
jamespaul (jamespauljames) said :
#1

The reason is that I don't have permission to create files.

If I type chmod 777 * -R and then the prepareRVE.py can generate 0.yade.gz successfully.