GNU bug report logs -
#51517
GNU ELPA - SVG badge broken
Previous Next
Reported by: tsuucat <tsuucat <at> icloud.com>
Date: Sat, 30 Oct 2021 17:20:02 UTC
Severity: normal
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 51517 in the body.
You can then email your comments to 51517 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#51517
; Package
emacs
.
(Sat, 30 Oct 2021 17:20:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
tsuucat <tsuucat <at> icloud.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 30 Oct 2021 17:20:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Recent built packages have broken badges.
The badge from https://elpa.gnu.org/packages/vertico.html is not broken.
(vertico 0.14, updated 2021-Aug-11)
The badge from https://elpa.gnu.org/packages/consult.html is broken.
(consult 0.12, updated 2021-Oct-11)
I read the broken badge (https://elpa.gnu.org/packages/consult.svg) and
elpa-admin.el. I suspect `elpaa--string-width` returns 0.
--
tsuucat
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#51517
; Package
emacs
.
(Sun, 31 Oct 2021 15:31:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 51517 <at> debbugs.gnu.org (full text, mbox):
tsuucat <tsuucat <at> icloud.com> writes:
> The badge from https://elpa.gnu.org/packages/vertico.html is not broken.
> (vertico 0.14, updated 2021-Aug-11)
>
> The badge from https://elpa.gnu.org/packages/consult.html is broken.
> (consult 0.12, updated 2021-Oct-11)
>
> I read the broken badge (https://elpa.gnu.org/packages/consult.svg) and
> elpa-admin.el. I suspect `elpaa--string-width` returns 0.
Perhaps Stefan has some insight here; added to the CCs.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#51517
; Package
emacs
.
(Sun, 31 Oct 2021 21:42:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 51517 <at> debbugs.gnu.org (full text, mbox):
Hi Daniel,
Lars Ingebrigtsen [2021-10-31 16:30:04] wrote:
> tsuucat <tsuucat <at> icloud.com> writes:
>> The badge from https://elpa.gnu.org/packages/vertico.html is not broken.
>> (vertico 0.14, updated 2021-Aug-11)
>> The badge from https://elpa.gnu.org/packages/consult.html is broken.
>> (consult 0.12, updated 2021-Oct-11)
>> I read the broken badge (https://elpa.gnu.org/packages/consult.svg) and
>> elpa-admin.el. I suspect `elpaa--string-width` returns 0.
> Perhaps Stefan has some insight here; added to the CCs.
I haven't had a chance to look at it yet, but this code is from Daniel,
so maybe he has an idea of what's going on?
Stefan
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#51517
; Package
emacs
.
(Sun, 31 Oct 2021 22:10:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 51517 <at> debbugs.gnu.org (full text, mbox):
Hi Stefan!
> Lars Ingebrigtsen [2021-10-31 16:30:04] wrote:
>> tsuucat <tsuucat <at> icloud.com> writes:
>>> The badge from https://elpa.gnu.org/packages/vertico.html is not broken.
>>> (vertico 0.14, updated 2021-Aug-11)
>>> The badge from https://elpa.gnu.org/packages/consult.html is broken.
>>> (consult 0.12, updated 2021-Oct-11)
>>> I read the broken badge (https://elpa.gnu.org/packages/consult.svg) and
>>> elpa-admin.el. I suspect `elpaa--string-width` returns 0.
>> Perhaps Stefan has some insight here; added to the CCs.
>
> I haven't had a chance to look at it yet, but this code is from Daniel,
> so maybe he has an idea of what's going on?
The code uses imagemagick "convert" to determine the width in pixels,
which is font dependent. So I assume something broke on the system -
update of the system package, or maybe imagemagick or the font was
removed. This part of the code is not exactly robust unfortunately - if
I recall correctly, you even had to install a few missing packages to
get this to work after I implemented the badges.
Daniel
Reply sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
You have taken responsibility.
(Wed, 24 Nov 2021 23:05:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
tsuucat <tsuucat <at> icloud.com>
:
bug acknowledged by developer.
(Wed, 24 Nov 2021 23:05:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 51517-done <at> debbugs.gnu.org (full text, mbox):
> The code uses imagemagick "convert" to determine the width in pixels,
> which is font dependent. So I assume something broke on the system -
> update of the system package, or maybe imagemagick or the font was
> removed.
Somehow the font was removed, indeed. So your crystal ball was right on
the money; sadly, I was too dense to figure out what to do with that info.
Stefan
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 23 Dec 2021 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 87 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.