Comment 3 for bug 1594331

Revision history for this message
Emil Haldrup Eriksen (emher2510) wrote :

I am having the same problem. For me it's a pretty critical bug. I view graphs generated from matplotlib and latex documents while styling them, so a crash each time the underlying PDF file changes makes xreader pretty much useless. Here is a MWE in python to reproduce the bug:

import os
import tempfile
import time
import matplotlib.pyplot as plt

tmp_file = tempfile.gettempdir() + "/tmp.pdf"
plt.savefig(tmp_file)
os.system("xreader " + tmp_file + "&")
plt.plot([0], [0])
time.sleep(1)
plt.savefig(tmp_file)

And the error message i get is:

(xreader:10616): Gtk-CRITICAL **: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed

(xreader:10616): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'EvWebView'

I am using xreader 1.0.8 on Linux Mint 18 Cinnamon edition.