-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recursive require on emacs 29 #239
Comments
Not sure what could be causing this.
Can you share your config for gptel?
…On Fri, Mar 8, 2024, 4:02 AM Avi Shefi ***@***.***> wrote:
Getting eval-buffer: Recursive load: between gptel.elc and gptel-gemini.el
When byte compiling gptel-gemine.el:
Compiling file <REDACTED>/.emacs.d/elpa/gptel-20240308.224/gptel-gemini.el at Fri Mar 8 13:47:58 2024
Entering directory ‘<REDACTED>/.emacs.d/elpa/gptel-20240308.224/’
gptel-gemini.el:25:2: Error: Recursive ‘require’ for feature ‘gptel’
Performed a clean reinstall by deleting the gptel directory and
reinstalling the package. While gptel functions correctly immediately after
installation, a recursive require error is encountered upon restarting
Emacs. This error renders gptel unusable after the initial session.
—
Reply to this email directly, view it on GitHub
<#239>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACBVOLC3SKWA4XZCWFMOSSTYXGSHDAVCNFSM6AAAAABEMWJAI6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3TKOJQGQZTSOI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I had this: (use-package gptel
:defer t
:commands (gptel gptel-menu gptel-send gptel-request)
:bind (:map gptel-mode-map
("C-c C-<return>" . gptel-send))
:custom
(gptel-backend (gptel-make-gemini "Gemini"
:key #'gptel-api-key
:stream t))
(gptel-model "gemini-pro")
(gptel-log-level "debug")) Commenting out This is how it works now: (use-package gptel
:defer t
:commands (gptel gptel-menu gptel-send gptel-request)
:bind (:map gptel-mode-map
("C-c C-<return>" . gptel-send))
:custom
(gptel-model "gemini-pro")
(gptel-log-level "debug") ;; nil, info, debug
:config
(setq gptel-backend (gptel-make-gemini "Gemini"
:key #'gptel-api-key
:stream t))) |
sonofjon
added a commit
to sonofjon/config-emacs
that referenced
this issue
Apr 15, 2024
HuffmanTree
added a commit
to HuffmanTree/dotfiles
that referenced
this issue
Oct 14, 2024
This to avoid recursive import. karthink/gptel#239
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Getting
eval-buffer: Recursive load:
between gptel.elc and gptel-gemini.elWhen byte compiling gptel-gemini.el:
Performed a clean reinstall by deleting the gptel directory and reinstalling the package. While gptel functions correctly immediately after installation, a recursive require error is encountered upon restarting Emacs. This error renders gptel unusable after the initial session.
The text was updated successfully, but these errors were encountered: