You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
calls Config.set(default_section, 'password', crypto.encode_password(self.password)) which ends with:
File "/home/xxx/.local/lib/python3.9/site-packages/Crypto/Util/_raw_api.py", line 242, in c_uint8_ptr
raise TypeError("Object type %s cannot be passed to C code" % type(data))
TypeError: Object type <class 'str'> cannot be passed to C code
I'm not sure if you are using PyCryptodome instead of (deprecated?) PyCrypto...
The text was updated successfully, but these errors were encountered:
huawei-lte-examples/huawei-lte-band/main.py
Line 187 in 257dcd6
LoginApp().run()
huawei-lte-examples/huawei-lte-band/main.py
Line 49 in 257dcd6
calls Config.set(default_section, 'password', crypto.encode_password(self.password)) which ends with:
File "/home/xxx/.local/lib/python3.9/site-packages/Crypto/Util/_raw_api.py", line 242, in c_uint8_ptr
raise TypeError("Object type %s cannot be passed to C code" % type(data))
TypeError: Object type <class 'str'> cannot be passed to C code
I'm not sure if you are using PyCryptodome instead of (deprecated?) PyCrypto...
The text was updated successfully, but these errors were encountered: