-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
I've seen this happen twice now, always when opening a 'firm' window and trying to buy goods. I suspect it's some empty list that is asked to being sorted, but will use this issue to figure it out
Traceback (most recent call last):
File "/Users/lassefolkersen/Documents/highfrontier/intro.py", line 459, in <module>
introGui = IntroGui()
File "/Users/lassefolkersen/Documents/highfrontier/intro.py", line 81, in __init__
self.receive_click(event)
File "/Users/lassefolkersen/Documents/highfrontier/intro.py", line 105, in receive_click
button.activate(event)
File "/Users/lassefolkersen/Documents/highfrontier/gui_components.py", line 499, in activate
return_value = self.function(self.label, self.function_parameter)
File "/Users/lassefolkersen/Documents/highfrontier/intro.py", line 452, in start_new_game
self.main.start_loop(companyName = cn,
File "/Users/lassefolkersen/Documents/highfrontier/main.py", line 114, in start_loop
gui_instance.receive_click(event)
File "/Users/lassefolkersen/Documents/highfrontier/gui.py", line 106, in receive_click
button.activate(None)
File "/Users/lassefolkersen/Documents/highfrontier/gui_components.py", line 499, in activate
return_value = self.function(self.label, self.function_parameter)
File "/Users/lassefolkersen/Documents/highfrontier/gui.py", line 515, in subcommandbox_button_activate
self.all_windows[label].create()
File "/Users/lassefolkersen/Documents/highfrontier/gui.py", line 3505, in create
self.fast_list = gui_components.fast_list(
File "/Users/lassefolkersen/Documents/highfrontier/gui_components.py", line 600, in __init__
self.receive_data(tabular_data,column_order = column_order, sort_by = sort_by)
File "/Users/lassefolkersen/Documents/highfrontier/gui_components.py", line 872, in receive_data
i.sort(sorter)
TypeError: sort() takes no positional arguments