pymedusa / Medusa

Automatic Video Library Manager for TV Shows. It watches for new episodes of your favorite shows, and when they are posted it does its magic.
https://pymedusa.com
GNU General Public License v3.0
1.8k stars 276 forks source link

[APP SUBMITTED]: ValueError: invalid literal for int() with base 10: '<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\n\t\t<meta http-equiv="X-UA-Compatible" content="IE=8,IE=9,IE=10"><!-- ticket #4555 --> \n #7123

Closed Redtwist27 closed 5 years ago

Redtwist27 commented 5 years ago

INFO

Python Version: 3.7.4 (default, Jul 13 2019, 14:44:04) [GCC 8.3.0] Operating System: Linux-4.19.56-Unraid-x86_64-with Locale: UTF-8 Branch: master Database: 44.14 Commit: pymedusa/Medusa@baad1e5af59d7f29606c1fed1c110af1424bb117 Link to Log: https://gist.github.com/ff572103be73aac928bc98ecb48c55f8

ERROR

2019-09-08 21:56:41 ERROR    SNATCHQUEUE-SNATCH-360579 :: [baad1e5] qbittorrent: Unable to get API version. Error: ValueError('invalid literal for int() with base 10: \'\\n\\n\\t\\n\\t\\t\\n\\t\\t \\n')
Traceback (most recent call last):
  File "/app/medusa/medusa/clients/torrent/qbittorrent.py", line 47, in api
    version = list(map(int, version.text.split('.')))
ValueError: invalid literal for int() with base 10: '\n\n\t\n\t\t\n\t\t \n

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

Redtwist27 commented 5 years ago

the log show:

2019-09-08 21:57:34 INFO Thread-2 :: [baad1e5] Your issue ticket #7123 was submitted successfully! 2019-09-08 21:56:41 ERROR SNATCHQUEUE-SNATCH-360579 :: [baad1e5] qbittorrent: Unable to get API version. Error: ValueError('invalid literal for int() with base 10: \'<!DOCTYPE html>\n\n\t\n\t\t\n\t\t \n') Traceback (most recent call last): File "/app/medusa/medusa/clients/torrent/qbittorrent.py", line 47, in api version = list(map(int, version.text.split('.'))) ValueError: invalid literal for int() with base 10: '<!DOCTYPE html>\n\n\t\n\t\t\n\t\t \n 2019-09-08 21:56:41 ERROR SNATCHQUEUE-SNATCH-360579 :: [baad1e5] qbittorrent: Unable to get API version. Error: ValueError('invalid literal for int() with base 10: \'<!DOCTYPE html>\n\n\t\n\t\t\n\t\t \n') Traceback (most recent call last):

p0psicles commented 5 years ago

What's your qbittorrent version and config?

Redtwist27 commented 5 years ago

qBittorrent v4.1.7 what you refer to config? both medusa and qt running in docker containers.

Redtwist27 commented 5 years ago

downgrading the container fixes the problem, last build is broken. downgraded to : linuxserver/medusa:amd64-v0.3.4-ls22

medariox commented 5 years ago

Post the complete debug log when the error occurs. You(?) deleted the snippet that contained the information we need.

Redtwist27 commented 5 years ago

Post the complete debug log when the error occurs. You(?) deleted the snippet that contained the information we need.

the debug log contained way too many private information including path from post processing and what medusa was searching for , therefore it was removed.

but for what i could see there wasent much else there beside what already posted on the first topic and https://github.com/pymedusa/Medusa/issues/7123#issuecomment-529236262

the rest was all about PP, let me know if you need a log i might create a dummy secondary medusa with the latest build,

medariox commented 5 years ago

30 debug lines before the error should be enough.

medariox commented 5 years ago

We can't help you without more information. Make sure you have an ending slash for your host port. Otherwise post debug logs.