axitkhurana / buster

Brute force static site generator for Ghost
MIT License
800 stars 139 forks source link

fixlinks error? #43

Open tomvo opened 9 years ago

tomvo commented 9 years ago

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 commented 9 years ago

you need a log file for this maybe?

dataaa commented 9 years ago

I also get this issue.

apandichi commented 9 years ago

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

jitendravyas commented 9 years ago

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

sebastianruder commented 8 years ago

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.

mlvea commented 8 years ago

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