On Fri, Sep 06, 2019 at 03:05:44PM +0200, Andreas Tille wrote: > Program starts now and I can use every menu item with exception of "File / > Save". > Then I get: > > $ LC_ALL=C MicrobeGPS > libpng warning: iCCP: known incorrect sRGB profile > libpng warning: iCCP: known incorrect sRGB profile > libpng warning: iCCP: known incorrect sRGB profile > Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged. > QObject::connect: Cannot queue arguments of type 'QTextCursor' > (Make sure 'QTextCursor' is registered using qRegisterMetaType().) > Exception in thread Thread-1: > Traceback (most recent call last): > File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner > self.run() > File "/usr/lib/python3.5/threading.py", line 862, in run > self._target(*self._args, **self._kwargs) > File "/usr/lib/python3/dist-packages/microbegps/gui.py", line 1627, in > savethisfile > s_data = {'candidates':self.sgroups, > AttributeError: 'GPSAnalyzer' object has no attribute 'sgroups'
self.sgroups is set in visualize() method. So maybe it works only when you actually have some data? E.g. if you open a file and then save it, it should work. Anyway, it does not look like a regression from Python 3 or Qt 5 port. -- Dmitry Shachnev
signature.asc
Description: PGP signature