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

AttributeError: 'NoneType' object has no attribute 'get_display_info' #272

Closed
CitronSorcier opened this issue Nov 15, 2014 · 9 comments
Closed
Labels
bug Bug reports.

Comments

@CitronSorcier
Copy link

I got this error below:

Application Name: dupeGuru Picture Edition
Version: 2.10.1

Traceback (most recent call last):
  File "/usr/share/dupeguru_pe/qtlib/table.py", line 85, in data
    return self._getData(row, column, role)
  File "/usr/share/dupeguru_pe/qt/base/results_model.py", line 35, in _getData
    elif row.is_cell_delta(column.name):
  File "/usr/share/dupeguru_pe/core/gui/result_table.py", line 43, in is_cell_delta
    ref_info = self._group.ref.get_display_info(group=self._group, delta=False)
AttributeError: 'NoneType' object has no attribute 'get_display_info'

It happened after I've selected some files and sent them to Trash. This error occurred after I've tagged 'Delta values' on - it does not happen when Delta values are off.

Running Ubuntu 14.10 amd64.

@ghost ghost added bug Bug reports. thinking labels Nov 15, 2014
@ghost
Copy link

ghost commented Nov 15, 2014

It's not the first time I see this crash traceback, but with the extra details, it might be easier to find the root cause. Thanks.

@ghost
Copy link

ghost commented Apr 4, 2015

I also got some very similar error with 'Delta values' on. Running on Linux Mint 17.1.

Application Name: dupeGuru Picture Edition
Version: 2.10.1

Traceback (most recent call last):
  File "/usr/share/dupeguru_pe/qtlib/table.py", line 85, in data
    return self._getData(row, column, role)
  File "/usr/share/dupeguru_pe/qt/base/results_model.py", line 35, in _getData
    elif row.is_cell_delta(column.name):
  File "/usr/share/dupeguru_pe/core/gui/result_table.py", line 43, in is_cell_delta
    ref_info = self._group.ref.get_display_info(group=self._group, delta=False)
AttributeError: 'NoneType' object has no attribute 'get_display_info'

@scott-heterodyne
Copy link

Same soft crash, only on Windows 7 Pro

Also after having sent some to trash and set delta values
also, in case it matters, I notice that one of the filenames has odd characters (exclamation points and curly braces) - maybe causing problems with metacharacter expansion?

Application Name: dupeGuru Music Edition
Version: 6.8.1

Traceback (most recent call last):
File "C:\src\dupeguru\qtlib\table.py", line 85, in data
File "C:\src\dupeguru\qt\base\results_model.py", line 35, in _getData
File "C:\src\dupeguru\core\gui\result_table.py", line 43, in is_cell_delta
AttributeError: 'NoneType' object has no attribute 'get_display_info'

@RoestVrijStaal
Copy link

I get the error in the (generic?) dupeGuru as well:

Application Name: dupeGuru
Version: 3.9.1

Traceback (most recent call last):
File "C:\src\dupeguru\qtlib\table.py", line 85, in data
File "C:\src\dupeguru\qt\base\results_model.py", line 35, in _getData
File "C:\src\dupeguru\core\gui\result_table.py", line 43, in is_cell_delta
AttributeError: 'NoneType' object has no attribute 'get_display_info'

This was referenced Apr 16, 2015
@ghost ghost removed the thinking label Apr 19, 2015
@ghost ghost changed the title Soft-crash on deleting files AttributeError: 'NoneType' object has no attribute 'get_display_info' Nov 14, 2015
@ghost ghost mentioned this issue Nov 14, 2015
@SamDunham
Copy link

Got this today after deleting some files from the results.

Application Name: dupeGuru Picture Edition
Version: 2.10.1

Traceback (most recent call last):
File "C:\src\dupeguru\qtlib\table.py", line 85, in data
File "C:\src\dupeguru\qt\base\results_model.py", line 35, in _getData
File "C:\src\dupeguru\core\gui\result_table.py", line 43, in is_cell_delta
AttributeError: 'NoneType' object has no attribute 'get_display_info'

@cebtenzzre
Copy link
Contributor

I just got this today, running Arch Linux, using a version of DupeGuru sourced from the old website (the PKGBUILD in the AUR package is outdated). FWIW, the GUI shows much fewer rows than it should've after just performing a move on only a few sequential entries in the results, and I was using delta mode. I feel like it has to do with trashing the table after an action.

@cebtenzzre
Copy link
Contributor

It seems as though the error occurs during a rebuild/redraw of the table (the rest of the entries, which seem to be the ones after the removed rows, are populated after closing the dialog), though that may not be significant.

@kindlydodo
Copy link

I have the same error here, at Windows 10 x64 in Version: 4.0.4 RC

Application Name: dupeGuru
Version: 4.0.4 RC

Traceback (most recent call last):
File "qtlib\table.py", line 85, in data
File "qt\results_model.py", line 39, in _getData
File "core\gui\result_table.py", line 43, in is_cell_delta
AttributeError: 'NoneType' object has no attribute 'get_display_info'

@arsenetar
Copy link
Owner

This should be a duplicate error that has been fixed in #905, recommend using the latest version at this point.

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

7 participants