Skip to content

Only get blank buffer after run eaf-open-browser #722

@colawithsauce

Description

@colawithsauce
  • Please check the *eaf* buffer, if there is any error shown in the *eaf* buffer, paste it here.
Qt: Session management error: Could not open network socket
EAF process starting...
Traceback (most recent call last):
  File "/home/colawithsauce/.emacs.d/.local/straight/repos/emacs-application-framework/core/utils.py", line 60, in on_signal_received
    self._func(obj, *args, **kwargs)
  File "/home/colawithsauce/.emacs.d/.local/straight/build-28.0.50/eaf/eaf.py", line 159, in new_buffer
    self.create_app(buffer_id, str(url), "app.{0}.buffer".format(str(app_name)), str(arguments))
  File "/home/colawithsauce/.emacs.d/.local/straight/build-28.0.50/eaf/eaf.py", line 206, in create_app
    self.create_buffer(buffer_id, url, module_path, arguments)
  File "/home/colawithsauce/.emacs.d/.local/straight/build-28.0.50/eaf/eaf.py", line 220, in create_buffer
    app_buffer = module.AppBuffer(buffer_id, url, eaf_config_dir, arguments, self.emacs_var_dict, module_path)
  File "/home/colawithsauce/.emacs.d/.local/straight/repos/emacs-application-framework/app/browser/buffer.py", line 36, in __init__
    BrowserBuffer.__init__(self, buffer_id, url, config_dir, arguments, emacs_var_dict, module_path, False)
  File "/home/colawithsauce/.emacs.d/.local/straight/repos/emacs-application-framework/core/webengine.py", line 613, in __init__
    self.add_widget(BrowserView(buffer_id, config_dir))
  File "/home/colawithsauce/.emacs.d/.local/straight/repos/emacs-application-framework/core/webengine.py", line 72, in __init__
    self.dark_mode_js = open(os.path.join(os.path.dirname(os.path.dirname(__file__)),
FileNotFoundError: [Errno 2] No such file or directory: '/home/colawithsauce/.emacs.d/.local/straight/repos/emacs-application-framework/node_modules/darkreader/darkreader.js'

Describe the bug
As the title, after calling eaf-open-browser, only get a blank buffer. It also happens after I call eaf-open-vue-demo and eaf-open-terminal.

To Reproduce

  • type M-x eaf-open-browser www.google.com , eaf-open-terminal or eaf-open-vue-demo

Versions (please complete the following info):

  • Distro and DE/WM: Archlinux Gnome40 wayland
  • Versions of Dependencies:
    $ node --version
    v16.5.0
    $ npm --version
    7.18.0
    $ pip --version
    pip 20.3.4 from /usr/lib/python3.9/site-packages/pip (python 3.9)
    $ /usr/bin/emacs --version
    GNU Emacs 28.0.50
    Copyright (C) 2021 Free Software Foundation, Inc.
    GNU Emacs comes with ABSOLUTELY NO WARRANTY.
    You may redistribute copies of GNU Emacs
    under the terms of the GNU General Public License.
    For more information about these matters, see the file named COPYING.
    

Screenshots
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions