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

Schema 'last_change' breaks ipc 'put' method #10

Open
davide-fiorito opened this issue Oct 25, 2024 · 2 comments
Open

Schema 'last_change' breaks ipc 'put' method #10

davide-fiorito opened this issue Oct 25, 2024 · 2 comments

Comments

@davide-fiorito
Copy link

davide-fiorito commented Oct 25, 2024

The time format generated by
datetime.datetime.now(datetime.UTC).isoformat()+'Z' leads to an error in the jsonld.Json package:
19:20:52 ERROR org.openlca.jsonld.Json failed to parse date / time: 2024-10-25T17:10:42.085894+00:00Z
when performing any put command from olca-ipc.

msrocka added a commit that referenced this issue Nov 4, 2024
@msrocka
Copy link
Member

msrocka commented Nov 4, 2024

Thank you for reporting this issue. I tried to fix this with olca-schema 2.2.2, could you check?

@davide-fiorito
Copy link
Author

Thank you for reporting this issue. I tried to fix this with olca-schema 2.2.2, could you check?

I'll try in the following days, as now I'm about to push into production, so I can't test right now. For the moment, I circumvented the issue by setting last_change='' when creating a new flow or process.

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