matzman666 / PyPipboyApp

A platform independent and extensible unofficial Fallout 4 Pipboy Companion App
GNU General Public License v3.0
83 stars 20 forks source link

Crash when switching global map from orginal to 4k #42

Closed bgrimm closed 8 years ago

bgrimm commented 8 years ago

Latest pull. In global map widget changing to map 4k threat level results in exception: Traceback (most recent call last): File "D:\Shared\Projects\Python\PyPipBoy\PyPipBoyApp-RUN-my_current\ ", line 1475, in _slotMapFileComboTriggered self._createCollectablesMarkers(self.collectableDefs, reset=True) File "D:\Shared\Projects\Python\PyPipBoy\PyPipBoyApp-RUN-my_current\ ", line 1327, in _createCollectablesMarkers marker.setSavedSettings() File "D:\Shared\Projects\Python\PyPipBoy\PyPipBoyApp-RUN-my_current\ ", line 774, in setSavedSettings self.widget.characterDataManager.playerDataPath + self.widget.char ectablesuffix TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

matzman666 commented 8 years ago

I can reproduce this on a freshly started instance that has never been connected to a running game. Should be fixed with commit 4c56b876252ee573592aee1dd4fe0259554b3d5b.

bgrimm commented 8 years ago

Fixed. (also widget position/view save with ini file is fixed too)