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:
>
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
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
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