creating and deleting an Address in short time crashes class_singleWorker.py #541
Loading…
x
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?
The While loop (line 70) crashes if a job exists, fe: sendOutOrStoreMyV3Pubkey
because the deleteAddress function deletes the Address section in configfile.
line 220:
shared.config.set(
myAddress, 'lastpubkeysendtime', str(int(time.time())))
could not be written, because the myAddress section does not exist anymore.
A fix could be:
if not bitmessagemain.shared.config.has_section(myAddress):
return
at the start of:
sendOutOrStoreMyV3Pubkey and sendOutOrStoreMyV4Pubkey
or try - except at the while loop.