GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — plausible analytics no longer loading · Issue #265 · python/docsbuild-scripts

plausible analytics no longer loading #265

New issue
Copy link
New issue
Copy link
Closed
Closed
plausible analytics no longer loading#265
Copy link

Description

@ewdurbin
ewdurbin
opened on Apr 11, 2025
Issue body actions

As of an hour or two ago, see https://analytics.python.org/docs.python.org and https://plausible.io/docs.python.org

Looks like only a few cached pages still are loading.

Image
Reacted by Hugo van Kemenade

Activity

  1. ewdurbin commented on Apr 11, 2025

    @ewdurbin
    ewdurbin
    on Apr 11, 2025
    MemberAuthor
    More actions

    suspect commits around that time: #235, #264, #258 and python/psf-salt#560

    @AA-Turner @hugovk any ideas?

  2. AA-Turner commented on Apr 11, 2025

    @AA-Turner
    AA-Turner
    on Apr 11, 2025
    Member
    More actions

    I ran a manual rebuild for the security branches:

    adam@docs:/srv/docsbuild$ sudo su --shell=/bin/bash docsbuild
    docsbuild@docs:/srv/docsbuild$ /srv/docsbuild/venv/bin/python /srv/docsbuild/scripts/build_docs.py --languages en --select-output only-html-en --branches 3.14 3.13 3.12 3.11 3.10 3.9
    

    This ran without PYTHON_DOCS_ENABLE_ANALYTICS=1, because that environment variables is managed by Salt, and seemingly only set for the scheduled cron jobs.

    I've just started another rebuild with PYTHON_DOCS_ENABLE_ANALYTICS=1 set, hopefully this restores normality.

    A

  3. AA-Turner commented on Apr 11, 2025

    @AA-Turner
    AA-Turner
    on Apr 11, 2025
    Member
    More actions

    https://docs.python.org/3.14/ is now showing as having the scripts again, please could you confirm? Sorry for the trouble.

    Is there a good way to set all of the salt-managed environment variables at once in a shell for when doing manual rebuilds?

    A

  4. hugovk commented on Apr 11, 2025

    @hugovk
    hugovk
    on Apr 11, 2025
    Member
    More actions

    I also see the Plausible scripts at https://docs.python.org/3.14/ and the view counts are increasing again:

    https://plausible.io/docs.python.org?period=realtime&keybindHint=R

    Image
  5. ewdurbin commented on Apr 11, 2025

    @ewdurbin
    ewdurbin
    on Apr 11, 2025
    MemberAuthor
    More actions

    Probably the least intrusive way would be to update the scripts to read from a config file in like an xdg style way, allowing us to set a server wide setting that is picked up by the script when run in cron, interactively, or when using sudo.

    Then salt could write the sentry dsn, fastly bits, and the analytics bit to /etc/....somethingoranother, and users could have local overrides.

  6. AA-Turner commented on Apr 11, 2025

    @AA-Turner
    AA-Turner
    on Apr 11, 2025
    Member
    More actions

    Symlinks have updated, I now see plausible on https://docs.python.org/3/.

    A

  7. AA-Turner
    closed this as completedon Apr 11, 2025
  8. hugovk commented on Apr 11, 2025

    @hugovk
    hugovk
    on Apr 11, 2025
    Member
    More actions

    Opened #266 as a reminder for this.

    Reacted by Adam Turner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.