Problems mounting filesystem in Windows

samps okholm sampsokholm at
Fri Mar 14 02:32:50 UTC 2014

//I'm having some trouble trying to mount a TahoeLAFS filesystem on
Windows, using Dokan and //pyFilesystem and the instructions found at

//Dokan is v0.6.0 and pyFilesystem v0.4.0, both installed without error, in
C:\Program //Files\Dokan\DokanLibrary and c:\fuse\fs-0.4.0 respectively
//TahoeLAFS is v1.10.0 and at the time of testing this 23 of 157 storage
servers were connected


//Here's what I do:

//Start python:


python>>> from fs.contrib.tahoelafs import TahoeLAFS
//no errors

python>>> from fs.expose import dokan
//no errors

python>>> fs =

//still no errors
//the URI is a known working directory writecap with a single file in the

//Mount the filesystem to Windows drive F:

python>>> mp = dokan.mount(fs, "f")

//Windows explorer shows a new drive, called Local Disk (F:), the
Properties of which shows that //100Gb of free space and 100Gb is used
(accurate to the bit)
//but the drive is not accessible for writing, nor does it show the file
that is known to be residing //in it.

//The python console keeps spitting out messages like this:

Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 314, in 'calling callback function'
  File "c:\python27\lib\site-packages\fs\expose\dokan\", line
256, in
    return func(self,*args)
  File "c:\python27\lib\site-packages\fs\expose\dokan\", line
173, in
    res = func(*args,**kwds)
  File "c:\python27\lib\site-packages\fs\", line 191, in wrapper
    return func(*args,**kwds)
  File "c:\python27\lib\site-packages\fs\expose\dokan\", line
446, in
    if not self.fs.isdir(path):
  File "c:\python27\lib\site-packages\fs\", line 598, in isdir
    info = self.getinfo(path)
  File "c:\python27\lib\site-packages\fs\", line 626, in getinfo
    info = super(CacheFSMixin,self).getinfo(path)
  File "c:\python27\lib\site-packages\fs\contrib\tahoelafs\",
line 84
, in wrapper
    return func(self, *args, **kwds)
  File "c:\python27\lib\site-packages\fs\contrib\tahoelafs\",
line 38
8, in getinfo
    info =, path)
  File "c:\python27\lib\site-packages\fs\contrib\tahoelafs\", line
47, in
    meta = json.load(self.connection.get(u'/uri/%s%s' % (dircap, path),
{u't': u
  File "c:\python27\lib\json\", line 290, in load
  File "c:\python27\lib\json\", line 338, in loads
    return _default_decoder.decode(s)
  File "c:\python27\lib\json\", line 365, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "c:\python27\lib\json\", line 383, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

//What am I doing wrong?

//I should probably mention that my Python skills are negligible

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the tahoe-dev mailing list