Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wsdiscover fails when wireguard is running #52

Open
ruzko opened this issue Aug 13, 2023 · 0 comments
Open

wsdiscover fails when wireguard is running #52

ruzko opened this issue Aug 13, 2023 · 0 comments

Comments

@ruzko
Copy link

ruzko commented Aug 13, 2023

This seems to be the same problem as in #41.
I use python 3.10, and thus need netifaces-plus so I installed wsdiscovery from PR #51. I Hope it doesn't make this issue inappropriate.
It works like normal when I turn the VPN off.

pip show:

Name: WSDiscovery
Version: 2.0.2.dev0
Summary: WS-Discovery implementation for python
Home-page: https://github.com/andreikop/python-ws-discovery.git
Author: Andrei Kopats
Author-email: andrei.kopats@gmail.com
License: 
Location: /var/mnt/data/jacob/git/farm-animal-detection/farm-animal-detection-env/lib/python3.10/site-packages
Requires: click, netifaces-plus
Required-by: 

example in the python shell

Python 3.10.12 (main, Jun  8 2023, 00:00:00) [GCC 13.1.1 20230511 (Red Hat 13.1.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from wsdiscovery.discovery import ThreadedWSDiscovery as WSDiscovery
>>> wsd = WSDiscovery()
>>> wsd.start()
Fatal Python error: Segmentation fault

Thread 0x00007f655f5ac6c0 (most recent call first):
  File "/var/mnt/data/jacob/git/farm-animal-detection/farm-animal-detection-env/lib64/python3.10/site-packages/wsdiscovery/threaded.py", line 233 in _sendPendingMessages
  File "/var/mnt/data/jacob/git/farm-animal-detection/farm-animal-detection-env/lib64/python3.10/site-packages/wsdiscovery/threaded.py", line 154 in run
  File "/usr/lib64/python3.10/threading.py", line 1016 in _bootstrap_inner
  File "/usr/lib64/python3.10/threading.py", line 973 in _bootstrap

Current thread 0x00007f656d742740 (most recent call first):
  File "/var/mnt/data/jacob/git/farm-animal-detection/farm-animal-detection-env/lib64/python3.10/site-packages/wsdiscovery/util.py", line 250 in _getNetworkAddrs
  File "/var/mnt/data/jacob/git/farm-animal-detection/farm-animal-detection-env/lib64/python3.10/site-packages/wsdiscovery/threaded.py", line 57 in _updateAddrs
  File "/var/mnt/data/jacob/git/farm-animal-detection/farm-animal-detection-env/lib64/python3.10/site-packages/wsdiscovery/threaded.py", line 54 in __init__
  File "/var/mnt/data/jacob/git/farm-animal-detection/farm-animal-detection-env/lib64/python3.10/site-packages/wsdiscovery/threaded.py", line 278 in _startThreads
  File "/var/mnt/data/jacob/git/farm-animal-detection/farm-animal-detection-env/lib64/python3.10/site-packages/wsdiscovery/threaded.py", line 296 in start
  File "<stdin>", line 1 in <module>

Extension modules: _netifaces (total: 1)
[1]    76894 segmentation fault (core dumped)  python3.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant