So, I am following this video:https://www.youtube.com/watch?v=h5vAjbsNUV8&t=16s
When I open my second terminal in windows to open mavproxy.py, it happens this:
Auto-detected serial ports are:
Connect 0.0.0.0:14550 source_system=255
Failed to connect to 0.0.0.0:14550 : [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions
Traceback (most recent call last):
File “C:\Users\gusta\AppData\Local\Programs\Python\Python36\Scripts\mavproxy.py”, line 1385, in
load_module(m, quiet=True)
File “C:\Users\gusta\AppData\Local\Programs\Python\Python36\Scripts\mavproxy.py”, line 489, in load_module
module = m.init(mpstate, **kwargs)
File “C:\Users\gusta\AppData\Local\Programs\Python\Python36\lib\site-packages\MAVProxy\modules\mavproxy_mode.py”, line 81, in init
return ModeModule(mpstate)
File “C:\Users\gusta\AppData\Local\Programs\Python\Python36\lib\site-packages\MAVProxy\modules\mavproxy_mode.py”, line 12, in init
self.add_command(‘mode’, self.cmd_mode, “mode change”, self.available_modes())
File “C:\Users\gusta\AppData\Local\Programs\Python\Python36\lib\site-packages\MAVProxy\modules\mavproxy_mode.py”, line 35, in available_modes
mode_mapping = self.master.mode_mapping()
AttributeError: ‘NoneType’ object has no attribute ‘mode_mapping’
so is a problem within the script?How do I solve it?
that mean that there is already something on your port 14550. Check that you haven’t already something there
1 Like
thx , I will try to look
@khancyr Ok, the only problem now is this:
Auto-detected serial ports are:
Connect 0.0.0.0:14550 source_system=255
Log Directory:
Telemetry log: mav.tlog
Waiting for heartbeat from 0.0.0.0:14550
link 1 down
this link1 down is the only thing left to solve