I'm trying to run the program from the example on Debian 13 and I get this error.
with Chromiumfish(persona_seed="alpha-7", headless=True) as browser:
page = browser.new_page()
page.goto("https://example.com")
page.screenshot(path="fingerprint.png")
uv run test2.py
Traceback (most recent call last):
File "/home/juha/Desktop/python/allegro/test2.py", line 3, in <module>
with Chromiumfish(persona_seed="alpha-7", headless=True) as browser:
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/juha/Desktop/python/allegro/.venv/lib/python3.13/site-packages/chromiumfish/sync_api.py", line 76, in __enter__
return self.start()
~~~~~~~~~~^^
File "/home/juha/Desktop/python/allegro/.venv/lib/python3.13/site-packages/chromiumfish/sync_api.py", line 56, in start
self._browser = self._pw.chromium.launch(
~~~~~~~~~~~~~~~~~~~~~~~~^
**launch_options(executable_path=exe, tz=tz, **self._opts)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/juha/Desktop/python/allegro/.venv/lib/python3.13/site-packages/playwright/sync_api/_generated.py", line 16702, in launch
self._sync(
~~~~~~~~~~^
self._impl_obj.launch(
^^^^^^^^^^^^^^^^^^^^^^
...<17 lines>...
)
^
)
^
File "/home/juha/Desktop/python/allegro/.venv/lib/python3.13/site-packages/playwright/_impl/_sync_base.py", line 115, in _sync
return task.result()
~~~~~~~~~~~^^
File "/home/juha/Desktop/python/allegro/.venv/lib/python3.13/site-packages/playwright/_impl/_browser_type.py", line 97, in launch
await self._channel.send(
"launch", TimeoutSettings.launch_timeout, params
)
File "/home/juha/Desktop/python/allegro/.venv/lib/python3.13/site-packages/playwright/_impl/_connection.py", line 76, in send
return await self._connection.wrap_api_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
File "/home/juha/Desktop/python/allegro/.venv/lib/python3.13/site-packages/playwright/_impl/_connection.py", line 632, in wrap_api_call
raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None
playwright._impl._errors.TargetClosedError: BrowserType.launch: Target page, context or browser has been closed
Browser logs:
<launching> /home/juha/.cache/chromiumfish/151.0.7922.170/linux-x64/chromiumfish-linux-x64/chrome --disable-field-trial-config --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-edgeupdater --disable-extensions --disable-features=AvoidUnnecessaryBeforeUnloadCheckSync,BoundaryEventDispatchTracksNodeRemoval,DestroyProfileOnBrowserClose,DialMediaRouteProvider,GlobalMediaControls,HttpsUpgrades,LensOverlay,MediaRouter,PaintHolding,ThirdPartyStoragePartitioning,BlockOriginHeaderModificationOnRedirect,Translate,AutoDeElevate,OptimizationHints,msForceBrowserSignIn,msEdgeUpdateLaunchServicesPreferredVersion --enable-features=CDPScreenshotNewSurface --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-updater-scheduler --force-color-profile=srgb --metrics-recording-only --no-first-run --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --disable-search-engine-choice-screen --unsafely-disable-devtools-self-xss-warnings --edge-skip-compat-layer-relaunch --disable-infobars --disable-search-engine-choice-screen --disable-sync --enable-unsafe-swiftshader --headless --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --no-sandbox --no-zygote --disable-dev-shm-usage --use-gl=angle --use-angle=swiftshader --enable-unsafe-swiftshader --persona-seed=alpha-7 --window-size=1920,1080 --user-data-dir=/tmp/playwright_chromiumdev_profile-K9gOGw --remote-debugging-pipe --no-startup-window
<launched> pid=1968290
[pid=1968290][err] [1968291:1968291:0905/123802.576580:FATAL:third_party/crashpad/crashpad/util/posix/spawn_subprocess.cc:222] posix_spawn /home/juha/.cache/chromiumfish/151.0.7922.170/linux-x64/chromiumfish-linux-x64/chrome_crashpad_handler: No such file or directory (2)
Call log:
- <launching> /home/juha/.cache/chromiumfish/151.0.7922.170/linux-x64/chromiumfish-linux-x64/chrome --disable-field-trial-config --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-edgeupdater --disable-extensions --disable-features=AvoidUnnecessaryBeforeUnloadCheckSync,BoundaryEventDispatchTracksNodeRemoval,DestroyProfileOnBrowserClose,DialMediaRouteProvider,GlobalMediaControls,HttpsUpgrades,LensOverlay,MediaRouter,PaintHolding,ThirdPartyStoragePartitioning,BlockOriginHeaderModificationOnRedirect,Translate,AutoDeElevate,OptimizationHints,msForceBrowserSignIn,msEdgeUpdateLaunchServicesPreferredVersion --enable-features=CDPScreenshotNewSurface --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-updater-scheduler --force-color-profile=srgb --metrics-recording-only --no-first-run --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --disable-search-engine-choice-screen --unsafely-disable-devtools-self-xss-warnings --edge-skip-compat-layer-relaunch --disable-infobars --disable-search-engine-choice-screen --disable-sync --enable-unsafe-swiftshader --headless --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --no-sandbox --no-zygote --disable-dev-shm-usage --use-gl=angle --use-angle=swiftshader --enable-unsafe-swiftshader --persona-seed=alpha-7 --window-size=1920,1080 --user-data-dir=/tmp/playwright_chromiumdev_profile-K9gOGw --remote-debugging-pipe --no-startup-window
- <launched> pid=1968290
- [pid=1968290][err] [1968291:1968291:0905/123802.576580:FATAL:third_party/crashpad/crashpad/util/posix/spawn_subprocess.cc:222] posix_spawn /home/juha/.cache/chromiumfish/151.0.7922.170/linux-x64/chromiumfish-linux-x64/chrome_crashpad_handler: No such file or directory (2)
- [pid=1968290] <gracefully close start>
- [pid=1968290] <kill>
- [pid=1968290] <will force kill>
- [pid=1968290] <process did exit: exitCode=null, signal=SIGTRAP>
- [pid=1968290] starting temporary directories cleanup
- [pid=1968290] finished temporary directories cleanup
- [pid=1968290] <gracefully close end>
I'm trying to run the program from the example on Debian 13 and I get this error.
from chromiumfish.sync_api import Chromiumfish