hackerb9 / lsix

Like "ls", but for images. Shows thumbnails in terminal using sixel graphics.
GNU General Public License v3.0
4.03k stars 127 forks source link

WARNING: The convert command is deprecated in IMv7, use "magick" #77

Closed asm0dey closed 5 months ago

asm0dey commented 5 months ago

When I run the command on my arch I get many messages like the one in the subj

properCase commented 5 months ago

Came to report this, I get the same issue

hackerb9 commented 5 months ago

Thank you for the bug report. I believe this is fixed in the latest release, but please let me know if there are still problems.

properCase commented 5 months ago

It is still a problem. I upgraded to the latest version with brew upgrade lsix and also installed a fresh copy on a different computer and version 1.9 is still throwing the same error

hackerb9 commented 5 months ago

How odd. What does type -p magick return for you?

P.S. Are you sure Brew installed version 1.9? I didn't know it worked directly from the github release. When you say you installed a fresh copy, do you mean you downloaded the script by hand?

properCase commented 5 months ago

I just ran a brew upgrade lsix and it said the latest version of lsix was 1.9

type -p magick = magick is /opt/homebrew/bin/magick

==> lsix: stable 1.9 (bottled)
Shows thumbnails in terminal using sixel graphics
https://github.com/hackerb9/lsix
Installed
/opt/homebrew/Cellar/lsix/1.9 (6 files, 111KB) *
  Poured from bottle using the formulae.brew.sh API on 2024-06-10 at 14:30:14
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/l/lsix.rb
License: GPL-3.0-only
==> Dependencies
Required: bash ✔, imagemagick ✔
==> Analytics
install: 285 (30 days), 439 (90 days), 1,562 (365 days)
install-on-request: 285 (30 days), 439 (90 days), 1,562 (365 days)
build-error: 0 (30 days)
hackerb9 commented 5 months ago

Please try now. Turns out IM7 had deprecated using magick convert as well.

jiawen commented 5 months ago

Please try now. Turns out IM7 had deprecated using magick convert as well.

Working now! lsix on Homebrew is now at 1.9.1.

properCase commented 5 months ago

It works! Thank you @hackerb9 !