Error in installing a validated csl file

edited February 25, 2022
I have validated my csl code on the site suggested by zotero.com. However when I try to install it in Zotero I am getting the error:

An unexpected error occurred while installing "C:\Users\HP\Documents\thesis\American Political Science Association - V Krishna Teja Mantripragada, PhD.csl"
What could be the reason? The code listing is given below:



[code removed — D.S.]
  • edited February 25, 2022
    Please post the CSL somewhere (e.g., a GitHub gist) and provide a link here, and provide a Report ID after getting the error.
  • edited April 20, 2022
    Same here. Already valdiated it and no errors were found. Also deleted all my other styles via the preferences. Glad i could keep the one I want to reinstall, as I wasn´t aware, that all the files from the styles folder will also be deleted :D Anyway, after restarting zotero and trying to install the style, still getting the error. Here is my Report ID: 151895235

    https://gist.github.com/superheldinnr1/2cdd44c88e6f52f7b73d1e47088bcd39
  • Same request:
    Please post the CSL somewhere (e.g., a GitHub gist) and provide a link here
  • Okay, done. See above.
  • [JavaScript Error: "_styles is not iterable" {file: "chrome://zotero/content/xpcom/style.js" line: 391}]
    That's not a problem with the style itself, and the style installs fine for me. Try resetting your styles from the Advanced → Files and Folders pane of the Zotero preferences. If that doesn't work, delete the 'styles' folder in your Zotero data directory and restart Zotero.
  • Thats what I have done already. Doesn't work...
  • You deleted the 'styles' folder? Can you provide a Debug ID for Zotero startup after deleting that folder, using the "Restart with Logging Enabled…" option?
Sign In or Register to comment.