Apps not opening

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
oldummy
Posts: 97
Joined: Mon Jun 13, 2016 3:21 pm

Apps not opening

Post by oldummy » Wed May 29, 2024 9:33 am

Windows 11 (old pc)
LC 9.6.0

I thought I have seen this problem on this forum, but I can't seem to find it.

I have an issue with applications not opening.This is a new problem for me.
I originally noticed this while trying to rebuild an app that I have bee using for some time. All that I had to do was to create the splash stack and build it.
Upon trying to open the app I would see an hourglass for a few seconds and then it dissapeared.Nothing opens. I looked in the task manager for any mention of LC. I saw nothing there that I would recognize as LC related.

After a few attempts like this, I made 2 more stacks named "Stack1" and "Stack2".
The stacks work fine as stacks. The failure only happens after the build.

The only script anywhere in either stack is a mouseup script in a button on the app stack:

Code: Select all

on mouseup 
go stack "Stack2"
end mouseup
I have also tried:

open "stack2"

go stack "Stack2.livecode"

open stack "Stack2.livecode"

Is this a problem with LC, or could could update in Windows cause this?

I'm hopeful that this is a problem someone here has experienced and solved.
TIA

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4163
Joined: Sun Jan 07, 2007 9:12 pm

Re: Apps not opening

Post by bn » Wed May 29, 2024 10:06 am

Hi,

I do not use Windows but there is a bug described here

https://quality.livecode.com/show_bug.cgi?id=23659

that could be the problem. It has to do with printer drivers on Windows.

Kind regards
Bernd

oldummy
Posts: 97
Joined: Mon Jun 13, 2016 3:21 pm

Re: Apps not opening

Post by oldummy » Thu May 30, 2024 11:59 am

One HUGELY important thing that I simply didn't think to mention (I don't know how) is the fact that all of my previously built apps still work just fine.
I'm not sure if that may give a clue or not.

And thanks for the pointer bn.
I removed the last windows update with no effect.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10078
Joined: Fri Feb 19, 2010 10:17 am

Re: Apps not opening

Post by richmond62 » Thu May 30, 2024 1:19 pm

How about running your stack on either Linux or Macintosh: if it runs on one of those systems you know the problem is with your Windows set up, if it does not run then the problem is somewhere in your stack.

You could also try building a Windows standalone on Linux and seeing if that will run on Windows.

oldummy
Posts: 97
Joined: Mon Jun 13, 2016 3:21 pm

Re: Apps not opening

Post by oldummy » Thu May 30, 2024 7:06 pm

Thanks again. I did manage to learn about the event viewer. This is what I get there.

Fault bucket 1741749752510188198, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: aaa.exe
P2: 1.0.0.0
P3: 5ecd1d4f
P4: Print.PrintSupport.Source.dll
P5: 10.0.19041.4355
P6: f1545ee5
P7: c0000005
P8: 0000000000021001
P9:
P10:

Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERD728.tmp.dmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERD796.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERD7A7.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERD7A9.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERD7C9.tmp.txt

These files may be available here:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_aaa.exe_d4e676a2e1b438dfe7dc9b0365e24a3b98dc1_eef19b73_11bbe443-75e0-4136-bd78-68fe6f2cb222

Analysis symbol:
Rechecking for solution: 0
Report Id: 15857e58-f1d4-4c04-b392-dcf3f1ae8757
Report Status: 268435456
Hashed bucket: 7d213331a9fe2d50682bf02bf5fe8aa6

It appears that it wa sinfact something to do with print.dll
Got it, but I don't get it.
I will try to see if someone from the windows community can interpret this.
I will try a build in linux, although the last time it did not work out. This simple program may. Or maybe it can run under wine.
If I had kept the old mac years ago I would not likely be seeing this problem.

stam
Posts: 3061
Joined: Sun Jun 04, 2006 9:39 pm

Re: Apps not opening

Post by stam » Thu May 30, 2024 7:17 pm

Hi oldummy,
As others mentioned it probably is that old printer bug. Looking at the linked bug report above, this was supposed to have been fixed in later (now paid-for) version:
This bug is fixed in LiveCode 9.6.9 RC-3
It probably is of no help to you if you're running 9.6.0 - I presume you're using the community version (keeping in mind the last free/community version was 9.6.3, so you may want to upgrade to that at least, since it would have incremental bug fixes from 9.6.0).

I think some people managed to get things working by installing up-to-date printer drivers for their printer (or maybe the opposite, a generic driver, I'm really not sure). I don't know how that would apply to you...
(and yes, you're correct, you don't see this issue on MacOS).

oldummy
Posts: 97
Joined: Mon Jun 13, 2016 3:21 pm

Re: Apps not opening

Post by oldummy » Thu May 30, 2024 7:29 pm

I just tried the app on linux and it works well, and faster too.
I will look for a cure. As it stands I will only be able to build for Linux on this machine anyway.
I wonder now if there is a LC for linux 9.6.0 out there in the wild.


"Looking at the linked bug report above, this was supposed to have been fixed in later (now paid-for) version:r"

That sounds scary.

I thank you all for the helpful suggestions. They are truly appreciated.

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4163
Joined: Sun Jan 07, 2007 9:12 pm

Re: Apps not opening

Post by bn » Fri May 31, 2024 9:20 am

Hi olddummy,

If you look at the bug report in detail there are some fixes that worked for the reporters.

https://quality.livecode.com/show_bug.cgi?id=23659

Apparently installing the printer drivers from the printer manufacturer instead of a generic printer driver cured the problem.

And there was something about a terminating the "print spooler" which seems to have helped.
It is maybe worth a try.

Kind regards
Bernd

oldummy
Posts: 97
Joined: Mon Jun 13, 2016 3:21 pm

Re: Apps not opening

Post by oldummy » Fri May 31, 2024 10:58 am

Uninstalled all except the printer manufacturer's,and that WORKED!

Thank you. I wish I could make this font large enough to say Thank you.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10078
Joined: Fri Feb 19, 2010 10:17 am

Re: Apps not opening

Post by richmond62 » Fri May 31, 2024 1:12 pm

You could say "Thank You" quite easily:
-
SShot 2024-05-31 at 15.13.03.png

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4163
Joined: Sun Jan 07, 2007 9:12 pm

Re: Apps not opening

Post by bn » Fri May 31, 2024 3:42 pm

oldummy wrote:
Fri May 31, 2024 10:58 am
Uninstalled all except the printer manufacturer's,and that WORKED!
Hi oldummy,

I am glad it worked for you. I felt a bit uneasy because I could not try this in my setting.
But it sure sounded like what people experienced in the bug report.

Kind regards
Bernd

oldummy
Posts: 97
Joined: Mon Jun 13, 2016 3:21 pm

Re: Apps not opening

Post by oldummy » Sat Jun 01, 2024 11:54 am

THANK YOU!!!

oldummy
Posts: 97
Joined: Mon Jun 13, 2016 3:21 pm

Re: Apps not opening

Post by oldummy » Sat Jun 01, 2024 11:56 am

Thanks Richmond. I thought I would mess that up somehow..

Post Reply