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

Can't open a mission file #233

Open
Drangoll opened this issue Jun 26, 2022 · 1 comment
Open

Can't open a mission file #233

Drangoll opened this issue Jun 26, 2022 · 1 comment

Comments

@Drangoll
Copy link

Drangoll commented Jun 26, 2022

I think the last update of DCS changed something in how the miz is created/added some parameters.

Right now if I save a miz (in DCS) and try to open it with pydcs i get this error:

File "..\pydcs\dcs\mission.py", line 375, in load_file self.coalition[col_name].load_from_dict(self, imp_mission["coalition"][col_name]) File "..\pydcs\dcs\coalition.py", line 135, in load_from_dict Coalition._import_moving_point(mission, plane_group, pgroup) File "..\pydcs\dcs\coalition.py", line 40, in _import_moving_point point.load_from_dict(imp_point, mission.translation) File "..dcs\point.py", line 128, in load_from_dict super(MovingPoint, self).load_from_dict(d, translation) File "..\dcs\point.py", line 47, in load_from_dict self.name = translation.get_string(d["name"]) KeyError: 'name'

Does anyone know if there's a solution to this ?

@rp-
Copy link
Collaborator

rp- commented Jul 7, 2022

please always attach such a mission.
Saving a very simple mission and load it works for me here

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

2 participants