buster icon indicating copy to clipboard operation
buster copied to clipboard

fixlinks error?

Open tomvo opened this issue 10 years ago • 6 comments

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?

tomvo avatar Dec 05 '14 13:12 tomvo

you need a log file for this maybe?

tomvo avatar Dec 23 '14 12:12 tomvo

I also get this issue.

dataaa avatar Mar 26 '15 10:03 dataaa

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

apandichi avatar Jul 27 '15 09:07 apandichi

I'm getting same issue. I'm on Yosemite, python 2.7 and wget 1.16.3

jitendravyas avatar Sep 05 '15 07:09 jitendravyas

Having the same issue. Would be great if one of the above pull requests could be merged, so that we can at least download the current version from GitHub.

sebastianruder avatar Jan 04 '16 11:01 sebastianruder

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

mlvea avatar Mar 20 '16 03:03 mlvea