Skip to content

青龙面板更新后无法使用 #48

@tophtab

Description

@tophtab

Traceback (most recent call last):
File "/ql/data/dep_cache/python3/lib/python3.11/site-packages/DrissionPage/_functions/browser.py", line 200, in _run_browser
return Popen(arguments, shell=False, stdout=DEVNULL, stderr=DEVNULL)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/lib/python3.11/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'chrome'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/ql/data/dep_cache/python3/lib/python3.11/site-packages/DrissionPage/_functions/browser.py", line 47, in connect_browser
_run_browser(port, browser_path, args)
File "/ql/data/dep_cache/python3/lib/python3.11/site-packages/DrissionPage/_functions/browser.py", line 202, in _run_browser
raise FileNotFoundError(_S._lang.join(_S._lang.BROWSER_NOT_FOUND))
FileNotFoundError:
Browser not found.
Version: 4.1.0.18

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/ql/data/scripts/doveppp_linuxdo-checkin/main.py", line 331, in
l = LinuxDoBrowser()
^^^^^^^^^^^^^^^^
File "/ql/data/scripts/doveppp_linuxdo-checkin/main.py", line 84, in init
self.browser = Chromium(co)
^^^^^^^^^^^^
File "/ql/data/dep_cache/python3/lib/python3.11/site-packages/DrissionPage/_base/chromium.py", line 41, in new
is_headless, browser_id, is_exists = run_browser(opt)
^^^^^^^^^^^^^^^^
File "/ql/data/dep_cache/python3/lib/python3.11/site-packages/DrissionPage/_base/chromium.py", line 470, in run_browser
is_exists = connect_browser(chromium_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ql/data/dep_cache/python3/lib/python3.11/site-packages/DrissionPage/_functions/browser.py", line 53, in connect_browser
raise FileNotFoundError(_S._lang.join(_S._lang.BROWSER_EXE_NOT_FOUND))
FileNotFoundError:
The browser executable file path cannot be found. Please configure it manually.
Version: 4.1.0.18

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