Skip to content

OpenBSD not supported #707

@anoduck

Description

@anoduck

Describe the bug
Installed without a hitch using both pipx and then eventually standard pip3. Went to perform the linking of the account, and then received the error of platform not supported. Which usually means, it is missing a reference in the code.

Traceback (most recent call last):
  File "/usr/local/bin/maestral", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/maestral/cli/common.py", line 102, in wrapper
    proxy = ctx.with_resource(MaestralProxy(config_name, fallback=fallback))
  File "/usr/local/lib/python3.9/site-packages/maestral/daemon.py", line 649, in __init__
    if is_running(config_name):
  File "/usr/local/lib/python3.9/site-packages/maestral/daemon.py", line 336, in is_running
    return maestral_lock(config_name).locked()
  File "/usr/local/lib/python3.9/site-packages/maestral/daemon.py", line 291, in maestral_lock
    path = get_runtime_path("maestral")
  File "/usr/local/lib/python3.9/site-packages/maestral/utils/appdirs.py", line 206, in get_runtime_path
    raise RuntimeError("Platform not supported")
RuntimeError: Platform not supported

To Reproduce
Highly probable the error occurred due to missing a reference of OpenBSD as a platform option. So, to reproduce, attempt to install and run inside OpenBSD.

Expected behaviour
There is no reason this program, especially the cli, should not be able to run on OpenBSD. The official dropbox client does not run on OpenBSD, so maestral is needed.

System:

  • Maestral version: 1.6.3
  • Python version: 3.9.13
  • OS: OpenBSD SnapShot CURRENT
  • Desktop environment: i3
  • PyQt version (for Linux GUI): 5.15.6

Additional context
I tried twice to get the gui installed, and maestral never recognized the gui packages were installed.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions