Skip to content

sqlite3.OperationalError: duplicate column name: identifier-VD17 #59

@mikegerber

Description

@mikegerber

ERROR:mods4pandas:Exception in /nfs/b-isiprod-udl/ReadingRoom/goobi/new_presentation/dc-indexing/indexed_mets/PPN61538854X.xml
Traceback (most recent call last):
File "/home/mike.gerber/devel/mods4pandas/src/mods4pandas/mods4pandas.py", line 586, in process
insert_into_db(con, "mods_info", d)
File "/home/mike.gerber/devel/mods4pandas/src/mods4pandas/lib.py", line 362, in insert_into_db
con.execute(f'ALTER TABLE {table} ADD COLUMN "{k}"')
sqlite3.OperationalError: duplicate column name: identifier-VD17

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions