View Single Post
Old 02-21-2012, 05:59 PM   #1
ramsonb
Junior Member
ramsonb began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2012
Device: SONY PRTS1
crash after several self.db.bulk_modify_tags

i am writing a plugin to modify tags; after calling
Code:
self.db.bulk_modify_tags(...)
i do
Code:
self.db.refresh()
self.gui.library_view.model().refresh_ids(arBooks) # arBooks contains the ids of the modified books
self.gui.tags_view.recount()
self.gui.library_view.refresh_book_details()
and the main calibre interface gets updated correctly, futhermore the tag tree shows the correct new numbers perfectly.

So far so good, after several bulk_modify_tags calibre completely crahes no stack trace is printed to stdout.

I am starting clibre with
Code:
calibre-debug -g
I already tried not doing the self.gui.* stuff, but there are still crashes ...

Any help would be welcome.

regards
ramson

Last edited by ramsonb; 02-21-2012 at 06:04 PM.
ramsonb is offline   Reply With Quote