Read the statement by Michael Teeuw here.
MMM-PGA
-
@swvalenti the url used by the code to get the data from the api…
I don’t know the module at all, just trying to give some help.
Someone (You) will have to become the programmer.
learn how the module works in enough detail to :-
- find where the error occurs (this is given to you)
-
- develop some mechanism to capture the data that results in the failure
-
- analyze the data to determine the cause
-
- develop a strategy for fixing the ‘problem’
-
- apply the strategy to the existing code
repeat 1-5 til you have resolved the problem(s) successfully, or abandon the task
-
-
@swvalenti you could also open an issue on the module github page and hope the author might look at it… has updates from about 9 months ago…
-
@sdetweil It is a screen scraper. I see he says he commented some line and it is working again for him.
-
@mumblebaj cool. but doesn’t change the work
-
@sdetweil I tried pulling an issue ticket on github to no avail. @mumblebaj what is a screen scraper and can you assist in fixing?
-
@swvalenti remember this is volunteer work… we have other things in our lives…
many developers do this in the winter when they are stuck in the house. and when they can go outside, they do…
-
@swvalenti remember this is volunteer work… we have other things in our lives…
many developers do this in the winter when they are stuck in the house. and when they can go outside, they do…
completely understand sir
-
@swvalenti The issue is in the ESPN.js at line 49 or so. It is looking for
defendingChampion.athlete
but there isn’t one and it fails. I see you have created an issue on GitHub but sometimes the guys abandon their modules. Maybe the developer responds to you issue. You could change line 49 to the below and it should work.I would have done it this way:
tournament.defendingChamp = event.defendingChampion ? event.defendingChampion.athlete.displayName : ""
-
@mumblebaj said in MMM-PGA:
tournament.defendingChamp = event.defendingChampion ? event.defendingChampion.athlete.displayName : “”
@mumblebaj you are the man that worked thank you! I am going to do a PR and change
-
I forked and made changes so module is now working again. @mumblebaj thanks for the help.