kosivantsov / omegat_scripts

Scripts for OmegaT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Customization -- java.io.IOException: plugins folder cannot be written to

msoutopico opened this issue · comments

Preconditions

  • OmegaT is installed and the plugins folder (under the user configuration folder) is empty.
  • OmegaT version is 5.3.0
  • Script version is 0.4.9
  • Running on Mac OS 10.13.6 (High Sierra)
  • Local version is 51 and remote version is 53 at least.

Steps

Run OmegaT when the customization script is in the application_startup folder or run the customization script manually.

Expected results

The script downloads the jar files and puts them in the plugins folder, which is empty.

Actual results

The script downloads the jar files bundle, unzips it and then says the plugins folder in the user customization folder cannot be written to, and keeps running forever.

The console gives the error below:

========================================
          Customisation Update
========================================
Fresh customisation bundle installation (v.53_cs0):
* Config needs to be installed.
* Scripts need to be installed.
* Plugins needs to be updated.
----------------------------------------
config.zip is being downloaded...
config.zip is being unpacked...
Customisation is being updated...
OmegaT will need to be restarted.
    -- Done --
----------------------------------------
scripts.zip is being downloaded...
scripts.zip is being unpacked...
Scripts are being installed...
Scripts provided 
in the customisation bundle 
copied to 
  /Users/pico/Library/Preferences/OmegaT/scripts.
    -- Done --
----------------------------------------
plugins.zip is being downloaded...
plugins.zip is being unpacked...
Plugins are being installed...
An error occurred
javax.script.ScriptException: javax.script.ScriptException: java.io.IOException: Destination '/Users/pico/Library/Preferences/OmegaT/plugins' cannot be written to