Coder Social home page Coder Social logo

Comments (7)

jkhsjdhjs avatar jkhsjdhjs commented on June 28, 2024

Are you by chance using the v2.0.1 branch of this SDK? Please make sure you're using either the latest release or the main branch of the basyx-python-sdk.
In case you're already using the latest version can you share the AASX you're trying to read with us?

from basyx-python-sdk.

table-interpretation avatar table-interpretation commented on June 28, 2024

I was using an older version of the library, I installed now from the main branch, thanks!
However, now I get a different error - aasx-origin Relationship missing.
The file that I try to open is from the online available aasx files (27_Festo.aasx)
Screenshot 2024-01-11 at 16 50 37

from basyx-python-sdk.

jkhsjdhjs avatar jkhsjdhjs commented on June 28, 2024

That's a bug in the AASX file. While it does contain relationship files, _rels/.rels, aasx/_rels/aasx-origin.rels, etc., these files are just empty so the AASX reader cannot determine which file to load the AAS data from. But even if the relationship files weren't empty, you still wouldn't be able to read anything from it as the only XML file (aasx/http___smart_festo_com_aas_99920200616193249000010710/http___smart_festo_com_aas_99920200616193249000010710.aas.xml) is also empty. This AASX package doesn't contain any asset administration shell data, only PDF, PNG and ZIP files.

from basyx-python-sdk.

jkhsjdhjs avatar jkhsjdhjs commented on June 28, 2024

BTW did you use a different AASX file when you first reported this issue with the older SDK version?

from basyx-python-sdk.

table-interpretation avatar table-interpretation commented on June 28, 2024

I tried also with the 36_Murrelektronik.aasx file and I got the same issue with the older version, but also with the new version. This file contains relationship files (aasx/AssetAdministrationShell---10A74E49/_rels/AssetAdministrationShell---10A74E49.aas.xml.rels), and this file is not empty.

This is the page from where I downloaded these files.

I also have some local .aasx files that I am trying to open but I get the same errors as with the Festo and Murrelektronik file.

from basyx-python-sdk.

jkhsjdhjs avatar jkhsjdhjs commented on June 28, 2024

I just tried opening 36_Murrelektronik.aasx with the v2.0.1 branch of the basyx-python-sdk and got a lot of warnings because the file isn't entirely compliant to the specification, but was able to read most data from it.

from basyx-python-sdk.

s-heppner avatar s-heppner commented on June 28, 2024

I'll close this issue now. Feel free to reopen, if you have any further questions.

from basyx-python-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.