What kind of directory ? ________________________________ From: comp-phys-alps-users-bounces@lists.phys.ethz.ch [comp-phys-alps-users-bounces@lists.phys.ethz.ch] on behalf of Matthias Troyer [troyer@phys.ethz.ch] Sent: Tuesday, 14 February, 2012 8:57:07 AM To: comp-phys-alps-users@lists.phys.ethz.ch Subject: Re: [ALPS-users] help can you create a directory there and try running it from that directory? On Feb 14, 2012, at 9:46 AM, #ABDUL MALEK BIN RAZALI# wrote: It's c:drive\users\username ________________________________ From: comp-phys-alps-users-bounces@lists.phys.ethz.ch<mailto:comp-phys-alps-users-bounces@lists.phys.ethz.ch> [comp-phys-alps-users-bounces@lists.phys.ethz.ch<mailto:comp-phys-alps-users-bounces@lists.phys.ethz.ch>] on behalf of Matthias Troyer [troyer@phys.ethz.ch<mailto:troyer@phys.ethz.ch>] Sent: Tuesday, 14 February, 2012 8:25:17 AM To: comp-phys-alps-users@lists.phys.ethz.ch<mailto:comp-phys-alps-users@lists.phys.ethz.ch> Subject: Re: [ALPS-users] help After launching cmd.exe you get a command prompt and can then cd into any directory of your choice. Which directory did you go to before launching vispython? Did you of it from the root of the C directory? your home? and ALPS tutorials directory? On Feb 14, 2012, at 9:22 AM, #ABDUL MALEK BIN RAZALI# wrote: I'm sorry but what do you mean by which directory ? ________________________________ From: comp-phys-alps-users-bounces@lists.phys.ethz.ch<mailto:comp-phys-alps-users-bounces@lists.phys.ethz.ch> [comp-phys-alps-users-bounces@lists.phys.ethz.ch<mailto:comp-phys-alps-users-bounces@lists.phys.ethz.ch>] on behalf of Matthias Troyer [troyer@phys.ethz.ch<mailto:troyer@phys.ethz.ch>] Sent: Tuesday, 14 February, 2012 8:19:02 AM To: comp-phys-alps-users@lists.phys.ethz.ch<mailto:comp-phys-alps-users@lists.phys.ethz.ch> Subject: Re: [ALPS-users] help Let me try it another time: which directory are you in when you type vispython.exe? On Feb 14, 2012, at 9:12 AM, #ABDUL MALEK BIN RAZALI# wrote: the python is from vistrails package from my c drive ________________________________ From: comp-phys-alps-users-bounces@lists.phys.ethz.ch<mailto:comp-phys-alps-users-bounces@lists.phys.ethz.ch> [comp-phys-alps-users-bounces@lists.phys.ethz.ch<mailto:comp-phys-alps-users-bounces@lists.phys.ethz.ch>] on behalf of Matthias Troyer [troyer@phys.ethz.ch<mailto:troyer@phys.ethz.ch>] Sent: Tuesday, 14 February, 2012 8:05:14 AM To: comp-phys-alps-users@lists.phys.ethz.ch<mailto:comp-phys-alps-users@lists.phys.ethz.ch> Subject: Re: [ALPS-users] help Which directory did you launch it from? On Feb 14, 2012, at 8:58, #ABDUL MALEK BIN RAZALI# <ABDU0023@e.ntu.edu.sg<mailto:ABDU0023@e.ntu.edu.sg>> wrote: yes ________________________________ From: comp-phys-alps-users-bounces@lists.phys.ethz.ch<mailto:comp-phys-alps-users-bounces@lists.phys.ethz.ch> [comp-phys-alps-users-bounces@lists.phys.ethz.ch<mailto:comp-phys-alps-users-bounces@lists.phys.ethz.ch>] on behalf of Matthias Troyer [troyer@phys.ethz.ch<mailto:troyer@phys.ethz.ch>] Sent: Tuesday, 14 February, 2012 7:06:07 AM To: comp-phys-alps-users@lists.phys.ethz.ch<mailto:comp-phys-alps-users@lists.phys.ethz.ch> Subject: Re: [ALPS-users] help Which directory did you launch it from? Did you first launch cmd.exe and then typed via python there? On 14.02.2012, at 04:08, #ABDUL MALEK BIN RAZALI# <ABDU0023@e.ntu.edu.sg<mailto:ABDU0023@e.ntu.edu.sg>> wrote: in my windows command prompt, I typed vispython and carried on from there. ________________________________ From: comp-phys-alps-users-bounces@lists.phys.ethz.ch<mailto:comp-phys-alps-users-bounces@lists.phys.ethz.ch> [comp-phys-alps-users-bounces@lists.phys.ethz.ch<mailto:comp-phys-alps-users-bounces@lists.phys.ethz.ch>] on behalf of Matthias Troyer [troyer@phys.ethz.ch<mailto:troyer@phys.ethz.ch>] Sent: Monday, 13 February, 2012 11:42:56 PM To: comp-phys-alps-users@lists.phys.ethz.ch<mailto:comp-phys-alps-users@lists.phys.ethz.ch> Subject: Re: [ALPS-users] help Where are you launching Python from, and how are you launching it? Matthias On Feb 13, 2012, at 7:57 PM, #ABDUL MALEK BIN RAZALI# wrote: Hi, I just changed to python and am using alps version 2.0. So, i first started the first basic tutorial using python and everything was going smoothly until i reached " result_files = pyalps.getResultFiles(prefix='parm1') ". The error message i received was: File "<stdin>", line 1, in <module> File "C:\Program Files\VisTrails\vistrails\Python27\lib\site-packages\pyalps\tools.py", line 400, in getResultFiles res = recursiveGlob(dirname, pattern) File "C:\Program Files\VisTrails\vistrails\Python27\lib\site-packages\pyalps\tools.py", line 372, in recursiveGlob ret += recursiveGlob(os.path.join(dirname, d), pattern) File "C:\Program Files\VisTrails\vistrails\Python27\lib\site-packages\pyalps\tools.py", line 370, in recursiveGlob for d in os.listdir(dirname): windowsError: [Error 5] Access is denied: '.\\Application Data/*.*' Then, i skipped over to tutorials MC-08 and got the same message when using result_files = .... May i know what is wrong here ? I use my windows command prompt with the python interpreter from vistrails. Regards, Mike