rianadon / CheckPCR

A client for PCR, the homework system formerly used by The Harker School
MIT License
8 stars 3 forks source link

Homework not showing #1

Closed ashwinreddy closed 9 years ago

ashwinreddy commented 9 years ago

I logged in, but I can't see any assignments.

19RyanA commented 9 years ago

What does the developer console say? Also, did you last put PCR in month view?

ashwinreddy commented 9 years ago

I put it in month view.

Console says: pcrClient.js:28 Need to log in 2015-05-02 23:41:19.056 pcrClient.js:113 Array[9]0: "7-8 Elective CS: Java Programming"1: "8 Advanced Core English"2: "8 Computer Science"3: "8 Expository Writing"4: "8 Honors Science"5: "8 US History"6: "Advisory Class of 2019"7: "Honors Geometry"8: "Latin 2M"length: 9proto: Array[0] 2015-05-02 23:41:19.059 pcrClient.js:120 Uncaught TypeError: Cannot read property 'title' of undefined 2015-05-02 23:41:19.073 http://localhost:9000/Images/RedTriangle.gif Failed to load resource: the server responded with a status of 404 (File not found)

19RyanA commented 9 years ago

Well, Images/RedTriangle.gif will only load in week view, so CheckPCR is still loading in that view.

Try going to https://webappsca.pcrsoft.com/Clue/Student-Assignments-End-Date-Range/7536 (the url CheckPCR is loading and trying to parse), putting that in month view, and then reloading CheckPCR.

If you are still getting errors, try loading https://webappsca.pcrsoft.com/Clue/Student-Assignments-End-Date-Range/7536 again but in a new tab and seeing if it loads in week view or month view. For me, PCR will usually load the view (week or month) last used, and since Check PCR can only parse month view as of now, PCR always needs to be on month view .

ashwinreddy commented 9 years ago

Alright it's working now. Good job and thanks!