Export to GitHub

dhtfs - issue #5

Python FUSE API has changed


Posted on Oct 21, 2011 by Happy Rabbit

What steps will reproduce the problem? 0. Reproduced on Debian Wheezy 1. python-fuse Version: 2:0.2.1-7 2. sudo mount.dhtfs /mnt/dhtfs/ -o root=newfs/

Leads to the error message: Traceback (most recent call last): File "/usr/local/bin/mount.dhtfs", line 101, in <module> main() File "/usr/local/bin/mount.dhtfs", line 58, in main dash_s_do='setsingle') File "/usr/local/lib/python2.7/dist-packages/dhtfs/Dhtfs.py", line 115, in init Fuse.init(self, *args, **kw) File "/usr/lib/python2.7/dist-packages/fuse.py", line 681, in init """ RuntimeError: fuse.fuse_python_api not defined.

! Please define fuse.fuse_python_api internally (eg. ! ! (1) fuse.fuse_python_api = (0, 2) ! ! ) or in the enviroment (eg. ! ! (2) FUSE_PYTHON_API=0.1 ! ! ). ! ! If you are actually developing a filesystem, probably (1) is the way to go. ! If you are using a filesystem written before 2007 Q2, probably (2) is what ! you want."

What is the expected output? What do you see instead? Setting environment variable FUSE_PYTHON_API=0.1 or FUSE_PYTHON_COMPAT=0.1 does not have any effect on the result. The environment variable has been described in http://fuse4bsd.creo.hu/README.new_fusepy_api.html ; Further information about the Python FUSE API changes can be found there.

Status: New

Labels:
Type-Defect Priority-Medium