Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "Error opening terminal: xterm-256color." error when launching #28

Merged
1 commit merged into from Jun 1, 2021

Conversation

brlin-tw
Copy link
Contributor

The snap lacks files from the ncurses-base package, which was not
shipped in the snap nor the ncurses-launch stage snap, causing the
error.

This patch also migrates to the new implementation of ncurses-launch
launcher, which dumps the source repository instead of using the built
stage-snap, which is no longer unsupported.

Fixes #23.

Signed-off-by: 林博仁(Buo-ren Lin) Buo.Ren.Lin@gmail.com

The snap lacks files from the ncurses-base package, which was not
shipped in the snap nor the ncurses-launch stage snap, causing the
error.

This patch also migrates to the new implementation of ncurses-launch
launcher, which dumps the source repository instead of using the built
stage-snap, which is no longer unsupported.

Fixes snapcrafters#23.

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
@brlin-tw
Copy link
Contributor Author

brlin-tw commented Apr 23, 2021

The CI failure doesn't seem to be related to the PR...:

Mount snap "snapcraft" (6350)                                                  |
25hsnapcraft 4.6.2 from Canonical✓ installed
snap "snapcraft" is already installed, see 'snap help refresh'
Executing: 'snap run snapcraft '
execv failed: Permission denied
Sending SIGTERM to remaining processes...
Sending SIGKILL to remaining processes...
chown: cannot access '': No such file or directory
Error: Process completed with exit code 1.

@diddledan Any thoughts?

@lucyllewy
Copy link
Member

I suspect the GitHub Actions script is broken - I've created a new PR #29 to hopefully fix it

@ghost ghost merged commit 4057b19 into snapcrafters:master Jun 1, 2021
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nano bails out with "Error opening terminal: xterm-256color."
2 participants