efb

i bought the efb and i install it. i get a black screen when open it in vc cockpit

Comments

  • Sorry, to ask such an inane question, but do you have the 1.026a patch installed since it requires it?

  • edited February 22

    yes i have the patch installed

  • edited February 23

    I also get a black screen when I open it. Yes, 1.026a is installed.

    And, when I run it outside the simulator on a tablet using "http://{local ip address}:8782/index.html", it runs but gives a "TypeError: Failed to fetch" error message ... ie, no data is imported and the fields are all blank.

    Intriguingly however, it works perfectly fine when I run it in my web browser on the local PC with the sim.
    .

    MJC84-EFB

  • Kindly contact us via our support email so that further trouble shooting can be done.

  • @kroswynd I work in IT Customer Support and we have had something similar happen to clients of ours ...

    Based on this, it occurred to me that I use a static IP address on my PC and the fact that the "serverurl.js" file uses "localhost" may be cause of the issue. So, I manually modified the "serverurl.js" file and changed "localhost" to the actual static IP address used by my PC. The EFB now works perfrectly outside the simulator on my tablet. (I note there is no such IP address or "localhost" used in the EFB.ini file and therefore no change was required there.)

    However, despite this change in the "serverurl.js" file to the actual static IP address used by my PC, I am still getting the black screen when I open it within the simulator itself.

    I will investigate this a bit further later today and will contact you via your support email if those investigations don't get me anywhere.

  • Sounds good. Thanks for additional input, but be sure to reach out to us in Support in case there is anything else that may be amiss.

    Cheers

  • edited February 25

    UPDATE:

    I have run various experiments and tests and have been unable to get the 2D EFB panel to work. In other words, I am still getting the black screen when I open it within the simulator itself.

    The relative path in the panel.cfg file does look to be correct and the index.html file does run perfectly if I simply double-click on it. But, it's not working from the 2D panel menus in the simulator. So, for testing, I decided I would try moving the index.html file to different folder locations and/or move the entire EFB folder, and then subdequently change the path information in panel.cfg to match accordingly. Despite this, nothing I tried worked. I used relative paths, absolute paths, paths with quotes, paths without quotes ... the simulator's root folder, MJC8's root folder, MJC8's panel folder ... etc etc.

    The impression I am getting, rightly or wrongly, based on this testing, is that it appears that even though the path information in panel.cfg is correct (well, I hope I am entering that correctly :smile:), the simulator is simply refusing to run/load the index.html file. And this, despite where I try moving/locating it to. I couldn't even get it to run/load the help.html file.

    Changing the window_pos= parameters within panel.cfg did move the black screen around on the main screen, so I know it's looking at the right location within panel.cfg ... but, as to why it won't load the index.html file, I simply don't know.

    (Hmmm, a thought bubble ... as a user of P3Dv4, could it be that HTML_FILE= is not a valid parameter option for panel.cfg within P3Dv4? Is this perhaps a parameter option only introduced for P3Dv5 and higher?)

    But, all of that said, at this stage, I am not unhappy. I doubt I will ever want to use the EFB as a 2D panel anyway ... so the fact that the EFB does work for me locally in my web browser and also now works outside the simulator on my tablet after I manually made the IP address change within the "serverurl.js" file as mentioned above in my previous post ... I am happy. Based on this, I didn't feel it necessary to lodge an email to Support.

  • edited February 26

    freddy,

    HTML_FILE is a valid keyword according to the P3D v5 SDK:
    https://www.prepar3d.com/SDKv5/sdk/panels_and_user_interface/panels/panel_configuration_files.html

    For P3D v4 this keyword is not documented in the SDK:
    https://www.prepar3d.com/SDKv4/sdk/panels_and_user_interface/panels/panel_configuration_files.html

    So this will be the reason, why it is not working for you.

    Rgds
    Reinhard

  • aua668,

    Ahh. Yes, the behaviour I was observing with my testing certainly suggested that "HTML_FILE=" was not being recognised by P3Dv4. So it is indeed exactly as I thought.

    I am willing to bet that the original poster in this thread, TBT47, is also running P3Dv4.

    Thanks for the confirmation/clarification.

    And, as I said above, I am still happy. The EFB is running externally on my tablet (after I made the easy manual change in the "serverurl.js" file), and it's also working locally in a web browser ... and both of those will suit me just fine!

Sign In or Register to comment.