Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614314 - app-text/nfoview runtime error: Can't set a target list on a widget until you've called gtk_drag_dest_set()
Summary: app-text/nfoview runtime error: Can't set a target list on a widget until you...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: SpanKY
URL:
Whiteboard: Pending removal: 2018-01-28
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2017-03-30 21:47 UTC by deference
Modified: 2018-03-11 20:15 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
nfoview-1.23.ebuild (nfoview-1.23.ebuild,845 bytes, text/plain)
2018-01-04 13:28 UTC, Till Schäfer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description deference 2017-03-30 21:47:35 UTC
A similar issue caused the program not to run a little while ago, but an emerge update seems to have solved that one.

Here is the full stderr messages:

(nfoview:4631): Gtk-WARNING **: Can't set a target list on a widget until you've called gtk_drag_dest_set() to make the widget into a drag destination
/usr/lib64/python3.4/site-packages/nfoview/__init__.py:34: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/nfoview/view.py", line 97, in _on_motion_notify_event
    for tag in self.get_iter_at_location(x, y).get_tags():
AttributeError: '_ResultTuple' object has no attribute 'get_tags'
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/nfoview/view.py", line 97, in _on_motion_notify_event
    for tag in self.get_iter_at_location(x, y).get_tags():
AttributeError: '_ResultTuple' object has no attribute 'get_tags'
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/nfoview/view.py", line 97, in _on_motion_notify_event
    for tag in self.get_iter_at_location(x, y).get_tags():
AttributeError: '_ResultTuple' object has no attribute 'get_tags'
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/nfoview/view.py", line 97, in _on_motion_notify_event
    for tag in self.get_iter_at_location(x, y).get_tags():
AttributeError: '_ResultTuple' object has no attribute 'get_tags'
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/nfoview/view.py", line 97, in _on_motion_notify_event
    for tag in self.get_iter_at_location(x, y).get_tags():
AttributeError: '_ResultTuple' object has no attribute 'get_tags'
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/nfoview/view.py", line 97, in _on_motion_notify_event
    for tag in self.get_iter_at_location(x, y).get_tags():
AttributeError: '_ResultTuple' object has no attribute 'get_tags'
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/nfoview/view.py", line 97, in _on_motion_notify_event
    for tag in self.get_iter_at_location(x, y).get_tags():
AttributeError: '_ResultTuple' object has no attribute 'get_tags'
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/nfoview/view.py", line 97, in _on_motion_notify_event
    for tag in self.get_iter_at_location(x, y).get_tags():
AttributeError: '_ResultTuple' object has no attribute 'get_tags'
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/nfoview/view.py", line 97, in _on_motion_notify_event
    for tag in self.get_iter_at_location(x, y).get_tags():
AttributeError: '_ResultTuple' object has no attribute 'get_tags'
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/nfoview/view.py", line 97, in _on_motion_notify_event
    for tag in self.get_iter_at_location(x, y).get_tags():
AttributeError: '_ResultTuple' object has no attribute 'get_tags'
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/nfoview/view.py", line 97, in _on_motion_notify_event
    for tag in self.get_iter_at_location(x, y).get_tags():
AttributeError: '_ResultTuple' object has no attribute 'get_tags'
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/nfoview/view.py", line 97, in _on_motion_notify_event
    for tag in self.get_iter_at_location(x, y).get_tags():
AttributeError: '_ResultTuple' object has no attribute 'get_tags'
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/nfoview/view.py", line 97, in _on_motion_notify_event
    for tag in self.get_iter_at_location(x, y).get_tags():
AttributeError: '_ResultTuple' object has no attribute 'get_tags'
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/nfoview/view.py", line 97, in _on_motion_notify_event
    for tag in self.get_iter_at_location(x, y).get_tags():
AttributeError: '_ResultTuple' object has no attribute 'get_tags'
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/nfoview/view.py", line 97, in _on_motion_notify_event
    for tag in self.get_iter_at_location(x, y).get_tags():
AttributeError: '_ResultTuple' object has no attribute 'get_tags'
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/nfoview/view.py", line 97, in _on_motion_notify_event
    for tag in self.get_iter_at_location(x, y).get_tags():
AttributeError: '_ResultTuple' object has no attribute 'get_tags'
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-07-29 08:06:23 UTC
Last maintainer commit in 2015. The current version is severely outdated considering that the package is actively maintained upstream.
Comment 2 Till Schäfer 2018-01-04 13:28:56 UTC
Created attachment 513160 [details]
nfoview-1.23.ebuild

A simple update of the ebuild is working without problems here.
(only updated the download URL and the website)
Comment 3 Till Schäfer 2018-01-08 13:52:40 UTC
i created a separate bug to get version 1.23 into the portage tree. 

Bug 643902
Comment 4 Till Schäfer 2018-01-08 16:55:53 UTC
The errors reported here are reproducible on my system, but nfoview does still work. Maybe the errors are unrelated. 

The first warning should be fixed by this upstream commit: 
https://github.com/otsaloma/nfoview/commit/a121192d76043c2d1b62489784452a356e191a40#diff-7f0d9bf8e63e788f9cfa96ca47c1b6da
and thus fixed for version 1.17 and higher. 

The attribute errors should be silenced/fixed with 
https://github.com/otsaloma/nfoview/commit/7b4bc449c0ffea9fb229d9c09402808dd4d369b9

@Reporter: Can you please test the 1.23 version and confirm, that the version does not crash anymore?
Comment 5 Larry the Git Cow gentoo-dev 2018-01-08 20:10:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=834fadaabc9fdc0d09a8c2380d536b62ad08a0ca

commit 834fadaabc9fdc0d09a8c2380d536b62ad08a0ca
Author:     Till Schäfer <till2.schaefer@uni-dortmund.de>
AuthorDate: 2018-01-08 19:31:00 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2018-01-08 20:10:25 +0000

    app-text/nfoview: version bump to 1.23
    
    Closes: https://bugs.gentoo.org/643902
    Closes: https://bugs.gentoo.org/614314
    Package-Manager: Portage-2.3.13, Repoman-2.3.3

 app-text/nfoview/Manifest            |  1 +
 app-text/nfoview/nfoview-1.23.ebuild | 41 ++++++++++++++++++++++++++++++++++++
 app-text/nfoview/nfoview-9999.ebuild |  6 +++---
 3 files changed, 45 insertions(+), 3 deletions(-)
Comment 6 Larry the Git Cow gentoo-dev 2018-01-16 09:48:13 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d55cf041e460fce3bc2b5c53354598f6722f2b26

commit d55cf041e460fce3bc2b5c53354598f6722f2b26
Author:     Till Schäfer <till2.schaefer@uni-dortmund.de>
AuthorDate: 2018-01-15 13:59:10 +0000
Commit:     Michael Palimaka <kensington@gentoo.org>
CommitDate: 2018-01-16 09:47:59 +0000

    app-text/nfoview: remove outdated/broken version
    
    Bug: https://bugs.gentoo.org/614314
    Closes: https://github.com/gentoo/gentoo/pull/6868
    Package-Manager: Portage-2.3.13, Repoman-2.3.3

 app-text/nfoview/Manifest              |  1 -
 app-text/nfoview/nfoview-1.15.1.ebuild | 41 ----------------------------------
 2 files changed, 42 deletions(-)}
Comment 7 deference 2018-01-22 03:55:36 UTC
I apologize for not getting back to you, I've been sick. I will test your new version.
Comment 8 deference 2018-03-09 22:44:55 UTC
I am most sorry, my desktop system failed and my laptop also did about 1 mouth ago. I can no longer contribute to Gentoo Linux until I get a new system and my life back in order. I am currently working off an old i386 system and borrowed laptop so I don't have the compute power to spare for running Gentoo.
I'll be back, but in the meantime please take what action you will.

Thanks for all the penguins and God bless!
Comment 9 Till Schäfer 2018-03-11 20:15:05 UTC
Thanks for the feedback. Should be fine anyway. No need to check this with a fresh Gentoo install on a new machine.