Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-12-2011, 04:44 PM   #1
gweminence
Fat Guy
gweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notes
 
Posts: 395
Karma: 24165
Join Date: Jun 2010
Device: Kindle 3
'NoneType' object has no attribute 'tag'?

I've started getting this error on some few ebooks with 0.8.18. I'm stumped as to what's causing it. It occurs when I'm trying to open the book in the default viewer. Just to check, I sent the book as-is to my kindle, and it works fine there, so I've screwed something up in calibre, I assume? Thanks in advance.

Spoiler:
calibre, version 0.8.18
ERROR: Could not open ebook: 'NoneType' object has no attribute 'tag'

Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\main.py", line 64, in run
File "threading.py", line 483, in run
File "site-packages\calibre\ebooks\oeb\iterator.py", line 195, in __enter__
File "site-packages\calibre\customize\conversion.py", line 204, in __call__
File "site-packages\calibre\ebooks\mobi\input.py", line 27, in convert
File "site-packages\calibre\ebooks\mobi\reader.py", line 406, in extract_content
File "site-packages\calibre\ebooks\mobi\reader.py", line 657, in upshift_markup
AttributeError: 'NoneType' object has no attribute 'tag'
gweminence is offline   Reply With Quote
Old 09-12-2011, 05:24 PM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,612
Karma: 5628865
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by gweminence View Post
I've started getting this error on some few ebooks with 0.8.18. I'm stumped as to what's causing it. It occurs when I'm trying to open the book in the default viewer. Just to check, I sent the book as-is to my kindle, and it works fine there, so I've screwed something up in calibre, I assume? Thanks in advance.

Spoiler:
calibre, version 0.8.18
ERROR: Could not open ebook: 'NoneType' object has no attribute 'tag'

Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\main.py", line 64, in run
File "threading.py", line 483, in run
File "site-packages\calibre\ebooks\oeb\iterator.py", line 195, in __enter__
File "site-packages\calibre\customize\conversion.py", line 204, in __call__
File "site-packages\calibre\ebooks\mobi\input.py", line 27, in convert
File "site-packages\calibre\ebooks\mobi\reader.py", line 406, in extract_content
File "site-packages\calibre\ebooks\mobi\reader.py", line 657, in upshift_markup
AttributeError: 'NoneType' object has no attribute 'tag'
I think the from Mobi converter is Broke
I am seeing that message when I try and convert from Mobi to EPUB (The viewer uses EPUB to view). the bookS open fine in MobiPocket Reader.
theducks is offline   Reply With Quote
 
Enthusiast
Old 09-12-2011, 07:07 PM   #3
gweminence
Fat Guy
gweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notes
 
Posts: 395
Karma: 24165
Join Date: Jun 2010
Device: Kindle 3
Yeah it pops up when I try to convert a .mobi, but only those that show the error when trying to open in the viewer. I only noticed it because of checking it in the viewer.

....hmm. Which means that the mobi file that I tried to open may have been converted with (from the source I got it) with the new, bugged converter...which means that your premise is still likely.

Last edited by gweminence; 09-12-2011 at 07:24 PM.
gweminence is offline   Reply With Quote
Old 09-12-2011, 07:36 PM   #4
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,838
Karma: 12535517
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by gweminence View Post
Yeah it pops up when I try to convert a .mobi, but only those that show the error when trying to open in the viewer. I only noticed it because of checking it in the viewer.
Calibre's viewer is essentially an ePub viewer and all books viewed are converted to ePub before viewing.
DoctorOhh is offline   Reply With Quote
Old 09-12-2011, 08:22 PM   #5
gweminence
Fat Guy
gweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notes
 
Posts: 395
Karma: 24165
Join Date: Jun 2010
Device: Kindle 3
Quote:
Originally Posted by dwanthny View Post
Calibre's viewer is essentially an ePub viewer and all books viewed are converted to ePub before viewing.
Ah. Any idea what's throwing the error, then?
gweminence is offline   Reply With Quote
Old 09-12-2011, 11:37 PM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,906
Karma: 5035037
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://bugs.launchpad.net/calibre/+bug/846216
kovidgoyal is offline   Reply With Quote
Old 09-13-2011, 04:20 AM   #7
gweminence
Fat Guy
gweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notes
 
Posts: 395
Karma: 24165
Join Date: Jun 2010
Device: Kindle 3
Sweet, thanks, Kovid.
gweminence is offline   Reply With Quote
Old 09-13-2011, 10:03 AM   #8
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,612
Karma: 5628865
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by gweminence View Post
Sweet, thanks, Kovid.

(I just got started with my new mobi device)
theducks is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding <guide> produces error: "Nonetype object has no attribute 'lower' MichaelKaufman ePub 2 08-19-2011 06:39 PM
Python fails -Nonetype object not iterable jbrobrown Calibre 3 12-04-2010 11:07 AM
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


All times are GMT -4. The time now is 11:20 PM.


MobileRead.com is a privately owned, operated and funded community.