Forums » Bugs

I have been getting this error when I dock with a cappie...

Apr 25, 2013 PaKettle link
This may be a plugin issue or perhaps the display data was corrupted in some way.

Thu 25 Apr 2013 05:31:04 PM EDT] You are now in Lisa201's ship.
*** Lua error: iup handle expected
*** Stack trace:
1 [C]:-1 in Show (field)
2 vo/if_capship.lua:84 in OnShow (method)
3 vo/if_capship.lua:463 in (null) ()
4 (tail call):-1 in ()
5 [C]:-1 in Show (global)
6 lua/iup/iuplua.lua:120 in show (method)
7 vo/if.lua:307 in ShowDialog (global)
8 vo/if_capship.lua:520 in func (local)
9 vo/vo_event.lua:28 in (null) ()
10 [C]:-1 in xpcall (global)
11 vo/vo_event.lua:87 in _do_event (upvalue)
12 vo/vo_event.lua:108 in ProcessEvent (global)
13 vo/vo_gameevent.lua:829 in InitializeStation (upvalue)
14 vo/vo_gameevent.lua:888 in complete_cb (field)
15 vo/vo_ge_station.lua:287 in CheckForCompletedTransaction (upvalue)
16 vo/vo_ge_station.lua:327 in SetTransactionWantCount (upvalue)
17 vo/vo_ge_station.lua:445 in func (local)
18 vo/vo_gameevent.lua:1583 in (null) ()
vo/if_capship.lua:84: bad argument #1 to 'Show' (iup handle expected)
stack traceback:
vo/error.lua:59: in function <vo/error.lua:58>
[C]: in function 'Show'
vo/if_capship.lua:84: in function 'OnShow'
vo/if_capship.lua:463: in function <vo/if_capship.lua:458>
(tail call): ?
[C]: in function 'Show'
lua/iup/iuplua.lua:120: in function 'show'
vo/if.lua:307: in function 'ShowDialog'
vo/if_capship.lua:520: in function 'func'
vo/vo_event.lua:28: in function <vo/vo_event.lua:26>
[C]: in function 'xpcall'
vo/vo_event.lua:87: in function '_do_event'
vo/vo_event.lua:108: in function 'ProcessEvent'
vo/vo_gameevent.lua:829: in function 'InitializeStation'
vo/vo_gameevent.lua:888: in function 'complete_cb'
vo/vo_ge_station.lua:287: in function 'CheckForCompletedTransaction'
vo/vo_ge_station.lua:327: in function 'SetTransactionWantCount'
vo/vo_ge_station.lua:445: in function 'func'
vo/vo_gameevent.lua:1583: in function <vo/vo_gameevent.lua:1576>
Apr 29, 2013 PaKettle link
It appears this was triggered by a plug in I was working on.
Lua really needs a more gracefull way to handle errors.