GithubHelp home page GithubHelp logo

dhtfs's People

dhtfs's Issues

RuntimeError: maximum recursion depth exceeded

I met a error when I run "mount.dhtfs /mnt/dhtfs/ -o root=newfs" command:

Traceback (most recent call last):
  File "/usr/bin/mount.dhtfs", line 101, in <module>
    main()
  File "/usr/bin/mount.dhtfs", line 60, in main
    server.parser.add_option(mountopt="root",
  File "/usr/lib/python2.6/site-packages/fuse.py", line 890, in __getattr__
    m = self.methproxy(meth)

  ... ...

  File "/usr/lib/python2.6/site-packages/fuse.py", line 890, in __getattr__
    m = self.methproxy(meth)
RuntimeError: maximum recursion depth exceeded

python2.6.2 + fuse2.7.4 + python-fuse20090326

btw, I have export FUSE_PYTHON_COMPAT = 0.1 in environment. 


Original issue reported on code.google.com by [email protected] on 21 Jun 2009 at 6:41

Python FUSE API has changed

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.

Original issue reported on code.google.com by [email protected] on 21 Oct 2011 at 6:20

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.