canonical / canonical/jhack

Jhack set config fails with redirection (using snap)

Open
#202 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
60
Forks
31
Avg merge
2d 15h
Merged PRs (30d)
1

Description

### Bug Description

Unable to write to config.toml on fresh snap install of Jhack

### To Reproduce

```
sudo snap install jhack
jhack conf destructive > ~/.config/jhack/config.toml
```

### Environment

Version:
`jhack 0.4.4.0.2 --DEVMODE--`

### Relevant log output

```shell
Exception ignored in: <_io.TextIOWrapper name='' mode='w' encoding='utf-8'>
OSError: [Errno 9] Bad file descriptor
```

### Additional context

`jhack conf destructive | tee ~/.config/jhack/config.toml` works

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.