with git checkouts in certain states WRT version of protobuf sources and/or build state of the protobuf classes, TrezorClient will report "Unsupported device".
AFAICT so far, it is because it can't parse the Features message.
This state should be recognizable (and recognized) and a sensible error should be thrown - most likely an ImportError telling the user to fix their checkout
this happens over the split between MessageType.FIELDS vs MesageType.get_features. In that case the class is imported successfully but doesn't seem to have any fields.
with git checkouts in certain states WRT version of protobuf sources and/or build state of the protobuf classes,
TrezorClient
will report "Unsupported device". AFAICT so far, it is because it can't parse theFeatures
message.This state should be recognizable (and recognized) and a sensible error should be thrown - most likely an
ImportError
telling the user to fix their checkout