diff --git a/src/calibre/ebooks/oeb/reader.py b/src/calibre/ebooks/oeb/reader.py index 139f60d508..9043db97f1 100644 --- a/src/calibre/ebooks/oeb/reader.py +++ b/src/calibre/ebooks/oeb/reader.py @@ -331,7 +331,10 @@ class OEBReader(object): id = child.get('id') klass = child.get('class', 'chapter') - po = int(child.get('playOrder', self.oeb.toc.next_play_order())) + try: + po = int(child.get('playOrder', self.oeb.toc.next_play_order())) + except: + po = self.oeb.toc.next_play_order() authorElement = xpath(child, 'descendant::calibre:meta[@name = "author"]')