Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

Pywal Run Problem

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
rafa_99
n00b
n00b
Posts: 18
Joined: Mon Feb 10, 2020 7:26 pm

Pywal Run Problem

  • Quote

Post by rafa_99 » Wed Apr 01, 2020 12:37 am

Did anyone managed to install pywal with success?
I used

Code: Select all

 pip3 install --user pywal 
and it installed sucessfully, the problem is when I try to run it on a image, I get the following error

Code: Select all

$ wal -i wallpaper.jpg

[I] image: Using image wallpaper.jpg.
[I] colors: Generating a colorscheme.
[I] colors: Using wal backend.
convert: no decode delegate for this image format `JPG' @ error/constitute.c/ReadImage/562.
convert: no images defined `txt:-' @ error/convert.c/ConvertImageCommand/3282.
Traceback (most recent call last):
  File "/home/rafael/.local/bin/wal", line 11, in <module>
    load_entry_point('pywal==3.3.0', 'console_scripts', 'wal')()
  File "/home/rafael/.local/lib64/python3.6/site-packages/pywal/__main__.py", line 208, in main
    parse_args(parser)
  File "/home/rafael/.local/lib64/python3.6/site-packages/pywal/__main__.py", line 164, in parse_args
    sat=args.saturate)
  File "/home/rafael/.local/lib64/python3.6/site-packages/pywal/colors.py", line 144, in get
    colors = getattr(backend, "get")(img, light)
  File "/home/rafael/.local/lib64/python3.6/site-packages/pywal/backends/wal.py", line 86, in get
    colors = gen_colors(img)
  File "/home/rafael/.local/lib64/python3.6/site-packages/pywal/backends/wal.py", line 41, in gen_colors
    raw_colors = imagemagick(16 + i, img, magick_command)
  File "/home/rafael/.local/lib64/python3.6/site-packages/pywal/backends/wal.py", line 19, in imagemagick
    return subprocess.check_output([*magick_command, img, *flags]).splitlines()
  File "/usr/lib64/python3.6/subprocess.py", line 356, in check_output
    **kwargs).stdout
  File "/usr/lib64/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['magick', 'convert', '/home/rafael/.config/wallpaper/wallpaper.jpg[0]', '-resize', '25%', '-colors', '16', '-unique-colors', 'txt:-']' returned non-zero exit status 1.
Can anyone help me?
Top
Hu
Administrator
Administrator
Posts: 24391
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Wed Apr 01, 2020 1:52 am

Please look up what package provides the program magick, then post the output of emerge --pretend --verbose package-that-provides-magick. If I were to guess, you built that package without jpeg support.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Apr 01, 2020 7:42 am

Hu wrote:Please look up what package provides the program magick, then post the output of emerge --pretend --verbose package-that-provides-magick. If I were to guess, you built that package without jpeg support.
Package is media-gfx/imagemagick
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Makersmarx
n00b
n00b
User avatar
Posts: 58
Joined: Sat Feb 16, 2019 12:32 am
Location: Costa Rica

  • Quote

Post by Makersmarx » Wed Apr 01, 2020 12:18 pm

I use pywal from the overlay listed below (thanks ricerlay!) with no issues.

https://github.com/azahi/ricerlay

https://gentoo.zugaina.org/x11-misc/pywal
Pura Vida
Top
rafa_99
n00b
n00b
Posts: 18
Joined: Mon Feb 10, 2020 7:26 pm

  • Quote

Post by rafa_99 » Wed Apr 01, 2020 9:14 pm

Hu wrote:Please look up what package provides the program magick, then post the output of emerge --pretend --verbose package-that-provides-magick. If I were to guess, you built that package without jpeg support.
I had imagemagick with jpeg png and jpeg2k flags toggled on in my package.use, I've now enabled them in my make.conf and I'm going to update my system to see if that works
Top
rafa_99
n00b
n00b
Posts: 18
Joined: Mon Feb 10, 2020 7:26 pm

  • Quote

Post by rafa_99 » Wed Apr 01, 2020 9:16 pm

Makersmarx wrote:I use pywal from the overlay listed below (thanks ricerlay!) with no issues.

https://github.com/azahi/ricerlay

https://gentoo.zugaina.org/x11-misc/pywal
I also used it, but got the same problem =\
Top
rafa_99
n00b
n00b
Posts: 18
Joined: Mon Feb 10, 2020 7:26 pm

  • Quote

Post by rafa_99 » Wed Apr 01, 2020 9:41 pm

Ok, looks like putting that jpeg png and jpeg2k inside of make.conf and recompiling all the packages depending on those 3 flags did the work, thanks everyone :)
Top
Post Reply

7 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic