delagoutte Posted July 20, 2018 Share Posted July 20, 2018 hello, i have update unigui from 1422 (extjs 4.2) to 1471 (Etxjs6.5) on my delphi XE7 (windows 8.1 in virtual computer) Since this upgrade i often have my delphi that hang/freeze/do not answer when i am in debug. if i'm waiting many minutes or if i taskkill my unigui executable, delphi give me the hand but if i launch again my project, i have the mesage "Could not bind socket. Address and port are already in use" i'm using tcpview from sysinternals, netstat -ano but the port is not in used. the only solution is to used an other port or rebbot my computer. does someone meet the same problem ? is there an update of indy packaged in unigui ? How can i close this ghost socket port used ? Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 20, 2018 Administrators Share Posted July 20, 2018 Well, probably no one more than me spends time debugging uniGUI apps and I don't experience any hang as you described above. Does it occur while debugging or when you shutdown the app. Link to comment Share on other sites More sharing options...
delagoutte Posted July 23, 2018 Author Share Posted July 23, 2018 it occur while debugging but i am not always on delphi. for example, the last time i had the problem, i just launch the app in debug mode from delphi without breakpoint -> i'm working on css with firefox -> i return to delphi on my VM ->delphi hang. Some times, when i do Ctrl+F2 when i had a hang -> delphi unhang and give me the hand but on next launch, i have the error message with wocket in used. Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 23, 2018 Administrators Share Posted July 23, 2018 it occur while debugging but i am not always on delphi. for example, the last time i had the problem, i just launch the app in debug mode from delphi without breakpoint -> i'm working on css with firefox -> i return to delphi on my VM ->delphi hang. Some times, when i do Ctrl+F2 when i had a hang -> delphi unhang and give me the hand but on next launch, i have the error message with wocket in used. It must be something special to your particular setup. Have you analyzed uniGUI log files? Link to comment Share on other sites More sharing options...
delagoutte Posted July 23, 2018 Author Share Posted July 23, 2018 no, i have not analyze unigui log file. I'll do it. I come back to you when I have more information Link to comment Share on other sites More sharing options...
albertovesx Posted July 23, 2018 Share Posted July 23, 2018 What I have notice is that sometimes my apps freeze in browser, no delphi, the app inside browser. its beheivor is like an image. none click responds. It happens rarely and normally after closing a modal screen. 1 Link to comment Share on other sites More sharing options...
delagoutte Posted July 24, 2018 Author Share Posted July 24, 2018 i have removed : - "cache" directory of my unigui project (i have message "Error deleting folder" in unigui log) - files my project .map and .rsm Since i have deleted this files -> no hang during more 24 hours. i think it is fixed. Thanks for your help farshad Link to comment Share on other sites More sharing options...
55143681 Posted August 20, 2018 Share Posted August 20, 2018 I use unitui1472 and 10.2.3tokyo c++builder,and my cbuilder hang when I F9 sometimes,I have met that about three times.and at last I have to kill the process. Link to comment Share on other sites More sharing options...
josauro@casasoft.net.br Posted September 4, 2018 Share Posted September 4, 2018 My uniGUI aplication show Loading... only anda in log show the menssage... PainelCasaVistoria.dll: 00001004: 08:55:19 []:Error deleting folder: "C:\inetpub\wwwroot\UNG\cache\painelcasavistoria_dll\ijaSVG7xMT1025ED6F3\" [OS Error:3] What is the problem ? Thanks Link to comment Share on other sites More sharing options...
molla2005b Posted August 29, 2019 Share Posted August 29, 2019 On 7/23/2018 at 7:32 PM, albertovesx said: What I have notice is that sometimes my apps freeze in browser, no delphi, the app inside browser. its beheivor is like an image. none click responds. It happens rarely and normally after closing a modal screen. hi after upgrade from 1.0.0.1425 to 1.90.0.1508 ,I have this problem now sometimes screen completely hang .its behavior is like an image,none click responds this hang only effect the current session and I should restart it to come back. I deployed is as ISAPI DLL (not use Hayper Server yet) How did you solve this problem? Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted August 29, 2019 Administrators Share Posted August 29, 2019 1 hour ago, molla2005b said: hi after upgrade from 1.0.0.1425 to 1.90.0.1508 ,I have this problem now sometimes screen completely hang .its behavior is like an image,none click responds this hang only effect the current session and I should restart it to come back. I deployed is as ISAPI DLL (not use Hayper Server yet) How did you solve this problem? Hi, Have you checked browser console when it happens? Link to comment Share on other sites More sharing options...
molla2005b Posted August 29, 2019 Share Posted August 29, 2019 no.it occur on my customers browser Usually occurs at the peak of business hours. nothing in log file I asked them to take screenshot from console page when it happens Link to comment Share on other sites More sharing options...
Sherzod Posted August 29, 2019 Share Posted August 29, 2019 2 hours ago, molla2005b said: I asked them to take screenshot from console page when it happens Please see what you can find out from them. Link to comment Share on other sites More sharing options...
molla2005b Posted August 31, 2019 Share Posted August 31, 2019 console sceenshop 3824c2c1-fdba-4520-89d9-4e2e02b96f5b.jfif f6634ca9-7743-48fe-8e0d-86af675694ec.jfif Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted August 31, 2019 Administrators Share Posted August 31, 2019 Hi, It seems that some parts of the your custom js code cause this error. Link to comment Share on other sites More sharing options...
molla2005b Posted September 5, 2019 Share Posted September 5, 2019 Fixed incorrect codes But sometimes the program is sometimes frozen console sceenshot attached unigui 1.90.0.1508 Hyper Server 1.90.0.1508 statement.jfif statement2.jfif Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted September 5, 2019 Administrators Share Posted September 5, 2019 Red lines seems to be a server communication problem. Error 401, 520, 522. Link to comment Share on other sites More sharing options...
molla2005b Posted November 22, 2020 Share Posted November 22, 2020 On 7/23/2018 at 7:02 PM, albertovesx said: What I have notice is that sometimes my apps freeze in browser, no delphi, the app inside browser. its beheivor is like an image. none click responds. It happens rarely and normally after closing a modal screen. hi my app still have this behavior. How do you fix this problem? I think the main form stay covered by a clear screen mask .because the shortcuts are work Link to comment Share on other sites More sharing options...
albertovesx Posted November 22, 2020 Share Posted November 22, 2020 Hi, I made this procedure and just call it after showmodal in order to remove the screenmask that remains active, but transparent. It works fine, but the browser needs to be upgrated to recent version. procedure delScreenMask() begin unisession.AddJS('document.querySelectorAll("div.x-mask").forEach(e => { if (e.style["background-color"] == "transparent") e.remove()})'); end; frmbuscar.showmodal( procedure(sender: Tcomponent; res: integer) begin delScreenMask(); end ); Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted November 22, 2020 Administrators Share Posted November 22, 2020 1 hour ago, molla2005b said: hi my app still have this behavior. How do you fix this problem? I think the main form stay covered by a clear screen mask .because the shortcuts are work Hi What is your uniGUI version? Have you checked log files? Link to comment Share on other sites More sharing options...
molla2005b Posted November 22, 2020 Share Posted November 22, 2020 7 minutes ago, Farshad Mohajeri said: Hi What is your uniGUI version? Have you checked log files? hi The log is clear 1.90.0.1536 https://ibb.co/NWhFp5b Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted November 22, 2020 Administrators Share Posted November 22, 2020 Just now, molla2005b said: hi The log is clear 1.90.0.1536 https://ibb.co/NWhFp5b Do you show/hide masks in your code? Link to comment Share on other sites More sharing options...
molla2005b Posted November 22, 2020 Share Posted November 22, 2020 no I don't use.only mainMenu.Screenmask.Enabel=True Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted November 22, 2020 Administrators Share Posted November 22, 2020 6 minutes ago, molla2005b said: no I don't use.only mainMenu.Screenmask.Enabel=True More questions: Do you use UniTimers with short intervals? Have you checked browser console (Press F12) when this error occurs? Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted November 22, 2020 Administrators Share Posted November 22, 2020 21 minutes ago, molla2005b said: https://ibb.co/NWhFp5b OK. Here is the console screen. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now