PyPipboyApp icon indicating copy to clipboard operation
PyPipboyApp copied to clipboard

Crash when switching global map from orginal to 4k

Open bgrimm opened this issue 10 years ago • 2 comments

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'

bgrimm avatar Jan 16 '16 17:01 bgrimm

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

matzman666 avatar Jan 16 '16 18:01 matzman666

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

bgrimm avatar Jan 16 '16 19:01 bgrimm