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-27-2008, 09:33 AM   #1
curtw
Outside of a dog
curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.
 
curtw's Avatar
 
Posts: 568
Karma: 1321702
Join Date: Dec 2007
Location: Houston, TX
Device: iPod Touch, Kindle 3, Nexus 7, Sony PRS-T2
Having a problem with CBR/CBZ conversion

Kovid or others,

I'm trying to convert a large cbr file, but Calibre somehow seems to be misinterpreting the image dimensions. The images in the archive are not consistently sized, but most are approximately 1230 px tall by 850 px wide. I have tried converting the file both with and without the "keep aspect ratio" box checked, and both ways, I get the same results. The image is squashed from the sides, and black mostly noise is added (image attached). Can you tell what's going on?

Because it takes two hours for this conversion to run on my old G4, I've also tried "manually" re-sizing and reducing colors and making an archive with just 10 pages. THAT conversion errors off with the following:

Quote:
Job: Convert comic: Mauspages1to10
tuple: ('TypeError', u"'NoneType' object is not iterable")
Traceback:
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/lib/python2.5/site-packages.zip/calibre/parallel.py", line 925, in worker
result = work(client_socket, func, args, kwdargs)
File "/Applications/calibre.app/Contents/Resources/lib/python2.5/site-packages.zip/calibre/parallel.py", line 883, in work
res = func(*args, **kargs)
File "/Applications/calibre.app/Contents/Resources/lib/python2.5/site-packages.zip/calibre/ebooks/lrf/comic/convert_from.py", line 391, in do_convert
pages, failures, tdir2 = process_pages(pages, opts, notification)
File "/Applications/calibre.app/Contents/Resources/lib/python2.5/site-packages.zip/calibre/ebooks/lrf/comic/convert_from.py", line 272, in process_pages
pages, failures_ = job.result
TypeError: 'NoneType' object is not iterable

Log:
Found comic pages...
._Maus_1_001c.jpg
._Maus_1_002ic.jpg
._Maus_1_003.jpg
._Maus_1_004.jpg
._Maus_1_005.jpg
._Maus_1_006.jpg
._Maus_1_007.jpg
._Maus_1_008.jpg
._Maus_1_009.jpg
._Maus_1_010.jpg
Maus_1_001c.jpg
Maus_1_002ic.jpg
Maus_1_003.jpg
Maus_1_004.jpg
Maus_1_005.jpg
Maus_1_006.jpg
Maus_1_007.jpg
Maus_1_008.jpg
Maus_1_009.jpg
Maus_1_010.jpg
('TypeError', u"'NoneType' object is not iterable")
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/lib/python2.5/site-packages.zip/calibre/parallel.py", line 925, in worker
result = work(client_socket, func, args, kwdargs)
File "/Applications/calibre.app/Contents/Resources/lib/python2.5/site-packages.zip/calibre/parallel.py", line 883, in work
res = func(*args, **kargs)
File "/Applications/calibre.app/Contents/Resources/lib/python2.5/site-packages.zip/calibre/ebooks/lrf/comic/convert_from.py", line 391, in do_convert
pages, failures, tdir2 = process_pages(pages, opts, notification)
File "/Applications/calibre.app/Contents/Resources/lib/python2.5/site-packages.zip/calibre/ebooks/lrf/comic/convert_from.py", line 272, in process_pages
pages, failures_ = job.result
TypeError: 'NoneType' object is not iterable
Is this because of the Mac's "dot files?"
Attached Thumbnails
Click image for larger version

Name:	Picture 1.png
Views:	295
Size:	356.7 KB
ID:	16599  
curtw is offline   Reply With Quote
Old 09-27-2008, 11:39 AM   #2
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,425
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
this is fixed in 0.4.87
kovidgoyal is online now   Reply With Quote
Old 09-27-2008, 12:10 PM   #3
curtw
Outside of a dog
curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.
 
curtw's Avatar
 
Posts: 568
Karma: 1321702
Join Date: Dec 2007
Location: Houston, TX
Device: iPod Touch, Kindle 3, Nexus 7, Sony PRS-T2
Quote:
Originally Posted by kovidgoyal View Post
this is fixed in 0.4.87
aha! I had finally upgraded from libprs500. I just did it two days too early. Thanks!
curtw is offline   Reply With Quote
Old 09-28-2008, 12:30 PM   #4
darkpollo
Junior Member
darkpollo began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2008
Device: psr505
Quote:
Originally Posted by kovidgoyal View Post
this is fixed in 0.4.87
I have similar error on windows XP with version 0.4.87.
Code:
tuple: ('TypeError', u"'NoneType' object is not iterable")
Traceback:
Traceback (most recent call last):
File "parallel.py", line 925, in worker
File "parallel.py", line 883, in work
File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\comic\convert_from.py", line 391, in do_convert
File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\comic\convert_from.py", line 272, in process_pages
TypeError: 'NoneType' object is not iterable
[...]
tuple: ('TypeError', u"'NoneType' object is not iterable")
Traceback:
Traceback (most recent call last):
File "parallel.py", line 925, in worker
File "parallel.py", line 883, in work
File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\comic\convert_from.py", line 391, in do_convert
File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\comic\convert_from.py", line 272, in process_pages
TypeError: 'NoneType' object is not iterable
Thanks
darkpollo is offline   Reply With Quote
Old 09-28-2008, 12:39 PM   #5
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,425
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
that's a different error, attachthe file causing it to a ticket
kovidgoyal is online now   Reply With Quote
Old 10-03-2008, 03:11 AM   #6
darkpollo
Junior Member
darkpollo began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2008
Device: psr505
Quote:
Originally Posted by kovidgoyal View Post
that's a different error, attachthe file causing it to a ticket
I have like 200 files that have that problem.
I will attach one tonight, thanks.
darkpollo 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
Conversion of comics (CBR/CBZ) FangornUK Conversion 269 09-05-2012 11:43 PM
Cbr\Cbz to Mobi Conversion Problem arktoga Calibre 0 07-22-2010 08:37 AM
cbr and cbz convertor asdx Astak EZReader 4 02-05-2010 02:37 AM
PRS-600 Help with CBR/CBZ to EPUB scribblenauts Sony Reader 3 01-14-2010 07:10 PM
iPod .Cbr or.Cbz on the Itouch jaxs Apple Devices 6 12-25-2009 02:53 PM


All times are GMT -4. The time now is 05:26 AM.


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