Dear All, Let me start by saying that I am new to both Linux and the Alps project, although, I have only recently installed the Alps 2.2.b4 version on an Ubuntu 15.04 OS running on a Dell laptop on which I have Admin. privileges. However, I am having a problem retrieving the results of simulation runs as the code statement to write the results file to variable 'data' returns the following error:
Finished with everything. Traceback (most recent call last): File "/home/henry/Documents/ALPS_modelHam/final_model_mps.py", line 87, in <module> data = pyalps.loadEigenstateMeasurements(pyalps.getResultFiles(prefix=basename+'.ground')) File "/opt/alps/lib/pyalps/tools.py", line 479, in getResultFiles res=recursiveGlob(dirname, pattern) File "/opt/alps/lib/pyalps/tools.py", line 455, in recursiveGlob ret += recursiveGlob(d, pattern) File "/opt/alps/lib/pyalps/tools.py", line 452, in recursiveGlob for d in os.listdir(dirname): OSError: [Errno 13] Permission denied: './.dbus'
Definitely, this is an Os error as the simulation ran successfully. Any suggestions on how to resolve this challenge will be gratefully appreciated. Best regards, Henry K. Otobrise, Department of Physics and Engineering Physics, Obafemi Awolowo University, Ile-Ife, Nigeria.
Hello, Henry.
Try executing from the shell 'ls -al ~ |more' and check for the permissions and ownership for the .dbus folder. I suspect the owner of the folder is 'root' instead of yourself. If that is the case, execute, also from the shell, 'sudo chown <user>:<user> ~/.dbus', replacing <user> with your username.
Best wishes, Andre Vieira.
2015-11-19 8:14 GMT-02:00 Henry Otobrise henryotobrise@gmail.com:
Dear All, Let me start by saying that I am new to both Linux and the Alps project, although, I have only recently installed the Alps 2.2.b4 version on an Ubuntu 15.04 OS running on a Dell laptop on which I have Admin. privileges. However, I am having a problem retrieving the results of simulation runs as the code statement to write the results file to variable 'data' returns the following error:
Finished with everything. Traceback (most recent call last): File "/home/henry/Documents/ALPS_modelHam/final_model_mps.py", line 87, in <module> data = pyalps.loadEigenstateMeasurements(pyalps.getResultFiles(prefix=basename+'.ground')) File "/opt/alps/lib/pyalps/tools.py", line 479, in getResultFiles res=recursiveGlob(dirname, pattern) File "/opt/alps/lib/pyalps/tools.py", line 455, in recursiveGlob ret += recursiveGlob(d, pattern) File "/opt/alps/lib/pyalps/tools.py", line 452, in recursiveGlob for d in os.listdir(dirname): OSError: [Errno 13] Permission denied: './.dbus'
Definitely, this is an Os error as the simulation ran successfully. Any suggestions on how to resolve this challenge will be gratefully appreciated. Best regards, Henry K. Otobrise, Department of Physics and Engineering Physics, Obafemi Awolowo University, Ile-Ife, Nigeria.
comp-phys-alps-users@lists.phys.ethz.ch