Git Product home page Git Product logo

Comments (7)

drikqlis avatar drikqlis commented on June 24, 2024

In the log file find the "Running command:" line and try to run this command manually in terminal. Show the output. Also make sure that you have SubSync installed and correct path set in config.ini

from subsyncstarter.

dalaverd avatar dalaverd commented on June 24, 2024

I am having the same error also while testing the command manually in terminal.
SubSync is installed correctly.

mkdir: cannot create directory '/run/user/0': Permission denied
Traceback (most recent call last):
File "/snap/subsync/10/bin/subsync", line 11, in
load_entry_point('subsync==0.15.0', 'gui_scripts', 'subsync')()
File "/snap/subsync/10/lib/python3.5/site-packages/subsync/main.py", line 17, in subsync
initConfig(args)
File "/snap/subsync/10/lib/python3.5/site-packages/subsync/main.py", line 32, in initConfig
loggercfg.init(level=args.logLevel, path=args.logFile)
File "/snap/subsync/10/lib/python3.5/site-packages/subsync/loggercfg.py", line 40, in init
filename=path)
File "/snap/subsync/10/usr/lib/python3.5/logging/init.py", line 1744, in basicConfig
h = FileHandler(filename, mode)
File "/snap/subsync/10/usr/lib/python3.5/logging/init.py", line 1008, in init
StreamHandler.init(self, self._open())
File "/snap/subsync/10/usr/lib/python3.5/logging/init.py", line 1037, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/SubSyncStarter/subsync.log'
2020-04-08 20:43:42,283 - DEBUG: Error: None
2020-04-08 20:43:42,284 - DEBUG: Exit code: 1
2020-04-08 20:43:42,299 - ERROR: Sync failed - exception
Traceback (most recent call last):
File "/opt/SubSyncStarter/SubSyncStarter.py", line 51, in
if "[+] done" in output_list[-1]:
IndexError: list index out of range
Sync failed - exception

from subsyncstarter.

dalaverd avatar dalaverd commented on June 24, 2024

I was wondering if it was more of an issue with Subsync than your script.
I have tried to reinstall it with this method but there are no changes : sc0ty/subsync#8 (comment)

from subsyncstarter.

drikqlis avatar drikqlis commented on June 24, 2024

What is returned if you run subsync manually from terminal? Also try to create file /opt/SubSyncStarter/subsync.log and check if it is logging.

from subsyncstarter.

dalaverd avatar dalaverd commented on June 24, 2024

Actually, I am already doing it from terminal so I can have the complete log returned.
One of the first things that I did, is creating subsync.log with touch command inside SubSyncStarter folder (I am using Ubuntu 18.04 LTS).

Also, I doubled-checked if permissions were ok on that folder (/opt/SubSyncStarter) :

image

from subsyncstarter.

drikqlis avatar drikqlis commented on June 24, 2024

Ok, but the log is from SubSyncStarter, try to find in the log file line starting with "Running command:" which is running SubSync and run it and paste here the output.

from subsyncstarter.

drikqlis avatar drikqlis commented on June 24, 2024

I've rewritten this part, should be working better. I've also added blacklisting using bazarr API provided my pull request to add variables to post-processing would be merged.

from subsyncstarter.

Related Issues (6)

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.