Gerold55 / laptop

Introducing the MineTest Laptop Mod
Other
25 stars 14 forks source link

MineBrowser Crashing #127

Closed binyamin closed 6 years ago

binyamin commented 6 years ago

@bell07 I was experimenting with minebrowser websites. When I clicked a link from my site to another page, I got a grey screen and the following error: 2018-07-12 15:51:04: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'laptop' in callback node_on_receive_fields(): C:\Minetest\bin\..\builtin\common\misc_helpers.lua:597: attempt to concatenate local 'color' (a nil value) 2018-07-12 15:51:04: ERROR[Main]: stack traceback: 2018-07-12 15:51:04: ERROR[Main]: C:\Minetest\bin\..\builtin\common\misc_helpers.lua:597: in function 'get_color_escape_sequence' 2018-07-12 15:51:04: ERROR[Main]: C:\Minetest\bin\..\builtin\common\misc_helpers.lua:606: in function 'colorize' 2018-07-12 15:51:04: ERROR[Main]: C:\Minetest\bin\..\mods\laptop/themes.lua:91: in function 'get_label' 2018-07-12 15:51:04: ERROR[Main]: ...inetest\bin\..\mods\laptop/apps/browser_minetest_app.lua:35: in function 'formspec_func' 2018-07-12 15:51:04: ERROR[Main]: C:\Minetest\bin\..\mods\laptop/app_fw.lua:11: in function 'get_formspec' 2018-07-12 15:51:04: ERROR[Main]: C:\Minetest\bin\..\mods\laptop/mtos.lua:349: in function 'set_app' 2018-07-12 15:51:04: ERROR[Main]: C:\Minetest\bin\..\mods\laptop/apps/browser_app.lua:14: in function 'navigate' 2018-07-12 15:51:04: ERROR[Main]: C:\Minetest\bin\..\mods\laptop/apps/browser_app.lua:42: in function 'header_receive_fields_func' 2018-07-12 15:51:04: ERROR[Main]: ...inetest\bin\..\mods\laptop/apps/browser_minetest_app.lua:20: in function <...inetest\bin\..\mods\laptop/apps/browser_minetest_app.lua:19> 2018-07-12 15:51:04: ERROR[Main]: C:\Minetest\bin\..\mods\laptop/app_fw.lua:36: in function 'receive_data' 2018-07-12 15:51:04: ERROR[Main]: C:\Minetest\bin\..\mods\laptop/mtos.lua:370: in function 'pass_to_app' 2018-07-12 15:51:04: ERROR[Main]: C:\Minetest\bin\..\mods\laptop/hardware_fw.lua:61: in function <C:\Minetest\bin\..\mods\laptop/hardware_fw.lua:59>

bell07 commented 6 years ago

Something is wrong with your get_label() call in laptop/apps/browser_minetest_app.lua:35 Can you post your line 35?

binyamin commented 6 years ago

mtos.theme.get_label('2,3', 'and how to start playing your first games alone or online.') ..

bell07 commented 6 years ago

Right syntax is mtos.theme:get_label('2,3', 'and how to start playing your first games alone or online.')

The ":" does it

binyamin commented 6 years ago

It worked, thanks. Posting error from portable workstation 2

binyamin commented 6 years ago

2018-07-12 16:29:14: ERROR[MeshUpdate]: Waiting for texture laptop_lap_base_open_right.png^[applyfiltersformesh^[cracko:1:0^[applyfiltersformesh timed out. 2018-07-12 16:29:15: ERROR[MeshUpdate]: Waiting for texture laptop_lap_base_open_left.png^[applyfiltersformesh^[cracko:1:0^[applyfiltersformesh timed out. 2018-07-12 16:29:16: ERROR[MeshUpdate]: Waiting for texture laptop_lap_base_open_back.png^laptop_lap_sc_open_back.png^[applyfiltersformesh^[cracko:1:0^[applyfiltersformesh timed out. 2018-07-12 16:29:17: ERROR[MeshUpdate]: Waiting for texture laptop_lap_base_open_front.png^laptop_lap_sc_open_front.png^[applyfiltersformesh^[cracko:1:0^[applyfiltersformesh timed out.

bell07 commented 6 years ago

Hm, I do not know the error :-( Waiting for texture ... timed out Seems your server or client/server connection is slow

The special thing on portable workstation 2 is the Theme "Argyle" is preinstalled. Try to select this theme on other computer

binyamin commented 6 years ago

Works on Bell Crosover

binyamin commented 6 years ago

Error on CP Core too: 2018-07-12 16:39:08: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'laptop' in callback node_on_punch(): C:\Minetest\bin\..\mods\laptop/mtos.lua:349: attempt to index local 'app' (a nil value) 2018-07-12 16:39:08: ERROR[Main]: stack traceback: 2018-07-12 16:39:08: ERROR[Main]: C:\Minetest\bin\..\mods\laptop/mtos.lua:349: in function 'set_app' 2018-07-12 16:39:08: ERROR[Main]: C:\Minetest\bin\..\mods\laptop/mtos.lua:170: in function <C:\Minetest\bin\..\mods\laptop/mtos.lua:168> 2018-07-12 16:39:08: ERROR[Main]: C:\Minetest\bin\..\mods\laptop/hardware_fw.lua:51: in function <C:\Minetest\bin\..\mods\laptop/hardware_fw.lua:19>

bell07 commented 6 years ago

No further Idea. [MeshUpdate]. To complex mesh??? Do you test locally or do you have a remote server? Fear I cannot help with this issue :-(

binyamin commented 6 years ago

locally

bell07 commented 6 years ago

Wait, the second one on CP Core is an other issue... I fixed already in my branch... Merged in https://github.com/Gerold55/minetest-laptop/pull/128 now

binyamin commented 6 years ago

It's fixed now. Both problems. Thanks.