Giter VIP home page Giter VIP logo

Comments (6)

justinTM avatar justinTM commented on July 17, 2024

copy-paste got chopped; KeyError is for 'course_code' (in the title too)

from canvassync.

sidpagariya avatar sidpagariya commented on July 17, 2024

Hey, this is happening because you have a course the college enrolled you in on Instructure but it wasn't activated yet!

from canvassync.

justinTM avatar justinTM commented on July 17, 2024

Thanks for the reply! I’ll try again with a new term in school :)

from canvassync.

hellodoiknowu avatar hellodoiknowu commented on July 17, 2024

I have the same problem! How could you fix it?

from canvassync.

hellodoiknowu avatar hellodoiknowu commented on July 17, 2024

Traceback (most recent call last):
File "C:\Users\Susu\AppData\Local\Programs\Python\Python39\Scripts\canvas-script.py", line 33, in
sys.exit(load_entry_point('CanvasSync==0.2.4', 'console_scripts', 'canvas')())
File "c:\users\susu\appdata\local\programs\python\python39\lib\site-packages\bin\canvas.py", line 187, in entry
run_canvas_sync()
File "c:\users\susu\appdata\local\programs\python\python39\lib\site-packages\bin\canvas.py", line 132, in run_canvas_sync
main_menu(settings)
File "c:\users\susu\appdata\local\programs\python\python39\lib\site-packages\bin\canvas.py", line 146, in main_menu
settings.set_settings()
File "c:\users\susu\appdata\local\programs\python\python39\lib\site-packages\CanvasSync\settings\settings.py", line 152, in set_settings
self._set_settings()
File "c:\users\susu\appdata\local\programs\python\python39\lib\site-packages\CanvasSync\settings\settings.py", line 180, in _set_settings
self.courses_to_sync = user_prompter.ask_for_courses(self, api=self.api)
File "c:\users\susu\appdata\local\programs\python\python39\lib\site-packages\CanvasSync\settings\user_prompter.py", line 171, in ask_for_courses
courses = [name[u"course_code"].split(";")[-1] for name in courses]
File "c:\users\susu\appdata\local\programs\python\python39\lib\site-packages\CanvasSync\settings\user_prompter.py", line 171, in
courses = [name[u"course_code"].split(";")[-1] for name in courses]
KeyError: 'course_code'

from canvassync.

hellodoiknowu avatar hellodoiknowu commented on July 17, 2024

I can't fix it please help me!!!

from canvassync.

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.