fgl27 / smarttv-twitch

Twitch client for Samsung Smart TVs 2015 and newer models, in doubt read the README bellow
GNU General Public License v3.0
166 stars 18 forks source link

Release creation is bugged #85

Closed mimagind closed 4 years ago

mimagind commented 4 years ago

release_4_0_1_V4.zip contains this in index.html: <script src="$WEBAPIS/webapis/webapis.min.js" defer> The result is black screen on startup.

Running the git master branch code directly works fine.

auto-comment[bot] commented 4 years ago

Thank you for raising a issue.
Make sure you follow the issue templates for yours type of issue see bellow.
Bug report:
https://github.com/fgl27/smarttv-twitch/blob/master/.github/ISSUE_TEMPLATE/bug_report.md
Etc issue that doesn't applies to features or bugs:
https://github.com/fgl27/smarttv-twitch/blob/master/.github/ISSUE_TEMPLATE/etc-related.md
Feature request new app feature:
https://github.com/fgl27/smarttv-twitch/blob/master/.github/ISSUE_TEMPLATE/etc-related.md
Feature request related to a problem:
https://github.com/fgl27/smarttv-twitch/blob/master/.github/ISSUE_TEMPLATE/feature-request-related-to-a-problem.md
Issue that don't properly fallow the templates can be close without any treatment.
I have sent an email to @fgl27 he will get back to you as soon as possible.

fgl27 commented 4 years ago

I'm running the release...

release html https://github.com/fgl27/smarttv-twitch/blob/master/release/index.html#L44

source html https://github.com/fgl27/smarttv-twitch/blob/master/index.html#L1768

same line same script how that is a issue?

Share a log of the release so I can see why it crashes (assuming it crashes as that is a reason for a black screen). Instruction how to log is on the "Bug report" template that you didn't fallow.

mimagind commented 4 years ago

I did follow the template. There are no steps to reproduce because there are no steps that can be done on a black screen. The instructions to get a log don't work either. Nothing shows up in the console.

fgl27 commented 4 years ago

No see this is missing...

Operation system (if is a installation problem):

OS: Windows, Linux or ... Version [e.g. 10, 18.4, etc...] Device:

TV Model: UN40KU6000H, EH5000 or ... Os version [e.g. Tizen 2.3, Tizen 2.4, Tizen 5...]

Additional context Add any other context about the problem here.

log information you don't show I need to see things I'm not there to help you...

Then if nothing shows what is the answer for the question...

same line same script how that is a issue?

I don't know what happen... probably something on the creation of the app, if noting fail maybe is all empty there is not app there, is all blank included the app content...

when the app is successfully installed in a debug mode you must see something like this

Screenshot from 2019-12-04 23-12-48

Screenshot from 2019-12-04 23-13-15

so on the resource window what is there for you, any content is loaded?

fgl27 commented 4 years ago

this issue was probably fixed on https://github.com/fgl27/smarttv-twitch/issues/86 not something I can test as on the devices I have was all fine.

mimagind commented 4 years ago

What use is the TV model or Tizen version if the git master branch version works perfectly fine? The TV model is UE40KU6402 which seems to be Tizen 2.4.

When launching in debug mode it shows an alert box with this text scrolling: RWI mapping info 7011: <the Tizen application id from config.xml> 7012: N/A 7013: N/A I tried pressing the B extra button both before and after dismissing this alert but still nothing in the console. console scripts

fgl27 commented 4 years ago

You can open the app that works and go to about and get the full device info, TV model and FW plus Tizen version.

The key B is not mapped on the release version is only for debug as pressing it can cause a app crash and that is not welcome on a release version of a application. As no content has load there is no key working.

No content from github is loaded in yours screenshot, as you can see on my previously picture there is a few files...

A script master.js A few fonts icons.woff and etc

So there is a few reasons for this issue, the app is be installed bugged for some local reason on yours machine and those file aren't be called some how or yours network or TV is blocking it from load.

So what is the content of that index.html file from the resource window? When you click on that fille on that window you must be able to see the content, the bellow links must be there...

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

can you open these links on yours TV? they are pure text files with the app code.

I mean litley open it on the TV on its browser, as the TV may not be able to download the file by something on it or on yours network.

mimagind commented 4 years ago

App version: 4.0.1.112319 Tizen version: 2.4.0 TV: UKU6400 FW: T-JZMDEUC-1241.5 All three links were opened successfully by the browser on the TV.

fgl27 commented 4 years ago

then I don't know way this happens image

mimagind commented 4 years ago

I fixed the problem. The instructions are wrong, not the package.

Creating a new project and then using Import Filesystem doesn't seem to work as expected. Instead, I deleted the contents of the project directory in Tizen Studio workspace and replaced it with the contents of the release archive.

fgl27 commented 4 years ago

Maybe for you or maybe as I wrote before there is something odd on yours PC or you didn't understand the process, I personally did the installation dozens of time and always work, after all there is a screenshot of it step showing the step working.

This app has thousands of installation and very few come to git post a issue, so the process works.