Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] elogviewer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
seneca
n00b
n00b


Joined: 10 Apr 2013
Posts: 53

PostPosted: Thu Sep 12, 2013 7:44 am    Post subject: [solved] elogviewer Reply with quote

anyone having issues with elogviewer. It worked fine before doing an emerge -e world, but now wont load and gives this error:

Quote:

Traceback (most recent call last):
File "/usr/bin/elogviewer", line 596, in <module>
main(sys.argv[1:])
File "/usr/bin/elogviewer", line 591, in main
gui = Elogviewer()
File "/usr/bin/elogviewer", line 427, in __init__
ElogviewerGUI.__init__(self)
File "/usr/bin/elogviewer", line 320, in __init__
self.refresh()
File "/usr/bin/elogviewer", line 517, in refresh
self.populate()
File "/usr/bin/elogviewer", line 525, in populate
model.populate()
File "/usr/bin/elogviewer", line 179, in populate
self.append(Elog(file))
File "/usr/bin/elogviewer", line 388, in __init__
(self._category, self._package) = split_filename[0].split('/')


the elog folder belongs to portage, the user is in the portage group, and make.conf is addended as required
PORT_LOGDIR="/var/log/portage/elog"
PORTAGE_ELOG_SYSTEM="save"
PORTAGE_ELOG_CLASSES="info warn error log qa"

any thoughts?
_________________
Whatever is well said by another, is mine.
I don't consider myself bald, I'm just taller than my hair.

Lucius Annaeus Seneca


Last edited by seneca on Sat Sep 14, 2013 10:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8718
Location: ~Brussels - Belgique

PostPosted: Thu Sep 12, 2013 7:47 am    Post subject: Reply with quote

Code:
eselect python list

_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
seneca
n00b
n00b


Joined: 10 Apr 2013
Posts: 53

PostPosted: Thu Sep 12, 2013 10:57 am    Post subject: Reply with quote

hello XavierMiller

I take it this is what you want?

Quote:

eselect python list
Available Python interpreters:
[1] python2.6
[2] python2.7
[3] python3.2 *


in make.conf:
Quote:

PYTHON_TARGETS="python2_6 python2_7 python3_2"
PYTHON_SINGLE_TARGET="python2_7"

_________________
Whatever is well said by another, is mine.
I don't consider myself bald, I'm just taller than my hair.

Lucius Annaeus Seneca
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8718
Location: ~Brussels - Belgique

PostPosted: Thu Sep 12, 2013 11:10 am    Post subject: Reply with quote

yep, thank you.

Try to change the system python interpreter to the version 2.7 (eselect python set 2)
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
seneca
n00b
n00b


Joined: 10 Apr 2013
Posts: 53

PostPosted: Thu Sep 12, 2013 11:25 am    Post subject: Reply with quote

k, selected python 2.7 and emerged elogviewer again (verison 0.6.2-r2) and now I get this error message

Quote:

No protocol specified
/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
/usr/bin/elogviewer:214: Warning: invalid (NULL) pointer instance
self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
/usr/bin/elogviewer:214: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
/usr/bin/elogviewer:238: GtkWarning: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
self.treeview.append_column(category_col)
/usr/bin/elogviewer:238: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
self.treeview.append_column(category_col)
/usr/bin/elogviewer:239: GtkWarning: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
self.treeview.append_column(package_col)
/usr/bin/elogviewer:239: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
self.treeview.append_column(package_col)
/usr/bin/elogviewer:240: GtkWarning: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
self.treeview.append_column(locale_time_col)
/usr/bin/elogviewer:240: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
self.treeview.append_column(locale_time_col)
/usr/bin/elogviewer:241: GtkWarning: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
self.treeview.append_column(sorted_time_col)
/usr/bin/elogviewer:241: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
self.treeview.append_column(sorted_time_col)
/usr/bin/elogviewer:242: GtkWarning: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
self.treeview.append_column(filename_col)
/usr/bin/elogviewer:242: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
self.treeview.append_column(filename_col)
/usr/bin/elogviewer:253: GtkWarning: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
treeview_win = gtk.ScrolledWindow()
/usr/bin/elogviewer:256: GtkWarning: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
textview_win = gtk.ScrolledWindow()
/usr/bin/elogviewer:258: GtkWarning: IA__gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
textview_win.add(self.textview)
/usr/bin/elogviewer:258: PangoWarning: pango_context_set_font_description: assertion `context != NULL' failed
textview_win.add(self.textview)
/usr/bin/elogviewer:258: PangoWarning: pango_context_set_base_dir: assertion `context != NULL' failed
textview_win.add(self.textview)
/usr/bin/elogviewer:258: PangoWarning: pango_context_set_language: assertion `context != NULL' failed
textview_win.add(self.textview)
/usr/bin/elogviewer:258: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
textview_win.add(self.textview)
/usr/bin/elogviewer:258: GtkWarning: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
textview_win.add(self.textview)
/usr/bin/elogviewer:258: GtkWarning: IA__gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed
textview_win.add(self.textview)
/usr/bin/elogviewer:258: GtkWarning: IA__gdk_keymap_get_for_display: assertion `GDK_IS_DISPLAY (display)' failed
textview_win.add(self.textview)
/usr/bin/elogviewer:258: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
textview_win.add(self.textview)
Segmentation fault


did I miss a step?
_________________
Whatever is well said by another, is mine.
I don't consider myself bald, I'm just taller than my hair.

Lucius Annaeus Seneca
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6780

PostPosted: Thu Sep 12, 2013 4:40 pm    Post subject: Reply with quote

Apperently, PyGTK and many other modules are not installed for python-2.7 on your system. Does your PYTHON_TARGET in make conf contain python2_7? (Could also be that some of the python modules you have installed are still too old to support PYTHON_TARGETS).
Back to top
View user's profile Send private message
seneca
n00b
n00b


Joined: 10 Apr 2013
Posts: 53

PostPosted: Thu Sep 12, 2013 11:22 pm    Post subject: Reply with quote

hi mv

my make.conf entry is
Quote:
PYTHON_TARGETS="python2_6 python2_7 python3_2"
PYTHON_SINGLE_TARGET="python2_7"


The system is newly installed with ACCEPT_KEYWORDS="x86 amd64". I would guess elogviewer does not need ~amd64 or ~x86, as that would be the only reason I would think of having old pythons. As this is a fresh install, just done four days ago, and with subsequent 'emerge -uDN world' and 'emerge -e world', all the pythons should be current.

Any python package in particular that I can give you the installed version?
_________________
Whatever is well said by another, is mine.
I don't consider myself bald, I'm just taller than my hair.

Lucius Annaeus Seneca
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8718
Location: ~Brussels - Belgique

PostPosted: Fri Sep 13, 2013 6:08 am    Post subject: Reply with quote

Try to launch
Code:
python-updater

And dont mix x86 and amd64 !
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
seneca
n00b
n00b


Joined: 10 Apr 2013
Posts: 53

PostPosted: Fri Sep 13, 2013 4:07 pm    Post subject: Reply with quote

hi Xavier

I will get rid of the x86 immediately. I will do the python-updater tonight and will report

thank you
_________________
Whatever is well said by another, is mine.
I don't consider myself bald, I'm just taller than my hair.

Lucius Annaeus Seneca
Back to top
View user's profile Send private message
seneca
n00b
n00b


Joined: 10 Apr 2013
Posts: 53

PostPosted: Sat Sep 14, 2013 6:08 am    Post subject: Reply with quote

Alrighty, did the python-updater and a revdep-rebuild too, and no packages needed updating.

So, I took the easy way out: I emerged version 2.2 from an overlay and that elogviewer works perfectly.

Not really 'solved' but I can close this post, unless someone wants to look into the issue further.

Thanking you both. Best
_________________
Whatever is well said by another, is mine.
I don't consider myself bald, I'm just taller than my hair.

Lucius Annaeus Seneca
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum