Problem with installing VeSPA on Mac OS Big Sur

Hello,

After installing Vespa according to the instructions on the Vespa doc. page using miniconda3 I received the: “This program needs access to the screen. Please run with a
Framework build of python, and only when you are logged in
on the main display of your Mac.” error.
I tried the advice from a thread here on the forum and used pythonw to start the main.py and here are the new error messages:

(python37) sahars-mbp:~ myname$ pythonw /Users/myname/opt/miniconda3/envs/python37/lib/python3.7/site-packages/vespa/simulation/main.py
Traceback (most recent call last):
File “/Users/myname/opt/miniconda3/envs/python37/lib/python3.7/site-packages/vespa/simulation/main.py”, line 289, in
app, db_path = util_init.init_app(“Simulation”)
File “/Users/myname/opt/miniconda3/envs/python37/lib/python3.7/site-packages/vespa/common/util/init.py”, line 259, in init_app
db.upgrade()
File “/Users/myname/opt/miniconda3/envs/python37/lib/python3.7/site-packages/vespa/common/util/db_upgrader.py”, line 138, in upgrade
method(logger)
File “/Users/myname/opt/miniconda3/envs/python37/lib/python3.7/site-packages/vespa/common/util/db_upgrader.py”, line 633, in _upgrade_7
msg = ‘Vespa only updates from Database v10, you have v’+self.fetch_version()+’, please do new install.’
TypeError: can only concatenate str (not “int”) to str
Error in sys.excepthook:
Traceback (most recent call last):
File “/Users/myname/opt/miniconda3/envs/python37/lib/python3.7/site-packages/vespa/common/exception_handler.py”, line 138, in exception_hook
lines += ["*%s\t%s" % line for line in _debug_report()]
File “/Users/myname/opt/miniconda3/envs/python37/lib/python3.7/site-packages/vespa/common/exception_handler.py”, line 187, in _debug_report
lines += _get_version_info()
File “/Users/myname/opt/miniconda3/envs/python37/lib/python3.7/site-packages/vespa/common/exception_handler.py”, line 279, in _get_version_info
head, tail = os.path.split(module.file)
File “/Users/myname/opt/miniconda3/envs/python37/lib/python3.7/posixpath.py”, line 107, in split
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType

Original exception was:
Traceback (most recent call last):
File “/Users/myname/opt/miniconda3/envs/python37/lib/python3.7/site-packages/vespa/simulation/main.py”, line 289, in
app, db_path = util_init.init_app(“Simulation”)
File “/Users/myname/opt/miniconda3/envs/python37/lib/python3.7/site-packages/vespa/common/util/init.py”, line 259, in init_app
db.upgrade()
File “/Users/myname/opt/miniconda3/envs/python37/lib/python3.7/site-packages/vespa/common/util/db_upgrader.py”, line 138, in upgrade
method(logger)
File “/Users/myname/opt/miniconda3/envs/python37/lib/python3.7/site-packages/vespa/common/util/db_upgrader.py”, line 633, in _upgrade_7
msg = ‘Vespa only updates from Database v10, you have v’+self.fetch_version()+’, please do new install.’
TypeError: can only concatenate str (not “int”) to str
(python37) sahars-mbp:~ myname$

Does anyone have any solution for this?

Best regards
Sahar

Tagging @bsoher for first-hand support :slight_smile:

1 Like