beyondcode / beyondcode/polyscope-community

[Bug]: `polyscope-server` fails with `exec format error`

Open
#56 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
20
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### Platform

macOS

### Operating system version

macOS Tahoe latest, headless Mac Mini

### System architecture

ARM64 (M1, M2, etc)

### PolyScope Version

Latest

### Bug description

I run this on a brand new Mac Mini:

```
curl -fsSL https://getpolyscope.com/install/server | bash
Downloading polyscope-server...

Installed polyscope-server to /Users/matthieu/.local/bin/polyscope-server

Next steps:
1. polyscope-server login # Authenticate with your Polyscope account
2. polyscope-server # Start the server

Tip: To keep polyscope-server running in the background, use a process
manager like supervisord or systemd. See our docs for details:
https://getpolyscope.com/docs/getting-started/standalone-server
```

Then:

```
polyscope-server login
zsh: exec format error: polyscope-server
```

- I checked that the file indeed exists (same result if I run it with the full path)
- the file is a binary (it is)
- tried re-installing just in case, same result
- I suspect it's installing the binary for the wrong CPU architecture? (per the error)

Note that I'm running the Polyscope Tauri app on the same machine without issues (I start it via a remote desktop), so I really think it's an issue with the binary file itself.

### Steps to reproduce

_No response_

### Relevant log output

```shell

```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the installer at https://getpolyscope.com/install/server and the installed /Users/matthieu/.local/bin/polyscope-server on an ARM64 Mac. Check how the download selects and packages the server binary, then verify that the installed binary can execute polyscope-server login successfully on macOS ARM64.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos
Domain
operating-systems, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.