"Mark all messages as read" causes critical error #1081
Labels
No Label
bug
build
dependencies
developers
documentation
duplicate
enhancement
formatting
invalid
legal
mobile
obsolete
packaging
performance
protocol
question
refactoring
regression
security
test
translation
usability
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Bitmessage/PyBitmessage-2024-12-09#1081
Loading…
Reference in New Issue
Block a user
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?
Hello!
I have 346 messages in
[chan] bitmessage
shown as unread. When I select "Mark all messages as read" context menu this causes PyBitmessage crash with many unicode characters dumped into console and finally the following messages:So I probably have SQLITE_MAX_VARIABLE_NUMBER < 999 in my system, but it seams there is no easy way to check the exact value.
The source
Thanks. I thought I fixed that. I think I should create a new function over sqlExecute which would handle this limit.
What version are you using @g1itch ?
Latest PyBitmessage commit, Python 2.7.12, sqlite 3.19.3
Hmm, I don't understand this:
if i % 999 == 999:
It seems to be always False
good catch.
So I wrote a helper for this type of query (column in (x, x, x, x.....)) but have to test it.
Fixed in
80fdb08f03