question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Having an issue with WifiConnection.py

See original GitHub issue

I am using python 3.9 and I am new to pyparrot. When trying to connect to my Bebop 2 I come across the following error:

File “C:\Users\Michael\AppData\Local\Programs\Python\Python39\lib\site-packages\pyparrot\networking\wifiConnection.py”, line 314, in _handshake self.drone_ip = ipaddress.IPv4Address(self.connection_info.address).exploded AttributeError: ‘ServiceInfo’ object has no attribute ‘address’

The code bringing up the issue is image

I have looked up which attributes should replace self.connection_info.address and tried self.connection_info.addresses, self.connection_info.addresses_by_version(), self.connection_info.parsed_addresses() and each of those bring different errors.

Any help to resolving this issue would be great, thanks.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

2reactions
Brammerz45commented, Feb 1, 2021

For anyone else who gets this error, it is solved by reverting to an earlier version of zeroconf. This is done easily in pip via the command pip install zeroconf==0.20.0 Now I reverted to 0.20.0 and it worked instantly but I dont know what the most up to date version of zeroconf this will work with.

1reaction
Ren3tcommented, Jan 22, 2021

I have the same issue with Bebop 2…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting ConnectionError, while trying to connect to wifi ...
I'm not familiar with that wifi module, so I don't know how to properly fix your problem. But the code seems to be...
Read more >
crash in wifi_module.py connecting to wifi · Issue #3772
I'm getting intermittent crashes when connecting to wifi. For most of the day yesterday it happened once in a while and if I...
Read more >
How to connect WiFi using Python?
Connecting to a New Wi-Fi Network · Step 1: Import the os library · Step 2: Set up the new Wi-Fi Network's XML...
Read more >
Python Wifi Package Is Broken
The current problem with the package is it uses /sbin/ifup and ... any suggestions on how to correctly connect to the wifi using...
Read more >
Xfinity Internet and WiFi Connection Troubleshooting for ...
If you're having connection problems with a specific mobile device, the best way to troubleshoot is with Xfinity xFi. Note: Alternately, if your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found