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

AttributeError: 'AircraftRequests' object has no attribute 'EnvironmentData' #12

Open
douxyeti opened this issue Feb 20, 2022 · 2 comments

Comments

@douxyeti
Copy link

I cant go past this error when running the script.

Traceback (most recent call last):
File "C:\Users\mario\Desktop\Nouveau dossier\MSFS2020-cockpit-companion-master\MSFS2020-cockpit-companion-master\glass_server.py", line 14, in
aq = AircraftRequests(sm, _time=10)
File "C:\Users\mario\AppData\Local\Programs\Python\Python39\lib\site-packages\SimConnect\RequestList.py", line 214, in init
self.list.append(self.EnvironmentData)
AttributeError: 'AircraftRequests' object has no attribute 'EnvironmentData'

What do I miss?
Thanks for the help

@bigsby-exe
Copy link

bigsby-exe commented Mar 2, 2022

I had a similar issue with the exact same error message. For me the fix has been to install SimConnect version 0.4.24 rather than the latest version of 0.4.25

Link to my issue on the topic: Python-SimConnect/issues/115

@Day0Dreamer
Copy link

+1 having the same issue

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

3 participants