Company: backend company-tabnine error "Wrong number of arguments: #, 5" with args (prefix)
The package is now the newest now.
And My Operation System is
Windows 7, emacs27
Could you try to enable the debugger by doing M-x toggle-debug-on-error
then trigger the error again? Once you do, please let me know of the error message that shows up.
Also, what's your company
version?
'
Debugger entered--Lisp error: (wrong-number-of-arguments # 5)
json-serialize((:version "1.0.14" :request (:Autocomplete (:before "(r" :after ")" :filename nil :region_includes_beginning t :region_includes_end t :max_num_results 10))) :null-object nil :false-object :json-false)
company-tabnine-send-request((:version "1.0.14" :request (:Autocomplete (:before "(r" :after ")" :filename nil :region_includes_beginning t :region_includes_end t :max_num_results 10))))
company-tabnine-query()
company-tabnine--prefix()
company-tabnine(prefix)
apply(company-tabnine prefix)
company-call-backend-raw(prefix)
apply(company-call-backend-raw prefix)
company--force-sync(company-call-backend-raw (prefix) company-tabnine)
company-call-backend(prefix)
company--begin-new()
company--perform()
company-auto-begin()
company-idle-begin(#<buffer scratch> #<window 3 on scratch> 41 3)
apply(company-idle-begin (#<buffer scratch> #<window 3 on scratch> 41 3))
timer-event-handler([t 24227 30805 229485 nil company-idle-begin (#<buffer scratch> #<window 3 on scratch> 41 3) nil 0])
'
by the way,My company version is "0.9.9" from gnu packages,
then I reinstall Other versions:
20200324.2145 (installed), 0.9.9 (installed), 0.9.12 (gnu).
The problem still the same.
And My emacs is download from
'
https://github.com/m-parashar/emax64/releases
'
This seems to be a problem of integration with emacs 27's new json functionality. For the moment you can set company-tabnine-use-native-json
to nil
so that company-tabine
will use the old json library.