Re: rmtree message

2017-09-17 Thread Larry Martell
On Wed, Sep 13, 2017 at 5:39 PM, Sean DiZazzo wrote: > On Wednesday, September 13, 2017 at 12:06:20 PM UTC-7, larry@gmail.com > wrote: >> I have a script that creates a tmp dir, create a lot of files in it, >> and when done, does a rmtree on the dir. When it does that I get this >> message: >

Re: rmtree message

2017-09-13 Thread Sean DiZazzo
On Wednesday, September 13, 2017 at 12:06:20 PM UTC-7, larry@gmail.com wrote: > I have a script that creates a tmp dir, create a lot of files in it, > and when done, does a rmtree on the dir. When it does that I get this > message: > > shell-init: error retrieving current directory: getcwd: c

Re: rmtree message

2017-09-13 Thread ivan77
As a start, have you done this: Before the rmtree command, find out which directory you end up in after all of your commands, and they figure out whether you have access to the directory you are trying to delete from there. -- https://mail.python.org/mailman/listinfo/python-list

rmtree message

2017-09-13 Thread Larry Martell
I have a script that creates a tmp dir, create a lot of files in it, and when done, does a rmtree on the dir. When it does that I get this message: shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory But no exception is thrown. How c