pkulchenko / ZeroBraneStudio

Lightweight Lua-based IDE for Lua with code completion, syntax highlighting, live coding, remote debugger, and code analyzer; supports Lua 5.1, 5.2, 5.3, 5.4, LuaJIT and other Lua interpreters on Windows, macOS, and Linux
http://studio.zerobrane.com/
Other
2.59k stars 518 forks source link

ZBS error while closing child windows #1177

Closed fireymerlin closed 3 months ago

fireymerlin commented 3 months ago

I had 5 or more lua files open and two text files. I was closing some of the lua and the text files by clicking the X in the tab tittle.

Here is the text from the error popup window: EwxLua Runtime Error

X

X

Lua: Error while running chunk src/editor/editor.lua:614: attempt to call method 'IndicatorFillRange' (a nil value) stack traceback: src/editor/editor.lua:614: in function 'IndicateOne' src/editor/editor.lua:641: in function 'IndicateSymbols' src/editor/editor.lua:486: in function 'IndicatelfNeeded' src/editor/commands.lua:885: in function <src/editor/commands.lua:878> [C]: at Ox02859894 sro/main.lua:893: in main chunk [string "Initializer']:1: in function < [string "Initializer"]:1> [C]: in function 'xpcall' [string "Initializer']:1: in main chunk

OK

Cancel

pkulchenko commented 3 months ago

If fails to find IndicatorFillRange function that is present in wxlua module included with the IDE. Is it possible you're loading a different wxlua module that doesn't come with the IDE? Can you include a screenshot of the About screen of the IDE?

pkulchenko commented 3 months ago

BTW, what do you mean by "child windows"? Can you described the steps you're doing when this error is triggered?

fireymerlin commented 3 months ago

I just had the following happen when starting ZBS. ! Screenshot 2024-04-08 100311

I just deleted/uninstalled ZBS and lua for windows. I deleted the c:\program files(x86)\lua folder. The only modules I put in the lua folder other than what comes with lua for windows are: Serpent - from ZBS author winapi-1.0

Child windows - I mean the tabs across the top for each open file. image

pkulchenko commented 3 months ago

Thank you for the details. Can you show the content of Help | About window?

fireymerlin commented 3 months ago

image

fireymerlin commented 3 months ago

Please close this ticket. My Dell PC is having hardware issues with the motherboard and/or harddrive.

pkulchenko commented 3 months ago

Closing; thank you for the update!