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.

I get this error when I try to generate the static version.

Traceback (most recent call last):
  File "/usr/local/bin/buster", line 9, in <module>
    load_entry_point('buster==0.1.3', 'console_scripts', 'buster')()
  File "/Library/Python/2.7/site-packages/buster/buster.py", line 90, in main
    newtext = fixLinks(filetext, parser)
  File "/Library/Python/2.7/site-packages/buster/buster.py", line 68, in fixLinks
    if not abs_url_regex.search(href):
TypeError: expected string or buffer

Any idea?

Issue Analytics

  • State:open
  • Created 9 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
apandichicommented, Jul 27, 2015

In my case, href was None because it was missing for such an element:

  <a><i class="icon icon-list"/></a>

EDIT: There’s also this pull request with the same fix: https://github.com/axitkhurana/buster/pull/65

0reactions
mlveacommented, Mar 20, 2016

Is the issue still persist? I see the last commit in 2014.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FixLinks - an AppleScript to repair broken links in Music
The first subfolder will be the Compilations folder if the track is marked as a compilation, otherwise Album Artist, or Artist if Album...
Read more >
Internet Tips: Tips for Fixing Broken Links - GCF Global
If the problem is with the link itself, you can sometimes fix it by editing the web address—also known as the URL—in your...
Read more >
How to Fix Links Not Working in Chrome - groovyPost
If links aren't working in Chrome, it could be anything from a rogue extension to corrupt cache files. Try these fixes to resolve...
Read more >
fixLinks causes strange error on a button click in a file ...
Re: fixLinks causes strange error on a button click in a fil ... The "alert" file does not exist. Giorgio Maone -- Hackademix....
Read more >
Fixing Links in Functions - Oracle Help Center
To fix broken links in functions: From the Smart View ribbon, select the arrow next to Functions. From the drop-down menu, select Fix...
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