beyondcode / beyondcode/polyscope-community

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

オープン
#56 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
言語のデータがありません
スター
20
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

### 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

```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
macos
領域
operating-systems, release
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。