From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#59081: 28.2; Lisp Error:Invalid image type: 'svg' Date: Mon, 07 Nov 2022 08:25:33 +0800 Message-ID: <87zgd38vb6.fsf@yahoo.com> References: Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39356"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 59081@debbugs.gnu.org To: Thomas Bumbera Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 07 01:26:26 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1orpy4-000A4s-Us for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Nov 2022 01:26:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orpxl-0003Hg-Pu; Sun, 06 Nov 2022 19:26:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orpxj-0003HV-0p for bug-gnu-emacs@gnu.org; Sun, 06 Nov 2022 19:26:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1orpxi-0002l0-NC for bug-gnu-emacs@gnu.org; Sun, 06 Nov 2022 19:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1orpxi-0006fs-IF for bug-gnu-emacs@gnu.org; Sun, 06 Nov 2022 19:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Nov 2022 00:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59081 X-GNU-PR-Package: emacs Original-Received: via spool by 59081-submit@debbugs.gnu.org id=B59081.166778075625644 (code B ref 59081); Mon, 07 Nov 2022 00:26:02 +0000 Original-Received: (at 59081) by debbugs.gnu.org; 7 Nov 2022 00:25:56 +0000 Original-Received: from localhost ([127.0.0.1]:60933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orpxc-0006fW-6j for submit@debbugs.gnu.org; Sun, 06 Nov 2022 19:25:56 -0500 Original-Received: from sonic310-25.consmr.mail.ne1.yahoo.com ([66.163.186.206]:45085) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orpxW-0006fC-0P for 59081@debbugs.gnu.org; Sun, 06 Nov 2022 19:25:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1667780742; bh=P6Wsq77isDdMAMP6gbXXwfn6GbDWDN1ZhW0DG/vWjkM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=MG7kP7nXPII+dEx2A1To6CCk2TRHxtSxDYbcOZHfMcPjP25/Szw+kZv00soST++D4105Xmf+xUVRpQu193b/nPoh0BVQkc8V/+MUFEzqYRGuMI4+FfocGhRvRp1/QdT/X2o1CR41PbZKDnaL/JgOq8uHyBaUCnwTIVjK03S63Qss7jN+p/H+r8yxy3Lp6XjHBM13x/U6j+MeA7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Julc1O3kJJk_8H hwtf9WvTriDOWMb9xSIEaVbyS61SG8i90EaTPcEbCp301ATCs7QDktkXGvnjgUrAu7lJDOjDiz9S rxJEYdtTZeMfQpCJaLiqGbrO.vJLDcNN53wkqtYHLhsAB8d9mOU.8LJ121oVY7WSAS6NAAZPsSpQ 7dXvcxi4HhjvsDM0COG8.9WQMRx6bBHjIlfHtvQDztUPIBmSSWO58VSiRkhBdX35ycrmm3pidyfW 20z4S46TjB.bCQixTMtPXcc88D7NZxrp0vWtRH2AbpJg8vAyA1CKD3GHj1VFSw.FpjE5bYHgcGdO daF326FBlOmHMEqnUbBOMWbS2D25jRzNBH7YA97Nr6FAhJWYX26I_Bu0.n3qL.DNTSlVwDeVFEzo IJRHSE7cirxFLPjHEvhBiHskKUjzqQ29qZFGilltx_ X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Mon, 7 Nov 2022 00:25:42 +0000 Original-Received: by hermes--production-sg3-6c8895b545-66t5n (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 18717ffae87730c6d0b350e0a60b1382; Mon, 07 Nov 2022 00:25:39 +0000 (UTC) In-Reply-To: (Thomas Bumbera's message of "Sun, 6 Nov 2022 09:01:54 -0800") X-Mailer: WebService/1.1.20826 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247245 Archived-At: Thomas Bumbera writes: > To Whom it May Concern, > > > emacs-debug-on-error: > > clicked on emacs icon to start emacs. > emacs starts with error: in invalid image type:'svg' > > Note: Original configuration was error free using Apple MacOS Monterey 12. > Error showed - up after upgrade to Apple MacOS Ventura 13. > > Debugger entered--Lisp error: (error "Invalid image type =E2=80=98svg=E2= =80=99") > signal(error ("Invalid image type =E2=80=98svg=E2=80=99")) > error("Invalid image type `%s'" svg) > image-type("splash.svg" nil nil) > create-image("splash.svg") > use-fancy-splash-screens-p() > about-emacs() > funcall-interactively(about-emacs) > call-interactively(about-emacs nil nil) > command-execute(about-emacs) > read-from-minibuffer("M-x " nil (keymap (10 . minibuffer-complete-and-e= xit) (13 . minibuffer-complete-and-exit) keymap (menu-bar keymap (minibuf "= Minibuf" keymap (tab menu-item "Complete" minibuffer-complete :help "Comple= te as far as possible") (space menu-item "Complete Word" minibuffer-complet= e-word :help "Complete at most one word") (63 menu-item "List Completions" = minibuffer-completion-help :help "Display all possible completions") "Minib= uf")) (27 keymap (103 keymap (27 keymap (99 . switch-to-completions))) (118= . switch-to-completions)) (prior . switch-to-completions) (63 . minibuffer= -completion-help) (32 . minibuffer-complete-word) (9 . minibuffer-complete)= keymap (menu-bar keymap (minibuf "Minibuf" keymap (previous menu-item "Pre= vious History Item" previous-history-element :help "Put previous minibuffer= history element in the min...") (next menu-item "Next History Item" next-h= istory-element :help "Put next minibuffer history element in the minibuf...= ") (isearch-backward menu-item "Isearch History Backward" isearch-backward = :help "Incrementally search minibuffer history backward") (isearch-forward = menu-item "Isearch History Forward" isearch-forward :help "Incrementally se= arch minibuffer history forward") (return menu-item "Enter" exit-minibuffer= :key-sequence "\15" :help "Terminate input and exit minibuffer") (quit men= u-item "Quit" abort-recursive-edit :help "Abort input and exit minibuffer")= "Minibuf")) (13 . exit-minibuffer) (10 . exit-minibuffer) (7 . abort-minib= uffers) (C-tab . file-cache-minibuffer-complete) (9 . self-insert-command) = (XF86Back . previous-history-element) (up . previous-line-or-history-elemen= t) (prior . previous-history-element) (XF86Forward . next-history-element) = (down . next-line-or-history-element) (next . next-history-element) (27 key= map (60 . minibuffer-beginning-of-buffer) (114 . previous-matching-history-= element) (115 . next-matching-history-element) (112 . previous-history-elem= ent) (110 . next-history-element))) nil extended-command-history nil nil) > completing-read-default("M-x " #f(compiled-function (string pred action= ) #) #f(compiled-function (sym) #) t nil extended-command-history nil nil) > completing-read("M-x " #f(compiled-function (string pred action) #) #f(compiled-function (sym) #) t nil extended-command-history) > read-extended-command() > byte-code("\302\30\11\303 \10E)\207" [execute-extended-command--last-ty= ped current-prefix-arg nil read-extended-command] 3) > call-interactively(execute-extended-command nil nil) > command-execute(execute-extended-command) > Thanks. I had a chance to investigate this problem yesterday, as a colleague ran into the same problem. The problem is Mac OS native image APIs gained the ability to display SVG images in version 13, but the code to use them in Emacs was never finished. So if you built without librsvg, SVG images will not work (from the POV of create-image), but the splash screen code will think they are supported. This has already been fixed in Emacs 29. If you cherry-pick 5f8c655a44a0e7ad1fe6f8b23acb4e6c93dc72a6 and the immediately subsequent commit, it should start working again in Emacs 28.