classification
Title: Process not running with args
Type: behavior Stage: resolved
Components: Regular Expressions Versions: Python 3.9
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: ezio.melotti, mrabarnett, terry.reedy, vbanait
Priority: normal Keywords:

Created on 2020-10-17 02:45 by vbanait, last changed 2020-10-23 18:50 by terry.reedy. This issue is now closed.

Messages (2)
msg378797 - (view) Author: Vaibhav Banait (vbanait) Date: 2020-10-17 02:45
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)
msg379465 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2020-10-23 18:50
bpo is the issue tracker for patching the python cpython repository.  We support running python from system command line terminals and icons that we install, as specified in the CPython docs.  Ask questions about running python otherwise on other forums.
History
Date User Action Args
2020-10-23 18:50:31terry.reedysetstatus: open -> closed

nosy: + terry.reedy
messages: + msg379465

resolution: third party
stage: resolved
2020-10-17 04:45:30vbanaitsettype: compile error -> behavior
2020-10-17 02:45:23vbanaitcreate