Comments (6)
copy-paste got chopped; KeyError is for 'course_code' (in the title too)
from canvassync.
Hey, this is happening because you have a course the college enrolled you in on Instructure but it wasn't activated yet!
from canvassync.
Thanks for the reply! I’ll try again with a new term in school :)
from canvassync.
I have the same problem! How could you fix it?
from canvassync.
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.
I can't fix it please help me!!!
from canvassync.
Related Issues (20)
- Remove invalid characters from file and folder names HOT 3
- TypeError: write() argument must be str, not None HOT 1
- Long Filename Error HOT 1
- Units with "/" in the course name won't sync HOT 2
- validate_domain unsupported languages HOT 1
- Any non-english canvas site is invalid
- TypeError: Unicode-objects must be encoded before hashing HOT 1
- sync more than one Canvas account
- new files with repeated names do not sync
- Trouble Installing Via Pip
- Two way sync?
- Unicode Encode Error
- Skips one course
- Windows 11 Canvas.exe crashes after typing api key
- Non-HTTP[S] links trigger the linked file feature.
- TypeError: 'NoneType' object does not support item assignment
- Courses not showing up HOT 1
- completed
- TypeError: a bytes-like object is required, not 'str' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from canvassync.