nosmokingbandit / Watcher3

Other
279 stars 59 forks source link

Import Directory with ~350 Movies stops with "0 error" message #204

Open n1ete opened 6 years ago

n1ete commented 6 years ago

like the topic said it mostly, the import runs fine until it suddenly stopped at count 300 at the movie folder "drive hard" after that i cant reach web interface anymore. a systemctl status watcher told me that the service is still running, a restart make the webinterface reachable again

i also tried to remove that whole folder, stopped this time at 299

did an tail -f on the log while importing. stopped without any errors at the point it stopped.

just several errors on a few files like

ERROR [2018-02-04 22:51:06,261] core.library.parse_media.459: Unable to parse metadata from file header.
Traceback (most recent call last):
  File "/opt/watcher3/core/library.py", line 455, in parse_media
    filedata = extractor.exportDictionary(human=False)
AttributeError: 'NoneType' object has no attribute 'exportDictionary'

help appreciated ;)

update: if i scan about 150 movies everything went well

nosmokingbandit commented 6 years ago

That involves the hachoir module, which I've helped with a little but I'm mostly unfamiliar with. What file does it say it is parsing? When that fails it shouldn't cause the server to drop the request (which is the 0 error), so something odd is going on.

Would you mind sending me the whole log so I can better see what is going on?

watchernzb@gmail.com

n1ete commented 6 years ago

sended you the log, but like i said the log doesnt have any clues about this error, even after an update today, i got the same error.

thanks in advance