beyondcode / beyondcode/polyscope-community

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

Đang mở
#56 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
20
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu với trình cài đặt tại https://getpolyscope.com/install/server và /Users/matthieu/.local/bin/polyscope-server đã được cài đặt trên một máy Mac ARM64. Kiểm tra cách quá trình tải xuống lựa chọn và đóng gói binary của server, sau đó xác minh rằng binary đã cài đặt có thể thực thi polyscope-server login thành công trên macOS ARM64.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
macos
Lĩnh vực
operating-systems, release
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.