Dead link in Programming section

Bug #231228 reported by Nick Ellery
14
Affects Status Importance Assigned to Milestone
Ubuntu Documentation
Fix Released
Undecided
Unassigned
ubuntu-docs (Ubuntu)
Fix Released
Low
Matthew East

Bug Description

Binary package hint: ubuntu-docs

Steps to reproduce:

1. Go to https://help.ubuntu.com/8.04/programming/C/ar01s01.html
2. In the Dive Into Python section, the Read Dive Into Python link is dead

The "python-gtk-tutorial" link is dead too.

Revision history for this message
Nick Ellery (nick.ellery) wrote :

I've discovered that it linked to a file, which can be opened manually in the path specified (file:///usr/share/doc/diveintopython/html/toc/index.html). Is it just me that could not open the file?

Revision history for this message
Dean Sas (dsas) wrote :

Weirdly I can't open the file when it's linked from the webpage, but if I copy and paste the URL it works fine.

Perhaps the new firefox stops file:/// URIs from non-local webpages.

Changed in ubuntu-docs:
importance: Undecided → Low
status: New → Confirmed
Dean Sas (dsas)
description: updated
Revision history for this message
Martin Sondergaard (linux-sondergaard) wrote :

There is a Help page related to this web page.
This Help page has broken links in it too, the same links.

I found this Help page in Kubuntu, but there may be similar pages elsewhere.

The Help page is here :
help:/kubuntu/programming/programming ... .html#programming-howto-diveintopython

(I don't know the full URL ; I had to read that from a printout,
which didn't list the whole URL, it used ellipsis, "...". )

Revision history for this message
Lam Pak Ting (lampakting) wrote :

I think I just got it.

The correct URLs for both should be

Read Dive into Python:
http://www.diveintopython.org/

python-gtk-tutorial:
http://www.pygtk.org/pygtk2tutorial/

Changed in ubuntu-docs:
assignee: nobody → lampakting
assignee: lampakting → nobody
Revision history for this message
Lam Pak Ting (lampakting) wrote :

Attached is the patch for the fix.

Revision history for this message
Nick Ellery (nick.ellery) wrote :

The current link is directed at a file currently installed by default into everybody's Ubuntu system. It's a .pdf, not the actual site for the book.

Revision history for this message
Lam Pak Ting (lampakting) wrote :
Matthew East (mdke)
Changed in ubuntu-docs:
assignee: nobody → mdke
Revision history for this message
Matthew East (mdke) wrote :

It seems that remote links to local files are not permitted for security reasons in Firefox / Mozilla browsers. We can amend the links to point at the online versions of the documents. I've committed a fix for that to our repository, although it won't be transferred to help.u.c until the next time that site is rebuilt.

Changed in ubuntu-docs:
status: Confirmed → Fix Committed
Changed in ubuntu-doc:
status: New → Fix Committed
Matthew East (mdke)
Changed in ubuntu-doc:
status: Fix Committed → Fix Released
Changed in ubuntu-docs:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.