You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In wms we don't need the config_loader but create a dependency to that by importing
File "/__w/MSS/MSS/docs/../mslib/mswms/mpl_hsec.py", line 45, in <module>
from mslib.utils.coordinate import get_projection_params
When we extract the function from coordinate the module needs not to be loaded and doesn't import the config_loader
Traceback (most recent call last):
File "/__w/MSS/MSS/docs/conf.py", line 81, in <module>
import mslib.mswms.wms
File "/__w/MSS/MSS/docs/../mslib/mswms/wms.py", line 67, in <module>
from mslib.mswms.gallery_builder import add_image, write_html, add_levels, add_times, \
File "/__w/MSS/MSS/docs/../mslib/mswms/gallery_builder.py", line 40, in <module>
import mswms_settings
File "/github/home/mss/mswms_settings.py", line 50, in <module>
from mslib.mswms import mpl_hsec_styles
File "/__w/MSS/MSS/docs/../mslib/mswms/mpl_hsec_styles.py", line 76, in <module>
from mslib.mswms.mpl_hsec import MPLBasemapHorizontalSectionStyle
File "/__w/MSS/MSS/docs/../mslib/mswms/mpl_hsec.py", line 45, in <module>
from mslib.utils.coordinate import get_projection_params
File "/__w/MSS/MSS/docs/../mslib/utils/coordinate.py", line 36, in <module>
from mslib.utils.config import config_loader
File "/__w/MSS/MSS/docs/../mslib/utils/config.py", line 40, in <module>
from mslib.msui import constants
File "/__w/MSS/MSS/docs/../mslib/msui/constants.py", line 38, in <module>
ROOT_FS = open_fs(MSUI_CONFIG_PATH)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/mssenv/lib/python3.11/site-packages/fs/opener/registry.py", line 220, in open_fs
_fs, _path = self.open(
^^^^^^^^^^
File "/opt/conda/envs/mssenv/lib/python3.11/site-packages/fs/opener/registry.py", line 177, in open
open_fs = opener.open_fs(fs_url, parse_result, writeable, create, cwd)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/mssenv/lib/python3.11/site-packages/fs/opener/osfs.py", line 40, in open_fs
osfs = OSFS(path, create=create)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/mssenv/lib/python3.11/site-packages/fs/osfs.py", line 141, in __init__
raise errors.CreateFailed(message)
fs.errors.CreateFailed: root path '/github/home/.config/msui' does not exist
ERROR conda.cli.main_run:execute(124): `conda run python conf.py` failed. (See above for error)
Error: Process completed with exit code 1.
The text was updated successfully, but these errors were encountered:
ReimarBauer
changed the title
get_projection_params has to become a standalone
get_projection_params and find_location has to become a standalone
Dec 2, 2024
In wms we don't need the config_loader but create a dependency to that by importing
When we extract the function from coordinate the module needs not to be loaded and doesn't import the config_loader
The text was updated successfully, but these errors were encountered: