Comments (14)
When you got exited anhormally error, please switch to buffer eaf, then paste output from eaf, it's useful.
Don't do
python ~/.emacs.d/emacs-application-framework/app/pdfviewer/buffer.py
Because all code is execute from /emacs-application-framework/eaf.py by eaf.el
If you execute from app directory, it's wrong root directory to execute, "No module" error of course will throw, but it's not problem.
Please paste buffer eaf content.
from emacs-application-framework.
eaf buffer:
Traceback (most recent call last):
File "/home/quanwei/.emacs.d/emacs-application-framework/eaf.py", line 23, in <module>
from core.fake_key_event import fake_key_event
ImportError: No module named core.fake_key_event
from emacs-application-framework.
Can you do "ls -al" in your emacs-application-framework/core directory ?
from emacs-application-framework.
~/.emacs.d/emacs-application-framework/core $ ls -al
total 20
drwxr-xr-x 2 quanwei quanwei 4096 2018-07-09 21:36 .
drwxr-xr-x 6 quanwei quanwei 4096 2018-07-09 21:36 ..
-rw-r--r-- 1 quanwei quanwei 2299 2018-07-09 21:36 buffer.py
-rw-r--r-- 1 quanwei quanwei 2695 2018-07-09 21:36 fake_key_event.py
-rw-r--r-- 1 quanwei quanwei 1909 2018-07-09 21:36 utils.py
-rw-r--r-- 1 quanwei quanwei 4168 2018-07-09 21:36 view.py
-rw-r--r-- 1 quanwei quanwei 1470 2018-07-09 21:36 xutils.py
Sorry I'm late, I only work on my computer at night.
from emacs-application-framework.
@Qquanwei Can you touch empty file "init.py" in core directory, then try again?
from emacs-application-framework.
I touch init,py
and output the same error. I just clone this project to .emacs.d.
from emacs-application-framework.
It's so strange.
from emacs-application-framework.
@Qquanwei I mean touch file name with:
__init__.py
in core directory, github convert
__
string, not init.py, is:
__init__.py
from emacs-application-framework.
It still not work.
I touch __init__.py
and M-x eaf-open
with a picture path.
dbus-call-method: D-Bus error: "Traceback (most recent call last):
File \"/usr/lib/python2.7/dist-packages/dbus/service.py\", line 707, in _message_cb
retval = candidate_method(self, *args, **keywords)
File \"/home/quanwei/.emacs.d/emacs-application-framework/eaf.py\", line 71, in new_buffer
return self.create_app(buffer_id, url, \"app.imageviewer.buffer\")
File \"/home/quanwei/.emacs.d/emacs-application-framework/eaf.py\", line 92, in create_app
if importlib.util.find_spec(module_path) is not None:
AttributeError: 'module' object has no attribute 'util'
from emacs-application-framework.
Is that I miss some package ?
from emacs-application-framework.
@Qquanwei you need use python3 execute those code, all your error is you use python2
from emacs-application-framework.
@Qquanwei I have patch 12e6e82
Force use python3, please try again.
from emacs-application-framework.
@manateelazycat It works.
I saw you fixed, so I closed this issue.
from emacs-application-framework.
@Qquanwei Thanks for your feedback.
from emacs-application-framework.
Related Issues (20)
- 大佬可不可以考虑一下在eaf-browser、eaf-pdf中实现类似avy的跳转功能 HOT 2
- `RuntimeError: PyQt6.QtWebEngineCore cannot import type 'QModelRoleDataSpan' from PyQt6.QtCore` after install HOT 2
- Global Scaling Configuration Setting HOT 3
- Installation failure caused by sexpdata HOT 1
- 打开file-manager空白 HOT 1
- Grammar improvements in Readme.md HOT 1
- Better way to distribute dependencies? HOT 3
- Support for non "off the record" profiles for modern web applications like whatsapp/google login and other HOT 5
- Wheel mouse button open page in the same window instead of other-window HOT 1
- Can't open pdf HOT 7
- TypeError: QWebEngineView(parent: QWidget = None): argument 1 has unexpected type 'QWebEngineProfile' HOT 10
- Add support for the `iced` toolkit.
- eaf browser haning HOT 2
- 正则表达在python 3.12中错误 HOT 1
- arch系统安装成功了怎么却使用不了 HOT 1
- error message during startup and eaf-open-demo does not work HOT 1
- Problem with emacs-wayland or emacs-pgkt build enabled with pure-gtk support HOT 2
- qt.dbus.integration: Could not connect "org.freedesktop.IBus" to globalEngineChanged(QString) HOT 1
- Windows下安装eaf报错 HOT 2
- EAF keep warning in emacs daemon HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs-application-framework.