Comment 12 for bug 613153

Revision history for this message
tbnorth (terry-n-brown) wrote : Re: [Bug 613153] Re: unable to describe root directory on thumb drive

On Thu, 05 Aug 2010 14:22:57 -0000
Rob Keeney <email address hidden> wrote:

> * The relative path \Documents\etc. does indeed work *sometimes*

Just to be clear, the ..\Web\etc. or ..\..\Documents\Web\etc. form always works? It's just the \Documents\etc. for which doesn't? I'd think of the .. forms as relative paths, and the \Documents\etc. form as a Windows variant, an 'absolute path for the current drive', for which there's no equivalent concept in unix.

My guess is that the sort of absoluteness is confusing the code, which is assuming it doesn't need to work out the starting point (defined by the location of the .leo file) if the path is absolute. So it then becomes a matter of the python process current directory, which is pretty much random, and influenced by some of the things you manipulated.

It should be easy enough to make the \Documents\etc. for work, I'll have a look at the code.

Cheers -Terry