Author vbanait
Recipients ezio.melotti, mrabarnett, vbanait
Date 2020-10-17.02:45:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1602902723.88.0.655306807418.issue42058@roundup.psfhosted.org>
In-reply-to
Content
I am getting this error on windows 10 python 3.8 Emacs 27 and prelude configuration

Company: backend company-ngram-backend error "Process company-ngram not running" with args (prefix)

I am using this code in .emacs

    (with-eval-after-load 'company-ngram
  ; ~/data/ngram/*.txt are used as data
  (setq company-ngram-data-dir "~/data/ngram")
  ; company-ngram supports python 3 or newer
  (setq company-ngram-python "python3")
  (company-ngram-init)
  (cons 'company-ngram-backend company-backends)
  ; or use `M-x turn-on-company-ngram' and
  ; `M-x turn-off-company-ngram' on individual buffers
  ;
  ; save the cache of candidates
  (run-with-idle-timer 7200 t
                       (lambda ()
                         (company-ngram-command "save_cache")
                         ))
  )

(require 'company-ngram nil t)
History
Date User Action Args
2020-10-17 02:45:23vbanaitsetrecipients: + vbanait, ezio.melotti, mrabarnett
2020-10-17 02:45:23vbanaitsetmessageid: <1602902723.88.0.655306807418.issue42058@roundup.psfhosted.org>
2020-10-17 02:45:23vbanaitlinkissue42058 messages
2020-10-17 02:45:23vbanaitcreate