View Single Post
Old 03-06-2010, 06:26 PM   #1542
gabe973
Junior Member
gabe973 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2010
Device: Nook
Quote:
Originally Posted by Starson17 View Post
Now it's just cleanup. Have fun!
Good...I can handle cleanup...it's the other stuff I'm trying to get my head around I'm putting in things step by step so that I can see what's going on. The method adds OK. But when I add the javascript part I get an error when fetching. The last bit is...

File "site-packages\calibre\ebooks\oeb\stylizer.py", line 417, in __getitem__
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 447, in _unit_convert
TypeError: can't multiply sequence by non-int of type 'float'

Gabe

Update: Forgot I had taken the "no stylesheet" part out. I put that back in and it's going much better now.

Last edited by gabe973; 03-06-2010 at 06:50 PM.
gabe973 is offline