Giter Site home page Giter Site logo

ilias-sync2folder-cli's People

Contributors

viperinius avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

daniel-vera-g

ilias-sync2folder-cli's Issues

'NoneType' object is not subscriptable on sync

Hey first of all very interesting project!

I changed the settings in the config.yaml to be able to use it for the ilias of my university.
I managed to successfully login, but by trying to sync throws:

'NoneType' object is not subscriptable
Traceback (most recent call last):
  File "/home/env/lib/python3.6/site-packages/cliff/app.py", line 400, in run_subcommand
    result = cmd.run(parsed_args)
  File "/home/env/lib/python3.6/site-packages/cliff/command.py", line 187, in run
    return_code = self.take_action(parsed_args) or 0
  File "/home/env/ILIAS-Sync2Folder-CLI/sync2folder/commands.py", line 205, in take_action
    sync2folder.sync.startSync(parsed_args, self.app.stdout)
  File "/home/env/ILIAS-Sync2Folder-CLI/sync2folder/sync.py", line 76, in startSync
    generateCourseList()
  File "/home/env/ILIAS-Sync2Folder-CLI/sync2folder/sync.py", line 141, in generateCourseList
    rawCourses = handler.getCourseNames()
  File "/home/env/ILIAS-Sync2Folder-CLI/sync2folder/ilias/iliasHandling.py", line 153, in getCourseNames
    course.courseName = self.getCourseName(course.courseId)
  File "/home/env/ILIAS-Sync2Folder-CLI/sync2folder/ilias/iliasHandling.py", line 162, in getCourseName
    return xmlCourse['Objects']['Object']['Title']
TypeError: 'NoneType' object is not subscriptable

Did not have the time to take a closer look at the code/issue, but maybe you know the reason or some quick fix :)

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.