C0D3D3V / Moodle-DL

Moodle-DL downloads course content fast from Moodle (eg. lecture pdfs)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

int() argument must be a string

juffis opened this issue · comments

  • [ x ] Bug is not already reported in another issue

Describe the bug

When downloading course information, the process stops every time in same place and gives an error:

Downloading course information 16/ 17 [KE00BT61-3108 E..| 13337]

The following error occurred during execution:
int() argument must be a string, a bytes-like object or a real number, not 'NoneType'

Steps to reproduce the issue

  1. Start moodle-dl
  2. Use default settings
  3. Downloading starts and stops after a while with the error

Downloading course information 16/ 17 [KE00BT61-3108 E..| 13337]

The following error occurred during execution:
int() argument must be a string, a bytes-like object or a real number, not 'NoneType'

Technical details

Ubuntu 22.10 x86_64
moodle-dl 2.2.2.3 (installed using pip)

Expected behavior

Downloads complete without errors.

Log:
MoodleDownloader.log

Interesting bug, strange that only now someone has encountered it. I will fix it and get back to you.

Please test if the new release fixed the problem.

Please test if the new release fixed the problem.

It's fixed now, nice.