[GH-ISSUE #658] Bug: Admin panel actions do not work in Safari and Epiphany #412

Closed
opened 2026-03-01 14:43:20 +03:00 by kerem · 11 comments
Owner

Originally created by @berezovskyi on GitHub (Feb 27, 2021).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/658

Describe the bug

"No action selected." error is returned from the admin pages when trying to run actions like Archive via Safari.

Steps to reproduce

  1. Open http://%HOST%/admin/core/snapshot/?p=1 page
  2. Select a few entries by ticking the checkboxes.
  3. Click the Archive button.

Screenshots or log output

Before:

image

After:

image

  • Safari 14.0.3 on latest Catalina update.
  • Content blockers disabled.
  • Cross-site tracking prevention disabled.
  • Extensions enabled are Instapaper and Bitwarden but should not affect this.

Console does not show any errors except the favicon 404s. This exact sequence of steps works perfectly well in FF, Chrome, Brave on macOS. DOES NOT work on GNOME Web (aka Epiphany) on Linux. I tried to searching for Django Admin problems with actions in Webkit but maybe I was not making specific enough queries to pinpoint this.

ArchiveBox version

replace this line with the *full*, unshortened output of running `archivebox version`
ArchiveBox v0.5.6
Cpython Linux Linux-5.8.0-43-generic-x86_64-with-glibc2.28 x86_64 (in Docker)

[i] Dependency versions:
 √  ARCHIVEBOX_BINARY     v0.5.6          valid     /usr/local/bin/archivebox
 √  PYTHON_BINARY         v3.9.1          valid     /usr/local/bin/python3.9
 √  DJANGO_BINARY         v3.1.3          valid     /usr/local/lib/python3.9/site-packages/django/bin/django-admin.py
 √  CURL_BINARY           v7.64.0         valid     /usr/bin/curl
 √  WGET_BINARY           v1.20.1         valid     /usr/bin/wget
 √  NODE_BINARY           v15.8.0         valid     /usr/bin/node
 √  SINGLEFILE_BINARY     v0.1.14         valid     /node/node_modules/single-file/cli/single-file
 √  READABILITY_BINARY    v0.1.0          valid     /node/node_modules/readability-extractor/readability-extractor
 √  MERCURY_BINARY        v1.0.0          valid     /node/node_modules/@postlight/mercury-parser/cli.js
 √  GIT_BINARY            v2.20.1         valid     /usr/bin/git
 √  YOUTUBEDL_BINARY      v2021.02.04.1   valid     /usr/local/bin/youtube-dl
 √  CHROME_BINARY         v88.0.4324.146  valid     /usr/bin/chromium
 √  RIPGREP_BINARY        v0.10.0         valid     /usr/bin/rg

[i] Source-code locations:
 √  PACKAGE_DIR           22 files        valid     /app/archivebox
 √  TEMPLATES_DIR         3 files         valid     /app/archivebox/templates

[i] Secrets locations:
 -  CHROME_USER_DATA_DIR  -               disabled
 -  COOKIES_FILE          -               disabled

[i] Data locations:
 √  OUTPUT_DIR            13 files        valid     /data
 √  SOURCES_DIR           202 files       valid     ./sources
 √  LOGS_DIR              0 files         valid     ./logs
 √  ARCHIVE_DIR           4381 files      valid     ./archive
 √  CONFIG_FILE           1.1 KB          valid     ./ArchiveBox.conf
 √  SQL_INDEX             35.1 MB         valid     ./index.sqlite3
Originally created by @berezovskyi on GitHub (Feb 27, 2021). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/658 <!-- Please fill out the following information, feel free to delete sections if they're not applicable or if long issue templates annoy you. (the only required section is the version information) --> #### Describe the bug <!-- A description of what the bug is, what you expected to happen, and any relevant context about issue. --> "No action selected." error is returned from the admin pages when trying to run actions like Archive via Safari. #### Steps to reproduce <!-- For example: 1. Ran ArchiveBox with the following config '...' 2. Saw this output during archiving '....' 3. UI didn't show the thing I was expecting '....' --> 1. Open http://%HOST%/admin/core/snapshot/?p=1 page 2. Select a few entries by ticking the checkboxes. 3. Click the Archive button. #### Screenshots or log output <!-- If applicable, post any relevant screenshots or copy/pasted terminal output from ArchiveBox. If you're reporting a parsing / importing error, **you must paste a copy of your redacted import file here**. --> Before: ![image](https://user-images.githubusercontent.com/64734/109391876-9bcd5300-7919-11eb-8071-f3423fb6b2cb.jpeg) After: ![image](https://user-images.githubusercontent.com/64734/109391883-a556bb00-7919-11eb-9a7b-e893febcc43e.jpeg) - Safari 14.0.3 on latest Catalina update. - Content blockers disabled. - Cross-site tracking prevention disabled. - Extensions enabled are Instapaper and Bitwarden but should not affect this. Console does not show any errors except the favicon 404s. This exact sequence of steps works perfectly well in FF, Chrome, Brave on macOS. DOES NOT work on GNOME Web (aka Epiphany) on Linux. I tried to searching for Django Admin problems with actions in Webkit but maybe I was not making specific enough queries to pinpoint this. #### ArchiveBox version <!-- Run the `archivebox version` command locally then copy paste the result here: --> ```logs replace this line with the *full*, unshortened output of running `archivebox version` ``` <!-- Tickets without full version info will closed until it is provided, we need the full output here to help you solve your issue --> ``` ArchiveBox v0.5.6 Cpython Linux Linux-5.8.0-43-generic-x86_64-with-glibc2.28 x86_64 (in Docker) [i] Dependency versions: √ ARCHIVEBOX_BINARY v0.5.6 valid /usr/local/bin/archivebox √ PYTHON_BINARY v3.9.1 valid /usr/local/bin/python3.9 √ DJANGO_BINARY v3.1.3 valid /usr/local/lib/python3.9/site-packages/django/bin/django-admin.py √ CURL_BINARY v7.64.0 valid /usr/bin/curl √ WGET_BINARY v1.20.1 valid /usr/bin/wget √ NODE_BINARY v15.8.0 valid /usr/bin/node √ SINGLEFILE_BINARY v0.1.14 valid /node/node_modules/single-file/cli/single-file √ READABILITY_BINARY v0.1.0 valid /node/node_modules/readability-extractor/readability-extractor √ MERCURY_BINARY v1.0.0 valid /node/node_modules/@postlight/mercury-parser/cli.js √ GIT_BINARY v2.20.1 valid /usr/bin/git √ YOUTUBEDL_BINARY v2021.02.04.1 valid /usr/local/bin/youtube-dl √ CHROME_BINARY v88.0.4324.146 valid /usr/bin/chromium √ RIPGREP_BINARY v0.10.0 valid /usr/bin/rg [i] Source-code locations: √ PACKAGE_DIR 22 files valid /app/archivebox √ TEMPLATES_DIR 3 files valid /app/archivebox/templates [i] Secrets locations: - CHROME_USER_DATA_DIR - disabled - COOKIES_FILE - disabled [i] Data locations: √ OUTPUT_DIR 13 files valid /data √ SOURCES_DIR 202 files valid ./sources √ LOGS_DIR 0 files valid ./logs √ ARCHIVE_DIR 4381 files valid ./archive √ CONFIG_FILE 1.1 KB valid ./ArchiveBox.conf √ SQL_INDEX 35.1 MB valid ./index.sqlite3 ```
kerem 2026-03-01 14:43:20 +03:00
Author
Owner

@pirate commented on GitHub (Mar 1, 2021):

Interesting, I have not run into this myself in Safari on macOS Big Sur, but I'll check again on v0.6.

<!-- gh-comment-id:787580747 --> @pirate commented on GitHub (Mar 1, 2021): Interesting, I have not run into this myself in Safari on macOS Big Sur, but I'll check again on v0.6.
Author
Owner

@pirate commented on GitHub (Apr 6, 2021):

Fixed in 68a506e. Will be out with the v0.6 release. Comment back if you still have any trouble after that release is out and I'll reopen the issue.

<!-- gh-comment-id:813817140 --> @pirate commented on GitHub (Apr 6, 2021): Fixed in 68a506e. Will be out with the v0.6 release. Comment back if you still have any trouble after that release is out and I'll reopen the issue.
Author
Owner

@mdbraber commented on GitHub (May 23, 2021):

Seems that this bug is back? Experiencing the same issue with the dev branch (and 0.6.2) on Safari 14.1 on Big Sur (11.3.1)

<!-- gh-comment-id:846617072 --> @mdbraber commented on GitHub (May 23, 2021): Seems that this bug is back? Experiencing the same issue with the `dev` branch (and 0.6.2) on Safari 14.1 on Big Sur (11.3.1)
Author
Owner

@rcarmo commented on GitHub (Jul 18, 2021):

I can confirm this is still an issue with both desktop and mobile Safari, which makes it hard/impossible to use on an iPad.

<!-- gh-comment-id:882021917 --> @rcarmo commented on GitHub (Jul 18, 2021): I can confirm this is still an issue with both desktop and mobile Safari, which makes it hard/impossible to use on an iPad.
Author
Owner

@rcarmo commented on GitHub (Oct 21, 2021):

Hi there. Any quick fix or workaround hack we can do for this in the meantime? I keep stuffing URLs into a note and then filing them via Firefox on my laptop, which is sub-optimal…

<!-- gh-comment-id:948300055 --> @rcarmo commented on GitHub (Oct 21, 2021): Hi there. Any quick fix or workaround hack we can do for this in the meantime? I keep stuffing URLs into a note and then filing them via Firefox on my laptop, which is sub-optimal…
Author
Owner

@aidenmitchell commented on GitHub (Nov 10, 2021):

Still an issue as of v0.6.2 on iPadOS 15.2db2

<!-- gh-comment-id:965796971 --> @aidenmitchell commented on GitHub (Nov 10, 2021): Still an issue as of v0.6.2 on iPadOS 15.2db2
Author
Owner

@pirate commented on GitHub (Nov 12, 2021):

It's fixed in v0.6.3 @aidenmitchell , you can run the pre-release version safely by following these instructions: https://github.com/ArchiveBox/ArchiveBox#install-and-run-a-specific-github-branch

<!-- gh-comment-id:967224768 --> @pirate commented on GitHub (Nov 12, 2021): It's fixed in v0.6.3 @aidenmitchell , you can run the pre-release version safely by following these instructions: https://github.com/ArchiveBox/ArchiveBox#install-and-run-a-specific-github-branch
Author
Owner

@aidenmitchell commented on GitHub (Nov 12, 2021):

@pirate Just updated to dev branch, still not working unfortunately.

<!-- gh-comment-id:967254500 --> @aidenmitchell commented on GitHub (Nov 12, 2021): @pirate Just updated to dev branch, still not working unfortunately.
Author
Owner

@pirate commented on GitHub (Nov 12, 2021):

Sorry can you re-pull and try again now, I just merged another PR that helps fix it https://github.com/ArchiveBox/ArchiveBox/pull/885

<!-- gh-comment-id:967267479 --> @pirate commented on GitHub (Nov 12, 2021): Sorry can you re-pull and try again now, I just merged another PR that helps fix it https://github.com/ArchiveBox/ArchiveBox/pull/885
Author
Owner

@aidenmitchell commented on GitHub (Nov 12, 2021):

Works now, thank you!

<!-- gh-comment-id:967300787 --> @aidenmitchell commented on GitHub (Nov 12, 2021): Works now, thank you!
Author
Owner

@pirate commented on GitHub (Nov 12, 2021):

Great, thanks for helping test. I'm going to close this for now as fixed, anyone arriving here can do the same step to run the pre-release version early, or wait for the v0.6.3 release to land.

<!-- gh-comment-id:967302806 --> @pirate commented on GitHub (Nov 12, 2021): Great, thanks for helping test. I'm going to close this for now as fixed, anyone arriving here can do the same step to run the pre-release version early, or wait for the v0.6.3 release to land.
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#412
No description provided.