Juris-M / zotero-odf-scan-plugin

RTF/ODF-Scan for Zotero add-on
https://zotero-odf-scan.github.io/zotero-odf-scan/
Other
87 stars 15 forks source link

"zg:undefined" as unique item identifier after conversion #47

Closed Simplenuity closed 2 years ago

Simplenuity commented 2 years ago

Debug ID: D1685013483

Environment

*) version 2.0.43 not working in Zotero 5.0.60. File can't be chosen.

Steps to Reproduce

File type: ODF (to markers) Input File: odt file with active citations Choose Output File and proceed

Expected Behavior New odt file shows citation markers like this: { | Allen, 2015 | | |zu:0:PQ8687P5}

Current Behavior New odt file shows citation markers like this: { | (Allen, 2015) | | |zg:undefined} i.e. all citations have "zg:undefined" as unique item identifier

adam3smith commented 2 years ago

Is this an unsynced library? I can't replicate this locally, but all my libraries are synced, so have numerical ideas other than 0.

Simplenuity commented 2 years ago

Yes, all three systems I've tested it on have local libraries only.

adam3smith commented 2 years ago

Could you upload or link to a minimal .odt file with 2 citations from a local-only library here, please? It'd be a hassle for me to create that.

Simplenuity commented 2 years ago

Please find attached two files:

Simplenuity commented 2 years ago

This is unfortunately still relevant. Anything I can help to get this investigated or even sorted?

nebedaay commented 2 years ago

I'm having the same issue on MacOS 12.4, LibreOffice 7.3.2.2 for Apple Silicon (M1), and Zotero 6.0.9-beta.6+b215d93ac.

My library is synced and updated with no errors. Whenever I convert a document with Zotero references to markers, all the markers have the following identifier: "zu:0:undefined."

Here are two files, the first with 2 citations I added using the regular Zotero interface, and the second with the defective plain-text citation markers generated by ODF-scan:

Zotero reference sample (citation).odt Zotero reference sample (markers).odt

It would be great if someone could help me figure out what the problem is. Please let me know if I can provide any other information.

adam3smith commented 2 years ago

@nebedaay -- could you try this version?

nebedaay commented 2 years ago

@adam3smith - Thanks for the quick fix! I installed that, and now it functions properly. I get the following markers:

Here is a reference { | (Brown 2007) | | |zu:649:7SR4Y7YV}, and here is another { | (Hallaq 2012) | | |zu:649:24BPN6R3}.

It then converts back into Zotero references as expected. Looks like you've solved my problem. Thanks again.

Joseph

adam3smith commented 2 years ago

@Simplenuity your issue should now also be fixed in the latest release (2.0.46)

Simplenuity commented 2 years ago

@adam3smith many thanks! Just tested in Zotero 5.0.96.3 (Linux Lite (based on Ubuntu 18.04)) with ODF Scan 2.0.46 (automatically updated): working! Highly appreciated!

So I haven't used the one you linked to above: zotero-odf-scan-v2.0.44-beta.xpi

FYI: Haven't used this Zotero installation for a while. So am not sure whether caused by the update. But there are now two menu entries 'ODF scan'. Both are working.

adam3smith commented 2 years ago

Thanks for testing. Your error was different, so 2.0.46 was the first version fixing it. The duplicate menu disappears after restarting Zotero

Simplenuity commented 2 years ago

Thanks!