-
Notifications
You must be signed in to change notification settings - Fork 684
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
'MapModule' object has no attribute 'default_popup' #1491
Comments
On Mon, 9 Dec 2024, Mohammed Anis Oukebdane wrote:
File "modules\mavproxy_map_init_.py", line 145, in add_menu
AttributeError: 'MapModule' object has no attribute 'default_popup'
Which version of MAVProxy are you using?
|
The latest MAVProxy Version: 1.8.71 |
@Aniskonig are you sure that's the only exception being thrown when you start the process? AFAICS we unconditionally set Please try adding |
I have been having this issue too - printed in the logs is "ERROR in command ['load', 'map']: map not ready" which is likely the real exception of interest, raised here:
It appears this is happening when the map takes a long time to load. Changing the timeout from 5 seconds to 60 fixes it for me, though I have to wait awhile. Perhaps the timeout could be made configurable, and the error message changed to inform the user of such. Some user feedback indicating the map is loading could be useful too. |
I tried your solution but I'm getting the same error on the map, and here are more details: Loaded module console 'MapModule' object has no attribute 'default_popup' 'MapModule' object has no attribute 'default_popup' |
whenever I execute this command i'm getting this error :
mavproxy --master=udp:my_ip:5760 --out=udp:my_ip:14550 --map
File "modules\mavproxy_map_init_.py", line 145, in add_menu
AttributeError: 'MapModule' object has no attribute 'default_popup'
The text was updated successfully, but these errors were encountered: