07-18-2012, 09:24 AM | #1 |
Groupie
Posts: 154
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
|
'NoneType' object has no attribute '__getitem__'
Although most of my threads went unanswered...
When trying out a recipe I built, the following error occurred. I wonder what it means. Python function terminated unexpectedly 'NoneType' object has no attribute '__getitem__' (Error Code: 1) Traceback (most recent call last): File "site.py", line 132, in main File "site.py", line 109, in run_entry_point File "site-packages\calibre\utils\ipc\worker.py", line 192, in main File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert File "site-packages\calibre\ebooks\conversion\plumber.py", line 979, in run File "site-packages\calibre\customize\conversion.py", line 208, in __call__ File "site-packages\calibre\ebooks\conversion\plugins\recipe_ input.py", line 105, in convert File "site-packages\calibre\web\feeds\news.py", line 881, in download File "site-packages\calibre\web\feeds\news.py", line 1025, in build_index File "<string>", line 30, in parse_index TypeError: 'NoneType' object has no attribute '__getitem__' |
07-18-2012, 11:54 AM | #2 |
Groupie
Posts: 154
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
|
The error I mentioned in TS was when I was trying to parse index. I've solved this. But when the downloading began, a new error popped up:
Traceback (most recent call last): File "site-packages\calibre\web\fetch\simple.py", line 465, in process_links File "site-packages\calibre\web\fetch\simple.py", line 197, in get_soup File "site-packages\calibre\ebooks\BeautifulSoup.py", line 744, in findAll File "site-packages\calibre\ebooks\BeautifulSoup.py", line 330, in _findAll File "site-packages\calibre\ebooks\BeautifulSoup.py", line 866, in search File "site-packages\calibre\ebooks\BeautifulSoup.py", line 832, in searchTag AttributeError: 'set' object has no attribute 'items' |
Advert | |
|
07-18-2012, 09:41 PM | #3 |
Groupie
Posts: 154
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
|
Solved the problem by changing "remove tags".
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
'NoneType' object has no attribute 'tag'? | gweminence | Calibre | 7 | 09-13-2011 10:03 AM |
Adding <guide> produces error: "Nonetype object has no attribute 'lower' | MichaelKaufman | ePub | 2 | 08-19-2011 06:39 PM |
AttributeError: 'NoneType' object has no attribute 'replace' when trying to add books | tilleydog | Calibre | 16 | 10-04-2010 04:29 AM |
AttributeError: 'NoneType' object has no attribute 'lower | manada | Calibre | 2 | 08-10-2010 10:54 PM |