mgmeyers / obsidian-zotero-integration

Insert and import citations, bibliographies, notes, and PDF annotations from Zotero into Obsidian.
GNU General Public License v3.0
1.1k stars 55 forks source link

[feature request] compatibility with zotero 7? #223

Open erazlogo opened 1 year ago

erazlogo commented 1 year ago

Hi mgmeyers, are there plans to make ZI compatible with Zotero 7? I know not soon because Better BibTex is not compatible yet. I would just like to know the ETA on your end. Thanks! Elena

mgmeyers commented 1 year ago

Hi @erazlogo I don't think there will be much to do on my end to support Zotero 7. In theory, everything should work once Better BibTex is updated

FeralFlora commented 1 year ago

@mgmeyers You could use the database access provided by aidenlx/obsidian-zotero 😉 Either by adopting the code for database access or through the API the plugin provides: https://obzt.aidenlx.top/reference/api/ although it seems kinda pointless if the latter requires you to have both installed. Nevermind me, I know that this is probably a pipe-dream.

yifan0414 commented 1 year ago

Hi @erazlogo I don't think there will be much to do on my end to support Zotero 7. In theory, everything should work once Better BibTex is updated

The Better BibTex is now compatible with Zotero 7. But When I use import note In Obsidian. There is a error which echo "Cannot connect to Zotero. Please ensure itis running and the Better BibTeX plugin is installed". My BibTex edition is 6.7.86 My Zotero edition is 7.0.0-beta.16+1766f8bb5

FeralFlora commented 1 year ago

The Better BibTex is now compatible with Zotero 7. But When I use import note In Obsidian. There is a error which echo "Cannot connect to Zotero. Please ensure itis running and the Better BibTeX plugin is installed".

There have been a lot of test builds released since then. Could you try the latest one and report back?

The latest release is 6.7.94.4641, you can find it here: https://github.com/retorquere/zotero-better-bibtex/issues/2522#issuecomment-1634049170

However, as you can see at the top of the issue, there are still several pending updates to the addon.

FeralFlora commented 1 year ago

My BibTex edition is 6.7.86

It seems that you were testing a version that is not compatible with Zotero 7. The first test build for Zotero 7 was 6.7.87.4505: https://github.com/retorquere/zotero-better-bibtex/issues/2522#issuecomment-1618978525

Regular releases are not compatible with Zotero 7, as explained here: https://github.com/retorquere/zotero-better-bibtex/issues/2522#issuecomment-1622381400

danieltomasz commented 1 year ago

I installed the beta build of BBT that seems to works with export and rest of the stuff, the zotero intergration is able to connect to Zotero 7 database and find the publication, but the note isn't created

Is anyone able to get Z7 with Zotero Connector to work at this moment?

rebecca-abelman commented 1 year ago

@danieltomasz - I am also having the same issue. I was hoping it would get fixed once BBT was updated. Were you able to figure out what the issue was?

danieltomasz commented 1 year ago

@mgmeyers might be useful for you to debug: when trying to access Item in Zotero 7 with OZI, I am getting XPCOMUtils.generateQI is not a function or TypeError: XPCOMUtils.generateQI is not a function from better-bibtex.js. in develper console in Zotero

It was removed from Mozilla https://bugzilla.mozilla.org/show_bug.cgi?id=1484466 ChromeUtils. do the same trick https://github.com/mkaply/cck2wizard/issues/101#issuecomment-433943336 but this need to be fixed by BBT?

danieltomasz commented 1 year ago

hurray, great news latest build work with ZMI and create notes in Obsidian !! :) It took less than 1h from when I described the issue to fixing by Emiliano :) Here is the link to download https://github.com/retorquere/zotero-better-bibtex/issues/2522#issuecomment-1661297594

Be aware that switching from Zotero 7 to Zotero 6 and back to Zotero 7 might mark the BBT as incompatible (but you canreinstall the plugin without problem with restarting Zotero), this is known bug with latest build of Zotero Beta

yifan0414 commented 1 year ago

Awesome Job!! @danieltomasz

FeralFlora commented 6 months ago

I think this can be closed now, because Zotero Integration has been compatible with Zotero 7 for a while, using the regular BetterBibtex releases.

Alternatively, perhaps specific tasks should be added to issue, to outline which issues are still outstanding, in particular pulling annotations from the new file types with annotation support, namely EPUB and webpage snapshots.

starise commented 4 months ago

pulling annotations from the new file types with annotation support, namely EPUB and webpage snapshots.

+1