|
|
#1 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 113
Karma: 150390
Join Date: Nov 2011
Location: Pacific NorthWest
Device: Kindle Fire
|
The error is: File "<string>", line 131, in get_browser TypeError: unbound method get_browser() must be called with BasicNewsRecipe instance as first argument (got nothing instead) But if you look at the get_browser() example at http://manual.calibre-ebook.com/news_recipe.html, this is correct. I could update the recipes, but it would make more sense to un-break Calibre. |
|
|
|
|
|
#2 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,489
Karma: 2944574
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You need to change your recipes to use
br = BasicNewsRecipe.get_browser(self)
__________________
Get calibre Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it. |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 113
Karma: 150390
Join Date: Nov 2011
Location: Pacific NorthWest
Device: Kindle Fire
|
Kovid, I usually agree with you, but this is silly. Your own documentation is still wrong online. Why force the recipes to change? Just undo the destructive change.
|
|
|
|
|
|
#4 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,489
Karma: 2944574
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Obviously, because the "destructive" change is there for a reason.
__________________
Get calibre Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it. |
|
|
|
|
|
#5 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 113
Karma: 150390
Join Date: Nov 2011
Location: Pacific NorthWest
Device: Kindle Fire
|
Okay, what is the reason that justified this? It seems like there should have been less destructive ways to get to most goals.
|
|
|
|
|
|
#6 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,489
Karma: 2944574
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Read the commit log, you will see the reason.
__________________
Get calibre Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calibre breaks image/div margins | dasboeh | ePub | 9 | 12-21-2012 01:15 PM |
| calibre Content Server Interfacing API | alexyeo | Development | 2 | 10-31-2011 11:18 PM |
| calibre's new plugin API | kovidgoyal | Plugins | 26 | 05-07-2011 02:43 PM |
| Adding page breaks in Calibre breaks ePubcheck validation | bookraft | Conversion | 16 | 03-01-2011 01:23 PM |
| calibre now uses the Google Books API to get metadata | kovidgoyal | Calibre | 9 | 03-23-2009 09:36 PM |