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
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" tmp_file) tmp_file)
plt.savefig(
os.system("xreader " + tmp_file + "&")
plt.plot([0], [0])
time.sleep(1)
plt.savefig(
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.