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

Screen is black when running web application #127

Closed
annadayz opened this issue Aug 26, 2020 · 9 comments
Closed

Screen is black when running web application #127

annadayz opened this issue Aug 26, 2020 · 9 comments

Comments

@annadayz
Copy link

Hey,

Have used the app before and it's worked brilliantly but tonight it frozen up and stopped working. We decided it would be time to reinstall as we have been using it for over a year now.

I seem to be getting a black screen after I click to run the web application, it doesn't run at all.

Thanks for your help

  • Tizen version 3.7 (have reinstalled and added all packages as per guide)
@fgl27
Copy link
Owner

fgl27 commented Aug 27, 2020

install it in debug mode

image

image

The debug mode will open a new window from yours browser on the computer and in there log info as in the above.

Show the result.

@annadayz
Copy link
Author

annadayz commented Aug 27, 2020

Console is empty.

Screenshot 2020-08-27 at 08 25 54

@fgl27
Copy link
Owner

fgl27 commented Aug 27, 2020

That can be because of a internet issue or installation issue.

Open the bellow debug tab Resources, there open just like bellow image, make sure to click on the index.html file and make sure fonts and scripts are open so the content of it folder and the index file are visible before take a screen shot.

like this

Screenshot from 2020-08-27 15-19-30

If the index.html ins't like that you install it wrong, if you can't see the files under the fonts and scriptsfolders is a internet issue. Revise your local internet make sure this files can be reached

https://fgl27.github.io/smarttv-twitch/release/githubio/js/master.js
https://fgl27.github.io/smarttv-twitch/release/githubio/css/font-awesome.min.css
https://fgl27.github.io/smarttv-twitch/release/githubio/css/master.css

@annadayz
Copy link
Author

Looks like i'm not seeing fonts at all, very. odd. However I do see one part under scripts. So you reckon this is an internet issue? Do you know of a guide that can help me amend this?

Screenshot 2020-08-27 at 19 27 49

@fgl27
Copy link
Owner

fgl27 commented Aug 27, 2020

The webapi.mim.js is a file from the TV.

It seems you can reach https://fgl27.github.io/ try to revise you local network, I don't know what you do there but something is blocking.

You can do a simple ping test as bellow to check if you have access, if you do have access on a computer (ping os OK) but not on the TV then the TV has local connection problem, but if you can't on the PC is something else as your provider or something you did to the network configuration (on a router or something like that), can also be a issue on yours internet provider.

ping fgl27.github.io
PING fgl27.github.io (185.199.110.153) 56(84) bytes of data.
64 bytes from 185.199.110.153 (185.199.110.153): icmp_seq=1 ttl=50 time=14.9 ms
64 bytes from 185.199.110.153 (185.199.110.153): icmp_seq=2 ttl=50 time=16.0 ms
64 bytes from 185.199.110.153 (185.199.110.153): icmp_seq=3 ttl=50 time=14.8 ms
64 bytes from 185.199.110.153 (185.199.110.153): icmp_seq=4 ttl=50 time=14.6 ms
64 bytes from 185.199.110.153 (185.199.110.153): icmp_seq=5 ttl=50 time=14.5 ms
64 bytes from 185.199.110.153 (185.199.110.153): icmp_seq=6 ttl=50 time=14.8 ms
64 bytes from 185.199.110.153 (185.199.110.153): icmp_seq=7 ttl=50 time=16.0 ms
64 bytes from 185.199.110.153 (185.199.110.153): icmp_seq=8 ttl=50 time=14.6 ms
64 bytes from 185.199.110.153 (185.199.110.153): icmp_seq=9 ttl=50 time=14.6 ms

--- fgl27.github.io ping statistics ---
9 packets transmitted, 9 received, 0% packet loss, time 8013ms
rtt min/avg/max/mdev = 14.526/14.984/16.046/0.561 ms

@annadayz
Copy link
Author

Thanks Felipe!

I've tried restarting the installation again and it seems I received a logo error, which made me think I needed to change the logo. This is what was causing the console to show as empty, once I left the logo, it was fine.

I also port forwarded the https port (443) on my router settings and that seems to be working as well.

All sorted now, thanks again! Really great app, we've been using it for over a year and it's the best app!

@fgl27
Copy link
Owner

fgl27 commented Aug 28, 2020

What is "logo" for you? What you did with it?

We may be a little lost in translation here, as I don't understand the use of that word.

So I can understand the solution and close this.

@annadayz
Copy link
Author

So after creating a new project and following the import step, I would get to this point

Screenshot 2020-08-28 at 08 40 36

Screenshot 2020-08-28 at 08 40 33

I thought as it is showing an error, and the icon name is incorrect, I needed to manually change it to the app_icon.png file. Turns out you can still run this even with the error showing and it sorts itself out.

@fgl27
Copy link
Owner

fgl27 commented Aug 29, 2020

OK I get it now...

I never notice that, I usually just close the config.xml file, and import after that the tizen make all work....

Tizen installation is complicated... I will check to improve making the app icon the default used by tizen.

Thanks for the help. If need open a another.

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