Jump to content

Stuck at Loading...


JKoder

Recommended Posts

UniGui demo applications are all stuck at browser with white background with text "Loading..."

Nothing further happens

Tried Chrome and Firefox

Tried with 4 different UniGUI demo applications ("FormWithParent", "Dialogs", ...) + an empty application created from scratch (one form with button)

I already reinstalled latest trial version (+ recompiled and reinstalled all packages)

I'm using Delphi 10.2 with UnigUI Trial version 1.90.0.1547. Log files show no errors

FYI: this is output of one of the logs :

---------------------------------------------------------------------------------------
Dialogs.exe: 00001624: 18:18:03 []:>--------------------------------------------------------------<
Dialogs.exe: 00001624: 18:18:03 [TUniServerModule]:Server First Init.
Dialogs.exe: 00001624: 18:18:03 [TUniServerModule]:Start Path = C:\Program Files (x86)\FMSoft\Framework\uniGUI\Demos\Desktop\Dialogs\
Dialogs.exe: 00001624: 18:18:03 [TUniServerModule]:Debug Mode = ON
Dialogs.exe: 00001624: 18:18:03 [TUniServerModule]:Starting HTTP Server on Port: 8077...
Dialogs.exe: 00001624: 18:18:03 [TUniServerModule]:HTTP Server Started on Port: 8077

-------------------------------------------------------------------------------------------

 

Can anyone help me out here?

 

Thanks!

Link to comment
Share on other sites

Thanks for the quick response

No errors in the browser

This is the source of the browser page:

 

-----------------------------------------------------------------

<!DOCTYPE html>
<html lang="nl">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>New Application</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=10.0, user-scalable=yes">
<meta http-equiv="content-type" content="charset=utf-8" />
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">

<link rel=stylesheet href="/uni-1.90.0.1541/css/uni-ext.css" />
<link rel=stylesheet href="/ext-7.0.0/build/classic/theme-classic/resources/theme-classic-all.css" />
<script src="/ext-7.0.0/build/ext-all.js"></script>
<script src="/ext-7.0.0/build/classic/theme-classic/theme-classic.js"></script>
<script src="/uni-1.90.0.1541/ext-unicommon-min.js"></script>
<script src="/uni-1.90.0.1541/ext-sync-min.js"></script>
<script src="/ext-7.0.0/build/classic/locale/locale-nl.js"></script>
<script src="/uni-1.90.0.1541/jQuery/jquery-1.11.2.min.js"></script>
<link rel=stylesheet href="/ext-7.0.0/build/packages/font-awesome-4.7.0/resources/font-awesome-all.css" />
<link rel=stylesheet href="/ext-7.0.0/build/packages/font-pictos/resources/font-pictos-all.css" />
<link rel=stylesheet href="/ext-7.0.0/build/packages/font-awesome/resources/font-awesome-all.css" />
<script src="/uni-1.90.0.1541/jQuery/MaskedInput/jquery.inputmask.min.js"></script>
<script src="/uni-1.90.0.1541/jQuery/autoNumeric/autoNumeric-1.9.35.js"></script>
<link rel=stylesheet href="/uni-1.90.0.1541/css/uni-xtheme-common.css" />
<link rel=stylesheet href="/uni-1.90.0.1541/css/uni-xtheme-classic.css" />
<script src="/uni-1.90.0.1541/ext-unigui-min.js"></script>
<style type="text/css">.x-viewport > .x-body {position:relative !important;}</style>
<style type="text/css">body {overflow-y: hidden !important;}</style>

</head>
<script>
uniVars._extVer="7.0.0";_S_ID="_S_ID=2zQTDx23oL10810A9AB";Ext.appUri="/HandleEvent";Ext.Date.defaultDateFormat="j/m/Y";uniSyncObj.errShow=true;uniSyncObj.errText="Connection Error";uniSyncObj.errRetryText="Retrying...";uniSyncObj.errTextColor="#0055AA";uniSyncObj.errAfterRetry=1;
Ext.application({name:"uniApplication",launch: function(){setTimeout(function(){Ext.get("loading").remove();Ext.get("loading-mask").fadeOut({remove:true});},250);Ext.BLANK_IMAGE_URL="/ext-7.0.0/build/classic/theme-classic/resources/images/tree/s.gif";
Ext.BLANK_IMAGE_SRC="<img src="+Ext.BLANK_IMAGE_URL+">";
TextMetrics=new Ext.util.TextMetrics(Ext.getBody());
var _ajxerr=false;_ifrm_("FRM_2zQTDx23oL10810A9AB");_showAjaxErr=true;_ajxflerr="Server unavailable, please try later";Download=Ext.DomHelper.append(document.body,{tag:"iframe",cls:"x-hidden"});try{_clat_();var w=window;var dc=w.document;w.onbeforeunload=null;dc.open();dc.write("\x3Chtml\x3E\n\x3Cbody bgcolor=\"#dfe8f6\"\x3E\n\x3Cp style=\"text-align:center;color:#0000A0\"\x3EProduct is expired: 0x0099\x3C/p\x3E\n\x3Cp style=\"text-align:center;color:#A05050\"\x3E\x3Ca href=\"http://127.0.0.1:8077/\"\x3ERestart application\x3C/a\x3E\x3C/p\x3E\n\x3C/body\x3E\n\x3C/html\x3E\n");dc.close();}catch(e){throw e;alert(e.message)}}});
window.addEventListener("unload", function(){_cunld_()}, false);
window.onbeforeunload=null;
</script>
<body>
<div id="loading-mask"></div><div id="loading"><div class="loading-indicator">Loading...</div></div>
<div id=body></div><noscript>This web application requires JavaScript enabled</noscript></body>
</html>

-----------------------------------------------------------------

Link to comment
Share on other sites

I'm sorry, I have to correct myself.

These errors are shown in the Chrome console:

 

ext-all.js:1 Uncaught SyntaxError: Unexpected token '<'
theme-classic.js:1 Uncaught SyntaxError: Unexpected token '<'
ext-unicommon-min.js:1 Uncaught SyntaxError: Unexpected token '<'
ext-sync-min.js:1 Uncaught SyntaxError: Unexpected token '<'
locale-nl.js:1 Uncaught SyntaxError: Unexpected token '<'
jquery-1.11.2.min.js:1 Uncaught SyntaxError: Unexpected token '<'
jquery.inputmask.min.js:1 Uncaught SyntaxError: Unexpected token '<'
autoNumeric-1.9.35.js:1 Uncaught SyntaxError: Unexpected token '<'
ext-unigui-min.js:1 Uncaught SyntaxError: Unexpected token '<'
(index):33 Uncaught ReferenceError: uniVars is not defined
    at (index):33
:8077/favicon.ico:1 Failed to load resource: the server responded with a status of 404 (Not Found)

 

 

Link to comment
Share on other sites

The following questions arise:

1. Have you used other UniGUI versions before?

2. 

1 hour ago, JKoder said:

UniGui demo applications are all stuck at browser with white background with text "Loading..."

Doesn't work at all? Or just on a deployed machine?

3. 

1 hour ago, JKoder said:

I'm using Delphi 10.2 with UnigUI Trial version 1.90.0.1547. Log files show no errors

The app links to a different version:

1 hour ago, JKoder said:

/uni-1.90.0.1541/

 

Link to comment
Share on other sites

1. Yes

On the same machine, I used a trial V1.90.0.1541 before. 

Because that version was stuck at the "Loading..." page, I uninstalled it completely and did a fresh install of the most recent version (.1547)

At first I assumed the issue was related to my own UniGUi project (which I have been developing since begin feb and has > 30 forms), but then I saw same behaviour with UniGui demo applications.


2. I have only tested on my development machine

3. Thank you for pointing that out. I didn't notice this.
Any idea why this is happening? Is it possible there are some leftovers from the previous version?

(Again, the issue already existed in the previous version)


 

Link to comment
Share on other sites

Hello Sherzod,

Meanwhile I removed ALL UniGui related stuff (removed packages from Delphi, deleted bpl's, uninstalled UniGui, and, manually deleted the FMSoft folder in program files)

Then I reinstalled the latest trial version (.1547), built all packages and installed them. And this has solved the issue!

The only thing I did different now was the manual deletion of the FMSoft folder. 

Thank your assitance and for pointing me in the right direction!
 

Link to comment
Share on other sites

  • 4 months later...

I get similar errors. uninstalled and reinstalled unigui trial edition, changed fmsoft folder name. However the errors keep reappearing. Any solution is much appreciated. I'm using delphi 10.4.2.

I get the following errors in the browser console:

Uncaught SyntaxError: Unexpected token '<'
theme-neptune.js:1 Uncaught SyntaxError: Unexpected token '<'
ext-unicommon-min.js:1 Uncaught SyntaxError: Unexpected token '<'
ext-sync-min.js:1 Uncaught SyntaxError: Unexpected token '<'
locale-nl.js:1 Uncaught SyntaxError: Unexpected token '<'
jquery-1.11.2.min.js:1 Uncaught SyntaxError: Unexpected token '<'
jquery.inputmask.min.js:1 Uncaught SyntaxError: Unexpected token '<'
autoNumeric-1.9.35.js:1 Uncaught SyntaxError: Unexpected token '<'
ext-treenode-plugin.js:1 Uncaught SyntaxError: Unexpected token '<'
codemirror.js:1 Uncaught SyntaxError: Unexpected token '<'
Ext.ux.CodeMirror.js:1 Uncaught SyntaxError: Unexpected token '<'
charts.js:1 Uncaught SyntaxError: Unexpected token '<'
unicanvas-min.js:1 Uncaught SyntaxError: Unexpected token '<'
ux.js:1 Uncaught SyntaxError: Unexpected token '<'
calendar.js:1 Uncaught SyntaxError: Unexpected token '<'
exporter.js:1 Uncaught SyntaxError: Unexpected token '<'
pivot.js:1 Uncaught SyntaxError: Unexpected token '<'
sweetalert2.min.js:1 Uncaught SyntaxError: Unexpected token '<'
ext-unigui-min.js:1 Uncaught SyntaxError: Unexpected token '<'
jquery.jdigiclock.js:1 Uncaught SyntaxError: Unexpected token '<'
jquery.tzineClock.js:1 Uncaught SyntaxError: Unexpected token '<'
(index):57 Uncaught ReferenceError: uniVars is not defined
    at (index):57

 

The source looks at follows:

 

<!DOCTYPE html>
<html lang="nl">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>New Application</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=10.0, user-scalable=yes">
<meta http-equiv="content-type" content="charset=utf-8" />
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">
<link REL="SHORTCUT ICON" HREF="/cache/mdemo_exe/8WGDPV1SR2108CBD6A4/favicon.ico">

<link rel=stylesheet href="/uni-1.90.0.1547/css/uni-ext.css" />
<link rel=stylesheet href="/ext-7.0.0/build/classic/theme-neptune/resources/theme-neptune-all.css" />
<script src="/ext-7.0.0/build/ext-all.js"></script>
<script src="/ext-7.0.0/build/classic/theme-neptune/theme-neptune.js"></script>
<script src="/uni-1.90.0.1547/ext-unicommon-min.js"></script>
<script src="/uni-1.90.0.1547/ext-sync-min.js"></script>
<script src="/ext-7.0.0/build/classic/locale/locale-nl.js"></script>
<script src="/uni-1.90.0.1547/jQuery/jquery-1.11.2.min.js"></script>
<link rel=stylesheet href="/ext-7.0.0/build/packages/font-awesome-4.7.0/resources/font-awesome-all.css" />
<link rel=stylesheet href="/ext-7.0.0/build/packages/font-pictos/resources/font-pictos-all.css" />
<link rel=stylesheet href="/ext-7.0.0/build/packages/font-awesome/resources/font-awesome-all.css" />
<script src="/uni-1.90.0.1547/jQuery/MaskedInput/jquery.inputmask.min.js"></script>
<script src="/uni-1.90.0.1547/jQuery/autoNumeric/autoNumeric-1.9.35.js"></script>
<script src="/uni-1.90.0.1547/ext-treenode-plugin.js"></script>
<script src="/uni-1.90.0.1547/codemirror-0.8/js/codemirror.js"></script>
<link rel=stylesheet href="/uni-1.90.0.1547/codemirror-0.8/css/csscolors.css" />
<script src="/uni-1.90.0.1547/codemirror-0.8/js/Ext.ux.CodeMirror.js"></script>
<link rel=stylesheet href="/ext-7.0.0/build/packages/charts/classic/neptune/resources/charts-all.css" />
<script src="/ext-7.0.0/build/packages/charts/classic/charts.js"></script>
<script src="/uni-1.90.0.1547/unicanvas-min.js"></script>
<script src="/ext-7.0.0/build/packages/ux/classic/ux.js"></script>
<link rel=stylesheet href="/ext-7.0.0/ext-addons/packages/calendar/build/classic/neptune/resources/calendar-all.css" />
<script src="/ext-7.0.0/ext-addons/packages/calendar/build/classic/calendar.js"></script>
<script src="/ext-7.0.0/ext-addons/packages/exporter/build/classic/exporter.js"></script>
<link rel=stylesheet href="/ext-7.0.0/ext-addons/packages/pivot/build/classic/neptune/resources/pivot-all.css" />
<script src="/ext-7.0.0/ext-addons/packages/pivot/build/classic/pivot.js"></script>
<link rel=stylesheet href="/uni-1.90.0.1547/sweetalert/sweetalert2.min.css" />
<link rel=stylesheet href="/uni-1.90.0.1547/sweetalert/unisweetalert2.css" />
<script src="/uni-1.90.0.1547/sweetalert/sweetalert2.min.js"></script>
<link rel=stylesheet href="/uni-1.90.0.1547/css/uni-xtheme-common.css" />
<link rel=stylesheet href="/uni-1.90.0.1547/css/uni-xtheme-neptune.css" />
<script src="/uni-1.90.0.1547/ext-unigui-min.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?sensor=false&key=AIzaSyD51syplucTDbub0ZcsZSJT8IixGAnkuxM"></script>
<link rel=stylesheet href="/files/jdigiclock/css/jquery.jdigiclock.css" />
<script src="/files/jdigiclock/lib/jquery.jdigiclock.js"></script>
<link rel=stylesheet href="/files/clockdemo/jquery.tzineClock/jquery.tzineClock.css" />
<script src="/files/clockdemo/jquery.tzineClock/jquery.tzineClock.js"></script>
<style type="text/css">
  html { height: 100% }
  body { height: 100%; margin: 0; padding: 0 }
  #uni_map_canvas { height: 100% }
</style>
</head>
<script>
uniVars._extVer="7.0.0";_S_ID="_S_ID=8WGDPV1SR2108CBD6A4";Ext.appUri="/HandleEvent";Ext.Date.defaultDateFormat="d/m/Y";uniSyncObj.errShow=true;uniSyncObj.errText="Connection Error";uniSyncObj.errRetryText="Retrying...";uniSyncObj.errTextColor="#0055AA";uniSyncObj.errAfterRetry=1;
Ext.application({name:"uniApplication",launch: function(){setTimeout(function(){Ext.get("loading").remove();Ext.get("loading-mask").fadeOut({remove:true});},250);Ext.BLANK_IMAGE_URL="/ext-7.0.0/build/classic/theme-classic/resources/images/tree/s.gif";
Ext.BLANK_IMAGE_SRC="<img src="+Ext.BLANK_IMAGE_URL+">";
TextMetrics=new Ext.util.TextMetrics(Ext.getBody());
var _ajxerr=false;_ifrm_("FRM_8WGDPV1SR2108CBD6A4");_showAjaxErr=true;_ajxflerr="Communication Error";Download=Ext.DomHelper.append(document.body,{tag:"iframe",cls:"x-hidden"});try{_clat_();var w=window;var dc=w.document;w.onbeforeunload=null;dc.open();dc.write("\x3Chtml\x3E\n\x3Cbody bgcolor=\"#dfe8f6\"\x3E\n\x3Cp style=\"text-align:center;color:#0000A0\"\x3EProduct is expired: 0x0099\x3C/p\x3E\n\x3Cp style=\"text-align:center;color:#A05050\"\x3E\x3Ca href=\"http://localhost:8077/\"\x3ERestart application\x3C/a\x3E\x3C/p\x3E\n\x3C/body\x3E\n\x3C/html\x3E\n");dc.close();}catch(e){throw e;alert(e.message)}}});
window.addEventListener("unload", function(){_cunld_()}, false);
window.onbeforeunload=null;
</script>
<body>
<div id="loading-mask"></div><div id="loading"><div class="loading-indicator">Loading...</div></div>
<div id=body></div><noscript>This web application requires JavaScript enabled</noscript></body>
</html>

That is for the desktop all features demo on localhost:8077 when I move to localhost:8077/m I get the following:

invalid session or session timeout (invalid uri: /m)

 

I initially had installation errors:

 

 

[dcc32 Fatal Error] uSynEdit_R2023.dpk(30): E2225 Never-build package 'designide' must be recompiled

[dcc32 Fatal Error] uSynEdit_D2023.dpk(35): E2202 Required package 'uSynEdit_R2023' not found

 

But after adding $(BDSCOMMONDIR)\Dcp library path. Installation proceeded with only 2 warnings.

I've tried removing or changing the name of the fmsoft folder, I removed other packages, I reinstalled and tried that several times, but it remains stuck at loading.

 

I

Edited by Trainee
type of delphi, added errors, library path
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...