[tahoe-dev] error message mystery
Kyle Markley
kyle at arbyte.us
Sat Oct 23 17:46:34 UTC 2010
>> File
>> "/usr/local/lib/python2.6/site-packages/allmydata/util/fileutil.py",
line
>> 302, in abspath_expanduser_unicode
>> path = os.path.join(os.getcwdu(), path)
>> OSError: [Errno 13] Permission denied
>
> Presumably the os.getcwdu() is failing with an EPERM error from a C
library
> call. Do you get a similar exception from
>
> python -c "import os; print os.getcwdu()"
>
> and from
>
> python -c "import os; print os.getcwd()"
>
> in the same current directory?
Those variations are all fine:
$ cd /tmp
$ python -c "import os; print os.getcwdu()"
/tmp
$ cd /share
$ python -c "import os; print os.getcwdu()"
/share
$ cd /tmp
$ python -c "import os; print os.getcwd()"
/tmp
$ cd /share
$ python -c "import os; print os.getcwd()"
/share
--
Kyle Markley
More information about the tahoe-dev
mailing list