company-jedi icon indicating copy to clipboard operation
company-jedi copied to clipboard

Debugger entered--Lisp error: (wrong-number-of-arguments (1 . 2) 0)

Open mambolevis opened this issue 7 years ago • 0 comments

Hi,

Using the following configuration, the following message is show: (wrong-number-of-arguments (1 . 2) 0)

(use-package company-jedi
  :ensure t
  :defer t
  :preface
  (add-hook 'python-mode-hook #'company-jedi)
  :config
  ;;(add-to-list 'company-backends 'company-jedi)
  (add-to-list 'company-backends
               (company-mode/backend-with-yas 'company-jedi)))

Here the complete Backtrace

Debugger entered--Lisp error: (wrong-number-of-arguments (1 . 2) 0)
  company-jedi()
  run-hooks(change-major-mode-after-body-hook prog-mode-hook python-mode-hook)
  apply(run-hooks (change-major-mode-after-body-hook prog-mode-hook python-mode-hook))
  run-mode-hooks(python-mode-hook)
  python-mode()
  set-auto-mode-0(python-mode nil)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer basics_test.py> "d:/Developer/21_Python/py35/01_learning/basics_test.py" nil nil "d:/Developer/21_Python/py35/01_learning/basics_test.py" (29554872555126583 3434343376))
  find-file-noselect("d:/Developer/21_Python/py35/01_learning/basics_test.py" nil nil nil)
  find-file("d:/Developer/21_Python/py35/01_learning/basics_test.py")
  dired-find-file()
  funcall-interactively(dired-find-file)
  call-interactively(dired-find-file nil nil)
  command-execute(dired-find-file)

Emacs version: GNU Emacs 26.0.91 (build 1, x86_64-w64-mingw32) of 2018-02-26 OS: Windows 10

Thanks

mambolevis avatar Feb 27 '18 12:02 mambolevis