-
Notifications
You must be signed in to change notification settings - Fork 51
eval-buffer: Cannot open load file: request #98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Quick comments: Do you have request.el? Check it by https://github.com/tkf/emacs-ipython-notebook#quick-try |
Well, that is at least a part of my problem. When I do Debugger entered--Lisp error: (file-error "Cannot open load file" "request") require(request) eval((require (quote request)) nil) eval-expression((require (quote request)) nil) call-interactively(eval-expression nil nil) ...showing up in a new Backtrace buffer in emacs. And looking more carefully now, it looks like el-get did not correctly install all of the dependencies for EIN. When I compare the directory tree for your quick-try approach with the directory tree of ein as installed by el-get, there are big differences. Primarily, the ein/lib directory has subdirectories named as you have in your quick-try tree (auto-complete, ert, fuzzy, markdown-mode, nxhtml, popup, pos-tip, python, request, smartrep, websocket), but all of these subdirectories are empty!? That seems wrong. el-get did seem to install some dependencies when I installed ein, but now when I ask el-get to list packages, it shows only ein, el-get, nxhtml, and websocket as installed packages. The only packages that I explicitly installed were el-get (first, according to his instructions), and ein (using el-get command: So I guess this is a bug for el-get rather than ein? Is it safe to just: rsync -azvv ~/ein-try/emacs-ipython-notebook/lib ~/.emacs.d/el-get/ein/lib That seems like it might undermine the whole idea of el-get though. Should I use el-get to explicitly install all of the packages I see in ~/ein-try/emacs-ipython-notebook/lib ? As per el-get listing, I already have nxhtml and websocket installed, and I see auto-complete, fuzzy, markdown-mode, popup, pos-tip, python, and smartrep, in the list of available packages in el-get, but el-get does not list ert or request. Thanks for previous suggestions. Any additional suggestions appreciated, and I'll file an issue with el-get project. Feel free to close this issue as this seems not to be an EIN bug. |
I guess your el-get has older EIN recipe and which does not install request.el. You can either (1) install request.el manually, (2) use the latest recipe, or (3) update el-get to its master. You can get the latest recipe here: |
Also, I think the old note is not relevant anymore, so I am removing it. see #98
I followed install instructions here http://tkf.github.com/emacs-ipython-notebook/. Used el-get to install ein and that seemed to work fine.
I put your minimal setup:
into an init file described by el-get docs:
and that seems to have been effective as I do get auto-completion in the
command buffer for commands like , but when I execute that command as in your docs, I get the following error message in the Messages buffer:Also tried (just to be sure) putting your minimal setup into my init file where I know other instructions are being executed and I don't have to rely on correct behavior by el-get, but still get same ein behavior.
I tried to turn on logging with
and although I got no error message after doing so, I also got no log buffer in my buffer list, so unfortunately cannot post anything more informative than what I'm seeing in the emacs Messages buffer which is just a one-line message in title/subject of issue.I got the same error when I attempted to do
I used to use emacs all the time every day, but it's been awhile for me now, and so I may have forgotten some fundamentals and I may be doing something silly to cause the problem myself.
The text was updated successfully, but these errors were encountered: