Skip to content

GettingStarted.py example throwing error #24

@oriolfillo

Description

@oriolfillo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions