Oddbean new post about | logout
 Hey nostr:nprofile1qqsfnw64j8y3zesqlpz3qlf3lx6eutmu0cy6rluq96z0r4pa54tu5eqpz9mhxue69uhkummnw3ezuamfdejj7qgswaehxw309ahx7um5wghx6mmd9uq3kamnwvaz7tmjv4kxz7fwdehhxarjwpkx2cnn9e3k7mf0hkrkkr I am testing the tutorial of nostr-dvm.
I encountered a weird issue:
- In '04_simple_chat_bot.py' I managed to run the DVM however when I send it a message, the reply message fails with error.
- I think there is a bug in how it tries to send reply DM
- I tried to fix the problematic line but can't get the modified code under 'nostr_utils.py' to execute
https://i.nostr.build/KiGeOKoaOSUZRuWF.jpg

https://i.nostr.build/E2X4GTmCHZvR9D3v.jpg 
 You are right. This is a legacy function because clients still haven't adapted Nip44. And missed it when changing some stuff for latest SDK. Pushed a fix in 1.0.1 
 Thanks!
I managed to make my changes take effect by reinstalling nostr-dvm with pip.
Deleting pycache, recreating the venv and similar did not work. 
 Normally a pip install nostr-dvm==1.0.1 should do the trick. 
 Within the venv of course