tejado / pgoapi

Pokemon Go API lib
Other
1.4k stars 447 forks source link

ValueConstraintError when api.login('ptc', ...,...) #206

Closed ciol06 closed 7 years ago

ciol06 commented 7 years ago

After a successful installation: import pgoapi api = pgoapi.PGoApi() api.set_position(...,...,...)

i get this (long) error: ... File "/usr/local/lib/python2.7/dist-packages/pyasn1/codec/ber/decoder.py", line 391, in valueDecoder r.verifySizeSpec() File "/usr/local/lib/python2.7/dist-packages/pyasn1/type/base.py", line 252, in verifySizeSpec def verifySizeSpec(self): self._sizeSpec(self) File "/usr/local/lib/python2.7/dist-packages/pyasn1/type/constraint.py", line 32, in call '%s failed at: \"%s\"' % (self, sys.exc_info()[1]) pyasn1.type.error.ValueConstraintError: ConstraintsIntersection(ConstraintsIntersection(), ValueSizeConstraint(1, 64)) failed at: "ValueSizeConstraint(1, 64) failed at: "SubjectAltName().setComponents(GeneralName(componentType=NamedTypes(NamedType('otherName', AnotherName(componentType=NamedTypes(NamedType('type-id', ObjectIdentifier('')), ...

Is my isntall of python correct? Ubuntu 14 LTS correct? Thanks for help!