|
Post by netkeeper on Jul 11, 2021 15:33:26 GMT -5
Hi, I got an error message "runtime error: error closing key (see error.log for more information)". I am new, just installed LB, I remember I click show "freeform" button and it asked to restart the program. Then the error message showed. I tried to uninstall, delete the folder then re-install and it doesn't work. Tried a few times but no luck.
I checked to see if any where I can find error.log file but no luck.
Let me know if anything I missed.
Thank you in advance!
Gao
|
|
|
Post by Stefan Pendl on Jul 12, 2021 8:07:39 GMT -5
This might be related to DEP being enabled for anything. Follow the steps below to enable DEP for Windows things only, since DEP is already handled by the CPU of modern systems.
1) open Windows search 2) enter "view advanced system settings" without quotes as the search text, mostly the correct item will be displayed after entering a few letters, so you usually do not need to enter the entire phrase 3) open the "view advanced system settings" dialog 4) push the "settings" button of the "performance" group 5) select the "data execution prevention" tab (= DEP) 6) select "turn on DEP for essential Windows programs and services only" 7) select OK until all dialogs are closed
DEP is like a anti virus program, the more you have running concurrently the less they work well.
|
|
|
Post by Carl Gundel on Jul 12, 2021 8:30:10 GMT -5
Hi,
Can you describe exactly what you are doing that leads up to the error?
How are you starting Liberty BASIC? People often have problems if they try to start the liberty.exe file directly by double clicking on it. Are you using the Windows Start menu? Press Ctrl+Esc, type liberty and wait a moment, and when Liberty BASIC v4.5.1 appears in the results, click on it.
We might also be able to get some helpful information from the error.log file.
Is that helpful?
-Carl
|
|
|
Post by netkeeper on Jul 12, 2021 23:50:06 GMT -5
Hi, Can you describe exactly what you are doing that leads up to the error? How are you starting Liberty BASIC? People often have problems if they try to start the liberty.exe file directly by double clicking on it. Are you using the Windows Start menu? Press Ctrl+Esc, type liberty and wait a moment, and when Liberty BASIC v4.5.1 appears in the results, click on it. We might also be able to get some helpful information from the error.log file. Is that helpful? -Carl Carl, actually I didn't do much. It is a brand new install. After install, I clicked icon from the desktop, browse around the menu, then copy&paste a few code samples like hello world. Then I was looking for Freeform. I believe there is a menu said something like show Freeform on toolbox bar... something like that I am not 100% and can't open LB to check. Then it asked me to restart program... I did. Then the error message showed up. Then I reboot computer, same thing. I tried a few times then found "liberty.exe" in task manager... so it wouldn't close itself. I tried uninstall, worked, then I delete everything from the ""C:\Program Files (x86)\Liberty BASIC v4.5.1" folder. Then reinstall.. same error. I couldn't find "ERROR.LOG" file anywhere.
|
|
|
Post by netkeeper on Jul 12, 2021 23:54:08 GMT -5
This might be related to DEP being enabled for anything. Follow the steps below to enable DEP for Windows things only, since DEP is already handled by the CPU of modern systems. 1) open Windows search 2) enter "view advanced system settings" without quotes as the search text, mostly the correct item will be displayed after entering a few letters, so you usually do not need to enter the entire phrase 3) open the "view advanced system settings" dialog 4) push the "settings" button of the "performance" group 5) select the "data execution prevention" tab (= DEP) 6) select "turn on DEP for essential Windows programs and services only" 7) select OK until all dialogs are closed DEP is like a anti virus program, the more you have running concurrently the less they work well. I found the DEP menu and the "DEP for essential Windows programs and services only" is on... I switch to the other one just to see what might happen. Reboot, started LB and it gives a different error message:"a non-continuable protection violation has occurred. Check ERROR.LOG file." Below are what show in the file. I switch the DEP setting back and back to the previous error message. Error log timestamp 7/12/2021 22:35:0 The registers were: EIP = 0x028d020d ESP = 0x0019fe90 EBP = 0x00000000 EAX = 0x02ab4444 EBX = 0xffffe001 ECX = 0x00000100 EDX = 0x10090000 EDI = 0x00000001 ESI = 0x02ab4444 CS = 0x00000023 DS = 0x0000002b ES = 0x0000002b SS = 0x0000002b End Registers Error log timestamp 7/12/2021 22:35:00 Message 1001: a non-continuable protection violation has occurred. Check ERROR.LOG file.
|
|
|
Post by Rod on Jul 13, 2021 1:55:57 GMT -5
So, it is not DEP. but we need more precise description of what works and what does not work. Sounds like first time round you got a good install and the editor opened when you clicked to run Liberty. You played with a few programs, they worked? Then you tried free form but you got a runtime error. Runtime errors happen when a program is loaded, compiled and running. So something wrong with free form.bas.
Where are you now? You reinstalled Liberty, when you click to run Liberty does the IDE, the editor ,open and can you choose a program?
If not can you show us exactly what appears on screen when you click to run Liberty.
If you can load free form what happens when you click the > run icon.
|
|
|
Post by Stefan Pendl on Jul 13, 2021 14:07:12 GMT -5
For Carl it is important to include the error.log file created by LB, he knows what it means and makes finding the cause of the issue easier for him.
- Did you change anything through a tweak tool? -- May be revert the tweaks to get a more standard Windows installation to start from.
We also would need more information about your system. Execute the following command inside a command prompt and attach the resulting text file.
systeminfo >systeminfo.txt
|
|
|
Post by netkeeper on Jul 13, 2021 22:25:08 GMT -5
So, it is not DEP. but we need more precise description of what works and what does not work. Sounds like first time round you got a good install and the editor opened when you clicked to run Liberty. You played with a few programs, they worked? Yes. I haven't installed anything extra other than LB, I am not sure if Free-form is built in or add-on to be installed later. I read on magazine Freeform is for GUI design, I was planing to get it after try "hello world". It was just before the runtime error first showed up. I am no where, tried reinstall but nothing opens, nothing shows up. No, nothing open and nothing shows up Same as above
|
|
|
Post by netkeeper on Jul 13, 2021 22:27:31 GMT -5
For Carl it is important to include the error.log file created by LB, he knows what it means and makes finding the cause of the issue easier for him. - Did you change anything through a tweak tool? -- May be revert the tweaks to get a more standard Windows installation to start from. We also would need more information about your system. Execute the following command inside a command prompt and attach the resulting text file. systeminfo >systeminfo.txt Host Name: HOMECOMPUTERGQ OS Name: Microsoft Windows 10 Pro OS Version: 10.0.19042 N/A Build 19042 OS Manufacturer: Microsoft Corporation OS Configuration: Standalone Workstation OS Build Type: Multiprocessor Free Registered Owner: netkeepergy@hotmail.com Registered Organization: Product ID: 00330-80000-00000-AA854 Original Install Date: 2021/3/14, 23:11:15 System Boot Time: 2021/7/12, 22:35:57 System Manufacturer: LENOVO System Model: 20MDCTO1WW System Type: x64-based PC Processor(s): 1 Processor(s) Installed. [01]: Intel64 Family 6 Model 158 Stepping 10 GenuineIntel ~2093 Mhz BIOS Version: LENOVO N2EET41W (1.23 ), 2019/7/3 Windows Directory: C:\WINDOWS System Directory: C:\WINDOWS\system32 Boot Device: \Device\HarddiskVolume3 System Locale: zh-cn;Chinese (China) Input Locale: en-us;English (United States) Time Zone: (UTC-07:00) Mountain Time (US & Canada) Total Physical Memory: 15,922 MB Available Physical Memory: 9,624 MB Virtual Memory: Max Size: 18,354 MB Virtual Memory: Available: 9,453 MB Virtual Memory: In Use: 8,901 MB Page File Location(s): C:\pagefile.sys Domain: WORKGROUP Logon Server: \\HOMECOMPUTERGQ Hotfix(s): 7 Hotfix(s) Installed. [01]: KB5003254 [02]: KB4562830 [03]: KB4577586 [04]: KB4580325 [05]: KB4589212 [06]: KB5004945 [07]: KB5003742 Network Card(s): 5 NIC(s) Installed. [01]: VPN Client Adapter - VPN Connection Name: VPN - VPN Client Status: Media disconnected [02]: Intel(R) Ethernet Connection (7) I219-LM Connection Name: Ethernet 8 Status: Media disconnected [03]: Intel(R) Wireless-AC 9560 160MHz Connection Name: WiFi 3 DHCP Enabled: Yes DHCP Server: 192.168.0.1 IP address(es) [01]: 192.168.0.11 [04]: Bluetooth Device (Personal Area Network) Connection Name: 蓝牙网络连接 Status: Media disconnected [05]: Realtek USB GbE Family Controller Connection Name: 以太网 Status: Media disconnected Hyper-V Requirements: VM Monitor Mode Extensions: Yes Virtualization Enabled In Firmware: No Second Level Address Translation: Yes Data Execution Prevention Available: Yes
|
|
|
Post by Rod on Jul 14, 2021 2:20:21 GMT -5
When you run Liberty BASIC by clicking on the desktop icon or clicking on Liberty.exe within program files x86 \ Liberty BASIC v4.5.1\ directory you get the Liberty BASIC editor open. It may have welcome text in it or it may just be a blank white window. You need to use the Files icon to find and load a .bas file.
If you don’t get this editor opening and you get absolutely nothing showing on your desktop then I would expect your virus checker is preventing Liberty from starting.
Are you able to click on the icon or navigate to Liberty.exe? If so what happens when you click?
|
|
|
Post by Chris Iverson on Jul 14, 2021 12:09:10 GMT -5
I wonder if that's the problem. I'm not sure if we've tested LB on a Chinese locale. I think I did have it working under Japanese locale at one point years ago, so I'd be surprised if it didn't work under Chinese, but still. I wonder if I have a way to test this myself.
Also, would you be able to provide the error.log file? You should have it at C:\Users\<username>\AppData\Roaming\Liberty BASIC v4.5.1. In that folder should be an error.log file.
EDIT: Was able to change my system locale to Chinese, and didn't have a problem with FreeForm. I did get a weird glitch where it made me re-register LB, and I had to do it again when I switched back, but I was able to run LB and Freeform seemingly alright.
|
|
|
Post by Carl Gundel on Jul 14, 2021 15:31:38 GMT -5
I wonder if that's the problem. I'm not sure if we've tested LB on a Chinese locale. I think I did have it working under Japanese locale at one point years ago, so I'd be surprised if it didn't work under Chinese, but still. I wonder if I have a way to test this myself. Also, would you be able to provide the error.log file? You should have it at C:\Users\<username>\AppData\Roaming\Liberty BASIC v4.5.1. In that folder should be an error.log file. EDIT: Was able to change my system locale to Chinese, and didn't have a problem with FreeForm. I did get a weird glitch where it made me re-register LB, and I had to do it again when I switched back, but I was able to run LB and Freeform seemingly alright. I wonder if there is a difference between a Chinese version of Windows (if there is such a thing) and an English version with a Chinese locale set.
|
|
|
Post by Chris Iverson on Jul 14, 2021 16:40:08 GMT -5
There shouldn't be - as far back as Windows Vista, the Windows core code was rewritten so that all "languages" and "regions" supported in Windows are essentially expansion packs built on top of identical base code. This was done specifically because of the support headache they had with different localized versions of Windows needing different patches, multiplying any needed change immensely.
A version of Windows 10 that has language support for Chinese and US English installed should be identical, regardless of which one comes first.
|
|
|
Post by netkeeper on Jul 14, 2021 21:35:28 GMT -5
When you run Liberty BASIC by clicking on the desktop icon or clicking on Liberty.exe within program files x86 \ Liberty BASIC v4.5.1\ directory you get the Liberty BASIC editor open. It may have welcome text in it or it may just be a blank white window. You need to use the Files icon to find and load a .bas file. If you don’t get this editor opening and you get absolutely nothing showing on your desktop then I would expect your virus checker is preventing Liberty from starting. Are you able to click on the icon or navigate to Liberty.exe? If so what happens when you click? I can click the icon or navigate to Liberty.exe... both are the same, runtime error shows and ask to check error.log. I can see from task manager that Liberty.exe (32 bit) is running...but Editor is not opening.
|
|
|
Post by netkeeper on Jul 14, 2021 22:56:31 GMT -5
I wonder if that's the problem. I'm not sure if we've tested LB on a Chinese locale. I think I did have it working under Japanese locale at one point years ago, so I'd be surprised if it didn't work under Chinese, but still. I wonder if I have a way to test this myself. Also, would you be able to provide the error.log file? You should have it at C:\Users\<username>\AppData\Roaming\Liberty BASIC v4.5.1. In that folder should be an error.log file. EDIT: Was able to change my system locale to Chinese, and didn't have a problem with FreeForm. I did get a weird glitch where it made me re-register LB, and I had to do it again when I switched back, but I was able to run LB and Freeform seemingly alright. Out of curiosity, I removed the Chinese language set in Windows, restarted windows and tried LB. It is the same runtime error message. The trouble is I can not find the error.log file, I checked each folder under C:\Program Files (x86)\Liberty BASIC v4.5.1 but nothing there.
|
|