darkfeline / dantalian

File tagging with hard links
http://darkfeline.github.io/dantalian
Apache License 2.0
78 stars 5 forks source link

Cannot mount directory #9

Closed wichtounet closed 10 years ago

wichtounet commented 10 years ago

Hi,

I've tried your tool and I failed to mount the FUSE directory:

$ dantalian mount mnt

Traceback (most recent call last): File "/home/wichtounet/.virtualenvs/dantalian/bin/dantalian", line 5, in pkg_resources.run_script('dantalian==0.5', 'dantalian') File "/home/wichtounet/.virtualenvs/dantalian/lib/python3.3/site-packages/pkg_resources.py", line 534, in run_script self.require(requires)[0].run_script(script_name, ns) File "/home/wichtounet/.virtualenvs/dantalian/lib/python3.3/site-packages/pkg_resources.py", line 1441, in run_script exec(script_code, namespace, namespace) File "/home/wichtounet/.virtualenvs/dantalian/lib/python3.3/site-packages/dantalian-0.5-py3.3.egg/EGG-INFO/scripts/dantalian", line 23, in File "/home/wichtounet/.virtualenvs/dantalian/lib/python3.3/site-packages/dantalian-0.5-py3.3.egg/dantalian/commands.py", line 196, in mount File "/home/wichtounet/.virtualenvs/dantalian/lib/python3.3/site-packages/dantalian-0.5-py3.3.egg/dantalian/library.py", line 577, in maketree File "/home/wichtounet/.virtualenvs/dantalian/lib/python3.3/site-packages/dantalian-0.5-py3.3.egg/dantalian/tree.py", line 218, in init TypeError: 'str' object is not callable

I am missing something ?

Thanks

darkfeline commented 10 years ago

Should be fixed in master now.

https://github.com/darkfeline/dantalian/commit/b347ae7fc7ade4fbde5ecd6dff4e6cedb99c32cf https://github.com/darkfeline/dantalian/commit/81ad86ef815de465e8e4f949ad606abe60cc599c

wichtounet commented 10 years ago

Fixed indeed.

Is it normal that mount does not return ? I'm supposed to run it in background ?

darkfeline commented 10 years ago

Yes, that gives you, the user, the ability to choose whether or not to background it, or run it in a tmux or screen if you want to monitor output.

wichtounet commented 10 years ago

Ok, that's fine by me :)