* bug#45940: Emacs in macOS: Failed to initialise color... @ 2021-01-17 16:07 salvomicciche` 2021-01-17 20:25 ` Andrii Kolomoiets 0 siblings, 1 reply; 16+ messages in thread From: salvomicciche` @ 2021-01-17 16:07 UTC (permalink / raw) To: 45940 [-- Attachment #1: Type: text/plain, Size: 656 bytes --] hi, this is not a bug, but still in macOS Big Sur and Emacs 27.x, launching the program I get this warning in Terminal: «2021-01-17 17:06:27.652 Emacs-x86_64-10_14[22323:300752] Failed to initialize color list unarchiver: Error Domain=NSCocoaErrorDomain Code=4864 "*** -[NSKeyedUnarchiver _initForReadingFromData:error:throwLegacyExceptions:]: non-keyed archive cannot be decoded by NSKeyedUnarchiver" UserInfo={NSDebugDescription=*** -[NSKeyedUnarchiver _initForReadingFromData:error:throwLegacyExceptions:]: non-keyed archive cannot be decoded by NSKeyedUnarchiver}» Please, help to ride off this warning, thank you. Salvo Micciché, Sicily [-- Attachment #2: Type: text/html, Size: 1161 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#45940: Emacs in macOS: Failed to initialise color... 2021-01-17 16:07 bug#45940: Emacs in macOS: Failed to initialise color salvomicciche` @ 2021-01-17 20:25 ` Andrii Kolomoiets 2021-01-19 4:51 ` Lars Ingebrigtsen 0 siblings, 1 reply; 16+ messages in thread From: Andrii Kolomoiets @ 2021-01-17 20:25 UTC (permalink / raw) To: salvomicciche`; +Cc: 45940 salvomicciche` <salvo@biancavela.it> writes: > hi, > this is not a bug, but still in macOS Big Sur and Emacs 27.x, > launching the program I get this warning in Terminal: «2021-01-17 > 17:06:27.652 Emacs-x86_64-10_14[22323:300752] Failed to initialize > color list unarchiver: Error Domain=NSCocoaErrorDomain Code=4864 "*** > -[NSKeyedUnarchiver > _initForReadingFromData:error:throwLegacyExceptions:]: non-keyed > archive cannot be decoded by NSKeyedUnarchiver" > UserInfo={NSDebugDescription=*** -[NSKeyedUnarchiver > _initForReadingFromData:error:throwLegacyExceptions:]: non-keyed > archive cannot be decoded by NSKeyedUnarchiver}» > > Please, help to ride off this warning, thank you. See Bug#32854 https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32854 ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#45940: Emacs in macOS: Failed to initialise color... 2021-01-17 20:25 ` Andrii Kolomoiets @ 2021-01-19 4:51 ` Lars Ingebrigtsen [not found] ` <C23804F8-A99C-48E7-AE39-BB7281E6E594@biancavela.it> 0 siblings, 1 reply; 16+ messages in thread From: Lars Ingebrigtsen @ 2021-01-19 4:51 UTC (permalink / raw) To: Andrii Kolomoiets; +Cc: 45940, salvomicciche` Andrii Kolomoiets <andreyk.mad@gmail.com> writes: > See Bug#32854 > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32854 So the suggestion there was: > What I’d suggest to Evan is to delete the colour file, as it’s > possible Emacs 26.1 has left a corrupt version: > > rm $HOME/Library/Colors/Emacs.clr > > Then restart Emacs twice. The first time it will recreate the file and > probably not emit any error, the second time should let us know if the > error has gone. Salvo, does this solve the problem for you, too? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no ^ permalink raw reply [flat|nested] 16+ messages in thread
[parent not found: <C23804F8-A99C-48E7-AE39-BB7281E6E594@biancavela.it>]
* bug#45940: Emacs in macOS: Failed to initialise color... [not found] ` <C23804F8-A99C-48E7-AE39-BB7281E6E594@biancavela.it> @ 2021-01-19 7:17 ` Lars Ingebrigtsen 2021-01-19 7:22 ` salvomicciche` 0 siblings, 1 reply; 16+ messages in thread From: Lars Ingebrigtsen @ 2021-01-19 7:17 UTC (permalink / raw) To: salvomicciche`; +Cc: 45940 (Please keep the debbugs address in the CCs -- otherwise the bug tracker won't receive the message. Resent for the bug tracker.) salvomicciche` <salvo@biancavela.it> writes: > Andrii, sorry, but the hint > > «rm $HOME/Library/Colors/Emacs.clr > Then restart Emacs twice. The first time it will recreate the file and > probably not emit any error, the second time should let us know if the > error has gone» > doesn’t solve my problem. After deleting that file and restarted Emacs, here the program re-create that file (Emacs.clr) again and the message won’t go off. > > Thanks for help, best regards, > Salvo > > Il giorno 19 gen 2021, alle ore 05:51, Lars Ingebrigtsen <larsi@gnus.org> ha > scritto: > > Andrii Kolomoiets <andreyk.mad@gmail.com> writes: > > See Bug#32854 > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32854 > > So the suggestion there was: > > What I’d suggest to Evan is to delete the colour file, as it’s > possible Emacs 26.1 has left a corrupt version: > > rm $HOME/Library/Colors/Emacs.clr > > Then restart Emacs twice. The first time it will recreate the file and > probably not emit any error, the second time should let us know if the > error has gone. > > Salvo, does this solve the problem for you, too? > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#45940: Emacs in macOS: Failed to initialise color... 2021-01-19 7:17 ` Lars Ingebrigtsen @ 2021-01-19 7:22 ` salvomicciche` 2021-01-19 7:28 ` Lars Ingebrigtsen 2021-01-19 20:41 ` Alan Third 0 siblings, 2 replies; 16+ messages in thread From: salvomicciche` @ 2021-01-19 7:22 UTC (permalink / raw) To: Lars Ingebrigtsen; +Cc: 45940 [-- Attachment #1: Type: text/plain, Size: 1665 bytes --] oh, sorry, Lars… here a screenshot of the issue and the things I tried… Have a nice day, Salvo > Il giorno 19 gen 2021, alle ore 08:17, Lars Ingebrigtsen <larsi@gnus.org> ha scritto: > > (Please keep the debbugs address in the CCs -- otherwise the bug tracker > won't receive the message. Resent for the bug tracker.) > > salvomicciche` <salvo@biancavela.it> writes: > >> Andrii, sorry, but the hint >> >> «rm $HOME/Library/Colors/Emacs.clr >> Then restart Emacs twice. The first time it will recreate the file and >> probably not emit any error, the second time should let us know if the >> error has gone» >> doesn’t solve my problem. After deleting that file and restarted Emacs, here the program re-create that file (Emacs.clr) again and the message won’t go off. >> >> Thanks for help, best regards, >> Salvo >> >> Il giorno 19 gen 2021, alle ore 05:51, Lars Ingebrigtsen <larsi@gnus.org> ha >> scritto: >> >> Andrii Kolomoiets <andreyk.mad@gmail.com> writes: >> >> See Bug#32854 >> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32854 >> >> So the suggestion there was: >> >> What I’d suggest to Evan is to delete the colour file, as it’s >> possible Emacs 26.1 has left a corrupt version: >> >> rm $HOME/Library/Colors/Emacs.clr >> >> Then restart Emacs twice. The first time it will recreate the file and >> probably not emit any error, the second time should let us know if the >> error has gone. >> >> Salvo, does this solve the problem for you, too? >> >> -- >> (domestic pets only, the antidote for overdose, milk.) >> bloggy blog: http://lars.ingebrigtsen.no [-- Attachment #2.1: Type: text/html, Size: 3088 bytes --] [-- Attachment #2.2: emacs issue clr.jpg --] [-- Type: image/jpeg, Size: 653511 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#45940: Emacs in macOS: Failed to initialise color... 2021-01-19 7:22 ` salvomicciche` @ 2021-01-19 7:28 ` Lars Ingebrigtsen 2021-01-19 7:32 ` salvomicciche` 2021-01-19 20:41 ` Alan Third 1 sibling, 1 reply; 16+ messages in thread From: Lars Ingebrigtsen @ 2021-01-19 7:28 UTC (permalink / raw) To: salvomicciche`; +Cc: 45940 salvomicciche` <salvo@biancavela.it> writes: > here a screenshot of the issue and the things I tried… The first line shows that you don't have a $HOME/Library/Colors/Emacs.clr file, so presumably Emacs has written it somewhere else? Can you find the Emacs.clr file on your computer, delete it and see whether that helps? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#45940: Emacs in macOS: Failed to initialise color... 2021-01-19 7:28 ` Lars Ingebrigtsen @ 2021-01-19 7:32 ` salvomicciche` 2021-01-19 7:36 ` Lars Ingebrigtsen 0 siblings, 1 reply; 16+ messages in thread From: salvomicciche` @ 2021-01-19 7:32 UTC (permalink / raw) To: Lars Ingebrigtsen; +Cc: 45940 [-- Attachment #1: Type: text/plain, Size: 703 bytes --] the file is here in ~salvo/Library/Emacs.clr I removed it, then restarted Emacs twice, the file now is still there… Salvo > Il giorno 19 gen 2021, alle ore 08:28, Lars Ingebrigtsen <larsi@gnus.org> ha scritto: > > salvomicciche` <salvo@biancavela.it> writes: > >> here a screenshot of the issue and the things I tried… > > The first line shows that you don't have a > > $HOME/Library/Colors/Emacs.clr > > file, so presumably Emacs has written it somewhere else? Can you find > the Emacs.clr file on your computer, delete it and see whether that helps? > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no [-- Attachment #2.1: Type: text/html, Size: 1699 bytes --] [-- Attachment #2.2: emacs-clr library.jpg --] [-- Type: image/jpeg, Size: 21360 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#45940: Emacs in macOS: Failed to initialise color... 2021-01-19 7:32 ` salvomicciche` @ 2021-01-19 7:36 ` Lars Ingebrigtsen 2021-01-19 7:37 ` salvomicciche` 0 siblings, 1 reply; 16+ messages in thread From: Lars Ingebrigtsen @ 2021-01-19 7:36 UTC (permalink / raw) To: salvomicciche`; +Cc: 45940 salvomicciche` <salvo@biancavela.it> writes: > the file is here in ~salvo/Library/Emacs.clr > I removed it, then restarted Emacs twice, the file now is still there… Yes, Emacs is supposed to recreate it. But do you still get the error message now? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#45940: Emacs in macOS: Failed to initialise color... 2021-01-19 7:36 ` Lars Ingebrigtsen @ 2021-01-19 7:37 ` salvomicciche` 2021-01-19 11:22 ` salvomicciche` 0 siblings, 1 reply; 16+ messages in thread From: salvomicciche` @ 2021-01-19 7:37 UTC (permalink / raw) To: Lars Ingebrigtsen; +Cc: 45940 yes, after then Emacs recreate the file. > Il giorno 19 gen 2021, alle ore 08:36, Lars Ingebrigtsen <larsi@gnus.org> ha scritto: > > salvomicciche` <salvo@biancavela.it> writes: > >> the file is here in ~salvo/Library/Emacs.clr >> I removed it, then restarted Emacs twice, the file now is still there… > > Yes, Emacs is supposed to recreate it. But do you still get the error > message now? > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#45940: Emacs in macOS: Failed to initialise color... 2021-01-19 7:37 ` salvomicciche` @ 2021-01-19 11:22 ` salvomicciche` 0 siblings, 0 replies; 16+ messages in thread From: salvomicciche` @ 2021-01-19 11:22 UTC (permalink / raw) To: Lars Ingebrigtsen; +Cc: 45940 hi, I must precise that I’ve two emacs: text mode in Homebrew and graphic mode with “https://emacsformacosx.com” version 27.1. This is the app that generate the error. I cannot succeed to install emacs in graphic mode with Homebrew (Cask), any help? Thanks in advance. Salvo > Il giorno 19 gen 2021, alle ore 08:37, salvomicciche` <salvo@biancavela.it> ha scritto: > > yes, after then Emacs recreate the file. > >> Il giorno 19 gen 2021, alle ore 08:36, Lars Ingebrigtsen <larsi@gnus.org> ha scritto: >> >> salvomicciche` <salvo@biancavela.it> writes: >> >>> the file is here in ~salvo/Library/Emacs.clr >>> I removed it, then restarted Emacs twice, the file now is still there… >> >> Yes, Emacs is supposed to recreate it. But do you still get the error >> message now? >> >> -- >> (domestic pets only, the antidote for overdose, milk.) >> bloggy blog: http://lars.ingebrigtsen.no > ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#45940: Emacs in macOS: Failed to initialise color... 2021-01-19 7:22 ` salvomicciche` 2021-01-19 7:28 ` Lars Ingebrigtsen @ 2021-01-19 20:41 ` Alan Third 2021-01-19 20:52 ` salvomicciche` 1 sibling, 1 reply; 16+ messages in thread From: Alan Third @ 2021-01-19 20:41 UTC (permalink / raw) To: salvomicciche`; +Cc: 45940, Lars Ingebrigtsen On Tue, Jan 19, 2021 at 08:22:55AM +0100, salvomicciche` wrote: > oh, sorry, Lars… > here a screenshot of the issue and the things I tried… That error is only produced when reading the file. If Emacs.clr has been deleted then Emacs can't read it, because it doesn't exist, so it shouldn't produce any error. It does write the file out, but that's very clearly an error on read. My money would be on a rogue .clr file from some other application being at fault here. Are there other files in ~/Library/Colors/? If you delete them, or move them elsewhere temporarily, does the problem go away? -- Alan Third ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#45940: Emacs in macOS: Failed to initialise color... 2021-01-19 20:41 ` Alan Third @ 2021-01-19 20:52 ` salvomicciche` 2021-01-19 23:06 ` Alan Third 0 siblings, 1 reply; 16+ messages in thread From: salvomicciche` @ 2021-01-19 20:52 UTC (permalink / raw) To: Alan Third; +Cc: 45940, Lars Ingebrigtsen [-- Attachment #1: Type: text/plain, Size: 408 bytes --] thank you, Alan, your solution worked! It was a file, really: PANTONE+ Solid Uncoated-V2.clr (attached here, data: 2016). If I remove this Emacs generate its file and no error or warning happens. If think I could remove the files, as I’ve also another file, PANTONE+ Solid Uncoated-V3.clr (2019) that should be the replacement… Now Emacs doesn’t generate the warning. Thanks again, Salvo [-- Attachment #2: PANTONE+ Solid Uncoated-V2.clr --] [-- Type: application/octet-stream, Size: 71691 bytes --] [-- Attachment #3: Type: text/plain, Size: 753 bytes --] > Il giorno 19 gen 2021, alle ore 21:41, Alan Third <alan@idiocy.org> ha scritto: > > On Tue, Jan 19, 2021 at 08:22:55AM +0100, salvomicciche` wrote: >> oh, sorry, Lars… >> here a screenshot of the issue and the things I tried… > > That error is only produced when reading the file. If Emacs.clr has > been deleted then Emacs can't read it, because it doesn't exist, so it > shouldn't produce any error. > > It does write the file out, but that's very clearly an error on read. > > My money would be on a rogue .clr file from some other application > being at fault here. Are there other files in ~/Library/Colors/? If > you delete them, or move them elsewhere temporarily, does the problem > go away? > -- > Alan Third ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#45940: Emacs in macOS: Failed to initialise color... 2021-01-19 20:52 ` salvomicciche` @ 2021-01-19 23:06 ` Alan Third 2021-01-20 1:47 ` Lars Ingebrigtsen 0 siblings, 1 reply; 16+ messages in thread From: Alan Third @ 2021-01-19 23:06 UTC (permalink / raw) To: salvomicciche`; +Cc: 45940, Lars Ingebrigtsen On Tue, Jan 19, 2021 at 09:52:43PM +0100, salvomicciche` wrote: > thank you, Alan, > your solution worked! > It was a file, really: PANTONE+ Solid Uncoated-V2.clr (attached here, data: 2016). > If I remove this Emacs generate its file and no error or warning happens. > If think I could remove the files, as I’ve also another file, PANTONE+ Solid Uncoated-V3.clr (2019) that should be the replacement… > > Now Emacs doesn’t generate the warning. Excellent, thanks for letting us know. I think Apple changed the format of the files a while back, which is what caused us our first problems with this. Emacs 28 will already rebuild the Emacs.clr file if it's incorrect, but other files are out of our control, so I suppose the right thing for Emacs to do here is to silently ignore errors. -- Alan Third ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#45940: Emacs in macOS: Failed to initialise color... 2021-01-19 23:06 ` Alan Third @ 2021-01-20 1:47 ` Lars Ingebrigtsen 2021-01-23 10:44 ` Alan Third 0 siblings, 1 reply; 16+ messages in thread From: Lars Ingebrigtsen @ 2021-01-20 1:47 UTC (permalink / raw) To: Alan Third; +Cc: 45940, salvomicciche` Alan Third <alan@idiocy.org> writes: > Emacs 28 will already rebuild the Emacs.clr file if it's incorrect, > but other files are out of our control, so I suppose the right thing > for Emacs to do here is to silently ignore errors. Sounds like a good idea to me. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#45940: Emacs in macOS: Failed to initialise color... 2021-01-20 1:47 ` Lars Ingebrigtsen @ 2021-01-23 10:44 ` Alan Third 2021-01-23 19:09 ` Lars Ingebrigtsen 0 siblings, 1 reply; 16+ messages in thread From: Alan Third @ 2021-01-23 10:44 UTC (permalink / raw) To: Lars Ingebrigtsen; +Cc: 45940, salvomicciche` On Wed, Jan 20, 2021 at 02:47:28AM +0100, Lars Ingebrigtsen wrote: > Alan Third <alan@idiocy.org> writes: > > > Emacs 28 will already rebuild the Emacs.clr file if it's incorrect, > > but other files are out of our control, so I suppose the right thing > > for Emacs to do here is to silently ignore errors. > > Sounds like a good idea to me. I can't see how to silence this message without just ripping all the colour list code out but I don't know what consequences that would have, so I'm not keen to do it. -- Alan Third ^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#45940: Emacs in macOS: Failed to initialise color... 2021-01-23 10:44 ` Alan Third @ 2021-01-23 19:09 ` Lars Ingebrigtsen 0 siblings, 0 replies; 16+ messages in thread From: Lars Ingebrigtsen @ 2021-01-23 19:09 UTC (permalink / raw) To: Alan Third; +Cc: 45940, salvomicciche` Alan Third <alan@idiocy.org> writes: > I can't see how to silence this message without just ripping all the > colour list code out but I don't know what consequences that would > have, so I'm not keen to do it. Makes sense. Then I guess there's not more to be done here in this bug report, and I'm closing it. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no ^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2021-01-23 19:09 UTC | newest] Thread overview: 16+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2021-01-17 16:07 bug#45940: Emacs in macOS: Failed to initialise color salvomicciche` 2021-01-17 20:25 ` Andrii Kolomoiets 2021-01-19 4:51 ` Lars Ingebrigtsen [not found] ` <C23804F8-A99C-48E7-AE39-BB7281E6E594@biancavela.it> 2021-01-19 7:17 ` Lars Ingebrigtsen 2021-01-19 7:22 ` salvomicciche` 2021-01-19 7:28 ` Lars Ingebrigtsen 2021-01-19 7:32 ` salvomicciche` 2021-01-19 7:36 ` Lars Ingebrigtsen 2021-01-19 7:37 ` salvomicciche` 2021-01-19 11:22 ` salvomicciche` 2021-01-19 20:41 ` Alan Third 2021-01-19 20:52 ` salvomicciche` 2021-01-19 23:06 ` Alan Third 2021-01-20 1:47 ` Lars Ingebrigtsen 2021-01-23 10:44 ` Alan Third 2021-01-23 19:09 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.