benzino77 / tasmocompiler

Web GUI for custom Tasmota compilation
MIT License
510 stars 147 forks source link

Issues - v. 4.1 Open browser blank page #135

Closed bovirus closed 3 years ago

bovirus commented 3 years ago

@benzino77

With latest build I see these warning

warning file-loader@2.0.0: Invalid bin field for "file-loader". warning mini-css-extract-plugin@0.5.0: Invalid bin field for "mini-css-extract-plugin". warning url-loader@1.1.2: Invalid bin field for "url-loader".

and when it finish to compile the browser open a web page but it's a blank.

benzino77 commented 3 years ago

You have asked that couple months ago: #64

bovirus commented 3 years ago

@benizno77

The main problem is not the warning but the blank page in the web browser.

I doidn't see the fix for this in the article that you mentioned,

benzino77 commented 3 years ago

TasmoCompiler does not open any web page! If you are using GitPod please read this issue carefully: #105

benzino77 commented 3 years ago

... and I just noticed that this issue was also opened by you.

bovirus commented 3 years ago

I belieev that it was clear.

Tasmocompiler use gitpod to create the GUI.

I already done the try. I delete the project in gitpod and I recreate a new project but I got the same error (new browser session with blank page). No error during gitpod compilation (only warning) and after gipod complete compilation it page open new browser session but instead tasmocompiler web interface I got a blank page.

Tested with Google Chrome and Firefox on Windows 10 64bit,

Seome weeks ago I compiled a previous tasmocompielr version withe the same harwdare configuration without problem.

I will try later to checkj if it's a gitpod problem.

Thanks.

benzino77 commented 3 years ago

I've checked three browsers. Everything works as expected. It is something on yours or as you suspect on GitPod side. Try to clear cache/cookies/etc. on your browser. Eventually open new "Private Window" and from there go to GitPod site.

brave chrome firefox

bovirus commented 3 years ago

Very strange.tested on 3 different computer. Same issues image

image

I will try again.

bovirus commented 3 years ago

It's smilar to the problem reported here

https://www.google.com/search?q=Gitpod+getting+blank&oq=Gitpod+getting+blank&aqs=chrome..69i57j69i60l3.350j0j4&sourceid=chrome&ie=UTF-8

drhideg commented 3 years ago

I don't know well Chrome but there are DevTools where you can check console and network output for errors if any. Would you try browser without extensions?

bovirus commented 3 years ago

@benzino77

Please re-open this issue.

No eeeror in teh console. The problem is only wen you try to open web browser or open rpeview. Nothing else.

Without gitpod extension isnot possible to compile it.

I etsetd not only with Chrome but also Firefox. Same issues. On several PC.

benzino77 commented 3 years ago

It is something on your side. Here is the working GitPod on my Linux box (running Firefox).

linux-firefox

As @drhideg mentioned: you should try disable your browser extensions (from the picture you posted its looks like you have a lot of them, but I would start with the GitPod browser extension itself)

gitpod-extension2

bovirus commented 3 years ago

@benzino77

Please take that is not my personal issue.

Seems an issue about source code for all usesr that run gitpod compilation under Windows.

If I compile the same source under Linux it works fine. The you and @drhideg compiled it udner Linux. And this evening I tested that also in my Linux system teh last source code worked fine. But any Windows system that i tested with altest source code didn't work. The previous version of source code worked fine both with Windows and Linux. Then probably same changes in source code break the Windows compatibility.

bovirus commented 3 years ago

I found several issues in 2021 about gitpd with Windows 10 and blank page like

https://community.gitpod.io/t/gitpod-getting-blank/2709

https://community.gitpod.io/t/workspace-wont-load-anymore/2684/6

https://github.com/gitpod-io/gitpod/issues/3114

benzino77 commented 3 years ago

It works perfectly fine on Windows - first three screenshots I posted were from Windows 10. Disable GitPod extension on your browser and try again.

gitpod-extension2

bovirus commented 3 years ago

@benzino.

I'm so sorry but I didn't understand your suggestion.

The Windows 10/Linux configuration is the same as in the past. I loaded gitpod extension in Firefox and in Chrome (for both pltaform Windows and Linux).

The gitpod extension is mandatory to have the gitpod button If I open the github tasmocompiler repository. Without gitpod extension I cannot laod/compile using gitpod.

With tasmocompiler 3.03 these configuration worked fine with both platform (Windows and Linux).

Without any changes inbrowser/Linxu/Windows configuration now version 4.0 works fine only on Linux.

In Windows 10, opening web browser, run gitpod from tasmocompiler github repository. Using soruce 4.01 gitpod make all jobs without error then open anew page (port 3000). But the openning page (tasmocompiler GUI is blank). Note: in the past as Iexplained with 3.03 the same system worked fine.

With same PC in Linux, opening web browser, run gitpod from tasmocompiler github repository. Gitpod make all jobs without error then open a browser new page (port 3000). Then on Linux the tasmocmpielr GUI work fine.

Then now if I follow your suggestion and disable gitpod browser extension and I cannot see GITPOD button in github repository.

Note: I reloaded the source of 3.03 and without any changes in the browser, without to disable gitpod extension, I loaded/compiled tasmocompiler 3.03 source and the tasmocompiler GUI appear fine in the browser.

Then seems that the problem is not Windows/browser configuration but some changes in tasmocompiler 4.0.1 source that break Windows compability.

Version 4.01 worked fine under Linux (but not udner Windows).

Then I renew my proposal to leave open the issue (I changed the title).

benzino77 commented 3 years ago

The gitpod extension is mandatory to have the gitpod button If I open the github tasmocompiler repository. Without gitpod extension I cannot laod/compile using gitpod.

It is NOT mandatory! You don't have to have browser extension installed to run TasmoCompiler on GitPod. Just click the link provided in the README or type this in your address field of your browser: https://gitpod.io/#https://github.com/benzino77/tasmocompiler No browser extension is required!!

This is my last answer to your posts.

drhideg commented 3 years ago

You wont let us to help you, even it is out of the scope of this project. Windows 10 20H2 (19042.870) Edge (Chrome inside), Crhome, Firefox all works well: Névtelen

bovirus commented 3 years ago

@benzino77

I'm so sorry but if you don't like that someone report an issue I'd like to avoid to do that.

Test on Windows 10

source 4.01 https://gitpod.io/#https://github.com/benzino77/tasmocompiler - blank page

source 3.03 https://gitpod.io/#https://github.com/benzino77/tasmocompiler/tree/v3.0.3 - works fine

As I explained tasmocompiler source 3.03 works fine in my Windows configuration without change nothing.

Tested your direct link. As I expected blank page. Then the problem IS NOT the extension.

Another test. Loaded 3.03 source. Tested source 3.03 direct gitpod link - Works fine Tested source 3.03 with gitpod extension - Works fine

@drhideg Thanks for the report. It sound strange. Tested on 5 different PCs (all with Windows 10 x64 updated at latest patches). 3 PC are on one kind of internet connect and other 2 on othe r connection type. In all 5 PCs

drhideg commented 3 years ago

If you start DevTools you got JS error on that blank page. Only Italian locale affected. Check this: https://github.com/benzino77/tasmocompiler/issues/134#issuecomment-809241685

bovirus commented 3 years ago

@drhideg

Thanks for the report. And what about tasmocompiler source code 3.03 in the same configuration works fine?

drhideg commented 3 years ago

You got that error beacuse of missing key:value pair in the translation. Maybe 3.0.3 does not contained that part (I am lazy to check date when that part added).

bovirus commented 3 years ago

@drhideg

Thanks. Fixed issues and now it works. Very strange that Linux also with original Italian langiage without Vietnam string works fine anyway.

bovirus commented 3 years ago

@drhideg

Thanks for the fix note. Now it works.

I found some new strings that could be translated.

https://github.com/benzino77/tasmocompiler/issues/137