[tahoe-dev] Mount tahoe-lafs with pyfilesystem and Dokan on Windows XP
David-Sarah Hopwood
david-sarah at jacaranda.org
Wed Aug 31 19:04:35 PDT 2011
On 31/08/11 14:42, Shu Lin wrote:
> Ovcacik,
>
> I can mount tahoe through Dokan on one Windows 7 32bit system. But, when I tried the same script on another Windows XP or a Windows 7 64 bit. I always got "dokan library is not available problem". I did check the library path and found the dokan library I have just installed through "python setup.py install". Below is the output of my try. Could you please help me find out what's wrong?
>
> Thanks a lot,
> -Shu
>
> ===
>
> C:\Program Files\tahoe>c:\Python27\python.exe win_mount.py -d u -u URI:DIR2:dypbn47dtnwmxujkvcawm3ok34:hcgpvxcj4er2mocnccuc75bsnccenhatlcbqo42o3mxdajdbpt2a
> Traceback (most recent call last):
> File "win_mount.py", line 11, in <module>
> mp = dokan.mount(fs, options.drive)
> File "c:\Python27\lib\site-packages\fs\expose\dokan\__init__.py", line 887, in mount
> raise OSError("the dokan library is not available")
> OSError: the dokan library is not available
This is the error that pyfilesystem gives when it cannot import the
fs.expose.dokan.libdokan module. However, it does not record or print the
more specific exception from the import statement [*]. Can you do:
from fs.expose.dokan import libdokan
at an interactive Python prompt?
Also remember for 64-bit Windows that there is a separate option in the
Dokan installer to install the 64-bit DLL. So, make sure that you are using
the 64-bit version of Python (this is on the first line of output from an
interactive Python prompt), and the 64-bit Dokan DLL. If that doesn't work,
try the 32-bit version of Python with the 32-bit Dokan DLL (make sure that
pyfilesystem is reinstalled for the version of Python you're using, in that
case).
[*]
https://code.google.com/p/pyfilesystem/source/browse/trunk/fs/expose/dokan/__init__.py?spec=svn693&r=693#78
--
David-Sarah Hopwood ⚥ http://davidsarah.livejournal.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20110901/df36f1f2/attachment.pgp>
More information about the tahoe-dev
mailing list