• I've installed Subliminal with the following steps:

      sudo apt-get install git-core python-pip
      sudo pip install beautifulsoup4 guessit requests enzyme html5lib lxml
      cd && git clone https://github.com/Diaoul/subliminal.git
      cd subliminal
      sudo python setup.py install


    After the installation i run the script but recieve the following errors:


    File "/usr/local/bin/subliminal", line 5, in <module>
    pkg_resources.run_script('subliminal==0.6.2', 'subliminal')
    File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 467, in run_script
    self.require(requires)[0].run_script(script_name, ns)
    File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1200, in run_script
    execfile(script_filename, namespace, namespace)
    File "/usr/local/lib/python2.6/dist-packages/subliminal-0.6.2-py2.6.egg/EGG-INFO/scripts/subliminal", line 99, in <module>
    main()
    File "/usr/local/lib/python2.6/dist-packages/subliminal-0.6.2-py2.6.egg/EGG-INFO/scripts/subliminal", line 55, in main
    os.mkdir(args.cache_dir)
    OSError: [Errno 2] No such file or directory: '/root/.config/subliminal'


    How can I fix this?

    • Offizieller Beitrag

    Never heard of it...


    I'm guessing you are building it as a user and not root?? If so, the files are probably in your home directory, right? In the last line, it is looking for a subliminal config file in the root user's home directory where I'm guessing there are no files. Probably because you are using sudo. I would either try to install without using sudo or use the root user's account instead of sudo.

    omv 7.1.0-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.5 | scripts 7.0.7


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • So far as i now i only use the root user to access the console and installed this application with the steps above.
    I shall try to install it without sudo.


    EDIT:
    I've tried to install the software without sudo, but it says that the software already installed, must i uninstall the software first?
    And i recieve the same errors from Subliminal


    EDIT 2:
    I've started completely from scratch but still doesn't getting it working.

  • I've found the solution, there was no cache directory :oops:
    You can create these with the following options;


    Create the default directory for the cache with mkdir ~/.config
    Use another cache directory that exists with the option --cache-dir /path/to/cache/dir

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!