XPost: linux.debian.bugs.dist   
   From: sten@debian.org   
      
   Hi Steve,   
      
   Steve McIntyre writes:   
      
   > Package: elpa-magit   
   > Version: 4.3.5-1+deb13u1   
   > Severity: important   
   >   
   > Hi!   
   >   
   > After upgrading a machine to trixie locally, emacs seems to be working   
   > fine. Using it to write this mail!   
   >   
   > But when I try to start magit using M-x magit-status, I get the   
   > following error and no magit:   
   >   
   > slot-missing: Invalid slot name: "#", :always-read   
      
   I'm curious how to trigger this, because isn't completing-read the   
   default, and isn't :always-read a user customisation (or file-local, or   
   dir-locals)? This suspicion is based off of a superficial search, btw.   
      
   > In case it's my local config in .emacs etc. that might be causing this   
   > problem, I've tested again with a new user with no customisations and   
   > I still see the same issue.   
      
   Was this a freshly-created user, (ie: empty $HOME except for the files   
   copied from /etc/skel during user account creation) or had it ever run   
   Emacs before? The reason I ask is because a minority of users have been   
   affected by one of several native-compilation-related bugs this upgrade   
   cycle. The test and workaround for the first class of these (Emacs   
   doesn't invalidate the cache and recompile platform native code that   
   needs to be recompiled) is this:   
      
    mv ~/.emacs.d/eln-cache ~/.emacs.d/possibly-broken-eln-cache   
      
   and restart emacs.   
      
   If that doesn't fix it, or if the problem comes back, then I worry this   
   might be one of the not-fun-to-find-and-actually-fix bugs like #1036359   
   (elpa-markdown-toc). The tldr of that bug is that several packages   
   appear to have interacted with native-compilation in a way that made   
   elpa-markdown-toc crash, and it's not clear to me where the   
   release-critical bug[s] actually were; however, it[they] now appear to   
   have been transient. The first step of exploring this hypothesis could   
   be to get a list of packages that would be removed were you to uninstall   
   elpa-transient.   
      
   If you get tired of debugging and suspect a system state-related bug and   
   wanted to purge (and then reinstall) and wanted to use an aggressive   
   method, this should do the trick:   
      
    dpkg --get-selections | grep elpa.*install | wc -l # Gets number of packages   
    elpa_packages=$(dpkg --get-selections | grep elpa.*install | awk '{print   
   $1}' | tr '\n' ' ')   
    apt purge "$elpa_packages" # Needs further work if this doesn't equal   
    # number of packages from step 1, and I   
    # recommend aborting if there is no time to   
   investigate   
    apt install "$elpa_packages"   
    # One limitation of this method is that every package in the list will   
    # be marked as "manual" rather than "auto".   
      
   Ideally it would be nice to gather some more data about the difficult to   
   reproduce bugs, but if one of the heavy handed approaches (that   
   shouldn't ever be necessary!) fixes the magit issue on your system, then   
   I'm guessing that you'll consider it a good resolution.   
      
   Cheers,   
   Nicholas   
      
   -----BEGIN PGP SIGNATURE-----   
      
   iQJEBAEBCgAuFiEE4qYmHjkArtfNxmcIWogwR199EGEFAmk48rAQHHN0ZW5AZGVi   
   aWFuLm9yZwAKCRBaiDBHX30QYUwHD/0TS0Tghz8LlNX2XG8yHNZW/Qeo84X1FWWk   
   Qf0WFdv3XjIsAPrCbPyXyKJ2HnnQCW1eiUSn5LsofX2iOWt+hIO2OjsVBNQbVNun   
   R6DF0w8Lre9+jMOk3YYz2UauAksz2ADiZFEdOGU2pF/pSx3oQ0M/ab1VGXMU98m2   
   GI18AZi386U9jz0ajvl5JjgYqp/0nFb00gluYlUUzAF3R5yvmmkLqRJNKomVgMjb   
   XzB3xPb7DgXb3Q1ch5gtCUUN0fPnvcsLKHN4hS8+6DpWiETFNMI4jOgEFpFRsEEG   
   ti9kfRkVDDYt3Lg3Gr19xd+leyyfGGYCkzHujrEW+z7wiEX9F4KvniDWfm5m0psG   
   1M39PAKFrnS3CAL5CO5qcE9oYQcSXdD+gpzaK/MOmeZEbpYNvJFRza7+HR8q3lsN   
   m+P99dYpJD8fo1A374onJnewqomR/bmurl29rnBarBJ6kJyakoR55ZplhS3TjHyo   
   jZsKGRVW+4cSFykmzW5yFPqJTXuBpCCKpWzjvYLtE2/3l/L7CTvRHZ9OvHRXrNzJ   
   q/WIRKyiXDpf++qSl4q6rup11YJaWKRk0/1VoeZuVT01LcxsHuESCxBaILp6fvaC   
   K+cWxkOyzpuPbOlmWwfhtr2Zo20PBRELyn/zA8+m1FMKNfwXluStvgin1wkRRUfL   
   g+OrR7PTBw==   
   =T3rX   
   -----END PGP SIGNATURE-----   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|