-
Notifications
You must be signed in to change notification settings - Fork 4
Edupage logging out after some time #13
Copy link
Copy link
Open
Description
#
# A fatal error has occurred!
#
# This is probably not your fault!
# If this happens often, please consider reporting a bug.
#
# Error thrown:
# ParseError: Failed to parse timetable data from html
# at Function.parse (/media/cfp/Volume/Projects/edupageCLI/node_modules/edupage-api/src/Timetable.js:70:51)
# at Edupage.fetchTimetablesForDates (/media/cfp/Volume/Projects/edupageCLI/node_modules/edupage-api/src/Edupage.js:466:27)
# at processTicksAndRejections (node:internal/process/task_queues:96:5)
# at async Edupage.getTimetableForDate (/media/cfp/Volume/Projects/edupageCLI/node_modules/edupage-api/src/Edupage.js:426:11)
# at async timetable (/media/cfp/Volume/Projects/edupageCLI/main.js:36:30)
# at async /media/cfp/Volume/Projects/edupageCLI/main.js:178:7
#
# Summary:
# Time: Fri Jan 21 2022 17:21:57 GMT+0100 (Central European Standard Time)
# EdupageAPI version: v0.7.14
# Node.js version: v16.13.0
# Error log: /media/cfp/Volume/Projects/edupageCLI/node_modules/edupage-api/logs/fatal_error_2022-01-21T16-21-57Z.json
#
# If you would like to submit an issue, please visit:
# > https://github.com/loumadev/EdupageAPI/issues
# (Please, include this error message + error log)
#
✖ Error!!
TypeError: Cannot read properties of undefined (reading 'dates')
at Edupage.fetchTimetablesForDates (/media/cfp/Volume/Projects/edupageCLI/node_modules/edupage-api/src/Edupage.js:467:36)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Edupage.getTimetableForDate (/media/cfp/Volume/Projects/edupageCLI/node_modules/edupage-api/src/Edupage.js:426:11)
at async timetable (/media/cfp/Volume/Projects/edupageCLI/main.js:36:30)
at async /media/cfp/Volume/Projects/edupageCLI/main.js:178:7
Error log:
{
"error": {
"stack": "ParseError: Failed to parse timetable data from html\n at Function.parse (/media/cfp/Volume/Projects/edupageCLI/node_modules/edupage-api/src/Timetable.js:70:51)\n at Edupage.fetchTimetablesForDates (/media/cfp/Volume/Projects/edupageCLI/node_modules/edupage-api/src/Edupage.js:466:27)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at async Edupage.getTimetableForDate (/media/cfp/Volume/Projects/edupageCLI/node_modules/edupage-api/src/Edupage.js:426:11)\n at async timetable (/media/cfp/Volume/Projects/edupageCLI/main.js:36:30)\n at async /media/cfp/Volume/Projects/edupageCLI/main.js:178:7",
"message": "Failed to parse timetable data from html",
"name": "ParseError"
},
"data": {
"html": "JS: /* Error6511024354099 */ ASC.reloadPage();",
"match": null
}
}Stuff that may be causing the problem:
I left the program running for a very long time, maybe it logged out after some time and thats why?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels