Closed YueRen closed 4 months ago
I use your config and everything works good. Maybe caused by use-package
? Delete the package with package-delete
and then reinstall it to have a try please.
Update:
I submit a new commit, update to see if the issue resolved.
Hi @lorniu, thanks for the quick reply and the tip of reinstalling the package! It seems the error at startup is gone I seem to get an error when trying to reinstall go-translate (copied from *Compile-Log*
):
Compiling internal form(s) at Wed May 8 07:35:47 2024
Leaving directory ‘/home/ren/.emacs.d/elpa/go-translate-20240507.2300’
Compiling file /home/ren/.emacs.d/elpa/go-translate-20240507.2300/go-translate.el at Wed May 8 07:35:47 2024
Entering directory ‘/home/ren/.emacs.d/elpa/go-translate-20240507.2300/’
go-translate.el:285:2: Error: transient-define-*: Interactive form missing
Compiling file /home/ren/.emacs.d/elpa/go-translate-20240507.2300/gt-core.el at Wed May 8 07:35:47 2024
Compiling file /home/ren/.emacs.d/elpa/go-translate-20240507.2300/gt-engine-bing.el at Wed May 8 07:35:48 2024
Compiling file /home/ren/.emacs.d/elpa/go-translate-20240507.2300/gt-engine-chatgpt.el at Wed May 8 07:35:48 2024
Compiling file /home/ren/.emacs.d/elpa/go-translate-20240507.2300/gt-engine-deepl.el at Wed May 8 07:35:48 2024
Compiling file /home/ren/.emacs.d/elpa/go-translate-20240507.2300/gt-engine-echo.el at Wed May 8 07:35:48 2024
Compiling file /home/ren/.emacs.d/elpa/go-translate-20240507.2300/gt-engine-google-rpc.el at Wed May 8 07:35:48 2024
Compiling file /home/ren/.emacs.d/elpa/go-translate-20240507.2300/gt-engine-google.el at Wed May 8 07:35:48 2024
Compiling file /home/ren/.emacs.d/elpa/go-translate-20240507.2300/gt-engine-stardict.el at Wed May 8 07:35:48 2024
Compiling file /home/ren/.emacs.d/elpa/go-translate-20240507.2300/gt-engine-youdao.el at Wed May 8 07:35:48 2024
Compiling file /home/ren/.emacs.d/elpa/go-translate-20240507.2300/gt-extension.el at Wed May 8 07:35:48 2024
gt-extension.el:66:10: Warning: Unused lexical variable
`plz-curl-default-args'
gt-extension.el:68:47: Warning: reference to free variable
‘plz-curl-default-args’
Compiling file /home/ren/.emacs.d/elpa/go-translate-20240507.2300/gt-faces.el at Wed May 8 07:35:48 2024
Compiling file /home/ren/.emacs.d/elpa/go-translate-20240507.2300/gt-text-utility.el at Wed May 8 07:35:48 2024
The same error arises when I try to use gts-do-translate
(copied from *Messages*
):
internal-macroexpand-for-load: Eager macro-expansion failure: (error "transient-define-*: Interactive form missing")
Entering directory ‘/home/ren/.emacs.d/elpa/go-translate-20240507.2300/’
The version you installed is 20240507.2300
, which is the old version. Try the latest code first. Thanks.
Ah, sorry about that. I still get the error with the compilation error in latest version (either during update of go-translate
or during use of gts-do-translate
):
Compiling file /home/ren/.emacs.d/elpa/go-translate-20240509.145/go-translate.el at Thu May 9 08:49:43 2024
Entering directory ‘/home/ren/.emacs.d/elpa/go-translate-20240509.145/’
go-translate.el:285:2: Error: transient-define-*: Interactive form missing
If it is working for you, maybe it's my system that is a bit borked? I am running Ubuntu 22.04.4 and I've installed emacs via snap.
edit: apparently, the error message I am getting was recently added: https://lists.defectivebydesign.org/archive/html/emacs-elpa-diffs/2024-04/msg01567.html
I see. Try the latest code and report the result please. Thanks.
I have the same issue. And I can confirm that the latest commit already fix this issue. Thanks!
@Eason0210 Great! I have difficulties figuring out how to install the latest version from Github, I'll just wait until straight updates my version to it tomorrow.
Since today, I've been getting the following error on startup:
In
*Messages*
buffer:In
Warnings
buffer:Is this related to the recent changes? Here is a minimal
init.el
: