lujun9972 / anki-vocabulary.el

Help you to create vocabulary card in Anki
11 stars 3 forks source link

drop youdao-dictionary requirement #5

Open OrionRandD opened 11 months ago

OrionRandD commented 11 months ago

Could you drop anki-vocabulary requirement of youdao-dictionary in your package? The owner of youdao-dictionary already has stated that the youdao-dictionary free api does not work any more and if one install anki-vocabulary package in doom-emacs, like me, it is causing errors because of this:

./doom doctor The doctor will see you now...

Checking your Emacs version... Checking for Doom's prerequisites... Checking for Emacs config conflicts... Checking for missing Emacs features... Checking for private config conflicts... Checking for common environmental issues... Checking for stale elc files... Checking for problematic git global settings... Checking Doom Emacs... x There was an unexpected runtime error Message: Symbol's function definition is void Details: (define-namespace) Backtrace: (define-namespace youdao-dictionary- (defconst api-url "http://fanyi.youdao.com/openapi.do?keyfrom=YouDaoCV&key=659600698&type=data&docty... (load-with-code-conversion "/home/vagner/_.doomEmacs/.local/etc/@/init.29.el" "/home/vagner/.doomEmacs/.local/etc/@/init.29.el" t t) (load "/home/vagner/.doomEmacs/.local/etc/@/init.29.el" noerror nomessage) (condition-case e (load path noerror 'nomessage) ((debug doom-error) (signal (car e) (cdr e))) ((debug error) (setq path (locate-file pat... (doom-load "/home/vagner/.doomEmacs/.local/etc/@/init.29.el" noerror) (let (kill-emacs-query-functions kill-emacs-hook) (doom-load init-file 'noerror) (doom-initialize-packages)) (let ((init-file (doom-profile-init-file))) (if (file-exists-p init-file) nil (user-error "Profile init file hasn't been generated. Did y... (progn (doom-require 'doom-profiles) (let ((init-file (doom-profile-init-file))) (if (file-exists-p init-file) nil (user-error "Profile i... (if noninteractive (progn (doom-require 'doom-profiles) (let ((init-file (doom-profile-init-file))) (if (file-exists-p init-file) nil (us... (load-with-code-conversion "/home/vagner/.doomEmacs/lisp/doom-start.el" "/home/vagner/.doomEmacs/lisp/doom-start.el" nil t) (require doom-start) (let ((doom-print-level (or nil doom-print-level)) (doom-print-indent (+ (if t (or nil doom-print-indent-increment) 0) doom-print-indent)... ! Wrote extended backtrace to ~/.doom_Emacs/.local/state/logs/cli.doom.231201162325.102493.error

you can ask the owner of youdao-dictionary to check what I am stating here: https://github.com/xuchunyang/youdao-dictionary.el

Thx a lot.

lujun9972 commented 11 months ago

Any suggestions for alternatives?