Giter Club home page Giter Club logo

Comments (1)

aaannndddyyy avatar aaannndddyyy commented on June 21, 2024

ERROR {main} Traceback (most recent call last):
File "/home/zorin/.local/lib/python3.8/site-packages/moodle_dl/main.py", line 536, in main
choose_task(config, opts)
File "/home/zorin/.local/lib/python3.8/site-packages/moodle_dl/main.py", line 68, in choose_task
run_main(config, opts)
File "/home/zorin/.local/lib/python3.8/site-packages/moodle_dl/main.py", line 136, in run_main
raise base_err
File "/home/zorin/.local/lib/python3.8/site-packages/moodle_dl/main.py", line 106, in run_main
downloader = DownloadService(changed_courses, config, opts, database)
File "/home/zorin/.local/lib/python3.8/site-packages/moodle_dl/downloader/download_service.py", line 24, in init
self.all_tasks = self.gen_all_tasks()
File "/home/zorin/.local/lib/python3.8/site-packages/moodle_dl/downloader/download_service.py", line 36, in gen_all_tasks
Task(
File "/home/zorin/.local/lib/python3.8/site-packages/moodle_dl/downloader/task.py", line 78, in init
self.filename = PT.to_valid_name(self.file.content_filename, is_file=True)
File "/home/zorin/.local/lib/python3.8/site-packages/moodle_dl/utils.py", line 449, in to_valid_name
name = PathTools.truncate_filename(name, is_file, max_length)
File "/home/zorin/.local/lib/python3.8/site-packages/moodle_dl/utils.py", line 460, in truncate_filename
ext_len = len(ext)
TypeError: object of type 'NoneType' has no len()

from moodle-dl.

Related Issues (20)

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.