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

GettingStarted.py example throwing error #24

Open
oriolfillo opened this issue Feb 12, 2023 · 1 comment
Open

GettingStarted.py example throwing error #24

oriolfillo opened this issue Feb 12, 2023 · 1 comment

Comments

@oriolfillo
Copy link

oriolfillo commented Feb 12, 2023

Dear team,

This error is thrown both when executing the .py as well as when I built my own code.
File "GettingStarted.py", line 9, in
from UbirchWrapper import UbirchWrapper
File "C:.........my path....\ubirch-protocol-python-ecdsa-betterReadMe\ubirch-protocol-python-ecdsa-betterReadMe\examples\UbirchWrapper.py", line 7, in
from ubirch.ubirch_protocol import UNPACKED_UPP_FIELD_PREV_SIG, UBIRCH_PROTOCOL_TYPE_REG, UBIRCH_PROTOCOL_TYPE_BIN
ImportError: cannot import name 'UNPACKED_UPP_FIELD_PREV_SIG' from 'ubirch.ubirch_protocol'

I looked into the ubirch_protocol and could not find the constant parameters to be imported.
According to the documentation here I am using ubirch-protocol version 3.1.0. I've cloned the directory, loaded requirements.txt and locally and executed the .py

Is this example obsolete? Thanks and reagards.

@gruenwaldi
Copy link

Hi @oriolfillo, please give us one or two days to fix the issue. We will update the repository master branch and publish a new release.
In the mean time you can use the branch https://github.com/ubirch/ubirch-protocol-python/tree/merged-everything .
Just checkout the branch and install it on your system with pip install .
We will inform you as soon as possible about the update.

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