View Single Post
Old 08-13-2010, 11:10 AM   #2423
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
Quote:
Originally Posted by nickredding View Post

Does anyone have any insight into the cause of this? It happens when I set masthead_url or override the get_masthead_url method.
It is most likely a bug that you should report in calibre's trac.

Meanwhile you can circumvent this bug by implementing get_cover_url since it is called before masthead and set class field masthead_url there like this:

Code:
    def get_cover_url(self):
         #your code here
        self.masthead_url = 'some url value'
        return None
kiklop74 is offline