beyondcode / beyondcode/polyscope-community

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

未关闭
#56 1 条评论 0 个 reaction 已指派 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

```

贡献指南

这个仓库没有索引到贡献指南

调研方向

从 ARM64 Mac 上的安装程序 https://getpolyscope.com/install/server 和已安装的 /Users/matthieu/.local/bin/polyscope-server 开始。检查下载如何选择和打包服务器二进制文件,然后验证已安装的二进制文件能否在 macOS ARM64 上成功执行 polyscope-server login。

由索引模型根据 Issue 内容生成。

评估

技术栈
macos
领域
operating-systems, release
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。