Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

AttributeError causing pyFlightAnalysis to crash #9

Closed
rallen10 opened this issue Jul 5, 2018 · 1 comment
Closed

AttributeError causing pyFlightAnalysis to crash #9

rallen10 opened this issue Jul 5, 2018 · 1 comment

Comments

@rallen10
Copy link

rallen10 commented Jul 5, 2018

When I import a flight log I get a message saying: 'odict_keys' object has no attribute 'index', but the program continues to run. When I try to open a particular data stream, for example vehicle_local_position, it causes a crash saying

Traceback (most recent call last):
  File "/home/ross/miniconda2/envs/flight_log_analysis/lib/python3.6/site-packages/pyflightanalysis/analysis.py", line 457, in callback_tree_double_clicked
    data_index = self.data_dict.keys().index(item_label.split('->')[0])
AttributeError: 'odict_keys' object has no attribute 'index'
Aborted (core dumped)
@Marxlp
Copy link
Owner

Marxlp commented Jul 9, 2018

This is due to the different versions of python in the action of dict's keys method. And I have fixed it. So you can download the newest version.

@Marxlp Marxlp closed this as completed Jul 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants