Replies: 1 comment 5 replies
-
Fount it. The json export added quotes |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Way to reproduce:
After export I get a file with:
[{"id": 1, "metadata": "{}", "notes": "", "name": "DigiKey", "description": "", "website": "https://www.digikey.com/", "phone": "", "email": "", "contact": "", "link": "", "image": "", "is_customer": "0", "is_supplier": "1", "is_manufacturer": "0", "currency": "USD"}]
The metadate is filled with two brackets. However if I add another company using the exact same template:
[{"id": 1, "metadata": "{}", "notes": "", "name": "DigiKey", "description": "", "website": "https://www.digikey.com/", "phone": "", "email": "", "contact": "", "link": "", "image": "", "is_customer": "0", "is_supplier": "1", "is_manufacturer": "0", "currency": "USD"},{"id": 2, "metadata": "{}", "notes": "", "name": "WhatEver", "description": "", "website": "https://www.wahtever.somewhere/", "phone": "", "email": "", "contact": "", "link": "", "image": "", "is_customer": "0", "is_supplier": "1", "is_manufacturer": "0", "currency": "USD"}]
I get the error: "metadata: Metadata must be a python dict" when I try to import the file using the web interface.
My installation is a baremetal one within a python (3.11) virtual environment. It all seams to work.
git log => commit 93b44ad8e6abdc970969360708aed3ff8189ec93 (HEAD -> stable, tag: 0.12.1, origin/stable)
Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions