Skip to content
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

Black page / no helper started #222

Closed
paviro opened this issue Apr 23, 2016 · 27 comments
Closed

Black page / no helper started #222

paviro opened this issue Apr 23, 2016 · 27 comments

Comments

@paviro
Copy link
Contributor

paviro commented Apr 23, 2016

I just updated my mirror to the latest version, now all I get is a black page. The node helpers also do not seem to get loaded. No errors. Not in the web inspector and not in the command line.

@paviro paviro changed the title Black page not helper started Black page / no helper started Apr 23, 2016
@MichMich
Copy link
Collaborator

Which node version are you running? What does 'node serveronly' do?

@paviro
Copy link
Contributor Author

paviro commented Apr 23, 2016

Same thing with node serveronly.
Node Version: v5.10.1
System: Mac OS X

@MichMich
Copy link
Collaborator

What's the output in your terminal?

@paviro
Copy link
Contributor Author

paviro commented Apr 23, 2016

Output is like always.

Loading config ...
Loading module helpers ...
Initializing new module helper ...
No helper found for module: clock.
No helper found for module: test_module.
No helper found for module: alert.
Initializing new module helper ...
Initializing new module helper ...
Initializing new module helper ...
No helper found for module: compliments.
No helper found for module: current weather
No helper found for module: weather forecast
Initializing new module helper ...
Initializing new module helper ...
All module helpers loaded.
Starting server op port 8080 ...
Server started ...
Connecting socket for: MMM-Facial-Recognition
Staring module helper: MMM-Facial-Recognition
Connecting socket for: MMM-FRITZ-Box-Callmonitor
Starting module: MMM-FRITZ-Box-Callmonitor
Connecting socket for: MMM-Traffic
MMM-Traffic helper started ...
Connecting socket for: calendar
Starting node helper for: calendar
Connecting socket for: MMM-Wunderlist
Connecting socket for: newsfeed
Starting module: newsfeed
Sockets connected & modules started ...

Ready to go! Please point your browser to: http://localhost:8080..

@MichMich
Copy link
Collaborator

Try removing all modules and adding them one by one.

@paviro
Copy link
Contributor Author

paviro commented Apr 23, 2016

Removing the calendar did the trick.

@MichMich
Copy link
Collaborator

Did you make any changes to the calendar module?

@paviro
Copy link
Contributor Author

paviro commented Apr 23, 2016

No

@MichMich
Copy link
Collaborator

And no console errors?

@paviro
Copy link
Contributor Author

paviro commented Apr 23, 2016

Nop 😐 This is the web inspector log:

Initializing MagicMirror.
Load script: modules/MMM-Facial-Recognition//MMM-Facial-Recognition.js
Module registered: MMM-Facial-Recognition
Bootstrapping module: MMM-Facial-Recognition
Scripts loaded for: MMM-Facial-Recognition
Styles loaded for: MMM-Facial-Recognition
Translations loaded for: MMM-Facial-Recognition
Load script: modules/default/clock//clock.js
Module registered: clock
Bootstrapping module: clock
Load script: vendor/moment/moment-with-locales.min.js
Scripts loaded for: clock
Styles loaded for: clock
Translations loaded for: clock
Load script: modules/test_module//test_module.js
Module registered: test_module
Bootstrapping module: test_module
Scripts loaded for: test_module
Styles loaded for: test_module
Translations loaded for: test_module
Load script: modules/default/alert//alert.js
Module registered: alert
Bootstrapping module: alert
Load script: modules/default/alert//classie.js
Load script: modules/default/alert//modernizr.custom.js
Load script: modules/default/alert//notificationFx.js
Scripts loaded for: alert
Load stylesheet: modules/default/alert//ns-default.css
Styles loaded for: alert
Translations loaded for: alert
Load script: modules/MMM-FRITZ-Box-Callmonitor//MMM-FRITZ-Box-Callmonitor.js
Module registered: MMM-FRITZ-Box-Callmonitor
Bootstrapping module: MMM-FRITZ-Box-Callmonitor
Scripts loaded for: MMM-FRITZ-Box-Callmonitor
Styles loaded for: MMM-FRITZ-Box-Callmonitor
Translations loaded for: MMM-FRITZ-Box-Callmonitor
Load script: modules/MMM-Traffic//MMM-Traffic.js
Module registered: MMM-Traffic
Bootstrapping module: MMM-Traffic
Scripts loaded for: MMM-Traffic
Load stylesheet: modules/MMM-Traffic//traffic.css
Styles loaded for: MMM-Traffic
Translations loaded for: MMM-Traffic
Load script: modules/default/calendar//calendar.js
Module registered: calendar
Bootstrapping module: calendar
File already loaded: moment.js
Scripts loaded for: calendar
Load stylesheet: modules/default/calendar//calendar.css
Load stylesheet: vendor/font-awesome-4.5.0/css/font-awesome.min.css
Styles loaded for: calendar
Translations loaded for: calendar
Bootstrapping module: calendar
File already loaded: moment.js
Scripts loaded for: calendar
File already loaded: calendar.css
File already loaded: font-awesome.css
Styles loaded for: calendar

@MichMich
Copy link
Collaborator

@paviro
Copy link
Contributor Author

paviro commented Apr 23, 2016

Yeah.... Exactly my reaction 😳

@MichMich
Copy link
Collaborator

So it stops with the calendar. It doesn't continue.

@paviro
Copy link
Contributor Author

paviro commented Apr 23, 2016

Seems like it but how can it be that there isn't any error?

@MichMich
Copy link
Collaborator

Got no clue.

@paviro
Copy link
Contributor Author

paviro commented Apr 23, 2016

Any idea how to debug? 😕

@MichMich
Copy link
Collaborator

What if you leave the config part of the calendar empty?

@paviro
Copy link
Contributor Author

paviro commented Apr 23, 2016

No changes.

@paviro
Copy link
Contributor Author

paviro commented Apr 23, 2016

Problem only seems to appear with multiple calendars! If I remove one does not matter which one, it works...

@MichMich
Copy link
Collaborator

Ok. If you find the big and send a pull request with fix, you don't have to bake me that pie anymore. ;)

@MichMich
Copy link
Collaborator

*bug

@paviro
Copy link
Contributor Author

paviro commented Apr 23, 2016

Could this be a problem with the new translation feature, when the same module is loaded twice?

@MichMich
Copy link
Collaborator

Could be. Does it occur when you use two calendar modules? Or when you use two calendar feeds in one module?

@paviro
Copy link
Contributor Author

paviro commented Apr 23, 2016

Two modules!

@MichMich
Copy link
Collaborator

Ok, give me one sec.

MichMich added a commit that referenced this issue Apr 23, 2016
@MichMich
Copy link
Collaborator

Fixed. Please pull.

Thanks for the bug hunt.

paviro added a commit to paviro/MagicMirror that referenced this issue Apr 23, 2016
@paviro
Copy link
Contributor Author

paviro commented Apr 23, 2016

Nice thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants