Spacebridge won't compile on rasbian bullseye

Spacebridge won’t build from source on the newer versions of python in raspbian buster (so I would presume it has similar results on other platforms). I see some comments in other threads on building hologram from source that they depend upon libraries in python 3.7 (buster uses python 3.9). I also found some threads in general on pyinstaller that say it’s a known bug in some versions of pyinstaller on some platforms.

I’ve tried a couple of different work-around such as changing the requirements.txt value but then it produces other errors.

3498 INFO: checking PYZ
3501 INFO: Building PYZ because out00-PYZ.toc is non existent
3504 INFO: Building PYZ (ZlibArchive) /home/swood/src/spacebridge/build/spacebridge/out00-PYZ.pyz
Traceback (most recent call last):
  File "/home/swood/src/spacebridge/ve/bin/pyinstaller", line 8, in <module>
    sys.exit(run())
  File "/home/swood/src/spacebridge/ve/lib/python3.9/site-packages/PyInstaller/__main__.py", line 92, in run
    run_build(pyi_config, spec_file, **vars(args))
  File "/home/swood/src/spacebridge/ve/lib/python3.9/site-packages/PyInstaller/__main__.py", line 46, in run_build
    PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
  File "/home/swood/src/spacebridge/ve/lib/python3.9/site-packages/PyInstaller/building/build_main.py", line 791, in main
    build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
  File "/home/swood/src/spacebridge/ve/lib/python3.9/site-packages/PyInstaller/building/build_main.py", line 737, in build
    exec(text, spec_namespace)
  File "<string>", line 17, in <module>
  File "/home/swood/src/spacebridge/ve/lib/python3.9/site-packages/PyInstaller/building/api.py", line 98, in __init__
    self.__postinit__()
  File "/home/swood/src/spacebridge/ve/lib/python3.9/site-packages/PyInstaller/building/datastruct.py", line 161, in __postinit__
    self.assemble()
  File "/home/swood/src/spacebridge/ve/lib/python3.9/site-packages/PyInstaller/building/api.py", line 128, in assemble
    self.code_dict = {
  File "/home/swood/src/spacebridge/ve/lib/python3.9/site-packages/PyInstaller/building/api.py", line 129, in <dictcomp>
    key: strip_paths_in_code(code)
  File "/home/swood/src/spacebridge/ve/lib/python3.9/site-packages/PyInstaller/building/utils.py", line 624, in strip_paths_in_code
    consts = tuple(
  File "/home/swood/src/spacebridge/ve/lib/python3.9/site-packages/PyInstaller/building/utils.py", line 625, in <genexpr>
    strip_paths_in_code(const_co, new_filename)
  File "/home/swood/src/spacebridge/ve/lib/python3.9/site-packages/PyInstaller/building/utils.py", line 632, in strip_paths_in_code
    return code_func(co.co_argcount, co.co_kwonlyargcount, co.co_nlocals, co.co_stacksize,
TypeError: an integer is required (got type bytes)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.