unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#32854: Error upon starting Emacs from macOS Mojave's Terminal: "Failed to initialize color list unarchiver"
@ 2018-09-27 14:23 Evan Aad
  2018-09-28 19:46 ` Alan Third
  0 siblings, 1 reply; 5+ messages in thread
From: Evan Aad @ 2018-09-27 14:23 UTC (permalink / raw)
  To: 32854

Ever since I upgraded my macOS to the latest version, 10.14 Mojave, a
couple days ago (which I followed by performing a 'brew upgrade' in
the Terminal), whenever I start Emacs from the terminal, I get the
following error message.

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}

I never encountered this message before. Despite the error message,
Emacs starts opens, and seems to be functioning properly.

GNU Emacs 26.1  (build 1, x86_64-apple-darwin17.5.0, NS appkit-1561.40
Version 10.13.4 (Build 17E202))  of 2018-05-31





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#32854: Error upon starting Emacs from macOS Mojave's Terminal: "Failed to initialize color list unarchiver"
  2018-09-27 14:23 bug#32854: Error upon starting Emacs from macOS Mojave's Terminal: "Failed to initialize color list unarchiver" Evan Aad
@ 2018-09-28 19:46 ` Alan Third
       [not found]   ` <835znspppg.fsf@gnu.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Third @ 2018-09-28 19:46 UTC (permalink / raw)
  To: Evan Aad; +Cc: 32854, control

close 32854 26.2
stop

On Thu, Sep 27, 2018 at 05:23:22PM +0300, Evan Aad wrote:
> Ever since I upgraded my macOS to the latest version, 10.14 Mojave, a
> couple days ago (which I followed by performing a 'brew upgrade' in
> the Terminal), whenever I start Emacs from the terminal, I get the
> following error message.
> 
> 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}
> 
> I never encountered this message before. Despite the error message,
> Emacs starts opens, and seems to be functioning properly.
> 
> GNU Emacs 26.1  (build 1, x86_64-apple-darwin17.5.0, NS appkit-1561.40
> Version 10.13.4 (Build 17E202))  of 2018-05-31

Thanks for reporting this. I’ve just pushed a fix to emacs-26, so I
expect that will make its way through to homebrew soon.
-- 
Alan Third





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#32854: Error upon starting Emacs from macOS Mojave's Terminal: "Failed to initialize color list unarchiver"
       [not found]   ` <835znspppg.fsf@gnu.org>
@ 2019-07-25  7:02     ` Alan Third
  2019-07-25  8:51       ` Evan Aad
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Third @ 2019-07-25  7:02 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 32854, oddeveneven

On Tue, Jul 23, 2019 at 09:31:55PM +0300, Eli Zaretskii wrote:
> > On Thu, Sep 27, 2018 at 05:23:22PM +0300, Evan Aad wrote:
> > > Ever since I upgraded my macOS to the latest version, 10.14 Mojave, a
> > > couple days ago (which I followed by performing a 'brew upgrade' in
> > > the Terminal), whenever I start Emacs from the terminal, I get the
> > > following error message.
> > > 
> > > 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}
> > > 
> > > I never encountered this message before. Despite the error message,
> > > Emacs starts opens, and seems to be functioning properly.
> > > 
> > > GNU Emacs 26.1  (build 1, x86_64-apple-darwin17.5.0, NS appkit-1561.40
> > > Version 10.13.4 (Build 17E202))  of 2018-05-31
> > 
> > Thanks for reporting this. I’ve just pushed a fix to emacs-26, so I
> > expect that will make its way through to homebrew soon.
> 
> Alan, what commit fixed this bug?  I didn't find any reference to
> bug#32854 in the Git log around Sep 28, 2018, nor any changes that
> sounded like they were fixing some color-related issue, neither on the
> emacs-26 branch nor on master.  Did you perhaps forget to push the
> change?  Or did I miss something?

The original discussion about it happened in emacs devel so there was
no bug number. The commit is:

    9ad0f1d15c06eb07dfbd9bd3e3b8a0d747942152

and if I’m reading the tags correctly it is definitely in Emacs 26.2.

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.

-- 
Alan Third





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#32854: Error upon starting Emacs from macOS Mojave's Terminal: "Failed to initialize color list unarchiver"
  2019-07-25  7:02     ` Alan Third
@ 2019-07-25  8:51       ` Evan Aad
  2019-07-25 12:51         ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Evan Aad @ 2019-07-25  8:51 UTC (permalink / raw)
  To: Alan Third; +Cc: 32854

Thanks. This solved the problem.
I apologize once more for my rudeness. I'm ashamed of myself. I was
waiting for almost a year for this bug fix, and when the bug persisted
even after the upgrade, and thinking that I would have to wait another
year for this to be fixed, I was very annoyed. However, this is no
excuse. I hope you forgive me.

On Thu, Jul 25, 2019 at 10:02 AM Alan Third <alan@idiocy.org> wrote:
>
> On Tue, Jul 23, 2019 at 09:31:55PM +0300, Eli Zaretskii wrote:
> > > On Thu, Sep 27, 2018 at 05:23:22PM +0300, Evan Aad wrote:
> > > > Ever since I upgraded my macOS to the latest version, 10.14 Mojave, a
> > > > couple days ago (which I followed by performing a 'brew upgrade' in
> > > > the Terminal), whenever I start Emacs from the terminal, I get the
> > > > following error message.
> > > >
> > > > 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}
> > > >
> > > > I never encountered this message before. Despite the error message,
> > > > Emacs starts opens, and seems to be functioning properly.
> > > >
> > > > GNU Emacs 26.1  (build 1, x86_64-apple-darwin17.5.0, NS appkit-1561.40
> > > > Version 10.13.4 (Build 17E202))  of 2018-05-31
> > >
> > > Thanks for reporting this. I’ve just pushed a fix to emacs-26, so I
> > > expect that will make its way through to homebrew soon.
> >
> > Alan, what commit fixed this bug?  I didn't find any reference to
> > bug#32854 in the Git log around Sep 28, 2018, nor any changes that
> > sounded like they were fixing some color-related issue, neither on the
> > emacs-26 branch nor on master.  Did you perhaps forget to push the
> > change?  Or did I miss something?
>
> The original discussion about it happened in emacs devel so there was
> no bug number. The commit is:
>
>     9ad0f1d15c06eb07dfbd9bd3e3b8a0d747942152
>
> and if I’m reading the tags correctly it is definitely in Emacs 26.2.
>
> 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.
>
> --
> Alan Third





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#32854: Error upon starting Emacs from macOS Mojave's Terminal: "Failed to initialize color list unarchiver"
  2019-07-25  8:51       ` Evan Aad
@ 2019-07-25 12:51         ` Eli Zaretskii
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2019-07-25 12:51 UTC (permalink / raw)
  To: Evan Aad; +Cc: alan, 32854-done

> From: Evan Aad <oddeveneven@gmail.com>
> Date: Thu, 25 Jul 2019 11:51:25 +0300
> Cc: Eli Zaretskii <eliz@gnu.org>, 32854@debbugs.gnu.org
> 
> Thanks. This solved the problem.

Thanks for testing, I'm therefore closing this bug report.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-07-25 12:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-27 14:23 bug#32854: Error upon starting Emacs from macOS Mojave's Terminal: "Failed to initialize color list unarchiver" Evan Aad
2018-09-28 19:46 ` Alan Third
     [not found]   ` <835znspppg.fsf@gnu.org>
2019-07-25  7:02     ` Alan Third
2019-07-25  8:51       ` Evan Aad
2019-07-25 12:51         ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).