Comments (16)
mi puoi allegare anche il docker compose?
Intendi dire il cmd per creare la docker?
perchรฉ sono piรน alla manuale con powershell.
docker run -d
--name=Sonarr_AnimeWorld
-v "B:\SERVER\DOCKER\AnimeDownloaderSR\DATA\database:/src/database"
-v "B:\SERVER\DOCKER\AnimeDownloaderSR\tmp\:/downloads"
-v "B:\SERVER\DOCKER\AnimeDownloaderSR\DATA\script\:/src/script"
-v "H:\Anime2\:/Anime2"
-v "L:\Anime Auditing\:/Anime Auditing"
-p 5000:5000
--env SONARR_URL='http://192.168.1.2:8989'
--env API_KEY=':)'
--env TZ=Europe/Rome
--restart unless-stopped
ghcr.io/mainkronos/anime_downloader:latest
from sonarr-animedownloader.
Prova la versione dev
, e vediamo se ho risolto il problema
from sonarr-animedownloader.
Si, scusami, colpa mia. Sto riscrivendo il frontend usando una nuova libreria e ancora non l'avevo aggiunta al requirements.txt
.
Riprova ora.
from sonarr-animedownloader.
mi puoi allegare anche il docker compose?
from sonarr-animedownloader.
Aggiungo la regola di rename che faccio usare a sonarr:
{Series Title} - s{season:00}e{episode:00} - {Release Group} [{Quality Title}{ Preferred Words}] - OE{absolute:000} - {Episode CleanTitle}
from sonarr-animedownloader.
Il problema รจ il seguente:
- Il loop รจ dovuto all'errore critico; l'errore causa un arresto del container, ma essendo
unless-stopped
la politica di restart il container viene riavviato. - L'errore รจ dovuto alla mancanza della chiave
episodeFile
nel dizionario che restituisce sonarr relativo alla richiesta di informazioni su un determinato episodio; questo dovrebbe essere causato dal fatto che Sonarr non ha ancora rilevato il file dell'episodio richiesto.
Dunque le possibili cause sono (dalla piรน probabile):
- Un errore nel parsing della directory di destinazione del file scaricato
- Lo spostamento dell'episodio impiega piรน di 2 secondi
- Problemi di rete
Quindi avrei bisogni della risposta a questa chiamata GET:
http://{IP}:{PORT}/api/v3/wanted/missing?includeSeries=true&apikey={API_KEY}
Dove IP
e PORT
sono l'ip e la porta di Sonarr e API_KEY
รจ la chiave API di Sonarr.
from sonarr-animedownloader.
Il problema รจ il seguente:
- Il loop รจ dovuto all'errore critico; l'errore causa un arresto del container, ma essendo
unless-stopped
la politica di restart il container viene riavviato.- L'errore รจ dovuto alla mancanza della chiave
episodeFile
nel dizionario che restituisce sonarr relativo alla richiesta di informazioni su un determinato episodio; questo dovrebbe essere causato dal fatto che Sonarr non ha ancora rilevato il file dell'episodio richiesto.Dunque le possibili cause sono (dalla piรน probabile):
- Un errore nel parsing della directory di destinazione del file scaricato
- Lo spostamento dell'episodio impiega piรน di 2 secondi
- Problemi di rete
Quindi avrei bisogni della risposta a questa chiamata GET:
http://{IP}:{PORT}/api/v3/wanted/missing?includeSeries=true&apikey={API_KEY}
Dove
IP
ePORT
sono l'ip e la porta di Sonarr eAPI_KEY
รจ la chiave API di Sonarr.
GitHub - Sonarr-AnimeDownloader - ISSUE 131 - f2.json
รจ piรน probabile la seconda opzione e/o la prima, problemi di rete non saprei... รจ tutto in locale tranne il download.
50/50 tra l'opzione 1 e 2.
from sonarr-animedownloader.
Prova la versione
dev
, e vediamo se ho risolto il problema
Errore docker in generale con stesso compose ma :dev alla fine
2023-11-22 18:18:15 usermod: no changes
2023-11-22 18:18:23 Traceback (most recent call last):
2023-11-22 18:18:23 File "/src/main.py", line 2, in <module>
2023-11-22 18:18:23
2023-11-22 18:18:23
2023-11-22 18:18:23 -------------------------------------
2023-11-22 18:18:23 GID/UID
2023-11-22 18:18:23 -------------------------------------
2023-11-22 18:18:23 User uid:1000
2023-11-22 18:18:23 User gid:1000
2023-11-22 18:18:23 -------------------------------------
2023-11-22 18:18:23
2023-11-22 18:18:23
2023-11-22 18:18:46
2023-11-22 18:18:46
2023-11-22 18:18:46 -------------------------------------
2023-11-22 18:18:46 GID/UID
2023-11-22 18:18:23 from components import Core, API
2023-11-22 18:18:23 File "/src/components/__init__.py", line 2, in <module>
2023-11-22 18:18:23 from .api import API
2023-11-22 18:18:23 File "/src/components/api/__init__.py", line 4, in <module>
2023-11-22 18:18:23 from apiflask import APIFlask, APIBlueprint
2023-11-22 18:18:23 ModuleNotFoundError: No module named 'apiflask'
2023-11-22 18:18:23 ERROR: Success2023-11-22T17:18:36.260632601Z usermod: no changes
2023-11-22 18:18:46 Traceback (most recent call last):
2023-11-22 18:18:46 File "/src/main.py", line 2, in <module>
2023-11-22 18:18:46 from components import Core, API
2023-11-22 18:18:46 File "/src/components/__init__.py", line 2, in <module>
2023-11-22 18:18:46 from .api import API
2023-11-22 18:18:46 File "/src/components/api/__init__.py", line 4, in <module>
2023-11-22 18:18:46 from apiflask import APIFlask, APIBlueprint
2023-11-22 18:18:46 ModuleNotFoundError: No module named 'apiflask'
2023-11-22 18:18:46 ERROR: Success2023-11-22T17:18:56.221649426Z usermod: no changes
2023-11-22 18:19:20 Traceback (most recent call last):
2023-11-22 18:19:20 File "/src/main.py", line 2, in <module>
2023-11-22 18:19:20 from components import Core, API
2023-11-22 18:19:20 File "/src/components/__init__.py", line 2, in <module>
2023-11-22 18:19:20 from .api import API
2023-11-22 18:19:20 File "/src/components/api/__init__.py", line 4, in <module>
2023-11-22 18:19:20 from apiflask import APIFlask, APIBlueprint
2023-11-22 18:19:20 ModuleNotFoundError: No module named 'apiflask'
2023-11-22 18:19:21 ERROR: Success2023-11-22T17:19:24.679242476Z usermod: no changes
2023-11-22 18:19:49 Traceback (most recent call last):
2023-11-22 18:19:49 File "/src/main.py", line 2, in <module>
2023-11-22 18:19:49 from components import Core, API
2023-11-22 18:19:49 File "/src/components/__init__.py", line 2, in <module>
2023-11-22 18:19:49 from .api import API
2023-11-22 18:19:49 File "/src/components/api/__init__.py", line 4, in <module>
2023-11-22 18:19:49 from apiflask import APIFlask, APIBlueprint
2023-11-22 18:19:49 ModuleNotFoundError: No module named 'apiflask'
2023-11-22 18:19:51 ERROR: Success2023-11-22T17:19:53.633847701Z usermod: no changes
2023-11-22 18:20:01 Traceback (most recent call last):
2023-11-22 18:20:01 File "/src/main.py", line 2, in <module>
2023-11-22 18:20:01 from components import Core, API
2023-11-22 18:20:01 File "/src/components/__init__.py", line 2, in <module>
2023-11-22 18:20:01 from .api import API
2023-11-22 18:20:01 File "/src/components/api/__init__.py", line 4, in <module>
2023-11-22 18:20:01 from apiflask import APIFlask, APIBlueprint
2023-11-22 18:20:01 ModuleNotFoundError: No module named 'apiflask'
2023-11-22 18:20:01 ERROR: Success2023-11-22T17:20:02.776596783Z usermod: no changes
2023-11-22 18:20:09 Traceback (most recent call last):
2023-11-22 18:20:09 File "/src/main.py", line 2, in <module>
2023-11-22 18:20:09 from components import Core, API
2023-11-22 18:20:09 File "/src/components/__init__.py", line 2, in <module>
2023-11-22 18:20:09 from .api import API
2023-11-22 18:20:09 File "/src/components/api/__init__.py", line 4, in <module>
2023-11-22 18:20:09 from apiflask import APIFlask, APIBlueprint
2023-11-22 18:20:09 ModuleNotFoundError: No module named 'apiflask'
2023-11-22 18:20:09 ERROR: Success2023-11-22T17:20:10.967207772Z usermod: no changes
2023-11-22 18:18:46 -------------------------------------
2023-11-22 18:18:46 User uid:1000
2023-11-22 18:18:46 User gid:1000
2023-11-22 18:18:46 -------------------------------------
2023-11-22 18:18:46
2023-11-22 18:18:46
2023-11-22 18:19:21
2023-11-22 18:19:21
2023-11-22 18:19:21 -------------------------------------
2023-11-22 18:19:21 GID/UID
2023-11-22 18:19:21 -------------------------------------
2023-11-22 18:19:21 User uid:1000
2023-11-22 18:19:21 User gid:1000
2023-11-22 18:19:21 -------------------------------------
2023-11-22 18:19:21
2023-11-22 18:19:21
2023-11-22 18:19:50
2023-11-22 18:19:50
2023-11-22 18:19:50 -------------------------------------
2023-11-22 18:19:50 GID/UID
2023-11-22 18:19:50 -------------------------------------
2023-11-22 18:19:50 User uid:1000
2023-11-22 18:19:50 User gid:1000
2023-11-22 18:19:50 -------------------------------------
2023-11-22 18:19:50
2023-11-22 18:19:50
2023-11-22 18:20:01
2023-11-22 18:20:01
2023-11-22 18:20:01 -------------------------------------
2023-11-22 18:20:01 GID/UID
2023-11-22 18:20:01 -------------------------------------
2023-11-22 18:20:01 User uid:1000
2023-11-22 18:20:01 User gid:1000
2023-11-22 18:20:01 -------------------------------------
2023-11-22 18:20:01
2023-11-22 18:20:01
2023-11-22 18:20:09
2023-11-22 18:20:09
2023-11-22 18:20:09 -------------------------------------
2023-11-22 18:20:09 GID/UID
2023-11-22 18:20:09 -------------------------------------
2023-11-22 18:20:09 User uid:1000
2023-11-22 18:20:09 User gid:1000
2023-11-22 18:20:09 -------------------------------------
2023-11-22 18:20:09
2023-11-22 18:20:09
2023-11-22 18:20:17 Traceback (most recent call last):
2023-11-22 18:20:17 File "/src/main.py", line 2, in <module>
2023-11-22 18:20:17 from components import Core, API
2023-11-22 18:20:17 File "/src/components/__init__.py", line 2, in <module>
2023-11-22 18:20:17 from .api import API
2023-11-22 18:20:17 File "/src/components/api/__init__.py", line 4, in <module>
2023-11-22 18:20:17 from apiflask import APIFlask, APIBlueprint
2023-11-22 18:20:17 ModuleNotFoundError: No module named 'apiflask'
2023-11-22 18:20:18
2023-11-22 18:20:18
2023-11-22 18:20:18 -------------------------------------
2023-11-22 18:20:18 GID/UID
2023-11-22 18:20:18 -------------------------------------
2023-11-22 18:20:18 User uid:1000
2023-11-22 18:20:18 User gid:1000
2023-11-22 18:20:18 -------------------------------------
2023-11-22 18:20:18
2023-11-22 18:20:18
2023-11-22 18:20:18 ERROR: Success
Su powershell, dopo aver eseguito il comando per il compose identico a quello sopra.
Devo cancellare le tabelle e tutti i dati nella cartella database?
Ho cancellato il container, eseguito il comando con :dev e il nuovo container nel log da questo.
from sonarr-animedownloader.
Si, scusami, colpa mia. Sto riscrivendo il frontend usando una nuova libreria e ancora non l'avevo aggiunta al
requirements.txt
. Riprova ora.
Niente,
Docker-DEV-L1.log
from sonarr-animedownloader.
ma il file viene spostato in H:\Anime2\The Seven Deadly Sins - Four Knights of the Apocalypse
?
from sonarr-animedownloader.
ma il file viene spostato in
H:\Anime2\The Seven Deadly Sins - Four Knights of the Apocalypse
?
No, la cartella esiste ed รจ vuota.
ora rifaccio la dock senza il restart perchรฉ ho l'ep in download nella temp ma รจ palesemente l'ep in dw dopo il riavvio.
from sonarr-animedownloader.
Dunque l'episodio non viene spostato. Ma la cartella esisteva di giร prima del messaggio La cartella H:\Anime2\The Seven Deadly Sins - Four Knights of the Apocalypse รจ stata creata.
?
Perchรจ a questo punto credo sia un problema di errore nel parsing della directory
from sonarr-animedownloader.
Dunque l'episodio non viene spostato. Ma la cartella esisteva di giร prima del messaggio
La cartella H:\Anime2\The Seven Deadly Sins - Four Knights of the Apocalypse รจ stata creata.
?Perchรจ a questo punto credo sia un problema di errore nel parsing della directory
Errore:
2023-11-22 23:03:42 usermod: no changes
2023-11-22 23:03:51 INFO โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ[22 Nov 2023 23:03:51]โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
2023-11-22 23:03:51 INFO โ _ _____ _ _ โ
2023-11-22 23:03:51 INFO โ /\ (_) | __ \ | | | | โ
2023-11-22 23:03:51 INFO โ / \ _ __ _ _ __ ___ ___| | | | _____ ___ __ | | ___ __ _ __| | ___ _ __ โ
2023-11-22 23:03:51 INFO โ / /\ \ | '_ \| | '_ ` _ \ / _ \ | | |/ _ \ \ /\ / / '_ \| |/ _ \ / _` |/ _` |/ _ \ '__| โ
2023-11-22 23:03:51 INFO โ / ____ \| | | | | | | | | | __/ |__| | (_) \ V V /| | | | | (_) | (_| | (_| | __/ | โ
2023-11-22 23:03:51 INFO โ /_/ \_\_| |_|_|_| |_| |_|\___|_____/ \___/ \_/\_/ |_| |_|_|\___/ \__,_|\__,_|\___|_| โ
2023-11-22 23:03:51 INFO โ โ
2023-11-22 23:03:51 INFO โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโdevโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
2023-11-22 23:03:51 INFO
2023-11-22 23:03:51 INFO Globals
2023-11-22 23:03:51 INFO โโโ ctx.SONARR_URL = http://192.168.1.2:8989
2023-11-22 23:03:51 INFO โโโ ctx.API_KEY = :)
2023-11-22 23:03:51 DEBUG โโโ ctx.DOWNLOAD_FOLDER = /downloads
2023-11-22 23:03:51 DEBUG โโโ ctx.DATABASE_FOLDER = /src/database
2023-11-22 23:03:51 DEBUG โโโ ctx.SCRIPT_FOLDER = /src/script
2023-11-22 23:03:51 INFO โโโ ctx.VERSION = dev
2023-11-22 23:03:51 INFO
2023-11-22 23:03:51 INFO Settings
2023-11-22 23:03:51 INFO โโโ TagsMode = WHITELIST
2023-11-22 23:03:51 INFO โโโ ScanDelay = 120
2023-11-22 23:03:51 INFO โโโ ScanDalay = 120
2023-11-22 23:03:51 INFO โโโ RenameEp = True
2023-11-22 23:03:51 INFO โโโ MoveEp = True
2023-11-22 23:03:51 INFO โโโ LogLevel = DEBUG
2023-11-22 23:03:51 INFO โโโ AutoBind = True
2023-11-22 23:03:51 INFO
2023-11-22 23:03:51 DEBUG Tags
2023-11-22 23:03:51 DEBUG โโโ 107 - aw-docker-download (๐ข)
2023-11-22 23:03:51 DEBUG
2023-11-22 23:03:51 DEBUG Connections
2023-11-22 23:03:51 DEBUG
2023-11-22 23:03:51 INFO
2023-11-22 23:03:51 INFO ]โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ[
2023-11-22 23:03:51 INFO
2023-11-22 23:03:51 INFO โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโใ22 Nov 2023 23:03:51ใโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
2023-11-22 23:03:51 INFO
2023-11-22 23:03:53 INFO
2023-11-22 23:03:53 INFO โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
2023-11-22 23:03:53 INFO
2023-11-22 23:03:53 INFO โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ
2023-11-22 23:03:53 INFO
2023-11-22 23:03:53 INFO ๐ Ricerca serie 'The Seven Deadly Sins: Four Knights of the Apocalypse' stagione 1.
2023-11-22 23:03:53 INFO ๐ Ricerca episodio 1, 2, 3, 4, 5, 6.
2023-11-22 23:03:54 INFO
2023-11-22 23:03:54 INFO โ๏ธ Verifica se l'episodio S1E1 รจ disponibile.
2023-11-22 23:03:54 INFO โ๏ธ L'episodio รจ disponibile.
2023-11-22 23:03:54 WARNING โณ Download episodio S1E1.
2023-11-22 23:07:02 INFO โ๏ธ Dowload Completato.
2023-11-22 23:07:02 WARNING โณ Spostamento episodio episodio S1E1 in H:\Anime2\The Seven Deadly Sins - Four Knights of the Apocalypse.
2023-11-22 23:07:02 WARNING โ ๏ธ La cartella H:\Anime2\The Seven Deadly Sins - Four Knights of the Apocalypse รจ stata creata.
2023-11-22 23:07:06 INFO โ๏ธ Episodio spostato.
2023-11-22 23:07:06 INFO โณ Aggiornamento serie 'The Seven Deadly Sins: Four Knights of the Apocalypse'.
2023-11-22 23:07:06 INFO โณ Rinominando l'episodio.
2023-11-22 23:07:12 CRITICAL ]โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ[CRITICAL]โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ[
2023-11-22 23:07:12 ERROR Episodio Non trovato
2023-11-22 23:07:12 Traceback (most recent call last):
2023-11-22 23:07:12 File "/src/components/backend/core/Core.py", line 141, in run
2023-11-22 23:07:12 self.job()
2023-11-22 23:07:12 File "/src/components/backend/core/Core.py", line 172, in job
2023-11-22 23:07:12 self.downloader.download(serie)
2023-11-22 23:07:12 File "/src/components/backend/core/Downloader.py", line 121, in download
2023-11-22 23:07:12 self.__renameFile(episode['id'], serie['id'])
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/site-packages/tenacity/__init__.py", line 289, in wrapped_f
2023-11-22 23:07:12 return self(f, *args, **kw)
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/site-packages/tenacity/__init__.py", line 379, in __call__
2023-11-22 23:07:12 do = self.iter(retry_state=retry_state)
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/site-packages/tenacity/__init__.py", line 325, in iter
2023-11-22 23:07:12 raise retry_exc.reraise()
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/site-packages/tenacity/__init__.py", line 158, in reraise
2023-11-22 23:07:12 raise self.last_attempt.result()
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/concurrent/futures/_base.py", line 438, in result
2023-11-22 23:07:12 return self.__get_result()
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/concurrent/futures/_base.py", line 390, in __get_result
2023-11-22 23:07:12 raise self._exception
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/site-packages/tenacity/__init__.py", line 382, in __call__
2023-11-22 23:07:12 result = fn(*args, **kwargs)
2023-11-22 23:07:12 File "/src/components/backend/core/Downloader.py", line 232, in __renameFile
2023-11-22 23:07:12 if "episodeFile" not in res: raise Exception("Episodio Non trovato")
2023-11-22 23:07:12 Exception: Episodio Non trovato
2023-11-22 23:07:12 Exception in thread Core:
2023-11-22 23:07:12 Traceback (most recent call last):
2023-11-22 23:07:12 File "/src/components/backend/core/Core.py", line 141, in run
2023-11-22 23:07:12 self.job()
2023-11-22 23:07:12 File "/src/components/backend/core/Core.py", line 172, in job
2023-11-22 23:07:12 self.downloader.download(serie)
2023-11-22 23:07:12 File "/src/components/backend/core/Downloader.py", line 121, in download
2023-11-22 23:07:12 self.__renameFile(episode['id'], serie['id'])
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/site-packages/tenacity/__init__.py", line 289, in wrapped_f
2023-11-22 23:07:12 return self(f, *args, **kw)
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/site-packages/tenacity/__init__.py", line 379, in __call__
2023-11-22 23:07:12 do = self.iter(retry_state=retry_state)
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/site-packages/tenacity/__init__.py", line 325, in iter
2023-11-22 23:07:12 raise retry_exc.reraise()
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/site-packages/tenacity/__init__.py", line 158, in reraise
2023-11-22 23:07:12 raise self.last_attempt.result()
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/concurrent/futures/_base.py", line 438, in result
2023-11-22 23:07:12 return self.__get_result()
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/concurrent/futures/_base.py", line 390, in __get_result
2023-11-22 23:07:12 raise self._exception
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/site-packages/tenacity/__init__.py", line 382, in __call__
2023-11-22 23:07:12 result = fn(*args, **kwargs)
2023-11-22 23:07:12 File "/src/components/backend/core/Downloader.py", line 232, in __renameFile
2023-11-22 23:07:12 if "episodeFile" not in res: raise Exception("Episodio Non trovato")
2023-11-22 23:07:12 Exception: Episodio Non trovato
2023-11-22 23:07:12
2023-11-22 23:07:12 During handling of the above exception, another exception occurred:
2023-11-22 23:07:12
2023-11-22 23:07:12 Traceback (most recent call last):
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/threading.py", line 954, in _bootstrap_inner
2023-11-22 23:07:12 self.run()
2023-11-22 23:07:12 File "/src/components/backend/core/Core.py", line 151, in run
2023-11-22 23:07:12 self.log.exception(e)
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/logging/__init__.py", line 1481, in exception
2023-11-22 23:07:12 self.error(msg, *args, exc_info=exc_info, **kwargs)
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/logging/__init__.py", line 1475, in error
2023-11-22 23:07:12 self._log(ERROR, msg, args, **kwargs)
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/logging/__init__.py", line 1589, in _log
2023-11-22 23:07:12 self.handle(record)
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/logging/__init__.py", line 1599, in handle
2023-11-22 23:07:12 self.callHandlers(record)
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/logging/__init__.py", line 1661, in callHandlers
2023-11-22 23:07:12 hdlr.handle(record)
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/logging/__init__.py", line 952, in handle
2023-11-22 23:07:12 self.emit(record)
2023-11-22 23:07:12 File "/src/components/frontend_OLD/app.py", line 71, in emit
2023-11-22 23:07:12 socketio.emit("log", record.msg)
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/site-packages/flask_socketio/__init__.py", line 462, in emit
2023-11-22 23:07:12 self.server.emit(event, *args, namespace=namespace, to=to,
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/site-packages/socketio/server.py", line 161, in emit
2023-11-22 23:07:12 self.manager.emit(event, data, namespace, room=room,
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/site-packages/socketio/manager.py", line 43, in emit
2023-11-22 23:07:12 encoded_packet = pkt.encode()
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/site-packages/socketio/packet.py", line 64, in encode
2023-11-22 23:07:12 encoded_packet += self.json.dumps(data, separators=(',', ':'))
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/json/__init__.py", line 234, in dumps
2023-11-22 23:07:12 return cls(
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/json/encoder.py", line 199, in encode
2023-11-22 23:07:12 chunks = self.iterencode(o, _one_shot=True)
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/json/encoder.py", line 257, in iterencode
2023-11-22 23:07:12 return _iterencode(o, 0)
2023-11-22 23:07:12 File "/usr/local/lib/python3.9/json/encoder.py", line 179, in default
2023-11-22 23:07:12 raise TypeError(f'Object of type {o.__class__.__name__} '
2023-11-22 23:07:12 TypeError: Object of type Exception is not JSON serializable
2023-11-22 23:07:13
2023-11-22 23:07:13
2023-11-22 23:07:13 -------------------------------------
2023-11-22 23:07:13 GID/UID
2023-11-22 23:07:13 -------------------------------------
2023-11-22 23:07:13 User uid:1000
2023-11-22 23:07:13 User gid:1000
2023-11-22 23:07:13 -------------------------------------
2023-11-22 23:07:13
2023-11-22 23:07:13
รจ particolare, l'episodio dice che รจ stato spostato MA non c'รจ da nessuna parte. Ne in Anime2, ne nella tmp folder.
La cartella esiste giร perchรฉ sonarr รจ impostato per creare le cartelle delle serie.
Ho notato che quando dice che va a cambiar nome al ep, il titolo della serie รจ con i :
invece che con '-'.
Questo titolo รจ stato autoinserito nel database perchรฉ aveva trovato questa serie con il tag per la whitelist (ma non avevo ancora aggiunto la serie al DB/json della docker).
La questione รจ un altra... Se elimino the seven deadly sins dal DB e tolgo il tag, il problema rimane tale uguale anche con one piece (che รจ da dove tutto รจ iniziato un giorno a caso).
One Piece a differenza dell'altra serie sono identici i titoli serie sul DB, sonarr, e nel HDD.
Se mi dici come debuggare ulteriormente il problema, vedo che posso fare.
Docker desktop per Windows Server 2022 x64 DC e WSL2.
HDD 18tb con cartella anime2 gestita da sonarr.,
Tutti i server sono su un SSD 512gb con lettera unitร B: (che guardando al passato, SCONSIGLIO tantissimo perchรฉ Windows di merda non gestisce bene le lettere prima della C...);
from sonarr-animedownloader.
Con One Piece (sempre docker versione DEV);
2023-11-24 10:49:56 usermod: no changes
2023-11-24 10:50:06 INFO โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ[24 Nov 2023 10:50:06]โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
2023-11-24 10:50:06 INFO โ _ _____ _ _ โ
2023-11-24 10:50:06 INFO โ /\ (_) | __ \ | | | | โ
2023-11-24 10:50:06 INFO โ / \ _ __ _ _ __ ___ ___| | | | _____ ___ __ | | ___ __ _ __| | ___ _ __ โ
2023-11-24 10:50:06 INFO โ / /\ \ | '_ \| | '_ ` _ \ / _ \ | | |/ _ \ \ /\ / / '_ \| |/ _ \ / _` |/ _` |/ _ \ '__| โ
2023-11-24 10:50:06 INFO โ / ____ \| | | | | | | | | | __/ |__| | (_) \ V V /| | | | | (_) | (_| | (_| | __/ | โ
2023-11-24 10:50:06 INFO โ /_/ \_\_| |_|_|_| |_| |_|\___|_____/ \___/ \_/\_/ |_| |_|_|\___/ \__,_|\__,_|\___|_| โ
2023-11-24 10:50:06 INFO โ โ
2023-11-24 10:50:06 INFO โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโdevโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
2023-11-24 10:50:06 INFO
2023-11-24 10:50:06 INFO Globals
2023-11-24 10:50:06 INFO โโโ ctx.SONARR_URL = http://192.168.1.2:8989
2023-11-24 10:50:06 INFO โโโ ctx.API_KEY = :)
2023-11-24 10:50:06 DEBUG โโโ ctx.DOWNLOAD_FOLDER = /downloads
2023-11-24 10:50:06 DEBUG โโโ ctx.DATABASE_FOLDER = /src/database
2023-11-24 10:50:06 DEBUG โโโ ctx.SCRIPT_FOLDER = /src/script
2023-11-24 10:50:06 INFO โโโ ctx.VERSION = dev
2023-11-24 10:50:06 INFO
2023-11-24 10:50:06 INFO Settings
2023-11-24 10:50:06 INFO โโโ TagsMode = WHITELIST
2023-11-24 10:50:06 INFO โโโ ScanDelay = 120
2023-11-24 10:50:06 INFO โโโ ScanDalay = 120
2023-11-24 10:50:06 INFO โโโ RenameEp = True
2023-11-24 10:50:06 INFO โโโ MoveEp = True
2023-11-24 10:50:06 INFO โโโ LogLevel = DEBUG
2023-11-24 10:50:06 INFO โโโ AutoBind = True
2023-11-24 10:50:06 INFO
2023-11-24 10:50:06 DEBUG Tags
2023-11-24 10:50:06 DEBUG โโโ 107 - aw-docker-download (๐ข)
2023-11-24 10:50:06 DEBUG
2023-11-24 10:50:06 DEBUG Connections
2023-11-24 10:50:06 DEBUG
2023-11-24 10:50:06 INFO
2023-11-24 10:50:06 INFO ]โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ[
2023-11-24 10:50:06 INFO
2023-11-24 10:50:06 INFO โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโใ24 Nov 2023 10:50:06ใโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
2023-11-24 10:50:06 INFO
2023-11-24 10:50:08 DEBUG โ Serie 'The Seven Deadly Sins: Four Knights of the Apocalypse' scartata perchรจ non ha nessuno dei tag [aw-docker-download].
2023-11-24 10:50:08 DEBUG โ Serie 'My Daughter Left the Nest and Returned an S-Rank Adventurer' scartata perchรจ non ha nessuno dei tag [aw-docker-download].
2023-11-24 10:50:08 INFO
2023-11-24 10:50:08 INFO โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
2023-11-24 10:50:08 INFO
2023-11-24 10:50:08 INFO โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ
2023-11-24 10:50:08 INFO
2023-11-24 10:50:08 INFO ๐ Ricerca serie 'One Piece' stagione absolute.
2023-11-24 10:50:08 INFO ๐ Ricerca episodio 188, 189, 190, 191, 192, 193.
2023-11-24 10:50:19 INFO
2023-11-24 10:50:19 INFO โ๏ธ Verifica se l'episodio S21E188 รจ disponibile.
2023-11-24 10:50:19 INFO โ๏ธ L'episodio รจ disponibile.
2023-11-24 10:50:19 WARNING โณ Download episodio S21E188.
2023-11-24 10:52:22 INFO โ๏ธ Dowload Completato.
2023-11-24 10:52:22 WARNING โณ Spostamento episodio episodio S21E188 in H:\Anime2\One Piece.
2023-11-24 10:52:22 WARNING โ ๏ธ La cartella H:\Anime2\One Piece รจ stata creata.
2023-11-24 10:52:25 INFO โ๏ธ Episodio spostato.
2023-11-24 10:52:25 INFO โณ Aggiornamento serie 'One Piece'.
2023-11-24 10:52:25 INFO โณ Rinominando l'episodio.
2023-11-24 10:52:31 CRITICAL ]โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ[CRITICAL]โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ[
2023-11-24 10:52:31 ERROR Episodio Non trovato
2023-11-24 10:52:31 Traceback (most recent call last):
2023-11-24 10:52:31 File "/src/components/backend/core/Core.py", line 141, in run
2023-11-24 10:52:31 self.job()
2023-11-24 10:52:31 File "/src/components/backend/core/Core.py", line 172, in job
2023-11-24 10:52:31 self.downloader.download(serie)
2023-11-24 10:52:31 File "/src/components/backend/core/Downloader.py", line 121, in download
2023-11-24 10:52:31 self.__renameFile(episode['id'], serie['id'])
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/site-packages/tenacity/__init__.py", line 289, in wrapped_f
2023-11-24 10:52:31 return self(f, *args, **kw)
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/site-packages/tenacity/__init__.py", line 379, in __call__
2023-11-24 10:52:31 do = self.iter(retry_state=retry_state)
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/site-packages/tenacity/__init__.py", line 325, in iter
2023-11-24 10:52:31 raise retry_exc.reraise()
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/site-packages/tenacity/__init__.py", line 158, in reraise
2023-11-24 10:52:31 raise self.last_attempt.result()
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/concurrent/futures/_base.py", line 438, in result
2023-11-24 10:52:31 return self.__get_result()
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/concurrent/futures/_base.py", line 390, in __get_result
2023-11-24 10:52:31 raise self._exception
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/site-packages/tenacity/__init__.py", line 382, in __call__
2023-11-24 10:52:31 result = fn(*args, **kwargs)
2023-11-24 10:52:31 File "/src/components/backend/core/Downloader.py", line 232, in __renameFile
2023-11-24 10:52:31 if "episodeFile" not in res: raise Exception("Episodio Non trovato")
2023-11-24 10:52:31 Exception: Episodio Non trovato
2023-11-24 10:52:31 Exception in thread Core:
2023-11-24 10:52:31 Traceback (most recent call last):
2023-11-24 10:52:31 File "/src/components/backend/core/Core.py", line 141, in run
2023-11-24 10:52:31 self.job()
2023-11-24 10:52:31 File "/src/components/backend/core/Core.py", line 172, in job
2023-11-24 10:52:31 self.downloader.download(serie)
2023-11-24 10:52:31 File "/src/components/backend/core/Downloader.py", line 121, in download
2023-11-24 10:52:31 self.__renameFile(episode['id'], serie['id'])
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/site-packages/tenacity/__init__.py", line 289, in wrapped_f
2023-11-24 10:52:31 return self(f, *args, **kw)
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/site-packages/tenacity/__init__.py", line 379, in __call__
2023-11-24 10:52:31 do = self.iter(retry_state=retry_state)
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/site-packages/tenacity/__init__.py", line 325, in iter
2023-11-24 10:52:31 raise retry_exc.reraise()
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/site-packages/tenacity/__init__.py", line 158, in reraise
2023-11-24 10:52:31 raise self.last_attempt.result()
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/concurrent/futures/_base.py", line 438, in result
2023-11-24 10:52:31 return self.__get_result()
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/concurrent/futures/_base.py", line 390, in __get_result
2023-11-24 10:52:31 raise self._exception
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/site-packages/tenacity/__init__.py", line 382, in __call__
2023-11-24 10:52:31 result = fn(*args, **kwargs)
2023-11-24 10:52:31 File "/src/components/backend/core/Downloader.py", line 232, in __renameFile
2023-11-24 10:52:31 if "episodeFile" not in res: raise Exception("Episodio Non trovato")
2023-11-24 10:52:31 Exception: Episodio Non trovato
2023-11-24 10:52:31
2023-11-24 10:52:31 During handling of the above exception, another exception occurred:
2023-11-24 10:52:31
2023-11-24 10:52:31 Traceback (most recent call last):
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/threading.py", line 954, in _bootstrap_inner
2023-11-24 10:52:31 self.run()
2023-11-24 10:52:31 File "/src/components/backend/core/Core.py", line 151, in run
2023-11-24 10:52:31 self.log.exception(e)
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/logging/__init__.py", line 1481, in exception
2023-11-24 10:52:31 self.error(msg, *args, exc_info=exc_info, **kwargs)
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/logging/__init__.py", line 1475, in error
2023-11-24 10:52:31 self._log(ERROR, msg, args, **kwargs)
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/logging/__init__.py", line 1589, in _log
2023-11-24 10:52:31 self.handle(record)
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/logging/__init__.py", line 1599, in handle
2023-11-24 10:52:31 self.callHandlers(record)
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/logging/__init__.py", line 1661, in callHandlers
2023-11-24 10:52:31 hdlr.handle(record)
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/logging/__init__.py", line 952, in handle
2023-11-24 10:52:31 self.emit(record)
2023-11-24 10:52:31 File "/src/components/frontend_OLD/app.py", line 71, in emit
2023-11-24 10:52:31 socketio.emit("log", record.msg)
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/site-packages/flask_socketio/__init__.py", line 462, in emit
2023-11-24 10:52:31 self.server.emit(event, *args, namespace=namespace, to=to,
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/site-packages/socketio/server.py", line 161, in emit
2023-11-24 10:52:31 self.manager.emit(event, data, namespace, room=room,
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/site-packages/socketio/manager.py", line 43, in emit
2023-11-24 10:52:31 encoded_packet = pkt.encode()
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/site-packages/socketio/packet.py", line 64, in encode
2023-11-24 10:52:31 encoded_packet += self.json.dumps(data, separators=(',', ':'))
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/json/__init__.py", line 234, in dumps
2023-11-24 10:52:31 return cls(
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/json/encoder.py", line 199, in encode
2023-11-24 10:52:31 chunks = self.iterencode(o, _one_shot=True)
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/json/encoder.py", line 257, in iterencode
2023-11-24 10:52:31 return _iterencode(o, 0)
2023-11-24 10:52:31 File "/usr/local/lib/python3.9/json/encoder.py", line 179, in default
2023-11-24 10:52:31 raise TypeError(f'Object of type {o.__class__.__name__} '
2023-11-24 10:52:31 TypeError: Object of type Exception is not JSON serializable
2023-11-24 10:52:32
2023-11-24 10:52:32
2023-11-24 10:52:32 -------------------------------------
2023-11-24 10:52:32 GID/UID
2023-11-24 10:52:32 -------------------------------------
2023-11-24 10:52:32 User uid:1000
2023-11-24 10:52:32 User gid:1000
2023-11-24 10:52:32 -------------------------------------
2023-11-24 10:52:32
2023-11-24 10:52:32
E la cartella esiste giร , l'episodio non c'รจ da nessuna parte invece
from sonarr-animedownloader.
Credo di essere riuscito a risolvere il problema. Infatti il problema era sul parsing della directory di destinazione del file ๐
Prova ad aggiornare l'immagine e vediamo se funziona
docker pull ghcr.io/mainkronos/anime_downloader:dev
from sonarr-animedownloader.
Credo di essere riuscito a risolvere il problema. Infatti il problema era sul parsing della directory di destinazione del file ๐ Prova ad aggiornare l'immagine e vediamo se funziona
docker pull ghcr.io/mainkronos/anime_downloader:dev
OK, risolto (anche la velocitร di download รจ tornata OK).
Grazie1000 ๐
from sonarr-animedownloader.
Related Issues (20)
- [QUESTION] Web Interface non disponibile HOT 4
- [QUESTION] Volumi e permessi su UnRaid HOT 1
- [BUG] Problema con episodi con numerazione non int (12.5) HOT 4
- mangaworld.bz download
- [Enhancement] Pulsante "Ricerca Ora" HOT 3
- [BUG] Dalla 2.0.0 non ha piรน funzionato HOT 11
- [BUG] Ricerca automatica sbaglia link HOT 4
- [QUESTION] Come effettuare aggiornamento alla 2.0
- [Enhancement] Possibilitร di scaricare anche anime doppiati in italiano HOT 7
- [BUG] Episodi multipli visti come singoli
- [BUG] FileNotFoundError HOT 4
- [BUG] `๐ ด๐๐๐ พ๐` timed out HOT 33
- [QUESTION] Velocitร Download Bloccata HOT 7
- [BUG] Bug nei permessi, impossibile spostare l'anime HOT 2
- [BUG] Non salva le serie absolute nella tabella, rimangono vuote HOT 3
- [ISSUE] Container non parte CRITICAL ๐ ด๐๐๐ พ๐ HOT 6
- [ERROR] Critical Error quando avvio il container HOT 7
- [HELP] [Errno 13] Permission denied HOT 8
- [BUG] Serie Absolute non funzionanti HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sonarr-animedownloader.