named-data / python-ndn

An NDN client library with AsyncIO support in Python 3
https://python-ndn.readthedocs.io/en/latest
Apache License 2.0
24 stars 17 forks source link

prepare_data, sqlite malformed #36

Closed killerdbob closed 2 years ago

killerdbob commented 2 years ago

I try to preare_data, and sometimes sqlite will scream. cf022bde4aa6abc03c2d70f6795c68c

zjkmxy commented 2 years ago

Hello. This seems to be a database problem. Could you please create a new ndn-cxx Keychain and try again?

killerdbob commented 2 years ago

thx for your reply !!! maybe the key is rotten?

46a8dcd71033ab565cee7eff2f3a335

zjkmxy commented 2 years ago

I'm not sure. This seems to be an exception thrown by sqlite3 module and I have no idea on why it happens. Your screenshot looks strange to me because identity name is typically a UTF8 string. But if it contains multiple name components, the output could contain non-English character.

killerdbob commented 2 years ago

OK, after I change my environment to ubuntu, this bug disappear. Before, I was using alpine