[GH-ISSUE #19] Imagemagick should be an optional dependency (currently mandatory) #18

Closed
opened 2026-03-04 12:23:52 +03:00 by kerem · 3 comments
Owner

Originally created by @wilsonHodgson on GitHub (Sep 10, 2020).
Original GitHub issue: https://github.com/cascadium/wsl-windows-toolbar-launcher/issues/19

I encountered an error when attempting to install this software to windows.

The python application seems to have installed fine from the Ubuntu repos.
my process to install on Ubuntu 20.04 using the WSL2 vm was
pip3 install wsl-windows-toolbar

I get this error, maybe having to do with windows permissions? The windows toolbar doesn't appear in my C:\User\Username.config folder

wilson@DESKTOP-EASON6P:~$ wsl-windows-toolbar
2020-09-10 15:29:40,101[WARNING]: Could not find cairosvg - will not be able to convert svg
2020-09-10 15:29:40,132[WARNING]: Could not find imagemagick - some xpm icons may not convert correctly
2020-09-10 15:29:40,139[INFO]: distribution = Ubuntu-20.04
2020-09-10 15:29:40,140[INFO]: user = wilson
2020-09-10 15:29:40,140[INFO]: confirm_yes = False
2020-09-10 15:29:40,140[INFO]: menu_file = /etc/xdg/menus/gnome-applications.menu
2020-09-10 15:29:40,140[INFO]: wsl_executable = C:\Windows\System32\wsl.exe
2020-09-10 15:29:40,140[INFO]: target_name = WSL
2020-09-10 15:29:40,140[INFO]: preferred_theme = Adwaita
2020-09-10 15:29:40,140[INFO]: alternative_theme = ('Papirus', 'Humanity', 'elementary-xfce')
2020-09-10 15:29:40,141[INFO]: jinja_template_batch = None
2020-09-10 15:29:40,141[INFO]: jinja_template_shell = None
2020-09-10 15:29:40,141[INFO]: rc_file = /home/wilson/.bashrc
2020-09-10 15:29:40,141[INFO]: has_imagemagick = False
2020-09-10 15:29:40,141[INFO]: has_cairosvg = False
2020-09-10 15:29:40,141[INFO]: launch_directory = /home/wilson
2020-09-10 15:29:40,212[ERROR]: The convert application must be in the current user's executable path.

any help to get this running would be much appreciated.

Originally created by @wilsonHodgson on GitHub (Sep 10, 2020). Original GitHub issue: https://github.com/cascadium/wsl-windows-toolbar-launcher/issues/19 I encountered an error when attempting to install this software to windows. The python application seems to have installed fine from the Ubuntu repos. my process to install on Ubuntu 20.04 using the WSL2 vm was ```pip3 install wsl-windows-toolbar``` I get this error, maybe having to do with windows permissions? The windows toolbar doesn't appear in my C:\User\Username\.config folder ``` wilson@DESKTOP-EASON6P:~$ wsl-windows-toolbar 2020-09-10 15:29:40,101[WARNING]: Could not find cairosvg - will not be able to convert svg 2020-09-10 15:29:40,132[WARNING]: Could not find imagemagick - some xpm icons may not convert correctly 2020-09-10 15:29:40,139[INFO]: distribution = Ubuntu-20.04 2020-09-10 15:29:40,140[INFO]: user = wilson 2020-09-10 15:29:40,140[INFO]: confirm_yes = False 2020-09-10 15:29:40,140[INFO]: menu_file = /etc/xdg/menus/gnome-applications.menu 2020-09-10 15:29:40,140[INFO]: wsl_executable = C:\Windows\System32\wsl.exe 2020-09-10 15:29:40,140[INFO]: target_name = WSL 2020-09-10 15:29:40,140[INFO]: preferred_theme = Adwaita 2020-09-10 15:29:40,140[INFO]: alternative_theme = ('Papirus', 'Humanity', 'elementary-xfce') 2020-09-10 15:29:40,141[INFO]: jinja_template_batch = None 2020-09-10 15:29:40,141[INFO]: jinja_template_shell = None 2020-09-10 15:29:40,141[INFO]: rc_file = /home/wilson/.bashrc 2020-09-10 15:29:40,141[INFO]: has_imagemagick = False 2020-09-10 15:29:40,141[INFO]: has_cairosvg = False 2020-09-10 15:29:40,141[INFO]: launch_directory = /home/wilson 2020-09-10 15:29:40,212[ERROR]: The convert application must be in the current user's executable path. ``` any help to get this running would be much appreciated.
kerem closed this issue 2026-03-04 12:23:52 +03:00
Author
Owner

@fquinner commented on GitHub (Sep 10, 2020):

Hi there! Yeah you'll need to install imagemagick too its usually just a case of

apt install imagemagick
<!-- gh-comment-id:690773032 --> @fquinner commented on GitHub (Sep 10, 2020): Hi there! Yeah you'll need to install imagemagick too its usually just a case of apt install imagemagick
Author
Owner

@wilsonHodgson commented on GitHub (Sep 10, 2020):

thanks for the quick response! This solves it!

<!-- gh-comment-id:690780104 --> @wilsonHodgson commented on GitHub (Sep 10, 2020): thanks for the quick response! This solves it!
Author
Owner

@fquinner commented on GitHub (Nov 29, 2020):

Made more forgiving in 0.6.0 :)

<!-- gh-comment-id:735431232 --> @fquinner commented on GitHub (Nov 29, 2020): Made more forgiving in 0.6.0 :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/wsl-windows-toolbar-launcher#18
No description provided.