github-young / zotero-better-authors

Customize the displayed authors list
GNU Affero General Public License v3.0
88 stars 1 forks source link

Not working: not displaying preference on edit preference #77

Closed allabur closed 1 month ago

allabur commented 1 month ago

Hello,

The plugin is not working as expected. It is not showing the self-explanatory settings panel in Zotero 7 settings, nor the option to show columns of the last author or anything.

Windows 11 x64 Zotero 7.0.5 (64-bit)

Error console image

github-young commented 1 month ago

Have you tried disabling all other plugins and see if this issue can be stably reproduced?

allabur commented 1 month ago

I have tried. It works. I identified at least one "incompatibility" with at least another plugin: https://github.com/windingwind/zotero-actions-tags

EDIT: also with https://github.com/windingwind/zotero-better-notes

github-young commented 1 month ago

I am also using zotero-actions-tags for a long time, and I installed the zotero-better-notes plugin just now, but I cannot reproduce the same issue. The 3 plugins are all developed based on windingwind's template and they should be compatible. Let's see if more users report similar issues.

allabur commented 1 month ago

Zotero Better Authors 4.1.4 Last Updated September 29, 2024 Actions and Tags for Zotero 2.0.2 Last Updated September 27, 2024 Better Notes for Zotero 2.0.8 Last Updated September 22, 2024

EDIT: With the error console only with them image

github-young commented 1 month ago

For the error msg in your screenshot, this.globalCache is undefined, from the search results, I highly doubt it may be caused by the zotero-better-notes plugin as this repo is the only one that gives something related to this.globalCache is undefined in the GitHub discussion channel, such as https://github.com/windingwind/zotero-better-notes/discussions/521 https://github.com/windingwind/zotero-better-notes/discussions/903 But I am not quite sure if it is the real reason.

ChrisMFChung commented 1 month ago

Having the same issue

Zotero 7.06 Sequoia 15.0

daeh commented 1 month ago

There seem to be related issues in https://github.com/Dominic-DallOsto/zotero-reading-list/issues/58 https://github.com/daeh/zotero-markdb-connect/issues/138

github-young commented 1 month ago

I will be able to look into the details after mid Nov, hope there will be other developers working on it (probably due some changes in upstream)

zhanghm1995 commented 1 month ago

Also encounter this problem, every time I need to uninstall all plug-ins, and then one by one to install back on it.

image

github-young commented 1 month ago

From this reply it seems that this issue can be fixed by updating the ztoolkit, I will try to fix it when I have time

github-young commented 1 month ago

@allabur @ChrisMFChung @zhanghm1995 Could you please try this quick fix to see if this error happens again?

To be noted that this one is a very preliminary fix and it comes with other problems, such as the preference does not affect the displayed results. I just want to check if this TypeError: globalCache is undefined message shows again. We will investigate it with more time in the future Thank you.

zotero-better-test.zip

github-young commented 1 month ago

Fixed in https://github.com/github-young/zotero-better-authors/releases/tag/v4.2.1