Results 1 to 3 of 3

Thread: 19.10, Python package local HTML docs cannot be opened in Chromium

  1. #1
    Join Date
    Nov 2013
    Location
    Silicon Valley
    Beans
    57
    Distro
    Ubuntu 19.04 Disco Dingo

    19.10, Python package local HTML docs cannot be opened in Chromium

    Hi folks,

    I just upgraded to Ubuntu 19.10. I installed my usual stack of Python data science tools -- Numpy, Scipy, Matplotlib, Scikit-learn, and Pandas. Canonical's repository includes optional documentation packages for each of these Python add-ons which are installed in /usr/share/doc. I don't like depending on an Internet connection to read programming docs, so I always download these and open them in a browser. I've been using Chromium for years.

    When I tried to follow my various Chromium bookmarks, which link to file:///usr/share/doc/python...index.html, I got an error message from Chromium: "Your file was not found. It may have been moved or deleted. ERR_FILE_NOT_FOUND". But the file URL was visible in the URL bar. If I tried to drag and drop these files into Chromium, bypassing my bookmarks, I got the same result.

    I opened the HTML files in a text editor, and they were clearly present and undamaged. This led me to try opening them in Firefox, which worked. I have a workaround for now.

    This may not be an Ubuntu problem. Who is responsible for the build of Chromium in the Canonical repositories? It appears that Google shares source code for the core of the Chrome browser, but it doesn't compile a finished product for Canonical. I may need to file a bug report.

    Thanks for your advice!

  2. #2
    Join Date
    Aug 2011
    Location
    52.5° N 6.4° E
    Beans
    6,821
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: 19.10, Python package local HTML docs cannot be opened in Chromium

    The chromium browser is starting from 19.10 only available as a snap package, not a traditional deb package. Snap packages are sandboxed for security, so they can't access any files outside your home directory. It should be possible to configure the sandboxing, but I think that using firefox is the easier solution.

  3. #3
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: 19.10, Python package local HTML docs cannot be opened in Chromium

    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •