1. Oben Sonne
  2. gnome-encfs
Issue #4 invalid

error (child_exception) when adding a folder (Ubuntu 10.04)

Anonymous created an issue

steps to reproduce on Ubuntu 10.04:

sudo install gnome-encfs /usr/local/bin

gnome-encfs -a encrdata mountdir

and you will get:

Traceback (most recent call last): File "/usr/local/bin/gnome-encfs", line 414, in <module> ret = main() and 0 or 1

File "/usr/local/bin/gnome-encfs", line 398, in main ok = add_item(opts.p1, opts.p2)

File "/usr/local/bin/gnome-encfs", line 270, in add_item if not _is_encfs(epath):

File "/usr/local/bin/gnome-encfs", line 189, in _is_encfs stderr=subprocess.PIPE)

File "/usr/lib/python2.6/subprocess.py", line 633, in init errread, errwrite)

File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory

Any suggestions? Thanks!

Comments (4)

  1. Oben Sonne repo owner

    The exception occurs because gnome-encfs is not able to run encfsctl, it's missing. In Ubuntu encfsctl is part of the package encfs. Either encfs is not yet installed on your system or it cannot be found in your PATH environemnt variable.

  2. Anonymous

    Um, sorry for that. Pretty stupid error -- on my side. encfs was just not installed.

    Thanks for this great little piece of software. It definitely deserves more attention in gnome/ubuntu world.

  3. Log in to comment