BadValSize #447
Labels
No labels
Blocked
Bug
Documentation
Duplicate
Enhancement
Good first issue
Help wanted
Idea
In progress
Invalid
Major feature set
Packaging
Question
Soon
UI/UX
Upstream
You're dreamin'
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nostr/gossip#447
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
nostr:nevent1qqsp4elqk2v3zk83chpuz9m03xyyzprlsz7cc4pw5ugwduu36fqeq4qpzpmhxue69uhk2tnwdaejumr0dshszrnhwden5te0dehhxtnvdakz7qfqwaehxw309ahx7um5wghx26tww4hxg7nhv9h856t89eehqctrv5hsz9thwden5te0dehhxarj9ehhsarj9ejx2a30qyf8wumn8ghj7mn0wd68yv339e3k7mf0f8f03u
I suspect either a key is longer than 511 bytes, or a DUP_FIXED value is not right.
yep, i got this error too. Gonna try with fresh sqlite..
That log helps. The previous reporter didn't have that data. So the problem looks to be in a particular import function.
Found the bug. Fix incoming.
Please pull and try the master branch.
I have a new DB now, but I saved a copy of the old sqlite, so I tried it again with latest master (with the old sqlite, and moved lmdb out of the way), still same error..
If you just want to get past this, look into your sqlite database at the event_hashtag table for a hashtaq that is longer than 511 bytes, or that is empty (zero length).... shit that's probably it, I bet it is zero length. I'll put a check for that.
Oh yeah, don't worry about me, I know how to wipe the db and do a new one (which I did). But I wanted to help fix it for others that may upgrade so I'm willing to keep testing with my old db copy till it works. for the PV. :)
@kpshukla @jeremyd please try the unstable branch and see if that makes a difference.
tried it, different error this time, now it's a hashtag
Good. Okay I'll make it non-fatal and them merge it into master.
Should be fixed now.
Sweet, yeah that worked. Here's the log in case you're interested.
Aha....worked!! Great
Thanks.