question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Broken Links on Web Site (Background Page)

See original GitHub issue

ALL software version info

Web Site as Accessed on 7th of March 2020

Description of expected behavior and the observed behavior

Links on https://holoviz.org/background.html in the Demos section expected to work - result in 404 error.

Complete, minimal, self-contained example code that reproduces the issue

from requests_html import HTMLSession
sess = HTMLSession()
base_url = "https://holoviz.org/background.html"
# Get the response from the base URL
resp = sess.get(base_url)
# Get the links
links = resp.html.links
# At the moment we are only interested in absolute/external links
full_links = [l for l in links if l.startswith('http')]

broken = [] # Storage for broken links
for l in full_links: # Check each in turn
    print(f"Checking {l}")
    try:
        link_resp = sess.get(l)
    except Exception as e: # Very bad Links
        print(f"Failed to get {l} - {e}")
        broken.append(l)
    if not link_resp.ok or link_resp.status_code != 200:  # i.e Bad Lnks
        broken.append(l)
print('Broken:', broken)

Output: Checking http://datashader.org/topics/landsat.html Checking http://pandas.pydata.org Checking https://anaconda.org/jbednar/nyc_taxi Checking https://anaconda.org/jbednar/opensky Checking http://scitools.org.uk/cartopy Checking http://holoviews.org/gallery/apps/bokeh/game_of_life.html Checking http://bokeh.pydata.org Checking http://holoviews.org/gallery/demos/bokeh/dragon_curve.html Checking http://panel.pyviz.org Checking http://holoviews.org/reference/apps/bokeh/selection_stream.html Checking https://fastparquet.readthedocs.io Checking http://holoviews.org Checking http://geo.holoviews.org Checking http://numba.pydata.org Checking http://holoviews.org/reference/streams/bokeh/BoundsX.html Checking http://hvplot.pyviz.org Checking http://dask.pydata.org Checking http://xarray Failed to get http://xarray - HTTPConnectionPool(host=‘xarray’, port=80): Max retries exceeded with url: / (Caused by NewConnectionError(‘<urllib3.connection.HTTPConnection object at 0x000001F3076FB040>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed’)) Checking http://param.pyviz.org Checking http://jupyter.org Checking http://datashader.org Checking https://panel.pyviz.org/user_guide/Interact.html Checking http://holoviews.org/gallery/apps/bokeh/crossfilter.html Checking http://holoviews.org/reference/containers/bokeh/DynamicMap.html Checking http://holoviews.org/gallery/apps/bokeh/mandelbrot.html Checking https://anaconda.org/jbednar/edge_bundling Broken: [‘http://xarray’, ‘http://datashader.org/topics/landsat.html’, ‘http://datashader.org/topics/landsat.html’]

Stack traceback and/or browser JavaScript console output

Link to Land Sat example goes to http://datashader.org/topics/landsat.html should go to https://examples.pyviz.org/landsat/landsat.html instead.

Screenshots or screencasts of the bug in action

N/A

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jbednarcommented, Mar 8, 2020

Ok, looks like Travis updated their build images, and after updating our pythons to match, the website build finally succeeded. Should be live now at http://holoviz.org/background.html. Thanks for watching out for us, and now if you see any other problems they will be things that still need fixing.

1reaction
jbednarcommented, Mar 8, 2020

Thanks! These were already fixed in master, but not yet on the released website. I may have just forgotten to start the website build, but there may have been some problem building it when I last tried. I’ve started it building again; we’ll see! In any case, thanks for the reminder.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Prevent, Find and Fix Broken Links | Semonto
A broken link can be caused by a number of things: Somebody moved the web page, website, file or image to which you...
Read more >
Top 5 Ways To Prevent Broken Images And Links On Your ...
Top 5 Ways To Prevent Broken Images And Links On Your Website · More videos on YouTube · # 1 – Prevent Broken...
Read more >
How to Fix and Find Broken Pages - Resource Center
This document will explain how to monitor broken pages on your website. Using links appropriately in your website content is one way to...
Read more >
How to Find and Fix Broken Links in WordPress (Step by Step)
Do you have broken links on your site? Here is how to find and fix broken links in WordPress, the RIGHT way, step...
Read more >
How To Find Broken Links And Fix Them - Blogging Wizard
Fixing your broken links · 1. Correct the link. If you mistyped the link, then type it properly. · 2. Remove the link....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found