Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
msoutopico opened this issue Sep 9, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@msoutopico
Copy link
Collaborator

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
@msoutopico msoutopico added the bug Something isn't working label Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants