MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Blank black screen | Noob

    Scheduled Pinned Locked Moved Troubleshooting
    44 Posts 12 Posters 60.3k Views 11 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      smithdsl
      last edited by KirAsh4

      Hey Everyone,
      I was have the same issue. Change from ‘en’ to ’ ’ now it works.
      @KirAsh4 this is my “locale” folder.

      pi@raspberrypi:~ $ sudo ls -aF /usr/share/X11/locale/
      ./            fi_FI.UTF-8/       iso8859-11/  iso8859-6/    ja.SJIS/      locale.dir         sr_CS.UTF-8/   zh_CN.gb18030/    zh_TW.UTF-8/
      ../           georgian-academy/  iso8859-13/  iso8859-7/    km_KH.UTF-8/  microsoft-cp1251/  tatar-cyr/     zh_CN.gbk/
      am_ET.UTF-8/  georgian-ps/       iso8859-14/  iso8859-8/    ko/           microsoft-cp1255/  th_TH/         zh_CN.UTF-8/
      armscii-8/    ibm-cp1133/        iso8859-15/  iso8859-9/    koi8-c/       microsoft-cp1256/  th_TH.UTF-8/   zh_HK.big5/
      C/            iscii-dev/         iso8859-2/   iso8859-9e/   koi8-r/       mulelao-1/         tscii-0/       zh_HK.big5hkscs/
      compose.dir   isiri-3342/        iso8859-3/   ja/           koi8-u/       nokhchi-1/         vi_VN.tcvn/    zh_HK.UTF-8/
      el_GR.UTF-8/  iso8859-1/         iso8859-4/   ja.JIS/       ko_KR.UTF-8/  pt_BR.UTF-8/       vi_VN.viscii/  zh_TW/
      en_US.UTF-8/  iso8859-10/        iso8859-5/   ja_JP.UTF-8/  locale.alias  ru_RU.UTF-8/       zh_CN/         zh_TW.big5/
      pi@raspberrypi:~ $
      

      Thanks.

      1 Reply Last reply Reply Quote 0
      • KirAsh4K Offline
        KirAsh4 Moderator
        last edited by

        And in the EN_US.UTF-8 folder? Is there stuff in there?

        A Life? Cool! Where can I download one of those from?

        1 Reply Last reply Reply Quote 0
        • S Offline
          smithdsl
          last edited by

          pi@raspberrypi:/usr/share/X11/locale/en_US.UTF-8 $ ls -aF
          ./ …/ Compose XI18N_OBJS XLC_LOCALE
          pi@raspberrypi:/usr/share/X11/locale/en_US.UTF-8 $

          1 Reply Last reply Reply Quote 0
          • KirAsh4K Offline
            KirAsh4 Moderator
            last edited by

            Yeah that’s odd, it’s the same on mine, so you do have en_US locale installed on the rpi. But why is MM² failing for you, when it’s working fine for me, that’s a bit of a mystery. If you don’t mind, just for grins, would you care to run through only Step 2 in this post: https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/4, specifically the Internationalization part.

            A Life? Cool! Where can I download one of those from?

            1 Reply Last reply Reply Quote 0
            • MichMichM Offline
              MichMich
              last edited by

              This is a real strange situation. I tried it with different language setting, but none of them seem to cause an issue. (Even when using language: 'foobar', it just works fine.) Could one of you who is experiencing the bug, look in the developer’s console for any error messages?

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                ronny3050 Module Developer @MichMich
                last edited by

                @MichMich I think this has something to do with electron? Because everything runs fine on server only.

                1 Reply Last reply Reply Quote 0
                • MichMichM Offline
                  MichMich
                  last edited by

                  I can’t really see how that’s affected. It’s just a variable that will be used to select the right file. I really need a log from the console to figure out what’s wrong.

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    smithdsl @MichMich
                    last edited by

                    @MichMich How do I dump the log file?

                    1 Reply Last reply Reply Quote 0
                    • MichMichM Offline
                      MichMich
                      last edited by

                      It’s not the node log. It’s the console log you can see in the developers tools. A screenshot (with the red error messages) is enough.

                      1 Reply Last reply Reply Quote 0
                      • MichMichM Offline
                        MichMich
                        last edited by

                        I just pushed a possible fix to the develop branch. Please let me know if this solves the issue.

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          dejayou
                          last edited by

                          Hi MichMich- I am using the new develop branch and whatever the fix was is not working for me. I am still getting the blank black screen. I also wasn’t able to fix it with changing the naming conventions related to the language settings that worked for others.

                          1 Reply Last reply Reply Quote 0
                          • MichMichM Offline
                            MichMich
                            last edited by

                            In your case its probably an other issue. Could you share your config.js (don’t forget to take out sensitive info)?

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              dejayou
                              last edited by MichMich

                              Hi MichMich,
                              Thank you for continuing to work with me on this matter. Here is the config file:

                              /* Magic Mirror Config Sample
                               *
                               * By Michael Teeuw http://michaelteeuw.nl
                               * MIT Licensed.
                               */
                              var config = {
                                  port: 8080,
                              
                                  language: "nl",
                                  timeFormat: 24,
                                  units: "metric",
                              
                                  modules: [{
                                      module: "alert"
                                  },
                                          {
                                      module: "wuforecast",
                                      position: "top_right", // This can be any of the regions.
                                      // Best results in left or right regions.
                                      config: {
                                          // See ‘Configuration options’ for more information.
                                          location: "Cleveland",
                                          appid: "5095830b868b90bcc31affdad4911325" //wunderground.com API key.
                                      }
                                  },
                                          {
                                      module: "clock",
                                      position: "top_left"
                                  },
                                          {
                                      module: "calendar",
                                      header: "US Holidays",
                                      position: "top_left",
                                      config: {
                                          calendars: [{
                                              symbol: "calendar-check-o",
                                              url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
                                          }]
                                      }
                                  },
                                          {
                                      module: "compliments",
                                      position: "lower_third"
                                  },
                                          {
                                      module: "currentweather",
                                      position: "top_right",
                                      config: {
                                          location: "Cleveland",
                                          locationID: "4614088", //ID from bulk.openweather.org/sample/
                                          appid: "5095830b868b90bcc31affdad4911325"
                                      }
                                  },
                                          {
                                      module: "weatherforecast",
                                      position: "top_right",
                                      header: "Weather Forecast",
                                      config: {
                                          location: "Cleveland",
                                          locationID: "4614088", //ID from bulk.openweather.org/sample/
                                          appid: "5095830b868b90bcc31affdad4911325"
                                      }
                                  },
                                          {
                                      module: "newsfeed",
                                      position: "bottom_bar",
                                      config: {
                                          feeds: [{
                                              title: "New York Times",
                                              url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
                                          }],
                                          showSourceTitle: true,
                                          showPublishDate: true
                                      }
                                  }]
                              
                              };
                              
                              /*************** DO NOT EDIT THE LINE BELOW ***************/
                              if (typeof module !== "undefined") {
                                  module.exports = config;
                              }
                              
                              1 Reply Last reply Reply Quote 0
                              • MichMichM Offline
                                MichMich
                                last edited by

                                @dejayou: could you try your magic mirror without the wuforecast module?

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  dejayou
                                  last edited by

                                  That did it! Amazing thank you!

                                  1 Reply Last reply Reply Quote 1
                                  • S Offline
                                    spazehorst
                                    last edited by spazehorst

                                    Hello @MichMich and everyone!

                                    First of all big thanks for this really cool project, my bathroom mirror is progressing well ;-)

                                    Unfortunately I cannot confirm that this issue here is solved.

                                    After succeeding to set up a Pi 1 with the serveronly feature, I ordered a Pi 3, did almost the same but maybe not thoroughly, thought I messed up, and started over from scratch:

                                    I ran the automatic installer and left the config.js.sample as it was (this was the lucky move!). I started the mirror with DISPLAY=:0 npm start. The interface shows up and gives the message: please create a config.js file.
                                    But when I do mv config.js.sample config.js and restart the mirror, I get a black screen. When I now set the language to ‘’, it works as supposed.
                                    So maybe also one of the default modules messes up (like the “wuforecast”)?
                                    Anyhow may I suggest to just set the language field blank in the config.js.sample, so that others don’t stumble upon this?

                                    Thank you and Cheers, Patrick

                                    PS:
                                    Pi 3 Model B v1.2
                                    $uname -a
                                    Linux raspberrypi 4.4.11-v7+ #888 SMP Mon May 23 20:10:33 BST 2016 armv7l GNU/Linux

                                    The only commands I ever executed after reinstall were:
                                    sudo su
                                    sudo apt-get update && apt-get dist-upgrade -y
                                    sudo apt-get install -y x11-xserver-utils unclutter matchbox vim
                                    curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh | bash
                                    cd MagicMirror/
                                    DISPLAY=:0 npm start

                                    MichMichM 1 Reply Last reply Reply Quote 0
                                    • MichMichM Offline
                                      MichMich @spazehorst
                                      last edited by

                                      @spazehorst could you try it with The sample config? Especially no 3rd party modules.

                                      S 1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        spazehorst @MichMich
                                        last edited by

                                        @MichMich well, as I wrote above, I just renamed the sample config which is currently checkd in, never even opened it ;-) That’s why I said it must be one of those default modules…
                                        (I am sitting on this commit: 5d9d71dee8c300fede321dbafb5ff7aa79f1ea30)
                                        Cheers

                                        MichMichM 1 Reply Last reply Reply Quote 0
                                        • MichMichM Offline
                                          MichMich @spazehorst
                                          last edited by

                                          @spazehorst Please try The develop branch with The latest commit.

                                          S 1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            spazehorst @MichMich
                                            last edited by spazehorst

                                            @MichMich Hi, sorry for the late reply, I could now quickly test it and with the sample config of the devel branch (commit e2ed0f5e55c132633bcbd5c7c64159c0aaced571) it works.

                                            edit: after pulling the master again, it now also works there with language: ‘en’

                                            Cheers

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy