Home        Store        Learn        Blog

Ping-python problem: 'Ping360' object has no attribute '_mode'

Hello there, I am getting an error with the ping-python module for the ping360 sonar. The error is saying that Ping360 object doesn’t have the _mode attribute in Ping360.py. I don’t see anyone else having this issue on this forum, and I looked at the Ping360.py and can’t find the problem. Let me know if you need me to upload my SonarSweep.py script, or if you need any other additional information! :slight_smile:

Hi Ainda,

Can you please provide a minimum version of your script that replicates the problem ?

Hey, I realized that I had the wrong port number (I was using 1234, but it’s actually 12345 -_-) Sorry for the trouble!

I’m glad that you figure it out @mrmomo26, let us know if you have any further questions.