Code Monkey home page Code Monkey logo

qbautodelt's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

duzzy-exoduus

qbautodelt's Issues

Espace disque de l'api ne s'update pas forcement.

INFO  ::  2021-05-07 10:38:00,738 - qbAutoDelt - Disk Space at 120.2 GiB - Your allow to fill up 0.24 GiB before deleting script process,
INFO  ::  2021-05-07 10:38:00,738 - qbAutoDelt - Script will recheck your disk space in - 15 - minute,
INFO  ::  2021-05-07 10:53:00,908 - qbAutoDelt - Conection with qBittorrent tested OK : Qbittorrent v4.3.5, API 2.8.2,
INFO  ::  2021-05-07 10:53:01,000 - qbAutoDelt - Disk Space at 117.0 GiB -  Over than 3.03 GiB, deleting script start,
INFO  ::  2021-05-07 10:53:04,053 - qbAutoDelt - Script delete: The Good the Bad and the Ugly (1966) Theatrical MULTi VFI 2160p 10bit 4KLight SDR BluRay AC3 5.1 x265-QTZ.mkv, 6.9 GiB free up.,
INFO  ::  2021-05-07 11:08:14,246 - qbAutoDelt - Conection with qBittorrent tested OK : Qbittorrent v4.3.5, API 2.8.2,
INFO  ::  2021-05-07 10:53:14,063 - qbAutoDelt - Script will recheck your disk space in - 15 - minute,
INFO  ::  2021-05-07 11:08:14,331 - qbAutoDelt - Disk Space at 117.0 GiB -  Over than 3.03 GiB, deleting script start,
INFO  ::  2021-05-07 11:08:17,382 - qbAutoDelt - Script delete: Shadow in the Cloud (2020) MULTi VFI 2160p 10bit 4KLight DOLBY VISION HDR10+ BluRay AC3 5.1 x265-QTZ.mkv, 2.5 GiB free up.,
INFO  ::  2021-05-07 11:08:27,395 - qbAutoDelt - Script delete: Wonder (2017) MULTi VFF 2160p 10bit 4KLight HDR BluRay AC3 5.1 x265-QTZ.mkv, 3.8 GiB free up.,
INFO  ::  2021-05-07 11:08:37,406 - qbAutoDelt - Script will recheck your disk space in - 15 - minute

J'ai l'impression que a l'expiration de la session l'espace disque fournit par l'api ne se met plus a jour...
La session et de 60 min, et mon appel n'a pas l'air de clairement l'ouvrir

  • a test, désactivé le withliste de l'adressage docker qui du coup ne demande pas d'auth... sa peut venir de la.
  • sinon augmenter le temps de session on 24H pour être sur d’être tranquille

AttributeError: `SyncMainDataDictionary` instance has no attribute `free_space_on_disk'Issue Title`

INFO  ::  2021-04-23 03:14:03,221 - __main__ - Conection with qBittorrent tested OK : v4.1.7
INFO  ::  2021-04-23 03:14:03,325 - __main__ - Conection with qBt Web Api tested OK : 2.2
INFO  ::  2021-04-23 03:15:03,594 - __main__ - Disk Space at 27.9 GiB - Your allow to fill up 18 GiB before deleting script process
INFO  ::  2021-04-23 03:15:03,595 - __main__ - Script will recheck your disk space in - 300 - seconds

Error :

Traceback (most recent call last):
  File "/Users/**********/GitProject/qb-auto-delt/main.py", line 177, in <module>
    if diskUsageControl():
  File "/Users/**********/GitProject/qb-auto-delt/main.py", line 51, in diskUsageControl
    free = round(i.server_state.free_space_on_disk / 2 ** 30)
  File "/usr/local/lib/python3.9/site-packages/qbittorrentapi/_attrdict.py", line 153, in __getattr__
    raise AttributeError(
AttributeError: 'SyncMainDataDictionary' instance has no attribute 'free_space_on_disk'
(work_env) ➜  qb-auto-delt git:(Lime02) ✗ /Users/**********/GitProject/qb-auto-delt/work_env/bin/python /Users/**********/GitProject/qb-auto-delt/main.py
/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host '.ovh'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
INFO  ::  2021-04-23 03:25:16,117 - __main__ - Conection with qBittorrent tested OK : v4.1.7
INFO  ::  2021-04-23 03:25:16,224 - __main__ - Conection with qBt Web Api tested OK : 2.2
/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'ovh'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
INFO  ::  2021-04-23 03:26:16,717 - __main__ - Conection with qBittorrent tested OK : v4.1.7
INFO  ::  2021-04-23 03:26:16,802 - __main__ - Conection with qBt Web Api tested OK : 2.2
INFO  ::  2021-04-23 03:26:17,051 - __main__ - Disk Space at 27.9 GiB - Your allow to fill up 18 GiB before deleting script process
INFO  ::  2021-04-23 03:26:17,052 - __main__ - Script will recheck your disk space in - 60 - seconds
/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host '.ovh'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
INFO  ::  2021-04-23 03:28:17,530 - __main__ - Conection with qBittorrent tested OK : v4.1.7
INFO  ::  2021-04-23 03:28:17,580 - __main__ - Conection with qBt Web Api tested OK : 2.2

Prob with the disk usage api, test on remote instance...
I try to fix it with timeout, but not sure thats gone work. Up to 10 min, i still get the same error.

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.