Error when closing without saving (opted out) #379

GM-Script-Writer-62850 opened this Issue Jul 19, 2016 · 2 comments


None yet

2 participants


Installed from the ppa here; on 14.04

Application Name: dupeGuru
Version: 4.0.0

Traceback (most recent call last):
  File "/usr/share/dupeguru/qt/", line 321, in appWillSavePrefs
    prefs =
AttributeError: 'NoneType' object has no attribute 'app'
Application Name: dupeGuru
Version: 4.0.0

Traceback (most recent call last):
  File "/usr/share/dupeguru/qt/", line 40, in appWillSavePrefs
    if self._shown_once:
AttributeError: 'NoneType' object has no attribute '_shown_once'

Thanks for making this application, so much easier to remove those duplicates from my collection of saved images, just got rid of 110 duplicates (5.5% of my collection)
I was using scripts i wrote that compared meta data, which worked very nicely untiled i needed to compare alt dimensions

@hsoft hsoft added the bug label Jul 20, 2016
@hsoft hsoft added a commit that referenced this issue Aug 15, 2016
@hsoft qt: save prefs on close more predictably
Ticket #379 reports crashes on quit due to `willSavePrefs` being called
when result and details dialogs are already freed. I can't reproduce the
crash, but it's still a bad idea to rely on the timing of
`aboutToQuit()` to launch this process.

This commits uses a more predictable place to emit `willSavePrefs` and
I'm pretty sure it will fix the crash at #379.
hsoft commented Aug 15, 2016

Thanks for the report @GM-Script-Writer-62850 . I can't reproduce the crash though (even on my 14.04 environment). Does it happen every time you quit dupeGuru?

In the commit referenced above, I make a change that I think would fix the crash. Are you technical enough to build dupeGuru from source? If yes, and if you can reproduce the crash reliably, could you please try to build from master and let me know if the crash is fixed?


depends on how detailed the instructions are
need to make sure i can reproduce it still to verify (seems to work fine ATM), maybe i need to delete the programs configuration data
/home/$USER/.local/share/Hardcoded Software
/home/$USER/.config/Hardcoded Software

this issue came up when i first used the software
** try deleting /home/$USER/.config/Hardcoded Software
scan for pictures and try to exit and click yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment