ethanpartida / MMM-MyStudyLife

Module to display info from the website MyStudyLife
MIT License
10 stars 1 forks source link

"loading" forever issue #8

Closed thinsey closed 3 years ago

thinsey commented 3 years ago

Hi,

I am having this issue as well, despite naming the class objects the same as what they are in the app. Not sure if there are other issues that may cause this problem too.

ethanpartida commented 3 years ago

I will take a look at this soon. Could you send me your config file?

Best, Ethan On Jan 9, 2021, 12:51 PM -0600, thinsey notifications@github.com, wrote:

Hi, I am having this issue as well, despite naming the class objects the same as what they are in the app. Not sure if there are other issues that may cause this problem too. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

thinsey commented 3 years ago

{ module: "MMM-MyStudyLife", position: "bottom_left", config: { code: "XXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXX=", showSchedule: true, showExams: true, showTasks: true, totNumOfTasks: 5, totNumOfExams: 5, color: true, classes: { 'Adulting': [], 'Chemistry 121': [1,2,3,4,5], 'Separation': [], 'Volunteer Projects': [], }
} },

I just replaced the api code with some X's, in my file its the actual code.

ethanpartida commented 3 years ago

It is quite possible that the no time scheduled classes are messing with things. Could you walk me through how you were able to make those? MyStudyLife will not let me add a class if there are not class times for it.

thinsey commented 3 years ago

So I guess the other ones are just "subjects" listed for the year. Only the Chemistry class is an actual class. However, even just doing that one it stays stuck in loading.

ethanpartida commented 3 years ago

Hi, Sorry for the late reply. Could you try running npm start dev and then pasting what appears in the white console on the right side of the screen.

thinsey commented 3 years ago
MagicMirror²
thinsey commented 3 years ago

I'm having difficulty copy/pasting the entire Elements

thinsey commented 3 years ago
MagicMirror²
Monday, January 18, 2021
10:2628
Today
Few clouds

51.6° F (10.9° C)
0%
62%
7.1 Mph WSW
Tomorrow
Few clouds

56.3° F (13.5° C)
0%
59%
4.9 Mph SW
Day After
Scattered clouds

58.2° F (14.6° C)
0%
51%
8.4 Mph W
loading
Good morning, handsome!
Run
7 17.3 0
Last 4 weeks
thinsey commented 3 years ago

2021-01-18-103218_1920x1080_scrot

ethanpartida commented 3 years ago

It should not be individual elements. It should be like a log. I've included a screencap of what it should look like. The white area is what is important. mirror

thinsey commented 3 years ago

2021-01-23-152937_1920x1080_scrot

anonymous3572 commented 3 years ago

Anyone have a fix? I have the same problem

ethanpartida commented 3 years ago

Hi all,

Very sorry for going awal. I've tried pushing a fix to master. See if this fixes things if not, please paste another photo like @thinsey 's most recent.

anonymous3572 commented 3 years ago

Same issue. If is set show schedule to false it works but I really need the schedule. My config is : { module: "MMM-MyStudyLife", position: "top_right", config: { code: "I didn't put my id for privacy reasons", showSchedule: true, showExams: true, showTasks: true, classes: { "Math": [1,2,4,5], "Romanian": [1,2,3,5], "French": [1,3], "Sport": [1,3], "Physics": [3.5], "Music": [1], "Geography": [1,5], "Biology": [2,4], "It": [2], "Chemistry": [2,4], "Class talk": [2], "Technological education": [3], "Art": [3], "Religion": [4], "English": [4,5], "Social education": [4], "History": [4], "Latin": [5],

}

} },

anonymous3572 commented 3 years ago

oh and with ctrl shift i It shows the same error as @thinsey

ethanpartida commented 3 years ago

Just to confirm, you git pull'd so your branch was up to date? Also the error us occurring on lines 357?

Best, Ethan On Mar 4, 2021, 1:30 AM -0600, anonymous3572 notifications@github.com, wrote:

oh and with ctrl shift i It shows the same error as @thinsey — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

anonymous3572 commented 3 years ago

Yes

ethanpartida commented 3 years ago

Can you paste a screenshot? There should be text output after "Added Schedule Stuff" in the following format: "Class occurring: \n CLASS NAME"