Skip to content

[Bug] Can't import sources #203

@LordGyarados

Description

@LordGyarados

Version 0.12.5, AppImage on Linux:

When importing sources, i keep getting the following error:

behaviovocabsieve.uncaught_hook:make_error_box:17 - Traceback (most recent call last):
  File "/tmp/.mount_VocabSJenkef/opt/python3.11/lib/python3.11/site-packages/vocabsieve/config/dictmanager.py", line 242, in commit
    dictdb.dictimport(
  File "/tmp/.mount_VocabSJenkef/opt/python3.11/lib/python3.11/site-packages/vocabsieve/local_dictionary.py", line 164, in dictimport
    self.importdict(d, lang, name)
  File "/tmp/.mount_VocabSJenkef/opt/python3.11/lib/python3.11/site-packages/vocabsieve/local_dictionary.py", line 48, in importdict
    self.c.execute("""
sqlite3.IntegrityError: UNIQUE constraint failed: dictionary.language, dictionary.dictname, dictionary.wordr**

The issue didn't occur earlier, and seems to have appeared only after i (unsuccesfully) tried to make a regex rule for dictionary lookups (that also failed to work, and bricked the regex functionality in its entirety), after which i was forced to reset my settings. Since then, importing sources of most (all?) sources seems to fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions