OpenKNX / Kaenx-Creator

Create your own KnxProd Files with UI.
MIT License
70 stars 20 forks source link

"An unhandled exception occurred: Sequence contains no matching element" while exporting a basic newly created project. #42

Closed anand-010 closed 2 months ago

anand-010 commented 2 months ago

Describe the bug I am first time trying to use this software I've created a sample project and resolved all errors but then I've tried to export my project i've got error An unhandled exception occurred: Sequence contains no matching element I've saw a similar issue while importing a project #21 in my case it's a fresh project. saved project file

Screenshots KNX

Desktop (please complete the following information):

thewhobox commented 2 months ago

Hallo anand,

du hast in deiner knxprod im allgemeinen Teil die Sprache Englisch, aber in der Applikation selbst Deutsch. Das birgt Probleme, die bisher noch nicht bemerkt wurden.

Als Workaround: Sprache unter Allgemein auf Deutsch stellen.

anand-010 commented 2 months ago

Thank you @thewhobox i've changed the language in in the application page and it exported. but then i tried to import it into ets 5.7 i've got this error. "The product has a different hash than the existing product." ets_err i've previously imported other knxprod. output.zip

anand-010 commented 2 months ago

i've solved it. Under Settings -> Troubleshooting -> Clear product store memory and execute, then you could import the product data base in the project

thewhobox commented 2 months ago

You can only import an Application version once. Even if you delete it from the catalog it is still in your projectfile.

But i See you figured it out by yourself :)

anand-010 commented 2 months ago

I've tried to create an "empty" project instead of choosing the "minimal ". it created us English language as default in every parameter and objects I've only used English. I've added necessary info about product and copied load procedures from a previous project. but then I've verified the project I've got the same error "An unhandled exception occurred: Sequence contains no matching element". so far i can only create project with the "minimal" option and Deutch language. PROJECT.zip how do I solve it? specific error message is more helpful.

anand-010 commented 2 months ago

I've found the problem under Application -> General -> Default language is empty by default i need to change it to English to work.

thewhobox commented 2 months ago

Ok cool. Thanks for the feedback. I will include a check to prevent this.