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
Describe the bug
If the .desktop filename contains whitespace, distrobox-export command seems to get confused.
It will print a few error messages coming from grep and then it seems to just hang. At least I've given up waiting after 15 minutes.
To Reproduce
I have following files in one of the directories:
Expected behavior
Filenames containing whitespace are handled correctly.
Logs
adrian@vivado2018:~/praca$ distrobox-export --app vivado
grep: /home/adrian/.local/share/applications/Vivado: No such file or directory
grep: 2021.2: No such file or directory
grep: Tcl: No such file or directory
grep: Shell_1644315538624.desktop: No such file or directory
grep: /home/adrian/.local/share/applications/Vivado: No such file or directory
grep: 2021.2_1644315538630.desktop: No such file or directory
^C
Desktop (please complete the following information):
Ubuntu 22.04 with Docker installed from PPA.
Distrobox installed from git repo (cloned 07.04.2023)
Additional context
Possibly related to #694 as I've noticed both these issues at once.
The text was updated successfully, but these errors were encountered:
Before, the elements in the desktop-files variable were enumerated using
the "for desktop-file in ${desktop-files}" syntax, which splits
at every whitespace. This is replaced by a more cumbersome variant
splitting at newlines.
Fixes89luca89#693
Scafir
pushed a commit
to Scafir/distrobox
that referenced
this issue
May 3, 2023
Before, the elements in the desktop-files variable were enumerated using
the "for desktop-file in ${desktop-files}" syntax, which splits
at every whitespace. This is replaced by a more cumbersome variant
splitting at newlines.
Fixes89luca89#693
Before, the elements in the desktop-files variable were enumerated using
the "for desktop-file in ${desktop-files}" syntax, which splits
at every whitespace. This is replaced by a more cumbersome variant
splitting at newlines.
Fixes89luca89#693
Describe the bug
If the
.desktop
filename contains whitespace,distrobox-export
command seems to get confused.It will print a few error messages coming from
grep
and then it seems to just hang. At least I've given up waiting after 15 minutes.To Reproduce
I have following files in one of the directories:
Expected behavior
Filenames containing whitespace are handled correctly.
Logs
Desktop (please complete the following information):
Ubuntu 22.04 with Docker installed from PPA.
Distrobox installed from git repo (cloned 07.04.2023)
Additional context
Possibly related to #694 as I've noticed both these issues at once.
The text was updated successfully, but these errors were encountered: