numbas / blackboard-scorm-analysis

A tool to analyse data about SCORM attempts from a Blackboard course archive
3 stars 1 forks source link

Requirements may need updating (or backdating) #6

Open davidhodge180 opened 2 years ago

davidhodge180 commented 2 years ago

Thanks for the great tool! I tried a new install of this in August 2022, but suspect that some of the python packages have changed and broken a few more things.

I was getting errors to do with flask and Jijna2, before launching the server. Then after server launch Markup safe caused an issue.

With some websearching I managed to find a list of package versions which were useful to someone on a similar project from around the time, so I updated the requirements.txt list to the following:

Flask==1.0.2 lxml==4.3.0 pygal==2.4.0 Jinja2==2.10.3 MarkupSafe==1.1.1 itsdangerous==1.1.0 Werkzeug==0.12.2 click==8.1.3

I still had the issue with 'seekable' files when uploading so had to make the edits in #5 to server.py and blackboardscorm.py too

But it does still work nicely!

christianp commented 2 years ago

I've had a go at running this with python 3.10, and updated the requirements file to the latest versions of the packages it lists.

I don't have access to Blackboard any more to make a course export file, so I could only check that the index page loads. @davidhodge180, if you have a sandbox course or anything with no student info on it, could you export a zip and send it to christian.perfect@ncl.ac.uk, please?

davidhodge180 commented 2 years ago

Great! I shall see if I can generate some fake data next week and send it across. I've only been using it with actual student info at the second, but I should be able to work out how to create a boring sandbox example.

Edit on September 1st: I haven't managed to do this yet as I haven't got access to a sandbox yet, but shall keep trying.