Skip to content

Cannot open load file for json-rpc #76

@fiddleyuan

Description

@fiddleyuan

I couldn't load nnreddit, so I followed the instruction to run make test-run-interactive, and finally gave me a Lisp error:

Debugger entered--Lisp error: (file-missing "Cannot open load file" "No such file or directory" "json-rpc")
require(json-rpc)
eval-buffer(#<buffer load> nil "/usr2/fiddle/temp/nnreddit/lisp/nnreddit.el" nil t) ; Reading at buffer position 1532
load-with-code-conversion("/usr2/fiddle/temp/nnreddit/lisp/nnreddit.el" "/usr2/fiddle/temp/nnreddit/lisp/nnreddit.el" nil t)
require(nnreddit)
gnus-get-function((nnreddit "") server-opened)
gnus-server-opened((nnreddit ""))
gnus-start-news-server(nil)
gnus-1(nil nil nil)
gnus(nil)
funcall-interactively(gnus nil)
call-interactively(gnus nil nil)
command-execute(gnus)
command-line-1(("--eval" "(custom-set-variables (quote (gnus-select-method (..." "--eval" "(setq debug-on-error t)" "--eval" "(fset (quote gnus-y-or-n-p) (function ignore))" "-f" "gnus"))
command-line()
normal-top-level()

Apparently, nnreddit cannot fine json-rpc. But I found in my emacs elpa folder that json-rpc-20200417.1629 folder has been created already.

I've tried to put the following in my init.el file:

(use-package json-rpc)
(use-package nnreddit
:after json-rpc
:init
(setq nnreddit-python-command "python3.5"))

But I got the same error. I am very new to Emacs community, any help will be appreciated, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions