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
No error occurs selecting a directory for hyperglass from prompt.
But hyperglass setup fails when HYPERGLASS_PATH is defined.
The type of app_path when executing hyperglass setup differs depending on whether or not HYPERGLASS_PATH is defined.
The error message follows:
File "/usr/local/lib/python3.8/dist-packages/hyperglass/cli/installer.py", line 74, in _scaffold
ui_dir = self.app_path / "static" / "ui"
TypeError: unsupported operand type(s) for /: 'str' and 'str'
Possible Solution
When retrieving HYPERGLASS_PATH with os.environ.get in the _get_app_path method of the Installer class, it needs to be converted from a string to a path object using pathlib.Path.
Environment
Server
OS: ubuntu 20.04
Python Version: 3.8
hyperglass Version: 1.0.4
The text was updated successfully, but these errors were encountered:
Bug Description
No error occurs selecting a directory for hyperglass from prompt.
But hyperglass setup fails when HYPERGLASS_PATH is defined.
The type of app_path when executing hyperglass setup differs depending on whether or not HYPERGLASS_PATH is defined.
The error message follows:
Possible Solution
When retrieving HYPERGLASS_PATH with os.environ.get in the _get_app_path method of the Installer class, it needs to be converted from a string to a path object using pathlib.Path.
Environment
Server
The text was updated successfully, but these errors were encountered: