From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tim Cross Newsgroups: gmane.emacs.devel Subject: Re: unable to upgrade from emacs 27 to emacs 28 Date: Tue, 10 May 2022 23:47:08 +1000 Message-ID: <87pmklcwua.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17061"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.19; emacs 29.0.50 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 10 16:03:51 2022 Return-path: Envelope-to: ged-emacs-devel@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 1noQSt-00045y-14 for ged-emacs-devel@m.gmane-mx.org; Tue, 10 May 2022 16:03:51 +0200 Original-Received: from localhost ([::1]:37952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1noQSr-00007m-MW for ged-emacs-devel@m.gmane-mx.org; Tue, 10 May 2022 10:03:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noQOi-0003ui-NC for emacs-devel@gnu.org; Tue, 10 May 2022 09:59:32 -0400 Original-Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]:43718) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1noQOh-0001xR-1M for emacs-devel@gnu.org; Tue, 10 May 2022 09:59:32 -0400 Original-Received: by mail-pf1-x434.google.com with SMTP id d25so15020813pfo.10 for ; Tue, 10 May 2022 06:59:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=vK9YzfY6Qtgm2iR+aD8I+ZvnVZ2U6EPigv9dcvr78Gc=; b=UqdKbdHSDAZMsJ1hhbhsSOOlAVvcoP/sBZ9M4Ww2lILqX7fO4Hn7ocBWhBrTGftK7K ffCbmEDIUml71nXYGC72YZPjeHReezBk/HMAgv6bHt1BPyLOj76j8HVse/+eQh3uL8X/ dEtHdeu77ZSsoOdyly5T53DZE8LwmmIgdi1atLYHx3J1XadY85Ka9FEqqXh83yjVV0Ur L3n5X1TZy+sDx66yQQuJHh6JJ3Qg4n8z06PSJQbQ2V6yFOSYBjx9fguvnlxDBpBenqnj Agh2e/elMr8SNr9txlG6NTpTiJcDsof4Y1CsCj+cNOKzFkN3LjNZczgTiadGfEjg0SJa o9Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=vK9YzfY6Qtgm2iR+aD8I+ZvnVZ2U6EPigv9dcvr78Gc=; b=hyBM8L2j+QzLT6XPNSBCnmtCDPtT9TDBNqlmsLJh0lZ/5aXyeG5kFCyRhgaez0gIW5 UgrZbRaxuPVnPwrFeU4aA9rXKanTalztjiSgWpurMI9Dt8ePJtSyvRcms05PscIfjKIc S+okSSvtO0ex7ewu8i29j9F2Zr4/cvRHs/zetMKSziV0oxRKhBfJqDSsYL2jXPvHwtcK 4UvX+5H3xVGMwJXly6XNCcL6BfGRxOpwUDar9YE77WV7hM6+K2foCH6HBKb340tB2Sha Y5tdb7/XUrXtScnCqZsbElqJy8e5hdPzprtwMly5q2P/qPNeWDWipR40yqszwOpxDtvn q4Tg== X-Gm-Message-State: AOAM530gbVN5tj9na8w2oguKiyE5wEUtDkTgpRNQC5D4xYoiL+9SVX8c Oogy821sgqveRIPPawOTVilA/M12WxM= X-Google-Smtp-Source: ABdhPJz+Oio6oVQlCOz8UuXsUqcGlN2cVDAnliTj3ih8J3bgs+dKvW3/oF8+oVMuyQKLgljNEhn+VQ== X-Received: by 2002:a65:6d06:0:b0:3c6:890:5609 with SMTP id bf6-20020a656d06000000b003c608905609mr17002817pgb.357.1652191169073; Tue, 10 May 2022 06:59:29 -0700 (PDT) Original-Received: from dingbat (220-235-29-41.dyn.iinet.net.au. [220.235.29.41]) by smtp.gmail.com with ESMTPSA id u7-20020a170903124700b0015ec71f72d6sm2069840plh.253.2022.05.10.06.59.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 May 2022 06:59:28 -0700 (PDT) In-reply-to: Received-SPF: pass client-ip=2607:f8b0:4864:20::434; envelope-from=theophilusx@gmail.com; helo=mail-pf1-x434.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:289588 Archived-At: John Covici 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(# 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 () > #) #f(compiled-function () > #) 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.