You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for taking the time to file this issue! Please follow the instructions and fill the missing parts below the instructions, if it is meaningful. Try to be brief and concise.
In Case of Graphical or Performance Issues
Delete the contents of /tmp/zellij-1000/zellij-log, ie with cd /tmp/zellij-1000/ and rm -fr zellij-log/
Run zellij --debug
Recreate your issue.
Quit Zellij immediately with ctrl-q (your bug should ideally still be visible on screen)
Please attach the files that were created in /tmp/zellij-1000/zellij-log/ to the extent you are comfortable with.
List of programs you interact with as, PROGRAM --version: output cropped meaningful, for example: nvim --version: NVIM v0.5.0-dev+1299-g1c2e504d5 (used the appimage release) alacritty --version: alacritty 0.7.2 (5ac8060b)
Further information
To reproduce, run the following:
❯ cp ~/.config/zellij/config.yaml ~/.config/zellij/config.yaml.bak # remove existing config if it exists
❯ touch ~/.config/zellij/config.yaml # create empty config file
❯ zellij -s session-name # create new sesion
Deserialization error: EOF while parsing a value
The text was updated successfully, but these errors were encountered:
Thank you @conveen for taking the time filing this issue!
Do you believe that we should ignore this error?
Since an empty file is invalid yaml we don't hande that yet.
a-kenji
added a commit
to a-kenji/zellij
that referenced
this issue
Sep 14, 2021
Fixzellij-org#714
Allow empty `config` and `layout` files
- Currently empty files are parsed as yaml documents, since they
are empty they are invalid yaml files and a deseralization error would
follow.
Now we ignore the incorrect yaml on an empty document and treat it as
an empty yaml document.
Eg:
```
```
and
```
---
```
Are now treated equally.
Alternative: Keep treating the files as `yaml` documents.
Fix#714
Allow empty `config` and `layout` files
- Currently empty files are parsed as yaml documents, since they
are empty they are invalid yaml files and a deseralization error would
follow.
Now we ignore the incorrect yaml on an empty document and treat it as
an empty yaml document.
Eg:
```
```
and
```
---
```
Are now treated equally.
Alternative: Keep treating the files as `yaml` documents.
Thank you for taking the time to file this issue! Please follow the instructions and fill the missing parts below the instructions, if it is meaningful. Try to be brief and concise.
In Case of Graphical or Performance Issues
/tmp/zellij-1000/zellij-log
, ie withcd /tmp/zellij-1000/
andrm -fr zellij-log/
zellij --debug
Please attach the files that were created in
/tmp/zellij-1000/zellij-log/
to the extent you are comfortable with.Basic information
zellij --version
:zellij 0.16.0
tput lines
:46
tput cols
:189
uname -av
orver
(Windows):Linux <hostname> 5.11.0-7633-generic #35~1630100930~20.04~ae2753e-Ubuntu SMP <timestamp> x86_64 x86_64 x86_64 GNU/Linux
List of programs you interact with as,
PROGRAM --version
: output cropped meaningful, for example:nvim --version
: NVIM v0.5.0-dev+1299-g1c2e504d5 (used the appimage release)alacritty --version
: alacritty 0.7.2 (5ac8060b)Further information
To reproduce, run the following:
The text was updated successfully, but these errors were encountered: