sanjacob / BlackboardSync

Download your Blackboard Learn content automatically
https://bbsync.app
GNU General Public License v2.0
34 stars 11 forks source link

Add support for Mid-State Technical College #399

Closed sanjacob closed 1 month ago

sanjacob commented 1 month ago

Created on behalf of @lint-os Closes #398

lint-os commented 1 month ago

If the url is missing the https:// prefix, the issue creation doesn't work fyi

github-actions[bot] commented 1 month ago

The build process has succeeded. Please test either package-macos-12 (x86_64), package-macos-14 (arm64), or package-windows-latest. You can find them here at the bottom of the page. Let me know if everything seems fine.

lint-os commented 1 month ago

I can log in, but the app does not detect that it is logged in. I verified that the url is correct this time. Tested using the Windows installer.

sanjacob commented 1 month ago

@lint-os can you edit the URL after logging in to be: "https://mstc.blackboard.com/ultra/"? (Without the institution-page bit)

Just edit your issue #398 rather than creating a new one. Maybe that will solve it.

lint-os commented 1 month ago

It now has logged in properly, waiting to see if it syncs

lint-os commented 1 month ago

Yes it is. Perfect! This should be ready to merge

lint-os commented 1 month ago

Huh, got a new error from Windows: Download error Traceback (most recent call last): File "pathlib.py", line 1116, in mkdir FileNotFoundError: [WinError 206] The filename or extension is too long: 'C:\Users\Me\Documents\dl4\2024\Orientation for Courses Using Blackboard Ultra\Resources for Technology Assistance, Time Management, Study Skills, and Motivation (WIP)\Time Management Ideas\10 Time Management Skills and Techniques for Students (article)'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "blackboard_sync\sync.py", line 153, in download File "blackboard_sync\download.py", line 104, in download File "blackboard_sync\content\course.py", line 42, in write File "blackboard_sync\content\content.py", line 67, in write File "blackboard_sync\content\folder.py", line 29, in write File "blackboard_sync\content\content.py", line 67, in write File "blackboard_sync\content\folder.py", line 29, in write File "blackboard_sync\content\content.py", line 65, in write File "pathlib.py", line 1121, in mkdir File "pathlib.py", line 1116, in mkdir FileNotFoundError: [WinError 206] The filename or extension is too long: 'C:\Users\Me\Documents\dl4\2024\Orientation for Courses Using Blackboard Ultra\Resources for Technology Assistance, Time Management, Study Skills, and Motivation (WIP)\Time Management Ideas\10 Time Management Skills and Techniques for Students (article)'

I tried to fix it with regedit by navigating to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem and edit LongPathsEnabled and set value from 0 to 1, but it didn't work. I try to set the folder on C:/ to see if that fixes it.

lint-os commented 1 month ago

No, that is still a problem.

lint-os commented 1 month ago

added #401