NRLMMD-GEOIPS / geoips

Main Geolocated Information Processing System code base with basic functionality enabled.
https://nrlmmd-geoips.github.io/geoips/
Other
15 stars 11 forks source link

Plugins must be write accessible to the running user for create_plugin_registries to work #812

Open biosafetylvl5 opened 1 week ago

biosafetylvl5 commented 1 week ago

Requested Update

Description

Background and Motivation

Alternative Solutions

Environment

geoips_user@1400017fafb0:/workspaces/geoips_clavrx$ create_plugin_registries 
31_203251 create_plugin_registries.py:821  INTERACTIVE: Skipping module 'boxdefinitions' from 'geoips', interface_name is 'None'
31_203251 create_plugin_registries.py:821  INTERACTIVE: Skipping module 'interp_scipy' from 'geoips', interface_name is 'None'
31_203251 create_plugin_registries.py:821  INTERACTIVE: Skipping module 'interp_pyresample' from 'geoips', interface_name is 'None'
31_203251 create_plugin_registries.py:821  INTERACTIVE: Skipping module 'remss_reader' from 'geoips', interface_name is 'None'
31_203251 create_plugin_registries.py:821  INTERACTIVE: Skipping module 'geostationary_geolocation' from 'geoips', interface_name is 'None'
31_203251 create_plugin_registries.py:821  INTERACTIVE: Skipping module 'hrit_reader' from 'geoips', interface_name is 'None'
31_203251 create_plugin_registries.py:821  INTERACTIVE: Skipping module 'tc_file_naming' from 'geoips', interface_name is 'None'
31_203251 create_plugin_registries.py:319  INTERACTIVE: Writing /app/geoips_packages/geoips/geoips/registered_plugins.json
Traceback (most recent call last):
  File "/home/geoips_user/.local/bin/create_plugin_registries", line 8, in <module>
    sys.exit(main())
  File "/app/geoips_packages/geoips/geoips/create_plugin_registries.py", line 946, in main
    create_plugin_registries(plugin_packages, save_type)
  File "/app/geoips_packages/geoips/geoips/create_plugin_registries.py", line 421, in create_plugin_registries
    write_registered_plugins(pkg_dir, plugins, save_type)
  File "/app/geoips_packages/geoips/geoips/create_plugin_registries.py", line 318, in write_registered_plugins
    with open(reg_plug_abspath, "w") as plugin_registry:
PermissionError: [Errno 13] Permission denied: '/app/geoips_packages/overcast-preprocessing/geoips_clavrx/registered_plugins.json'

Checklist for Completion

biosafetylvl5 commented 1 week ago

Related: #810

biosafetylvl5 commented 1 week ago

Temporary fix: install all plugins with pip with -e or --user flags