NaPs / Kolekto

Kolekto is a really KISS movie catalog software

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kolekto config problem

cava opened this issue · comments

commented

When i try to configure kolekto i get:

Traceback (most recent call last):
  File "/usr/local/bin/kolekto", line 85, in <module>
    main()
  File "/usr/local/bin/kolekto", line 78, in main
    args.command(args, config)
  File "/usr/local/lib/python2.7/dist-packages/kolekto/commands/config.py", line 17, in run
    config = printer.edit(fconfig.read())
  File "/usr/local/lib/python2.7/dist-packages/kolekto/printer.py", line 145, in edit
    subprocess.Popen([self._editor, ftmp.name]).wait()
  File "/usr/lib/python2.7/subprocess.py", line 709, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1326, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Thanks

Hi,

Are you sure your $EDITOR environment variable is properly configured?

The behavior of the config command for choosing the editor is the following:

  1. (if any) take the editor found in the --editor option (eg: kolekto config --editor vim)
  2. (if any) take the editor found in the $EDITOR environment variable
  3. take vim as editor

It seem that your $EDITOR environment variable is filled with a non-installed editor, or that the variable is not set and that Kolekto is trying to use vim, which is not installed.

commented

there was a problem with the $EDITOR variable and that definitely worked. thanks :)