[GH-ISSUE #242] Chromium installed but not found by ./archive #167

Closed
opened 2026-03-01 14:41:13 +03:00 by kerem · 3 comments
Owner

Originally created by @fungalcofe on GitHub (May 18, 2019).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/242

Describe the bug

./archive don't find chromium-browser even if it's installed.

Steps to reproduce

  1. pkg install chromium (successful installation)
  2. ./archive

Screenshots or log output

[X] Missing dependency: chromium-browser

How I fixed it

I did a simple symbolic linck because it was looking for the wrong binary.

ln -s /usr/local/bin/chrome /usr/local/bin/chromium-browser

Software versions

  • OS: FreeBSD 12.0
  • ArchiveBox version: de28748
  • Python version: 3.6.8
  • Chrome version: Chromium 73.0.3683.103

Sidenote

It should be easily fixed. If I enjoy that tool and have some free time, I'll try to PR the installer to support FreeBSD.

Originally created by @fungalcofe on GitHub (May 18, 2019). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/242 #### Describe the bug `./archive` don't find `chromium-browser` even if it's installed. #### Steps to reproduce 1. `pkg install chromium` (successful installation) 2. `./archive` #### Screenshots or log output `[X] Missing dependency: chromium-browser` #### How I fixed it I did a simple symbolic linck because it was looking for the wrong binary. `ln -s /usr/local/bin/chrome /usr/local/bin/chromium-browser` #### Software versions - OS: FreeBSD 12.0 - ArchiveBox version: de28748 - Python version: 3.6.8 - Chrome version: Chromium 73.0.3683.103 #### Sidenote It should be easily fixed. If I enjoy that tool and have some free time, I'll try to PR the installer to support FreeBSD.
kerem closed this issue 2026-03-01 14:41:13 +03:00
Author
Owner

@pirate commented on GitHub (May 20, 2019):

It tries all of these in order, so if it's not able to find it then it's probably not in your $PATH or there's some other issue:

        default_executable_paths = (
            'chromium-browser',
            'chromium',
            '/Applications/Chromium.app/Contents/MacOS/Chromium',
            'google-chrome',
            '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome',
            'google-chrome-stable',
            'google-chrome-beta',
            'google-chrome-canary',
            '/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary',
            'google-chrome-unstable',
            'google-chrome-dev',
        )

What's the output of running which chromium && chromium --version in the same shell that you run ArchiveBox in?

<!-- gh-comment-id:494012729 --> @pirate commented on GitHub (May 20, 2019): It tries all of these in order, so if it's not able to find it then it's probably not in your `$PATH` or there's some other issue: ```python default_executable_paths = ( 'chromium-browser', 'chromium', '/Applications/Chromium.app/Contents/MacOS/Chromium', 'google-chrome', '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome', 'google-chrome-stable', 'google-chrome-beta', 'google-chrome-canary', '/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary', 'google-chrome-unstable', 'google-chrome-dev', ) ``` What's the output of running `which chromium && chromium --version` in the same shell that you run ArchiveBox in?
Author
Owner

@fungalcofe commented on GitHub (May 20, 2019):

Hi,

For chrome:

root@archive-box:~ # which chromium && chromium --version
chromium: Command not found.

For chromium-browser:

root@archive-box:~ # which chromium-browser && chromium-browser --version 
/usr/local/bin/chromium-browser
Chromium 73.0.3683.103 

It works because I did a logical link to fix it:

root@archive-box:~ # ls -l /usr/local/bin/chromium-browser 
lrwxr-xr-x  1 root  wheel  21 May 19 00:25 /usr/local/bin/chromium-browser -> /usr/local/bin/chrome

To add chrome or /usr/local/bin/chrome to default_executable_paths could the way to fix.

<!-- gh-comment-id:494029331 --> @fungalcofe commented on GitHub (May 20, 2019): Hi, For chrome: ``` root@archive-box:~ # which chromium && chromium --version chromium: Command not found. ``` For chromium-browser: ``` root@archive-box:~ # which chromium-browser && chromium-browser --version /usr/local/bin/chromium-browser Chromium 73.0.3683.103 ``` It works because I did a logical link to fix it: ``` root@archive-box:~ # ls -l /usr/local/bin/chromium-browser lrwxr-xr-x 1 root wheel 21 May 19 00:25 /usr/local/bin/chromium-browser -> /usr/local/bin/chrome ``` To add `chrome` or `/usr/local/bin/chrome` to `default_executable_paths` could the way to fix.
Author
Owner

@pirate commented on GitHub (May 20, 2019):

Just fixed this on master: github.com/pirate/ArchiveBox@e2b714ba95

Pull the latest version and comment back if you have any problems and I'll reopen the ticket.

<!-- gh-comment-id:494100504 --> @pirate commented on GitHub (May 20, 2019): Just fixed this on `master`: https://github.com/pirate/ArchiveBox/commit/e2b714ba95b26646b6d671576f343f1b9768189c Pull the latest version and comment back if you have any problems and I'll reopen the ticket.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#167
No description provided.