Git Product home page Git Product logo

pypipboyapp's People

Contributors

akamal avatar gwhittey23 avatar killeand avatar matzman666 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pypipboyapp's Issues

App Slowdown - Unknown Messages Being Sent

Hey all,

I noticed some problems lately with the app freezing every few seconds, but after I posted this, I zoomed in on my map and suddenly the freezing was going away. So just an FYI, the app can only handle rendering so many icons on the map view before things start going haywire.

Next, I've been noticing some strange messages being sent from the app. Here is the log:

F1 2016-02-05 00:25:27,100 DEBUG Received message with type 0 and size 0.
F1 2016-02-05 00:25:27,100 DEBUG Sending message: b'\x00\x00\x00\x00\x00'
F1 2016-02-05 00:25:28,100 DEBUG Received message with type 0 and size 0.
F1 2016-02-05 00:25:28,100 DEBUG Sending message: b'\x00\x00\x00\x00\x00'
F1 2016-02-05 00:25:29,099 DEBUG Received message with type 0 and size 0.
F1 2016-02-05 00:25:29,100 DEBUG Sending message: b'\x00\x00\x00\x00\x00'
F1 2016-02-05 00:25:30,102 DEBUG Received message with type 0 and size 0.
F1 2016-02-05 00:25:30,102 DEBUG Sending message: b'\x00\x00\x00\x00\x00'
F1 2016-02-05 00:25:31,099 DEBUG Received message with type 0 and size 0.
F1 2016-02-05 00:25:31,099 DEBUG Sending message: b'\x00\x00\x00\x00\x00'
F1 2016-02-05 00:25:32,140 DEBUG Received message with type 0 and size 0.
F1 2016-02-05 00:25:32,140 DEBUG Sending message: b'\x00\x00\x00\x00\x00'
F1 2016-02-05 00:25:33,260 DEBUG Received message with type 0 and size 0.
F1 2016-02-05 00:25:33,260 DEBUG Sending message: b'\x00\x00\x00\x00\x00'
F1 2016-02-05 00:25:34,100 DEBUG Received message with type 0 and size 0.
F1 2016-02-05 00:25:34,100 DEBUG Sending message: b'\x00\x00\x00\x00\x00'
F1 2016-02-05 00:25:35,161 DEBUG Received message with type 0 and size 0.
F1 2016-02-05 00:25:35,161 DEBUG Sending message: b'\x00\x00\x00\x00\x00'
F1 2016-02-05 00:25:36,181 DEBUG Received message with type 0 and size 0.
F1 2016-02-05 00:25:36,181 DEBUG Sending message: b'\x00\x00\x00\x00\x00'
F1 2016-02-05 00:25:37,101 DEBUG Received message with type 0 and size 0.
F1 2016-02-05 00:25:37,101 DEBUG Sending message: b'\x00\x00\x00\x00\x00'
F1 2016-02-05 00:25:38,102 DEBUG Received message with type 0 and size 0.
F1 2016-02-05 00:25:38,102 DEBUG Sending message: b'\x00\x00\x00\x00\x00'
F1 2016-02-05 00:25:39,100 DEBUG Received message with type 0 and size 0.
F1 2016-02-05 00:25:39,100 DEBUG Sending message: b'\x00\x00\x00\x00\x00'

Normally all I would see is this:

F1 2016-02-05 00:19:46,559 DEBUG Received message with type 3 and size 27.
F1 2016-02-05 00:19:46,559 DEBUG Received message with type 3 and size 27.
F1 2016-02-05 00:19:46,568 DEBUG Dispatching message with type 3 and size 9
F1 2016-02-05 00:19:46,576 DEBUG Dispatching message with type 3 and size 9
F1 2016-02-05 00:19:46,579 DEBUG Received message with type 3 and size 9.
F1 2016-02-05 00:19:46,608 DEBUG Dispatching message with type 3 and size 9

And so on. I understand the latter is likely the map position being updated. But the above... I haven't the foggiest (are you sending a heartbeat?).

Thoughts?

Moving settings from Windows registry to .ini-file

I am thinking about moving the QSettings backend storage from the windows registry to an ini-file. Would be more user-friendly as it is easier for inexperienced users to modify or delete existing settings or move them to another computer. Since we now store notes I think this could be an important feature.

Changing the backend-storage is a simple line of code (Linux version already uses ini-files, so we know that it is working).

What we also need to do is to migrate the old settings into an ini-file, and we need to think about where to store the ini-file.

Automatic Reconnect.

image

Some auto retry on connection fail or auto use first discovered device on connection fail options would be great.

-1 error on launch

anything above 0.5 seems to give me a -1 error on launch. the files that cause it are widgets\quests\info.py
and
widgets\locationbrowser\info.py

once those 2 are deleted the software launches.

Replace the widgets' default title bar with a custom one

As the title says this is about replacing the default title bar (the bar that holds the widget's name and the close/undock buttons). The advantage is that there are no more native window decorations for floating widgets. And we could add a fullscreen button for widgets to the other buttons (according to the internet fullscreen for floating widgets works on Windows, but that is still unconfirmed. Even if it doesn't work, we could implement a "borderless windowed fullscreen mode").

The disadvantage is that Qt is like: You want to have access to the default title bar? Fuck you, I won't give you access. When you want to have a custom title bar, implement your own from scratch. And by the way, you will break your style sheets if you do so.

Crash because not compatible with QT 5.6

When attempting to run via python pypipboyapp.py, I'm greeted with the following:

Traceback (most recent call last):
  File "pypipboyapp.py", line 816, in <module>
    pipboyApp = PyPipboyApp(sys.argv, inifile)
  File "pypipboyapp.py", line 127, in __init__
    self.signalConnectToHost.connect(self.connectToHost)
TypeError: decorated slot has no signature compatible with PyPipboyApp.signalConnectToHost[str, int, bool]

Digging around has shown no specific fix, but spyder-ide/spyder#3145 references it's related to QT 5.6+, and spyder-ide/spyder#3198 documents their fixes.

For reference, I'm running QT 5.7.1, and python 3.4.6 and 3.5.4, neither of which function.

For completeness' sake, python 2.7.14 returns the following:

    if selectDialog.exec(self._autodiscoverHosts):
                       ^
SyntaxError: invalid syntax

Map and Icons seem a little... off...

Is anyone else having this issue with the map and icons not matching up?

mapproblem

For reference, the top left corner of the graphics view is the Sanctuary island.

I played around with setting the map zoom, and icon scale sizes, and then restarted the app. No such luck, it appears to stay the same. I have tried using this on the original map, the satellite, and satellite color maps.

I THINK this happened after I updated my repository near the 0.8 release.

JIT Widget Loading

Hey all,

Please excuse my ignorance for Qt or Python, but would it be possible to change the Widget system over to a Just In Time loading scheme? I ran a test by changing a widget (that I normally don't use) to have a timer that ran every second. Sure enough even through the widget wasn't visible, I was getting the logger messages.

Just a theoretical question right now, I'm not expecting any changes because I understand it is a fairly complex system already. But in theory would it be possible to just get reference information about widgets at app load loading, and then as you add widgets it will instantiate the widget classes?

Segmentation Fault on settlements

Hi.
First of all thanks for your amazing PypPiboyApp. I love it.

I'm experiencing Crashes randomly in settlements.
I couldn't identify what caused the issue.
I thought at first that it occured while in worshop edtion mode, but it also happened while just being in a settlement.

Running on Windows 7 X64.
The issue occured both with the included PyPipBoyApp-Launcher.exe and while launching pypipboyapp.py with my installed Python 3.4.4 X64 / QT 5.5.1 X64

here's the log lines at the crashtime:
-first part is the initialization (maybe it could be useful)

F1 2016-03-06 18:33:31,287 WARNING Faulthandler is enabled
launcherpath: C:\PyPipboyApp-Win32\PyPipBoyApp-Launcher.exe
F1 2016-03-06 18:33:31,398 DEBUG Tyring to add style "akPip-Green"
F1 2016-03-06 18:33:31,398 INFO Added style "akPip-Green"
F1 2016-03-06 18:33:31,398 DEBUG Tyring to add style "qdarkstyle"
F1 2016-03-06 18:33:31,399 INFO Added style "qdarkstyle"
F1 2016-03-06 18:33:31,403 DEBUG Tyring to load widget "ammocount"
F1 2016-03-06 18:33:31,411 DEBUG Found info module
F1 2016-03-06 18:33:31,416 INFO Successfully loaded widget "ammocount"
F1 2016-03-06 18:33:31,416 DEBUG Tyring to load widget "autodoc"
F1 2016-03-06 18:33:31,420 DEBUG Found info module
F1 2016-03-06 18:33:31,424 INFO Successfully loaded widget "autodoc"
F1 2016-03-06 18:33:31,424 DEBUG Tyring to load widget "databrowser"
F1 2016-03-06 18:33:31,427 DEBUG Found info module
F1 2016-03-06 18:33:31,429 INFO Successfully loaded widget "databrowser"
F1 2016-03-06 18:33:31,430 DEBUG Tyring to load widget "dataupdatelogger"
F1 2016-03-06 18:33:31,432 DEBUG Found info module
F1 2016-03-06 18:33:31,435 INFO Successfully loaded widget "dataupdatelogger"
F1 2016-03-06 18:33:31,435 DEBUG Tyring to load widget "datetime"
F1 2016-03-06 18:33:31,438 DEBUG Found info module
F1 2016-03-06 18:33:31,446 INFO Successfully loaded widget "datetime"
F1 2016-03-06 18:33:31,446 DEBUG Tyring to load widget "doctorsbag"
F1 2016-03-06 18:33:31,449 DEBUG Found info module
F1 2016-03-06 18:33:31,453 INFO Successfully loaded widget "doctorsbag"
F1 2016-03-06 18:33:31,454 DEBUG Tyring to load widget "effects"
F1 2016-03-06 18:33:31,457 DEBUG Found info module
F1 2016-03-06 18:33:31,461 INFO Successfully loaded widget "effects"
F1 2016-03-06 18:33:31,461 DEBUG Tyring to load widget "equippedandgrenades"
F1 2016-03-06 18:33:31,463 DEBUG Found info module
F1 2016-03-06 18:33:31,468 INFO Successfully loaded widget "equippedandgrenades"
F1 2016-03-06 18:33:31,468 DEBUG Tyring to load widget "gamestats"
F1 2016-03-06 18:33:31,471 DEBUG Found info module
F1 2016-03-06 18:33:31,475 INFO Successfully loaded widget "gamestats"
F1 2016-03-06 18:33:31,475 DEBUG Tyring to load widget "hotkeys"
F1 2016-03-06 18:33:31,477 DEBUG Found info module
F1 2016-03-06 18:33:31,495 INFO Successfully loaded widget "hotkeys"
F1 2016-03-06 18:33:31,495 DEBUG Tyring to load widget "inventorybrowser"
F1 2016-03-06 18:33:31,500 DEBUG Found info module
F1 2016-03-06 18:33:31,506 INFO Successfully loaded widget "inventorybrowser"
F1 2016-03-06 18:33:31,506 DEBUG Tyring to load widget "locationbrowser"
F1 2016-03-06 18:33:31,508 DEBUG Found info module
F1 2016-03-06 18:33:31,514 INFO Successfully loaded widget "locationbrowser"
F1 2016-03-06 18:33:31,514 DEBUG Tyring to load widget "map"
F1 2016-03-06 18:33:31,534 DEBUG Found info module
F1 2016-03-06 18:33:31,546 INFO Successfully loaded widget "map"
F1 2016-03-06 18:33:31,546 DEBUG Tyring to load widget "perks"
F1 2016-03-06 18:33:31,549 DEBUG Found info module
F1 2016-03-06 18:33:31,555 INFO Successfully loaded widget "perks"
F1 2016-03-06 18:33:31,555 DEBUG Tyring to load widget "playerinfo"
F1 2016-03-06 18:33:31,559 DEBUG Found info module
F1 2016-03-06 18:33:31,581 INFO Successfully loaded widget "playerinfo"
F1 2016-03-06 18:33:31,581 DEBUG Tyring to load widget "playerstats"
F1 2016-03-06 18:33:31,587 DEBUG Found info module
F1 2016-03-06 18:33:31,615 INFO Successfully loaded widget "playerstats"
F1 2016-03-06 18:33:31,616 DEBUG Tyring to load widget "quests"
F1 2016-03-06 18:33:31,619 DEBUG Found info module
F1 2016-03-06 18:33:31,626 INFO Successfully loaded widget "quests"
F1 2016-03-06 18:33:31,626 DEBUG Tyring to load widget "quickaid"
F1 2016-03-06 18:33:31,629 DEBUG Found info module
F1 2016-03-06 18:33:31,633 INFO Successfully loaded widget "quickaid"
F1 2016-03-06 18:33:31,633 DEBUG Tyring to load widget "radio"
F1 2016-03-06 18:33:31,637 DEBUG Found info module
F1 2016-03-06 18:33:31,642 INFO Successfully loaded widget "radio"
F1 2016-03-06 18:33:31,642 DEBUG Tyring to load widget "smallplayerinfo"
F1 2016-03-06 18:33:31,645 DEBUG Found info module
F1 2016-03-06 18:33:31,654 INFO Successfully loaded widget "smallplayerinfo"
F1 2016-03-06 18:33:31,655 DEBUG Tyring to load widget "workshops"
F1 2016-03-06 18:33:31,659 DEBUG Found info module
F1 2016-03-06 18:33:31,676 INFO Successfully loaded widget "workshops"
F1 2016-03-06 18:33:31,749 INFO Loading CollectableMarkers from JSON
F1 2016-03-06 18:33:41,546 INFO Connecting to host 192.168.0.100:27000 Retry=False
F1 2016-03-06 18:33:41,552 DEBUG Connect to Host Thread started
F1 2016-03-06 18:33:41,555 INFO Successfully connected to 192.168.0.100:27000.
F1 2016-03-06 18:33:41,555 INFO Host Version: 1.4.132.0.
F1 2016-03-06 18:33:41,556 INFO Host Language: fr.
F1 2016-03-06 18:33:41,556 INFO Connection State Changed: True - 0 - 
F1 2016-03-06 18:33:41,556 DEBUG Starting receive thread.
F1 2016-03-06 18:33:41,556 DEBUG Connect to Host Thread finished
F1 2016-03-06 18:33:41,556 DEBUG Starting dispatch thread.

-second part are the loglines at the moment of the crash.

F1 2016-03-06 18:41:35,964 DEBUG Dispatching message with type 3 and size 72
Fatal Python error: Segmentation fault

Thread 0x00001ad0 (most recent call first):
  File "C:\PyPipboyApp-Win32\pypipboyapp\widgets\workshops\workshopsmodel.py", line 30 in _onPipWorkshopsUpdated
  File "C:\PyPipboyApp-Win32\pypipboyapp\pypipboy\datamanager.py", line 115 in _fireValueUpdatedEvent
  File "C:\PyPipboyApp-Win32\python34\lib\logging\__init__.py", line 1493 in callHandlers
  File "C:\PyPipboyApp-Win32\python34\lib\logging\__init__.py", line 856 in handle
  File "C:\PyPipboyApp-Win32\pypipboyapp\pypipboy\datamanager.py", line 126 in _fireValueUpdatedEvent

Thread 0x00002080 (most recent call first):
  File "C:\PyPipboyApp-Win32\pypipboyapp\pypipboy\network.py", line 248 in _receiveMessageLoop
  File "C:\PyPipboyApp-Win32\python34\lib\threading.py", line 868 in run
  File "C:\PyPipboyApp-Win32\python34\lib\threading.py", line 920 in _bootstrap_inner
  File "C:\PyPipboyApp-Win32\python34\lib\threading.py", line 888 in _bootstrap

Thread 0x000006d4 (most recent call first):
  File "C:\PyPipboyApp-Win32\pypipboyapp\widgets\hotkeys\hotkeys.py", line 731 in listener
  File "C:\PyPipboyApp-Win32\python34\lib\threading.py", line 868 in run
  File "C:\PyPipboyApp-Win32\python34\lib\threading.py", line 920 in _bootstrap_inner
  File "C:\PyPipboyApp-Win32\python34\lib\threading.py", line 888 in _bootstrap

Current thread 0x00001f54 (most recent call first):
  File "C:\PyPipboyApp-Win32\pypipboyapp\widgets\workshops\workshopsmodel.py", line 39 in _slotWorkshopsUpdate
  File "pypipboyapp.py", line 235 in run
  File "pypipboyapp.py", line 817 in <module>
F1 2016-03-06 18:41:35,970 DEBUG Received message with type 3 and size 27.

Thanks.

By stats widget...

Did you mean the player stats like: How many people have you killed, how many times have you stolen, etc..., or did you mean exactly what I made?

Because I just thought about that stuff, and while it doesn't have anything vital to gameplay in it, we might also want to create a widget for it as well. I mean, the data is being sent, so why the heck not right?

Crash when switching global map from orginal to 4k

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'

Xbox One?

Hi! Is there a possibility to make this compatible with the Xbox One version of the game?

Error with Doctorsbag

This error prevents the program from booting. Is caused by the "Doctorsbag" widget.
Reseting of the .ini file within "%appdata%\roaming\pypipboyapp" allows the app to launch with the widget still installed.

"F1 2016-11-15 05:03:52,032 WARNING Faulthandler is enabled
launcherpath: C:\Users\Gamer\Downloads\PyPipboyApp All-In-One-4664-v0-8-4a\PyPipboyApp-Win32\PyPipBoyApp-Launcher.exe
F1 2016-11-15 05:03:52,088 INFO Added style "akPip-Green"
F1 2016-11-15 05:03:52,089 INFO Added style "qdarkstyle"
F1 2016-11-15 05:03:52,102 INFO Successfully loaded widget "ammocount"
F1 2016-11-15 05:03:52,107 INFO Successfully loaded widget "autodoc"
F1 2016-11-15 05:03:52,112 INFO Successfully loaded widget "databrowser"
F1 2016-11-15 05:03:52,116 INFO Successfully loaded widget "dataupdatelogger"
F1 2016-11-15 05:03:52,123 INFO Successfully loaded widget "datetime"
F1 2016-11-15 05:03:52,151 INFO Successfully loaded widget "doctorsbag"
F1 2016-11-15 05:03:52,156 INFO Successfully loaded widget "effects"
F1 2016-11-15 05:03:52,163 INFO Successfully loaded widget "equippedandgrenades"
F1 2016-11-15 05:03:52,169 INFO Successfully loaded widget "gamestats"
F1 2016-11-15 05:03:52,185 INFO Successfully loaded widget "hotkeys"
F1 2016-11-15 05:03:52,198 INFO Successfully loaded widget "inventorybrowser"
F1 2016-11-15 05:03:52,204 INFO Successfully loaded widget "locationbrowser"
F1 2016-11-15 05:03:52,230 INFO Successfully loaded widget "map"
F1 2016-11-15 05:03:52,236 INFO Successfully loaded widget "perks"
F1 2016-11-15 05:03:52,255 INFO Successfully loaded widget "playerinfo"
F1 2016-11-15 05:03:52,278 INFO Successfully loaded widget "playerstats"
F1 2016-11-15 05:03:52,284 INFO Successfully loaded widget "quests"
F1 2016-11-15 05:03:52,288 INFO Successfully loaded widget "quickaid"
F1 2016-11-15 05:03:52,292 INFO Successfully loaded widget "radio"
F1 2016-11-15 05:03:52,301 INFO Successfully loaded widget "smallplayerinfo"
F1 2016-11-15 05:03:52,316 INFO Successfully loaded widget "workshops"
Traceback (most recent call last):
File "pypipboyapp.py", line 817, in
pipboyApp.run()
File "pypipboyapp.py", line 222, in run
self._initWidgets()
File "pypipboyapp.py", line 686, in _initWidgets
w.init(self, self.dataManager)
File "C:\Users\Gamer\Downloads\PyPipboyApp All-In-One-4664-v0-8-4a\PyPipboyApp-Win32\pypipboyapp\widgets\doctorsbag\doctorsbagwidget.py", line 73, in init
if len(self.customItems) > 0:
TypeError: object of type 'NoneType' has no len()"

Matzman666: Steam VR overlay version of PyPipboy?

This isn't really an issue, but Github provides no way to contact developers.

Matzman666: I noticed that you are responsible both for this, the PyPipboy API (which I haven't tried yet), and the excellent Advanced Settings Steam VR overlay (which I recommend to anyone with a Vive for the "floor fix" option alone.)

Have you considered making a version of this app as a steam VR overlay? The Fallout 4 VR pipboy is the worst thing in the history of UIs, and I've used Blender. If PyPipboy were implemented as a Steam VR overlay for use in Fallout 4 VR to control the pipboy with an actual controller (rather than the damn touchpads) it'd be a must-have for Fallout 4 VR users.

I was going to start digging into this when I thought of the possibility of fixing the FO4 VR Pipboy via the old app, but when I started research into whether it would be possible, it turned out that somehow one guy has already built all the pieces for making it happen, and just hasn't put them all together yet...

Connection Weirdness

Hey, once in a while I'm getting this weird error that when I connect, it throws an exception from the Data Manager, but it still loads the GUI. Its easy to get around, as I just disconnect and try again and then it works. It might be due to a network hiccup, but then again I'm unsure. Here is the log:

libpng warning: iCCP: known incorrect sRGB profile
F1 2015-12-30 06:57:56,547 INFO Connecting to host 0.0.0.0:27000 Retry=False
F1 2015-12-30 06:57:56,554 DEBUG Connect to Host Thread started
F1 2015-12-30 06:57:56,799 INFO Successfully connected to 0.0.0.0:27000.
F1 2015-12-30 06:57:56,800 INFO Host Version: 1.2.37.0.
F1 2015-12-30 06:57:56,800 INFO Host Language: en.
F1 2015-12-30 06:57:56,800 DEBUG Starting receive thread.
F1 2015-12-30 06:57:56,801 DEBUG Received message with type 3 and size 590.
F1 2015-12-30 06:57:56,801 DEBUG Starting dispatch thread.
F1 2015-12-30 06:57:56,801 DEBUG Dispatching message with type 3 and size 590
F1 2015-12-30 06:57:56,804 INFO Connection State Changed: True - 0 -
F1 2015-12-30 06:57:56,804 DEBUG Connect to Host Thread finished
Exception in thread Thread-6:
Traceback (most recent call last):
File "C:\Python\python-3.4.3.amd64\lib\threading.py", line 920, in _bootstrap_inner
self.run()
File "C:\Python\python-3.4.3.amd64\lib\threading.py", line 868, in run
self._target(_self._args, *_self._kwargs)
File "C:\PyPipboyAppMaster\pypipboy\network.py", line 312, in _dispatchMessageLoop
self._fireMessageEvent(msg)
File "C:\PyPipboyAppMaster\pypipboy\network.py", line 233, in _fireMessageEvent
listener1
File "C:\PyPipboyAppMaster\pypipboy\datamanager.py", line 472, in _onMessageReceived
parser.parse(msg.payload, self._onRecordParsed)
File "C:\PyPipboyAppMaster\pypipboy\dataparser.py", line 126, in parse
callback(DataUpdateRecord(nodeID, valuetype, value))
File "C:\PyPipboyAppMaster\pypipboy\datamanager.py", line 487, in _onRecordParsed
recordExists = record.id in self._valueMap
TypeError: argument of type 'NoneType' is not iterable

Crash: Segmentation fault: 11

I reconnected. It crashed.

System: Mac OS 10.9.5
Python 3.5 (via brew)
Using virtual env (sip and PyQt5 from brew too).

F1 2016-02-12 23:45:57,701 INFO Connection State Changed: True - 0 -
Traceback (most recent call last):
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/network.py", line 317, in _dispatchMessageLoop
    self._fireMessageEvent(msg)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/network.py", line 233, in _fireMessageEvent
    listener[1](msg)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/datamanager.py", line 479, in _onMessageReceived
    parser.parse(msg.payload, self._onRecordParsed)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/dataparser.py", line 127, in parse
    callback(DataUpdateRecord(nodeID, valuetype, value))
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/datamanager.py", line 502, in _onRecordParsed
    raise RuntimeError('Tangling reference ' + str(r[1]))
RuntimeError: Tangling reference 10405
Exception in thread Thread-11:
Traceback (most recent call last):
  File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/network.py", line 317, in _dispatchMessageLoop
    self._fireMessageEvent(msg)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/network.py", line 233, in _fireMessageEvent
    listener[1](msg)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/datamanager.py", line 479, in _onMessageReceived
    parser.parse(msg.payload, self._onRecordParsed)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/dataparser.py", line 127, in parse
    callback(DataUpdateRecord(nodeID, valuetype, value))
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/datamanager.py", line 502, in _onRecordParsed
    raise RuntimeError('Tangling reference ' + str(r[1]))
RuntimeError: Tangling reference 10405

F1 2016-02-12 23:46:04,965 INFO Connection State Changed: False - 0 - None
F1 2016-02-12 23:46:09,906 INFO Connecting to host 192.168.178.42:27000 Retry=True
F1 2016-02-12 23:46:09,955 INFO Successfully connected to 192.168.178.42:27000.
F1 2016-02-12 23:46:09,955 INFO Host Version: 1.1.30.0.
F1 2016-02-12 23:46:09,955 INFO Host Language: de.
F1 2016-02-12 23:46:09,955 INFO Connection State Changed: True - 0 -
Traceback (most recent call last):
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/network.py", line 317, in _dispatchMessageLoop
    self._fireMessageEvent(msg)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/network.py", line 233, in _fireMessageEvent
    listener[1](msg)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/datamanager.py", line 479, in _onMessageReceived
    parser.parse(msg.payload, self._onRecordParsed)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/dataparser.py", line 127, in parse
    callback(DataUpdateRecord(nodeID, valuetype, value))
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/datamanager.py", line 526, in _onRecordParsed
    self._onRootObjectKnown()
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/datamanager.py", line 561, in _onRootObjectKnown
    self._fireRootObjectEvent(self.rootObject)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/datamanager.py", line 567, in _fireRootObjectEvent
    listener(rootObject)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/widgets/shared/characterdatamanager.py", line 41, in _onPipRootObjectEvent
    self.pipInvCatBooks = self.pipInventoryInfo.child('30')
AttributeError: 'NoneType' object has no attribute 'child'
Exception in thread Thread-13:
Traceback (most recent call last):
  File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/network.py", line 317, in _dispatchMessageLoop
    self._fireMessageEvent(msg)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/network.py", line 233, in _fireMessageEvent
    listener[1](msg)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/datamanager.py", line 479, in _onMessageReceived
    parser.parse(msg.payload, self._onRecordParsed)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/dataparser.py", line 127, in parse
    callback(DataUpdateRecord(nodeID, valuetype, value))
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/datamanager.py", line 526, in _onRecordParsed
    self._onRootObjectKnown()
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/datamanager.py", line 561, in _onRootObjectKnown
    self._fireRootObjectEvent(self.rootObject)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/datamanager.py", line 567, in _fireRootObjectEvent
    listener(rootObject)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/widgets/shared/characterdatamanager.py", line 41, in _onPipRootObjectEvent
    self.pipInvCatBooks = self.pipInventoryInfo.child('30')
AttributeError: 'NoneType' object has no attribute 'child'

F1 2016-02-12 23:46:42,806 INFO Connection State Changed: False - -2 - Host terminated connection. (<class 'Exception'>)
F1 2016-02-12 23:47:39,878 INFO Connecting to host 192.168.178.42:27000 Retry=False
F1 2016-02-12 23:47:39,910 INFO Successfully connected to 192.168.178.42:27000.
F1 2016-02-12 23:47:39,913 INFO Host Version: 1.1.30.0.
F1 2016-02-12 23:47:39,916 INFO Host Language: de.
F1 2016-02-12 23:47:39,916 INFO Connection State Changed: True - 0 -
Traceback (most recent call last):
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/network.py", line 317, in _dispatchMessageLoop
    self._fireMessageEvent(msg)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/network.py", line 233, in _fireMessageEvent
    listener[1](msg)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/datamanager.py", line 479, in _onMessageReceived
    parser.parse(msg.payload, self._onRecordParsed)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/dataparser.py", line 127, in parse
    callback(DataUpdateRecord(nodeID, valuetype, value))
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/datamanager.py", line 502, in _onRecordParsed
    raise RuntimeError('Tangling reference ' + str(r[1]))
RuntimeError: Tangling reference 10405
Exception in thread Thread-16:
Traceback (most recent call last):
  File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/network.py", line 317, in _dispatchMessageLoop
    self._fireMessageEvent(msg)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/network.py", line 233, in _fireMessageEvent
    listener[1](msg)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/datamanager.py", line 479, in _onMessageReceived
    parser.parse(msg.payload, self._onRecordParsed)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/dataparser.py", line 127, in parse
    callback(DataUpdateRecord(nodeID, valuetype, value))
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/datamanager.py", line 502, in _onRecordParsed
    raise RuntimeError('Tangling reference ' + str(r[1]))
RuntimeError: Tangling reference 10405

F1 2016-02-12 23:48:34,477 INFO Connection State Changed: False - 0 - None
F1 2016-02-12 23:49:35,657 INFO Connecting to host 192.168.178.42:27000 Retry=False
2016-02-12 23:49:37.294 python[79259:507] modalSession has been exited prematurely - check for a reentrant call to endModalSession:
F1 2016-02-12 23:49:41,657 INFO Connecting to host 192.168.178.42:27000 Retry=True
F1 2016-02-12 23:49:41,683 INFO Successfully connected to 192.168.178.42:27000.
F1 2016-02-12 23:49:41,684 INFO Host Version: 1.1.30.0.
F1 2016-02-12 23:49:41,684 INFO Host Language: de.
F1 2016-02-12 23:49:41,684 INFO Connection State Changed: True - 0 -
Traceback (most recent call last):
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/network.py", line 317, in _dispatchMessageLoop
    self._fireMessageEvent(msg)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/network.py", line 233, in _fireMessageEvent
    listener[1](msg)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/datamanager.py", line 479, in _onMessageReceived
    parser.parse(msg.payload, self._onRecordParsed)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/dataparser.py", line 127, in parse
    callback(DataUpdateRecord(nodeID, valuetype, value))
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/datamanager.py", line 502, in _onRecordParsed
    raise RuntimeError('Tangling reference ' + str(r[1]))
RuntimeError: Tangling reference 10405
Exception in thread Thread-19:
Traceback (most recent call last):
  File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/network.py", line 317, in _dispatchMessageLoop
    self._fireMessageEvent(msg)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/network.py", line 233, in _fireMessageEvent
    listener[1](msg)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/datamanager.py", line 479, in _onMessageReceived
    parser.parse(msg.payload, self._onRecordParsed)
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/dataparser.py", line 127, in parse
    callback(DataUpdateRecord(nodeID, valuetype, value))
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/datamanager.py", line 502, in _onRecordParsed
    raise RuntimeError('Tangling reference ' + str(r[1]))
RuntimeError: Tangling reference 10405

F1 2016-02-12 23:50:10,819 INFO Connection State Changed: False - 0 - None
F1 2016-02-12 23:50:12,178 INFO Found host 192.168.178.18
F1 2016-02-12 23:50:22,486 INFO Connecting to host 192.168.178.18:27000 Retry=False
2016-02-12 23:50:22.503 python[79259:507] -[NSApplication runModalSession:]: Use of freed session detected. Do not call runModalSession: after calling endModalSesion:.
F1 2016-02-12 23:50:22,507 INFO Successfully connected to 192.168.178.18:27000.
F1 2016-02-12 23:50:22,507 INFO Host Version: 1.3.47.0.
F1 2016-02-12 23:50:22,507 INFO Host Language: de.
F1 2016-02-12 23:50:22,507 INFO Connection State Changed: True - 0 -
Fatal Python error: Segmentation fault

Thread 0x000000011ad8a000 (most recent call first):
  File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 293 in wait
  File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/queue.py", line 164 in get
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/network.py", line 310 in _dispatchMessageLoop
  File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 862 in run
  File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 914 in _bootstrap_inner
  File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 882 in _bootstrap

Thread 0x000000011a2c7000 (most recent call first):
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/network.py", line 265 in _receiveMessageLoop
  File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 862 in run
  File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 914 in _bootstrap_inner
  File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 882 in _bootstrap

Thread 0x000000011900f000 (most recent call first):
  File "/Users/luckydonald__/git/PyPipboyApp-scriptsOnly/pypipboy/network.py", line 248 in _receiveMessageLoop
  File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 862 in run
  File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 914 in _bootstrap_inner
  File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 882 in _bootstrap

Current thread 0x00007fff76d05310 (most recent call first):
  File "pypipboyapp.py", line 235 in run
  File "pypipboyapp.py", line 817 in <module>
Segmentation fault: 11

Local map is black.

First time I loaded the application it showed the local map, although a small one. After that the local map stays black.

Slightly tweaked icons?

I've been playing with map marker icons a bit to try and improve things when there are a lot of icons overlapping. I think a simple outline makes things a little clearer, but that may just be me:
image

Let me know if you think they're an improvement, and i'll push them to the non-free repo.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.