Skip to content

There is an error when initializing a dummy vault. #7

@hxx-ustcer

Description

@hxx-ustcer

Hi sorry to bother you, one issue I want to report.
When initializing a dummy vault, sometimes an error is reported. The error is
image

my code is

from dte.honey_vault import HoneyVault
import os
def test():
    for index in range(10000):
        vault = "./hxxtest/vault_"+str(index)+".db"
        if os.path.exists(vault):
            os.remove(vault)
        hv=HoneyVault(vault,"123456")
test()

I have tried for many times, the error is still reported. It is worth noting that the error is randomly reported, most of the time, the initialization is correct.

vault_730.zip is the dummy vault which generates the error.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions