Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QT error when searching #739

Closed
anlag opened this issue Nov 20, 2020 · 2 comments
Closed

QT error when searching #739

anlag opened this issue Nov 20, 2020 · 2 comments
Labels
bug Bug reports.

Comments

@anlag
Copy link

anlag commented Nov 20, 2020

Describe the bug
When running the application for the first time, I was able to run a search but it produces an error. At a guess the error is UI related; the search appears to have executed successfully.

To Reproduce
Steps to reproduce the behavior:

  1. Download source, make, make run.
  2. Add two large directories located on an external hard drive (probably with mostly identical content.)
  3. Start a search for duplicate images based on EXIF metadata.
  4. Notice search starting and progressing to at least 16%.
  5. Leave PC unattended and return later to find the below error message displayed.
  6. Upon closing the error window, find that the results tab is populated with a large number of duplicates, indicating the search was successful despite the error.

Expected behavior
Did not expect an error.

Screenshots
N/A

Desktop (please complete the following information):

  • OS: Fedora 32
  • Version 4.0.4

Additional context

Application Name: dupeGuru
Version: 4.0.4

Traceback (most recent call last):
File "/home/anlag/gitrepos/dupeguru/hscommon/gui/progress_window.py", line 109, in pulse
self._finish_func(self.jobid)
File "/home/anlag/gitrepos/dupeguru/core/app.py", line 316, in _job_completed
self.view.show_results_window()
File "/home/anlag/gitrepos/dupeguru/qt/app.py", line 362, in show_results_window
self.showResultsWindow()
File "/home/anlag/gitrepos/dupeguru/qt/app.py", line 226, in showResultsWindow
self.main_window.showTab(self.resultWindow)
File "/home/anlag/gitrepos/dupeguru/qt/tabbed_window.py", line 176, in showTab
self.setTabVisible(index, True)
File "/home/anlag/gitrepos/dupeguru/qt/tabbed_window.py", line 186, in setTabVisible
return self.tabWidget.setTabVisible(index, value)
AttributeError: 'QTabWidget' object has no attribute 'setTabVisible'

@anlag anlag added the bug Bug reports. label Nov 20, 2020
@glubsy
Copy link
Contributor

glubsy commented Nov 20, 2020

As mentioned in #738 #704, it is to be fixed by #705.

@anlag
Copy link
Author

anlag commented Nov 20, 2020

Excellent. I did see the other two issues, but as this did not occur when closing the search results window, I figured it was potentially different enough to mention. Could have arguably commented there but here we are.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug reports.
Projects
None yet
Development

No branches or pull requests

3 participants