On 12/22/17 15:21, Stuart Henderson wrote:
> [moved from misc@]
> 
> In gmane.os.openbsd.misc, Peter N. M. Hansteen wrote:
>> I've been using Calibre (/usr/ports/textproc/calibre) to manage my ebook
>> library for some years.
>>
>> Recently when trying to add new items using the Add button on the
>> toolbar, I get a File open dialog box of sorts, but one that never (even
>> after several minutes) never displays an actual directory listing.
>>
>> It only displays the dialog box title line, the rest of the box is a
>> uniform grey, and while I am able to close the dialog box, Calibre
>> itself freezes afterwards.
>>
>> How do I most usefully go about troubleshooting this?
> 
> To narrow it down a bit: do you have problems with file dialog boxes in 
> other Qt5 applications (krita, wireshark, etc)?

I'ts been a while since I tried any of those others, but I can certainly
fire up wireshark and see what happens. Right after this

> If you start it from a terminal, is anything displayed on the console?

[Fri Dec 22 15:43:43] peter@greyhame:~$ QStandardPaths: XDG_RUNTIME_DIR
not set, defaulting to '/tmp/runtime-peter'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-peter'
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

-- then switching back to Calibre, pushing the Add button, which again
produces the grey box, the messsages produced are

(python2.7:65443): Gtk-CRITICAL **: Error building template class
'GtkDialog' for an instance of type 'GtkDialog': .:10:1 Invalid object
type 'GtkHeaderBar'

(python2.7:65443): Gtk-CRITICAL **: _gtk_container_get_border_width_set:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_container_set_border_width:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_container_set_border_width_set:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_box_get_spacing_set: assertion
'GTK_IS_BOX (box)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_box_set_spacing: assertion
'GTK_IS_BOX (box)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_box_set_spacing_set: assertion
'GTK_IS_BOX (box)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_button_box_get_layout: assertion
'GTK_IS_BUTTON_BOX (widget)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_box_set_spacing: assertion
'GTK_IS_BOX (box)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_container_get_border_width_set:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_container_set_border_width:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_container_set_border_width_set:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: Error building template class
'GtkFileChooserDialog' for an instance of type 'GtkFileChooserDialog':
Unknown internal child: vbox

(python2.7:65443): Gtk-CRITICAL **: _gtk_file_chooser_set_delegate:
assertion 'GTK_IS_FILE_CHOOSER (delegate)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_widget_set_visible: assertion
'GTK_IS_WIDGET (widget)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_widget_set_no_show_all:
assertion 'GTK_IS_WIDGET (widget)' failed

(python2.7:65443): GLib-GObject-CRITICAL **: g_object_setv: assertion
'G_IS_OBJECT (object)' failed

(python2.7:65443): GLib-GObject-CRITICAL **: g_object_get_property:
assertion 'G_IS_OBJECT (object)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_container_add: assertion
'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_container_add: assertion
'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **:
gtk_file_chooser_set_current_folder_file: assertion 'GTK_IS_FILE_CHOOSER
(chooser)' failed

(python2.7:65443): Gtk-CRITICAL **:
gtk_file_chooser_set_current_folder_file: assertion 'GTK_IS_FILE_CHOOSER
(chooser)' failed

(python2.7:65443): GLib-GObject-CRITICAL **: g_object_get_property:
assertion 'G_IS_OBJECT (object)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_file_chooser_get_files:
assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed

(python2.7:65443): GLib-GObject-CRITICAL **: g_object_setv: assertion
'G_IS_OBJECT (object)' failed

(python2.7:65443): GLib-GObject-CRITICAL **: g_object_setv: assertion
'G_IS_OBJECT (object)' failed

(python2.7:65443): GLib-GObject-CRITICAL **: g_object_get_property:
assertion 'G_IS_OBJECT (object)' failed

(python2.7:65443): GLib-GObject-CRITICAL **: g_object_setv: assertion
'G_IS_OBJECT (object)' failed

(python2.7:65443): GLib-GObject-CRITICAL **: g_object_setv: assertion
'G_IS_OBJECT (object)' failed

(python2.7:65443): GLib-GObject-CRITICAL **: g_object_setv: assertion
'G_IS_OBJECT (object)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_file_chooser_add_filter:
assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_file_chooser_add_filter:
assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_file_chooser_add_filter:
assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_file_chooser_add_filter:
assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_file_chooser_add_filter:
assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_file_chooser_add_filter:
assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_file_chooser_add_filter:
assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_file_chooser_add_filter:
assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_file_chooser_add_filter:
assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_file_chooser_add_filter:
assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_file_chooser_add_filter:
assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed

(python2.7:65443): Gtk-CRITICAL **:
gtk_file_chooser_set_current_folder_file: assertion 'GTK_IS_FILE_CHOOSER
(chooser)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_container_foreach: assertion
'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_container_foreach: assertion
'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_container_get_border_width_set:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_container_set_border_width:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_container_set_border_width_set:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_box_get_spacing_set: assertion
'GTK_IS_BOX (box)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_box_set_spacing: assertion
'GTK_IS_BOX (box)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_box_set_spacing_set: assertion
'GTK_IS_BOX (box)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_button_box_get_layout: assertion
'GTK_IS_BUTTON_BOX (widget)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_box_set_spacing: assertion
'GTK_IS_BOX (box)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_container_get_border_width_set:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_container_set_border_width:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_container_set_border_width_set:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): GLib-GObject-CRITICAL **: g_object_get_property:
assertion 'G_IS_OBJECT (object)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_container_foreach: assertion
'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_container_foreach: assertion
'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_container_foreach: assertion
'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_container_foreach: assertion
'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **:
_gtk_file_chooser_embed_initial_focus: assertion
'GTK_IS_FILE_CHOOSER_EMBED (chooser_embed)' failed
Gtk-Message: GtkDialog mapped without a transient parent. This is
discouraged.

(python2.7:65443): Gtk-CRITICAL **: gtk_container_foreach: assertion
'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_container_get_border_width_set:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_container_set_border_width:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_container_set_border_width_set:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_box_get_spacing_set: assertion
'GTK_IS_BOX (box)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_box_set_spacing: assertion
'GTK_IS_BOX (box)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_box_set_spacing_set: assertion
'GTK_IS_BOX (box)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_button_box_get_layout: assertion
'GTK_IS_BUTTON_BOX (widget)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_box_set_spacing: assertion
'GTK_IS_BOX (box)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_container_get_border_width_set:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_container_set_border_width:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_container_set_border_width_set:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_container_get_border_width_set:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_container_set_border_width:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_container_set_border_width_set:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_box_get_spacing_set: assertion
'GTK_IS_BOX (box)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_box_set_spacing: assertion
'GTK_IS_BOX (box)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_box_set_spacing_set: assertion
'GTK_IS_BOX (box)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_button_box_get_layout: assertion
'GTK_IS_BUTTON_BOX (widget)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_box_set_spacing: assertion
'GTK_IS_BOX (box)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_container_get_border_width_set:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_container_set_border_width:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_container_set_border_width_set:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_container_get_border_width_set:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_container_set_border_width:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_container_set_border_width_set:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_box_get_spacing_set: assertion
'GTK_IS_BOX (box)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_box_set_spacing: assertion
'GTK_IS_BOX (box)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_box_set_spacing_set: assertion
'GTK_IS_BOX (box)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_button_box_get_layout: assertion
'GTK_IS_BUTTON_BOX (widget)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_box_set_spacing: assertion
'GTK_IS_BOX (box)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_container_get_border_width_set:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: gtk_container_set_border_width:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:65443): Gtk-CRITICAL **: _gtk_container_set_border_width_set:
assertion 'GTK_IS_CONTAINER (container)' failed

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.

Reply via email to