Juris-M / zotero

Juris-M is a variant of the free and friendly Zotero research platform, with support for legal and multilingual materials.
https://juris-m.github.io
Other
77 stars 12 forks source link

Juris-M doesn‘t pick up updated abbrevs and maps #118

Open georgd opened 3 years ago

georgd commented 3 years ago

While working on the abbreviations of Swiss courts and jurisdictions we noticed that Juris-M doesn’t pick up the updated (jurisupdate -j ch) abbreviation and map files. The files in ~/Juris-M/juris-abbrevs and ~/Juris-M/juris-maps do in fact show the additional courts and subjurisdictions but neither the Juris-M interface shows them nor can they be cited in Word.

For verification, I tried some simple "typo corrections" in juris-at-desc.json which did come through in the maps and abbrevs files but it isn’t revealed in the UI or in Word, either.

Edit: testing with citeproc-test-runner, the abbrev-files load fine and work as expected.

sam-gagnon commented 2 years ago

I had this problem as well. Even if I specified the correct paths in the config file for the abbrevs and maps, citeproc-test-runner wouldn't pick them up.

I fixed it by editing the files in the user->Appdata->Jurism folder. It seems that this is the files used by test-runner, regardless of the config file.

sam-gagnon commented 1 year ago

Hello again Georg,

I don't know where my head was at during my last comment, but I encountered this problem again today, and I fixed it by updating the abbrev-files in the jurism.jar archive located in the Juris-M program files directory.

I don't know enough to know why this worked, just that it did.

fbennett commented 1 year ago

Dear Samuel (and all),

I'm sorry for being away for so long.

This is something I've wanted to fix since before the hiatus in work on the project. Changes to abbrevs and styles should be picked up on a simple restart. There is a step in the wrong place somewhere in the startup code. When I get 6.0.20 running again, this will be high on the bugfix list.

On Wed, Feb 22, 2023, 03:58 Samuel Gagnon @.***> wrote:

Hello again Georg,

I don't know where my head was at during my last comment, but I encountered this problem again today, and I fixed it by updating the abbrev-files in the jurism.jar archive located in the Juris-M program files directory.

I don't know enough to know why this worked, just that it did.

— Reply to this email directly, view it on GitHub https://github.com/Juris-M/zotero/issues/118#issuecomment-1438956368, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAASMSWR2I2E6IVPX42MG2TWYUF6FANCNFSM447IUHHA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

fbennett commented 1 year ago

I've done some work on this in the 6.0.x releases. You should get a popup suggesting a restart when changes to jurisdiction data in the Jurism data directory are found at startup.