Skip to content

[Bug/Support]: Error reading melpa.eld into memory: (invalid-read-syntax "# " 1 797933) #487

@ISouthRain

Description

@ISouthRain

Confirmation

  • I have checked the documentation (README, Wiki, docstrings, etc)
  • I am checking these without reading them.
  • I have searched previous issues to see if my question is a duplicate.

Elpaca Version

Elpaca 8050db1 HEAD -> master, origin/master, origin/HEAD
installer: 0.11
emacs-version: GNU Emacs 31.0.50 (build 1, x86_64-w64-mingw32)
of 2025-09-05
git --version: git version 2.39.2.windows.1

Operating System

Windows 10

Description

Hey~~~
I found a new problem.

This is a very random problem, and it can happen in two ways:

  1. elpaca-try New package
  2. Use init.el config
;; I use elpaca-use-package
(use-package new-package
  :ensure t)

Emacs warning:

⛔ Warning (emacs): Error reading "c:/Users/adminuirs/AppData/Roaming/.emacs.d/elpaca/cache/melpa.eld" into memory: (invalid-read-syntax "# " 1 797933)

The summary is that this problem may occur when you install a New package, and the Warning will still appear after restarting Emacs.

Fixed issue: When using elpaca-delete to new package it returns to normal.

NOTE: This is a random issue, some new packages may not cause problems.

Finally, how should I debug the problem?

The following configuration is the configuration that caused the problem on my computer:

(use-package tabnine
  :ensure t
  :hook
  ((c-mode c-ts-mode c++-mode c++-ts-mode rust-mode rust-ts-mode) . tabnine-mode)
  :init
  (setq tabnine-binaries-folder "~/.emacs.d.cache/.TabNine")
  (setq tabnine-executable-args (list "--log-level" "Error" "--no-lsp" "false"))
  )

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions