Is there limit for the id of csl file?
Hi there.
Is there limit for the id of csl file?
I just use the csl locally, when I edit the csl file using the id of 'http://www.zotero.org/styles/chinese-7714-2005-NSFC-full-name-part', and add the csl in Zotero, it prompt me 'An unexpected error occurred while installing"C \Users\Hmy\ Desktop\chinese-7714-2005-NSFC-full-name-part csl',
however, when I chang the id to 'http://www.zotero.org/styles/chinese-7714-NSFC-full-name-part-2005', the csl could be added to Zotero, both ids are unique in my styles folder.
the gist is https://gist.github.com/redleafnew/10f2894f7115eed828e5ce6636520fa2.
Any suggestion is appreciated.
Is there limit for the id of csl file?
I just use the csl locally, when I edit the csl file using the id of 'http://www.zotero.org/styles/chinese-7714-2005-NSFC-full-name-part', and add the csl in Zotero, it prompt me 'An unexpected error occurred while installing"C \Users\Hmy\ Desktop\chinese-7714-2005-NSFC-full-name-part csl',
however, when I chang the id to 'http://www.zotero.org/styles/chinese-7714-NSFC-full-name-part-2005', the csl could be added to Zotero, both ids are unique in my styles folder.
the gist is https://gist.github.com/redleafnew/10f2894f7115eed828e5ce6636520fa2.
Any suggestion is appreciated.
"chinese-7714-2005-NSFC-full-name-part csl"
I think it is nothing about the file name.
I lost something in the error info, it is: "C:\Users\Hmy\Desktop\chinese-7714-2005-NSFC-full-name-part.csl',
I uploaded the two files to Dropbox, the two are same except the id.
can not be added: https://www.dropbox.com/s/9nrricgnsizi88c/can_not_save.csl?dl=0
can be added: https://www.dropbox.com/s/pd67jkfbcjs5bf9/can_save.csl?dl=0
snapshot: https://www.dropbox.com/s/fb0i1r2auu9xriu/Snipaste_2021-02-28_20-45-40.png?dl=0
Thanks. @bwiernik
Can you also go to your Zotero data directory, make a zip of the 'styles' folder, and email it to us at support@zotero.org with a link to this thread?
After that, I suspect that, if you close Zotero and delete that folder, this will work after restarting. (You'll need to replace any styles you've added.)
The ID: D2042106525
I detected the style which caused the issue, after I deleted that one, it will be ok. But I don't know why.