canonical / canonical/opencode-snap

Cannot submit prompts with rev227

Open
#81 7 comments 0 reactions 1 assignee Claimed by @zyga View on GitHub
bug
Dominant language
Shell
Stars
4
Forks
3
Avg merge
1d 3h
Merged PRs (30d)
16

Description

Today the snap refreshed to revision 227 and it stopped working.

I reverted to revision 217 that was installed before that, which is still working, excluding potential permission problems (even though it didn't change).

I am able to select a model from the providers I am using (openrouter and ollama), but submitting a prompt fails immediately showing on screen:
```
Failed to send prompt
Unexpected server error. Check server logs for details.
```

I ran it with `opencode --print-logs --log-level DEBUG` and captured stderr, which is attached here.

[opencode.log](https://github.com/user-attachments/files/32064299/opencode.log)

The [upstream binary for v1.18.30](https://github.com/anomalyco/opencode/releases/download/v1.18.30/opencode-linux-x64.tar.gz) (the version packaged in rev227) works, so the issue appears to lie in the snap packaging itself.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.