VikeLabs / courseup

An open-source website built to simplify the experience of searching courses and building timetables for the University of Victoria.
https://courseup.vikelabs.ca/
42 stars 28 forks source link

Bug: Can't screenshot my timetable for Spring 2024 #479

Open logankuzyk opened 1 year ago

logankuzyk commented 1 year ago

Describe the Bug/Issue When I try to screenshot my Spring 2024 timetable, nothing happens. Looking at the logs, it looks like some "Unprocessable Entities" are causing this failure.

Here are the logs:

Uncaught (in promise) 
Object { data: "", message: "Failed to fetch: 422 Unprocessable Entity", status: 422, … }
​
__sentry_captured__: true
​
data: ""
​
message: "Failed to fetch: 422 Unprocessable Entity"
​
status: 422
​
<prototype>: Object { … }
​​
__defineGetter__: function __defineGetter__()
​​
__defineSetter__: function __defineSetter__()
​​
__lookupGetter__: function __lookupGetter__()
​​
__lookupSetter__: function __lookupSetter__()
​​
__proto__: 
​​
constructor: function Object()
​​
hasOwnProperty: function hasOwnProperty()
​​
isPrototypeOf: function isPrototypeOf()
​​
propertyIsEnumerable: function propertyIsEnumerable()
​​
toLocaleString: function toLocaleString()
​​
toString: function toString()
​​
valueOf: function valueOf()
​​
<get __proto__()>: function __proto__()
​​
<set __proto__()>: function __proto__()

Steps to reproduce the behaviour/bug/issue:

Try screenshotting your Spring 2024 schedule. I tried removing each course to see if it was related to the course data, but it doesn't seem to be.

Expected Behaviour Should be able to screenshot like with my Fall 2023 term.

Runtime

FlyteWizard commented 1 year ago

Might be similar to: https://github.com/VikeLabs/courseup/issues/457

The issue also presents itself in the share button:

Error