When I started calibre for the first time, I clicked on the button to choose another location for the library files, then it hang.
I started it again, choose default path, then when I click on "add a book", file dialog appear totally grey with correct title, and it hangs, I get the following output in the console. I'm running -current, I tried before and after updating packages today. Gimp also has an issue when using file dialog, I wonder if this is related. There is no crash here, it just hang. I have no NFS mountpoints. $ calibre QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-solene' QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-solene' Failed to load libmtp, MTP device detection disabled No module named libmtp Exception in thread Thread-5: Traceback (most recent call last): File "/usr/local/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/local/lib/calibre/calibre/gui2/device.py", line 409, in run self.detect_device() File "/usr/local/lib/calibre/calibre/gui2/device.py", line 267, in detect_device self.scanner.scan() File "/usr/local/lib/calibre/calibre/devices/scanner.py", line 264, in scan self.devices = self.scanner() File "/usr/local/lib/calibre/calibre/devices/scanner.py", line 69, in __call__ self.libusb_err) ValueError: DeviceScanner needs libusb to work. Error: No module named libusb (python2.7:43543): Gtk-CRITICAL **: 10:50:41.491: Error building template class 'GtkDialog' for an instance of type 'GtkDialog': .:2:367 Invalid object type 'GtkHeaderBar' (python2.7:43543): Gtk-CRITICAL **: 10:50:41.492: _gtk_container_get_border_width_set: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.492: gtk_container_set_border_width: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.492: _gtk_container_set_border_width_set: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.492: _gtk_box_get_spacing_set: assertion 'GTK_IS_BOX (box)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.492: gtk_box_set_spacing: assertion 'GTK_IS_BOX (box)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.492: _gtk_box_set_spacing_set: assertion 'GTK_IS_BOX (box)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.492: gtk_button_box_get_layout: assertion 'GTK_IS_BUTTON_BOX (widget)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.492: gtk_box_set_spacing: assertion 'GTK_IS_BOX (box)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.492: _gtk_container_get_border_width_set: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.492: gtk_container_set_border_width: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.492: _gtk_container_set_border_width_set: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.492: Error building template class 'GtkFileChooserDialog' for an instance of type 'GtkFileChooserDialog': Unknown internal child: vbox (python2.7:43543): Gtk-CRITICAL **: 10:50:41.492: _gtk_file_chooser_set_delegate: assertion 'GTK_IS_FILE_CHOOSER (delegate)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.492: gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.492: gtk_widget_set_no_show_all: assertion 'GTK_IS_WIDGET (widget)' failed (python2.7:43543): GLib-GObject-CRITICAL **: 10:50:41.492: g_object_setv: assertion 'G_IS_OBJECT (object)' failed (python2.7:43543): GLib-GObject-CRITICAL **: 10:50:41.492: g_object_get_property: assertion 'G_IS_OBJECT (object)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.494: gtk_container_add: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.497: gtk_container_add: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.501: gtk_file_chooser_set_current_folder_file: assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.501: gtk_file_chooser_set_current_folder_file: assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed (python2.7:43543): GLib-GObject-CRITICAL **: 10:50:41.502: g_object_get_property: assertion 'G_IS_OBJECT (object)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.502: gtk_file_chooser_get_files: assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed (python2.7:43543): GLib-GObject-CRITICAL **: 10:50:41.502: g_object_setv: assertion 'G_IS_OBJECT (object)' failed (python2.7:43543): GLib-GObject-CRITICAL **: 10:50:41.502: g_object_setv: assertion 'G_IS_OBJECT (object)' failed (python2.7:43543): GLib-GObject-CRITICAL **: 10:50:41.502: g_object_get_property: assertion 'G_IS_OBJECT (object)' failed (python2.7:43543): GLib-GObject-CRITICAL **: 10:50:41.502: g_object_setv: assertion 'G_IS_OBJECT (object)' failed (python2.7:43543): GLib-GObject-CRITICAL **: 10:50:41.502: g_object_setv: assertion 'G_IS_OBJECT (object)' failed (python2.7:43543): GLib-GObject-CRITICAL **: 10:50:41.502: g_object_setv: assertion 'G_IS_OBJECT (object)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.506: gtk_file_chooser_add_filter: assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.506: gtk_file_chooser_add_filter: assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.506: gtk_file_chooser_add_filter: assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.506: gtk_file_chooser_add_filter: assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.506: gtk_file_chooser_add_filter: assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.507: gtk_file_chooser_add_filter: assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.507: gtk_file_chooser_add_filter: assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.507: gtk_file_chooser_add_filter: assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.507: gtk_file_chooser_add_filter: assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.507: gtk_file_chooser_add_filter: assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.507: gtk_file_chooser_add_filter: assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.507: gtk_file_chooser_set_current_folder_file: assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.507: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.507: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.542: _gtk_container_get_border_width_set: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.542: gtk_container_set_border_width: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.542: _gtk_container_set_border_width_set: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.542: _gtk_box_get_spacing_set: assertion 'GTK_IS_BOX (box)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.542: gtk_box_set_spacing: assertion 'GTK_IS_BOX (box)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.542: _gtk_box_set_spacing_set: assertion 'GTK_IS_BOX (box)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.542: gtk_button_box_get_layout: assertion 'GTK_IS_BUTTON_BOX (widget)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.542: gtk_box_set_spacing: assertion 'GTK_IS_BOX (box)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.542: _gtk_container_get_border_width_set: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.542: gtk_container_set_border_width: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.542: _gtk_container_set_border_width_set: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): GLib-GObject-CRITICAL **: 10:50:41.543: g_object_get_property: assertion 'G_IS_OBJECT (object)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.543: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.543: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.543: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.543: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.543: _gtk_file_chooser_embed_initial_focus: assertion 'GTK_IS_FILE_CHOOSER_EMBED (chooser_embed)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:41.556: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:42.229: Error building template class 'GtkTooltipWindow' for an instance of type 'GtkTooltipWindow': .:2:524 Invalid object type 'GtkImage' (python2.7:43543): Gtk-CRITICAL **: 10:50:42.747: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:42.747: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:43.413: _gtk_container_get_border_width_set: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:43.413: gtk_container_set_border_width: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:43.413: _gtk_container_set_border_width_set: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:43.413: _gtk_box_get_spacing_set: assertion 'GTK_IS_BOX (box)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:43.413: gtk_box_set_spacing: assertion 'GTK_IS_BOX (box)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:43.413: _gtk_box_set_spacing_set: assertion 'GTK_IS_BOX (box)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:43.413: gtk_button_box_get_layout: assertion 'GTK_IS_BUTTON_BOX (widget)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:43.413: gtk_box_set_spacing: assertion 'GTK_IS_BOX (box)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:43.413: _gtk_container_get_border_width_set: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:43.413: gtk_container_set_border_width: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:43.413: _gtk_container_set_border_width_set: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:44.679: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:44.680: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:44.712: _gtk_container_get_border_width_set: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:44.712: gtk_container_set_border_width: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:44.712: _gtk_container_set_border_width_set: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:44.712: _gtk_box_get_spacing_set: assertion 'GTK_IS_BOX (box)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:44.712: gtk_box_set_spacing: assertion 'GTK_IS_BOX (box)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:44.712: _gtk_box_set_spacing_set: assertion 'GTK_IS_BOX (box)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:44.712: gtk_button_box_get_layout: assertion 'GTK_IS_BUTTON_BOX (widget)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:44.712: gtk_box_set_spacing: assertion 'GTK_IS_BOX (box)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:44.712: _gtk_container_get_border_width_set: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:44.712: gtk_container_set_border_width: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:44.712: _gtk_container_set_border_width_set: assertion 'GTK_IS_CONTAINER (container)' failed (python2.7:43543): Gtk-CRITICAL **: 10:50:45.030: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed (