Traceback (most recent call last):

 "D:\Tools\Python27\lib\site-packages\fife\extensions\fife_timer.py", line 125, in updateEvent
self._callback()

 "D:\Tools\Python27\lib\site-packages\fife\extensions\pychan\tools.py", line 83, in real_callback
callback(*args,**kwargs)

 "D:\Tools\Python27\lib\site-packages\fife\extensions\pychan\events.py", line 164, in delayed_f
f( event )

 "D:\Tools\Python27\lib\site-packages\fife\extensions\pychan\events.py", line 327, in captured_f
tools.applyOnlySuitable(self_ref().callbacks[group_name][event_name],event=event,widget=self_ref().widget_ref())

 "D:\Tools\Python27\lib\site-packages\fife\extensions\pychan\tools.py", line 60, in applyOnlySuitable
return func(*args,**kwargs)

 "D:\UnknownHorizons\unknown-horizons\horizons\gui\gui.py", line 140, in do_load
did_load = horizons.main.load_game()

 "D:\UnknownHorizons\unknown-horizons\horizons\main.py", line 403, in load_game
trader_enabled=trader_enabled, force_player_id=force_player_id)

 "D:\UnknownHorizons\unknown-horizons\horizons\main.py", line 292, in start_singleplayer
_modules.session.end()

 "D:\UnknownHorizons\unknown-horizons\horizons\session.py", line 224, in end
self.world.end() # must be called before the world ref is gone

 "D:\UnknownHorizons\unknown-horizons\horizons\world\__init__.py", line 92, in end
island.end()

 "D:\UnknownHorizons\unknown-horizons\horizons\world\island.py", line 411, in end
super(Island, self).end()

 "D:\UnknownHorizons\unknown-horizons\horizons\world\buildingowner.py", line 170, in end
self.buildings[-1].remove()

 "D:\UnknownHorizons\unknown-horizons\horizons\world\building\buildingresourcehandler.py", line 50, in remove
super(BuildingResourceHandler, self).remove()

 "D:\UnknownHorizons\unknown-horizons\horizons\world\resourcehandler.py", line 88, in remove
super(ResourceHandler, self).remove()

 "D:\UnknownHorizons\unknown-horizons\horizons\world\building\building.py", line 123, in remove
super(BasicBuilding, self).remove()

 "D:\UnknownHorizons\unknown-horizons\horizons\component\componentholder.py", line 114, in remove
component.remove()

 "D:\UnknownHorizons\unknown-horizons\horizons\world\production\producer.py", line 268, in remove
self.remove_production(production)

 "D:\UnknownHorizons\unknown-horizons\horizons\world\production\producer.py", line 236, in remove_production
production.remove() # production "destructor"

 "D:\UnknownHorizons\unknown-horizons\horizons\world\production\production.py", line 151, in remove
super(Production, self).remove()

 "D:\UnknownHorizons\unknown-horizons\horizons\util\changelistener.py", line 130, in remove
self.__call_listeners(self.__remove_listeners)

 "D:\UnknownHorizons\unknown-horizons\horizons\util\changelistener.py", line 65, in __call_listeners
for listener in listener_list:
TypeError: 'NoneType' object is not iterable```
Traceback (most recent call last):


 "fitparseTest.py", line 7, in <module>

for record in fitfile.get_messages('record'):


 "/Users/wingchiuhau/.virtualenvs/testfit/lib/python2.7/site-packages/fitparse/base.py", line 450, in get_messages

message = self._parse_message()


 "/Users/wingchiuhau/.virtualenvs/testfit/lib/python2.7/site-packages/fitparse/base.py", line 160, in _parse_message

message = self._parse_data_message(header)


 "/Users/wingchiuhau/.virtualenvs/testfit/lib/python2.7/site-packages/fitparse/base.py", line 340, in _parse_data_message

cmp_raw_value, accumulator[component.def_num], component.bits,


 "/Users/wingchiuhau/.virtualenvs/testfit/lib/python2.7/site-packages/fitparse/base.py", line 307, in _apply_compressed_accumulation

base_value = raw_value + (accumulation & ~max_mask)
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
