Hi David, I can confirm that deleting /usr/share/emacs/site-lisp/elpa/org-9.4 fixes the issue and org-export-dispatch works again. Thank you.
On Mon, Jul 10, 2023 at 11:44 AM David Bremner <da...@tethera.net> wrote: > Balbir Thomas <balbir.tho...@gmail.com> writes: > > > Thanks to bremner on IRC it was found that > > launching emacs disabling the init and site lisp file > > ("emacs -Q") seems to fix the issue i.e. org-export-dispatch > > does work and and exported file is generated. > > I was thinking about this a bit more, and I wonder if the two bugs you > filed are related. In particular I wonder if the problems you are having > with org-mode are related to your having .elc files from an old version > of org-mode still in your file system. Perhaps try removing the > directory /usr/share/emacs/site-lisp/elpa/org-9.4 (or moving it to some > location outside emacs search path, like /tmp). > >