Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Simplenuity opened this issue Sep 30, 2021 · 12 comments
Closed

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

Simplenuity opened this issue Sep 30, 2021 · 12 comments

Comments

@Simplenuity
Copy link

Simplenuity commented Sep 30, 2021

Debug ID: D1685013483

Environment

  • Linux Lite (based on Ubuntu 18.04), Zotero 5.0.96.3 with ODF Scan 2.0.43
  • Linux Lite (based on Ubuntu 16.04), Zotero 5.0.60 with RTF/ODF Scan 2.0.39*)

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

Steps to Reproduce

  • Choose in plugin interface

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
Copy link
Collaborator

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
Copy link
Author

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

@adam3smith
Copy link
Collaborator

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
Copy link
Author

Please find attached two files:

  • 'test (citations).odt' - file with active citations, some converted via plugin, others added directly
  • 'test (markers).odt' - result of trying to convert citations in file above via plugin to markers
    test (citations).odt
    test (markers).odt

@Simplenuity
Copy link
Author

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

@nebedaay
Copy link

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
Copy link
Collaborator

@nebedaay -- could you try this version?

@nebedaay
Copy link

@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 added a commit that referenced this issue Jun 25, 2022
closes "zg:undefined" as unique item identifier after conversion #47
@adam3smith
Copy link
Collaborator

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

@Simplenuity
Copy link
Author

@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
Copy link
Collaborator

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
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants