RamadhanAmizudin / fimap

Automatically exported from code.google.com/p/fimap
1 stars 1 forks source link

cannot concatenate 'str' and 'NoneType' objects #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On which URL this error occures? (Important!)
Ubuntu 7.04 \n \l

Which version of fimap you are using? (You can see that in the very first
line)
Fimap 6.0 with svn 0.7

On what operating system?
Ubuntu 7.04 \n \l

Please provide any additional information below.
./fimap.py -H -u 'http://www.tvazteca.com/' -d 3 -w loghome

Traceback (most recent call last):
  File "./fimap.py", line 264, in <module>
    c.crawl()
  File "/home/jbpm/.fm/crawler.py", line 53, in crawl
    self.crawl_url(url, level)
  File "/home/jbpm/.fm/crawler.py", line 74, in crawl_url
    soup = BeautifulSoup(code)
  File "/home/jbpm/.fm/xgoogle/BeautifulSoup.py", line 1447, in __init__
    BeautifulStoneSoup.__init__(self, *args, **kwargs)
  File "/home/jbpm/.fm/xgoogle/BeautifulSoup.py", line 1070, in __init__
    self._feed()
  File "/home/jbpm/.fm/xgoogle/BeautifulSoup.py", line 1111, in _feed
    SGMLParser.feed(self, markup)
  File "/usr/lib/python2.5/sgmllib.py", line 98, in feed
    self.rawdata = self.rawdata + data
TypeError: cannot concatenate 'str' and 'NoneType' objects

Greets

Original issue reported on code.google.com by mexw...@gmail.com on 13 Nov 2009 at 8:48

GoogleCodeExporter commented 9 years ago
Hi mex :)

Thank you again and again for reporting bugs :)
I can reproduce this one and going to fix it today!

Thanks man!
-imax.

Original comment by fimap....@gmail.com on 14 Nov 2009 at 3:01

GoogleCodeExporter commented 9 years ago
Fixed4life ;)

Thanks mex. You rock.

Original comment by fimap....@gmail.com on 14 Nov 2009 at 3:18