Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 08-29-2014, 12:41 PM   #1
NSGod
Junior Member
NSGod began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2014
Device: iPad
Edit Book: error: can't start new thread

I'm using calibre 2.1.0 on OS X 10.9.4 and the Edit Book.app (as far as I can tell, calibre 2.0.0 also exhibited this behavior).

In the Edit Book app, choosing Tools > Check Book seems to grab (create) 70 to 80 new threads each time it is run, and not destroying them (or reusing them) afterwards. Once the app gets up to around 2000 threads, it ends up bumping up against the 2048 thread limit and I get the error message shown below:

calibre, version 2.1.0
ERROR: Unhandled exception: <b>error</b>:can't start new thread

calibre 2.1 isfrozen: True is64bit: True
Darwin-13.3.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '13.3.0', 'Darwin Kernel Version 13.3.0: Tue Jun 3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64')
Python 2.7.8
OSX: ('10.9.4', ('', '', ''), 'x86_64')
Successfully initialized third party plugins: djvumaker && Webscription && Generate Cover && Search The Internet && Open With && Quality Check && Quick Preferences && Resize Cover && Favourites Menu && Barnes & Noble && Find Duplicates && Clipboard Search && Overdrive Link && Goodreads Sync && Modify ePub && Annotations && View Manager && Extract ISBN && Goodreads
Traceback (most recent call last):
File "site-packages/calibre/gui2/tweak_book/boss.py", line 62, in ans
File "site-packages/calibre/gui2/tweak_book/boss.py", line 1052, in check_requested
File "site-packages/calibre/gui2/tweak_book/check.py", line 204, in run_checks
File "site-packages/calibre/ebooks/oeb/polish/check/main.py", line 45, in run_checks
File "site-packages/calibre/ebooks/oeb/polish/check/base.py", line 53, in run_checkers
File "lib/python2.7/multiprocessing/pool.py", line 718, in __init__
File "lib/python2.7/multiprocessing/pool.py", line 159, in __init__
File "lib/python2.7/multiprocessing/pool.py", line 223, in _repopulate_pool
File "lib/python2.7/multiprocessing/dummy/__init__.py", line 75, in start
File "lib/python2.7/threading.py", line 745, in start
error: can't start new thread
NSGod is offline   Reply With Quote
Old 08-29-2014, 01:40 PM   #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: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Can you open a bug report for this, I will look at it when I am next working on the editor.
kovidgoyal is online now   Reply With Quote
Advert
Old 08-30-2014, 01:33 AM   #3
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: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...d7807a1a552ae4
kovidgoyal is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any way to edit / add tags to a saved thread? GrannyGrump Feedback 3 01-22-2014 12:31 AM
Shall we start an Onyx M90 bugs thread?! jian1 Onyx Boox 0 09-20-2011 01:29 PM
Bulk metada edit error trying to edit tags Purple Lady Calibre 8 02-17-2011 06:09 PM
MobileRead Official MobileRead Book Club: Welcome thread/November's book choice thread PsyDocJoanne Book Clubs 151 02-08-2009 08:42 PM


All times are GMT -4. The time now is 09:02 PM.


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