You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Certain folders within a module cannot be synced
To Reproduce
Steps to reproduce the behavior:
Sync for CS2102
Only Folders 'Cases', 'course_image' synced
Missing Folders 'Finals', 'Guide', 'Midterms', 'Slides', 'Tutorials'
'Finals' and 'Midterms' Folder are locked and inaccessible on Canvas so non-issue
Expected behavior
'Guide', 'Slides', 'Tutorials' Folder should be able to sync
Screenshots
Canvas:
Synced by Lominus:
Logs:
`[2024-01-29 01:13:42] WARNING - json: cannot unmarshal object into Go value of type []interfaces.CanvasFileObject (C:/Program Files/lominus-development_290124/internal/cron/cron.go:github.com/beebeeoii/lominus/internal/cron.createJob.func1:162)
[2024-01-29 01:13:43] WARNING - json: cannot unmarshal object into Go value of type []interfaces.CanvasFileObject (C:/Program Files/lominus-development_290124/internal/cron/cron.go:github.com/beebeeoii/lominus/internal/cron.createJob.func1:162)
[2024-01-29 01:13:43] WARNING - json: cannot unmarshal object into Go value of type []interfaces.CanvasFileObject (C:/Program Files/lominus-development_290124/internal/cron/cron.go:github.com/beebeeoii/lominus/internal/cron.createJob.func1:162)`
Desktop (please complete the following information):
OS: Microsoft Windows 10 Home
Version: latest dev branch 290124, not working on v2.1.0 as well
Additional context
Issue might be from unsupported folder/file configurations on Canvas.
Observed within tutorials folder, tutorial 'T01.pdf' has a scheduled release configuration
Let me know if more clarifications needed! Thanks 👍
The text was updated successfully, but these errors were encountered:
the folders that are missing ("guides", "slides", "tutorials") actually have files inside? Lominus will not create those folders if there are no files inside. In other words, it will not create empty folders.
If there are files inside, those files are available for download normally through Canvas. Lominus cannot download files that are not released, locked etc.
Weird issue as this issue is because of Canvas returning an error 403 Forbidden even though user is able to access the files within the folder normally via the website.
Describe the bug
Certain folders within a module cannot be synced
To Reproduce
Steps to reproduce the behavior:
'Finals' and 'Midterms' Folder are locked and inaccessible on Canvas so non-issue
Expected behavior
'Guide', 'Slides', 'Tutorials' Folder should be able to sync
Screenshots
Canvas:
Synced by Lominus:
Logs:
`[2024-01-29 01:13:42] WARNING - json: cannot unmarshal object into Go value of type []interfaces.CanvasFileObject (C:/Program Files/lominus-development_290124/internal/cron/cron.go:github.com/beebeeoii/lominus/internal/cron.createJob.func1:162)
[2024-01-29 01:13:43] WARNING - json: cannot unmarshal object into Go value of type []interfaces.CanvasFileObject (C:/Program Files/lominus-development_290124/internal/cron/cron.go:github.com/beebeeoii/lominus/internal/cron.createJob.func1:162)
[2024-01-29 01:13:43] WARNING - json: cannot unmarshal object into Go value of type []interfaces.CanvasFileObject (C:/Program Files/lominus-development_290124/internal/cron/cron.go:github.com/beebeeoii/lominus/internal/cron.createJob.func1:162)`
Desktop (please complete the following information):
Additional context
Issue might be from unsupported folder/file configurations on Canvas.
Observed within tutorials folder, tutorial 'T01.pdf' has a scheduled release configuration
Let me know if more clarifications needed! Thanks 👍
The text was updated successfully, but these errors were encountered: