-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module not appearing #95
Comments
i am getting the same kind of thing, i can see it on the magic mirror the car icon but stays on 'loading' this similar to you ? |
Same. Not working for me either. Could it be that i didn't instal the dependencies? How do I do that? |
To install the dependencies, just navigate into the MMM-traffic directory and run |
cool. now its showing up but i'm getting an error stating "API Error - InvalidInput Coordinate is invalid". I reversed the google maps coordinates though as you mention. Anything you can think of? |
i got it! i had a space between the coordinates. thanks Sam! |
Sam,
I have done anything with the dependencies
Node-fetch
Moment
Do I need to install these separately??
I still only get the car icon and 'loading' on the screen
I have tried reinstall, 99% my map box is working OK, no spaces anywhere in the code
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: hobbes19 <[email protected]>
Sent: Monday, March 1, 2021 5:30:36 AM
To: SamLewis0602/MMM-Traffic <[email protected]>
Cc: Gr1dL0ck23 <[email protected]>; Comment <[email protected]>
Subject: Re: [SamLewis0602/MMM-Traffic] Module not appearing (#95)
i got it! i had a space between the coordinates. thanks Sam!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#95 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AS2WRW3SSZOSJM3UVOR22DTTBKDUZANCNFSM4WQTTYIA>.
|
That was ment to say I haven't done anything in the top line
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Michael Dean <[email protected]>
Sent: Monday, March 1, 2021 7:46:15 PM
To: SamLewis0602/MMM-Traffic <[email protected]>; SamLewis0602/MMM-Traffic <[email protected]>
Cc: Comment <[email protected]>
Subject: Re: [SamLewis0602/MMM-Traffic] Module not appearing (#95)
Sam,
I have done anything with the dependencies
Node-fetch
Moment
Do I need to install these separately??
I still only get the car icon and 'loading' on the screen
I have tried reinstall, 99% my map box is working OK, no spaces anywhere in the code
Get Outlook for Android<https://aka.ms/ghei36>
________________________________
From: hobbes19 <[email protected]>
Sent: Monday, March 1, 2021 5:30:36 AM
To: SamLewis0602/MMM-Traffic <[email protected]>
Cc: Gr1dL0ck23 <[email protected]>; Comment <[email protected]>
Subject: Re: [SamLewis0602/MMM-Traffic] Module not appearing (#95)
i got it! i had a space between the coordinates. thanks Sam!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#95 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AS2WRW3SSZOSJM3UVOR22DTTBKDUZANCNFSM4WQTTYIA>.
|
@Gr1dL0ck23 to install the dependencies, navigate into the MMM-Traffic directory on your device and run |
Done that, makes no difference
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Sam Lewis <[email protected]>
Sent: Wednesday, March 3, 2021 6:52:24 AM
To: SamLewis0602/MMM-Traffic <[email protected]>
Cc: Gr1dL0ck23 <[email protected]>; Mention <[email protected]>
Subject: Re: [SamLewis0602/MMM-Traffic] Module not appearing (#95)
@Gr1dL0ck23<https://github.com/Gr1dL0ck23> to install the dependencies, navigate into the MMM-Traffic directory on your device and run npm install
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#95 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AS2WRW63TR6FWZS3S6ZJVTDTBU6XRANCNFSM4WQTTYIA>.
|
Going back to my comment from a couple weeks ago, are you able to provide any logs or additional info about your setup? A config or anything? Otherwise I'm afraid I can't help you |
https://forum.magicmirror.builders/topic/14613/mmm-traffic/4
Do you still access to these forums I posted the error log there
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Sam Lewis <[email protected]>
Sent: Wednesday, March 3, 2021 11:48:00 AM
To: SamLewis0602/MMM-Traffic <[email protected]>
Cc: Gr1dL0ck23 <[email protected]>; Mention <[email protected]>
Subject: Re: [SamLewis0602/MMM-Traffic] Module not appearing (#95)
I've tried reproducing this but haven't been able to with any combination of values in my config so I'm really not sure what it could be other than human error
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#95 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AS2WRW6FHNRXSJQ67VMP6L3TBWBMBANCNFSM4WQTTYIA>.
|
Thanks for this @Gr1dL0ck23 . I'm very confused where that error is coming from but it at least gives me a place to start. Can you do me a favor, run |
hey @FyLapS @Gr1dL0ck23 I just pushed a new version that fixes the error that was in the logs that @Gr1dL0ck23 posted in his link above. It's a very odd error so I'm a bit skeptical that this is actually a fix, but run |
Okay after some more thought and another tweak, I am now more confident in this fix. I believe this issue is being caused by a different third party module and that's why I haven't been able to reproduce it. @Gr1dL0ck23 please send me a list of the other third party modules you are using so that I can narrow down which one is causing the problem and reach out to the developer to help them get a fix. Or if you'd like, you can disable your other modules one by one until your MMM-Traffic works to see which one is the culprit and then let me know. If you |
Legend, will do it in a couple of hours and report back 👌
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Sam Lewis <[email protected]>
Sent: Friday, March 5, 2021 4:34:33 PM
To: SamLewis0602/MMM-Traffic <[email protected]>
Cc: Gr1dL0ck23 <[email protected]>; Mention <[email protected]>
Subject: Re: [SamLewis0602/MMM-Traffic] Module not appearing (#95)
Okay after some more thought and another tweak, I am now more confident in this fix. I believe this issue is being caused by a different third party module and that's why I haven't been able to reproduce it. @Gr1dL0ck23<https://github.com/Gr1dL0ck23> please send me a list of the other third party modules you are using so that I can narrow down which one is causing the problem and reach out to the developer to help them get a fix. Or if you'd like, you can disable your other modules one by one until your MMM-Traffic works to see which one is the culprit and then let me know.
If you git pull, I'm confident MMM-Traffic will start working for you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#95 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AS2WRW5J7NPDQ7M5X4ZBNC3TCBUOTANCNFSM4WQTTYIA>.
|
I second the sentiment. Thanks Sam I will try it and get back to you in a couple days
… On Mar 5, 2021, at 00:40, Gr1dL0ck23 ***@***.***> wrote:
Legend, will do it in a couple of hours and report back 👌
Get Outlook for Android<https://aka.ms/ghei36>
________________________________
From: Sam Lewis ***@***.***>
Sent: Friday, March 5, 2021 4:34:33 PM
To: SamLewis0602/MMM-Traffic ***@***.***>
Cc: Gr1dL0ck23 ***@***.***>; Mention ***@***.***>
Subject: Re: [SamLewis0602/MMM-Traffic] Module not appearing (#95)
Okay after some more thought and another tweak, I am now more confident in this fix. I believe this issue is being caused by a different third party module and that's why I haven't been able to reproduce it. @Gr1dL0ck23<https://github.com/Gr1dL0ck23> please send me a list of the other third party modules you are using so that I can narrow down which one is causing the problem and reach out to the developer to help them get a fix. Or if you'd like, you can disable your other modules one by one until your MMM-Traffic works to see which one is the culprit and then let me know.
If you git pull, I'm confident MMM-Traffic will start working for you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#95 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AS2WRW5J7NPDQ7M5X4ZBNC3TCBUOTANCNFSM4WQTTYIA>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sam I got it to work..
The git pull didn't fix it straight up
I took out modules one at a time from the config file until I found the problem one
It is MMM-GoogleMapsTraffic
Soon as that is out it fixes it and loads straight away
👌👌👌👌
Get Outlook for Android<https://aka.ms/ghei36>
________________________________
From: FyLapS <[email protected]>
Sent: Friday, March 5, 2021 11:10:05 PM
To: SamLewis0602/MMM-Traffic <[email protected]>
Cc: Gr1dL0ck23 <[email protected]>; Mention <[email protected]>
Subject: Re: [SamLewis0602/MMM-Traffic] Module not appearing (#95)
I second the sentiment. Thanks Sam I will try it and get back to you in a couple days
On Mar 5, 2021, at 00:40, Gr1dL0ck23 ***@***.***> wrote:
Legend, will do it in a couple of hours and report back 👌
Get Outlook for Android<https://aka.ms/ghei36>
________________________________
From: Sam Lewis ***@***.***>
Sent: Friday, March 5, 2021 4:34:33 PM
To: SamLewis0602/MMM-Traffic ***@***.***>
Cc: Gr1dL0ck23 ***@***.***>; Mention ***@***.***>
Subject: Re: [SamLewis0602/MMM-Traffic] Module not appearing (#95)
Okay after some more thought and another tweak, I am now more confident in this fix. I believe this issue is being caused by a different third party module and that's why I haven't been able to reproduce it. @Gr1dL0ck23<https://github.com/Gr1dL0ck23> please send me a list of the other third party modules you are using so that I can narrow down which one is causing the problem and reach out to the developer to help them get a fix. Or if you'd like, you can disable your other modules one by one until your MMM-Traffic works to see which one is the culprit and then let me know.
If you git pull, I'm confident MMM-Traffic will start working for you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#95 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AS2WRW5J7NPDQ7M5X4ZBNC3TCBUOTANCNFSM4WQTTYIA>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#95 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AS2WRW5DZEIS76GDY4Y4ZJDTCDCZ3ANCNFSM4WQTTYIA>.
|
@Gr1dL0ck23 you're absolutely right! I went to the code for that module, and spotted the problem immediately. It looks like there has been a PR open for 2 years to delete the line that is breaking other people's code but hasn't been merged by the owner unfortunately. May be best to stay away from that module unfortunately until the owner is able to invest the time to fix it. |
If you want to continue using that module, let me know and I'll tell you what to delete to make sure it doesn't interfere with other modules. |
I can just manually delete a line from the other google one to have both?
If so that would be my preference
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Sam Lewis <[email protected]>
Sent: Saturday, March 6, 2021 10:12:00 AM
To: SamLewis0602/MMM-Traffic <[email protected]>
Cc: Gr1dL0ck23 <[email protected]>; Mention <[email protected]>
Subject: Re: [SamLewis0602/MMM-Traffic] Module not appearing (#95)
If you want to continue using that module, let me know and I'll tell you what to delete to make sure it doesn't interfere with other modules.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#95 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AS2WRW3GJLEMDC5LKJMFNMTTCFQMBANCNFSM4WQTTYIA>.
|
Yep, that's right. In the file
If you delete that line, you should be able to use both modules. Let me know if that works for you. |
All fixed!
Deleting line 106 worked
Thank you for all your help!
Michael
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Sam Lewis <[email protected]>
Sent: Saturday, March 6, 2021 5:20:24 PM
To: SamLewis0602/MMM-Traffic <[email protected]>
Cc: Gr1dL0ck23 <[email protected]>; Mention <[email protected]>
Subject: Re: [SamLewis0602/MMM-Traffic] Module not appearing (#95)
Yep, that's right. In the file MMM-GoogleMapsTraffic.js, delete line 106 down at the bottom of the file. It's the line that says
console.log = this.styledMapType;
If you delete that line, you should be able to use both modules. Let me know if that works for you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#95 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AS2WRW5OD7HSPCPBIQPFET3TCHCSRANCNFSM4WQTTYIA>.
|
Hey thanks for this module! The old version was working great for me, but since updating it never starts. In other words, my MM works fine but the traffic times never show up from this module. I've been looking at my code and can't find anything - if my code seems ok could it be that I missed something when registering with Mapbox even tho I have an API? Did I need to do something with them after I have that API key?
Here's my code:
I've double check the API key and the whole thing is typed correctly (not all shown here)
The text was updated successfully, but these errors were encountered: