unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tim Cross <theophilusx@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: unable to upgrade from emacs 27 to emacs 28
Date: Tue, 10 May 2022 23:47:08 +1000	[thread overview]
Message-ID: <87pmklcwua.fsf@gmail.com> (raw)
In-Reply-To: <m3o805zzl9.wl-covici@ccs.covici.com>


John Covici <covici@ccs.covici.com> writes:

> OK, here is the error message, did not seem to be that helpful .
>
> Debugger entered--Lisp error: (invalid-read-syntax "Invalid byte-code
> object")
>   read(get-file-char)
>     (use-package mime-play :config (setq
>     mime-play-find-every-situations nil
>     mime-play-delete-file-immediately nil))
>       eval-buffer(#<buffer  *load*> nil "/home/covici/.emacs" nil t)
> 	 ; Reading at buffer position 1261
> 	   load-with-code-conversion("/home/covici/.emacs"
> 	   "/home/covici/.emacs" t t)
> 	     load("~/.emacs" noerror nomessage)
> 		  startup--load-user-init-file(#f(compiled-function ()
> 		  #<bytecode 0x11083400636d167e>) #f(compiled-function ()
> 		  #<bytecode -0x1f3c686ddc0def75>) t)
> 		    command-line()
> 		      normal-top-level()
> On Mon, 09 May 2022 18:27:44 -0400,

That error message is telling you there is something in your init file
(or one of the files it loads) which Emacs is unable to parse correctly.
From the error message, it looks like the issue may be with the
mime-play package. I have no idea what this package does as it is not a
part of Emacs. Quite likely the package needs to be updated to work with
Emacs 28. 

Note that it could also be some other error in your init file which is
confusing the parser as it tries to read your init file. I would start
by commenting out the section relating to mime-play and see if Emacs is
then able to start. If it does, then you probably need to raise an issue
with the mime-play maintainers (or check there isn't an update for Emacs
28). 

If commetning out mime-play still fails to get Emacs to start, then the
error is likely somewhere else in your init file. In this case, you may
need to use the init file bisect technique - comment out the last half
of your init file and start Emacs. If it start, you know the issue in
the second half of your file, if it still doesn't start, you know it is
in the first half. 

Proceed with commenting and uncommenting bits of your init file until
you narrow down the problem to the specific point where the failure
occurs and then invesitgate the reason. 

It is also a good idea to read through the NEWS file for Emacs 28. Each
new version of Emacs adds new features and sometimes introduces
new or altered functionality which may require updating/changing your
init file. The NEWS file can help narrow down the search space when you
encounter problems. 



  parent reply	other threads:[~2022-05-10 13:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-09 20:55 unable to upgrade from emacs 27 to emacs 28 John Covici
2022-05-09 21:26 ` Stefan Monnier
2022-05-09 22:13   ` John Covici
2022-05-09 22:27 ` Óscar Fuentes
2022-05-10  6:11   ` John Covici
2022-05-10 12:14     ` Eli Zaretskii
2022-05-10 14:30       ` John Covici
2022-05-10 13:47     ` Tim Cross [this message]
2022-05-09 23:35 ` Tim Cross
2022-05-10  2:01   ` Stefan Monnier
2022-05-10  2:49     ` Tim Cross
2022-05-10 15:01     ` [External] : " Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pmklcwua.fsf@gmail.com \
    --to=theophilusx@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).