#127 pyfilesystem mount error

open
nobody
None
5
2012-03-08
2012-03-08
merlink
No

See also: http://code.google.com/p/pyfilesystem/issues/detail?id=110

What steps will reproduce the problem?
1. compile any Filesystem to an Executable
2. Try to Mount
3. Get the output:

Traceback (most recent call last):
File "memfs.py", line 5, in <module>
File "fs\expose\dokan\__init__.pyo", line 936, in mount
File "fs\expose\dokan\__init__.pyo", line 913, in check_ready
OSError: dokan mount process seems to be hung
-----

What version of the product are you using? On what operating system?
pyfilesystem 0.4.0 XP32 Python 2.6

Please provide any additional information below.
-----
Source Code (memfs.py):
from fs.memoryfs import MemoryFS
from fs.expose import dokan
import time
fs = MemoryFS()
mp = dokan.mount(fs ,'u' ,fsname='memfs', volname='memfs')
time.sleep(10000)
-----
Py2exe Setup Scrypt:

import py2exe, sys, os

sys.argv.append('py2exe')

setup(options = {'py2exe': {
'bundle_files': 1,
'unbuffered': True,
'optimize':2
}},
console = [{'script': "memfs.py"}],
zipfile = None,)

Discussion