Updated portato cannot open even after etc-update.[Solved]

Anything that pertains to Portage

Moderator: Moderators

Updated portato cannot open even after etc-update.[Solved]

Postby albfneto » Mon Nov 24, 2008 20:49

In one of my installations, updated portato cannot open, even after etc-update command....
other applications also not open, ex Mercury messenger.
gtk, glibs, python are updated, Portage also.....
Last edited by albfneto on Thu Nov 27, 2008 4:22, edited 1 time in total.
ALBERTO FEDERMAN NETO
albfneto
albfneto@fcfrp.usp.br
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1689
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: Updated portato cannot open even after etc-update.

Postby wolfden » Mon Nov 24, 2008 23:49

what?

more info please

like - what you did or last did or installed, what are the errors upon opening? how are you updating? What version of Sabayon? Package Manager and are u mixing?

info info info.....
wolfden
Sharecropper
 
Posts: 9050
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Updated portato cannot open even after etc-update.

Postby albfneto » Tue Nov 25, 2008 10:04

Sabayon 3.5, updated to 3.51.
Installer used: one my mixed installations.
programs that had the errors:
1) portato 11.1, updated from 10 (10 working, 11.1 not)
2) Mercury messenger an MSN client. The installation is a pack made for Slackware ( Works in Sabayon, since i have merccury instaalled in three other sabayon installations and working)...

Errors, both programs remains loading graphical interfaces but not open or run....
error messages, as output of the open commands:

Code: Select all
THIS IS WHEN I TRY TO OPEN PORTATO> NECORO SAID THAT THE SAME ERROR MAY BE CORRECTED BY RUNNING THE ETC-UPDATE COMMAND IF NECESSARY. IN THIS CASE NO OUTDATED CONFIGFILES AND THE COMMAND NOT EFFECT...
localhost albfneto # portato
Traceback (most recent call last):
  File "/usr/bin/portato", line 97, in <module>
    main()
  File "/usr/bin/portato", line 63, in main
    from portato.gui import run
  File "/usr/lib64/python2.5/site-packages/portato/gui/__init__.py", line 16, in                          <module>
    from .exception_handling import register_ex_handler
  File "/usr/lib64/python2.5/site-packages/portato/gui/exception_handling.py", l                         ine 16, in <module>
    import gtk, pango, gobject
  File "//usr/lib64/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 48, i                         n <module>
    from gtk import _gtk
ImportError: /usr/lib64/python2.5/site-packages/gtk-2.0/gtk/_gtk.so: undefined s                         ymbol: gdk_window_remove_redirection

THIS IS THT OUTPUT OF THE COMMAND THE SCRIPT THAT OPENS MERCURY. MERCURY INSTALLED IS FOR SLACKWARE, NOR FOR GENTOO, BUT  WORKS IN OTHER SABAYON INSTALLATIONS, ANDS I ALSO HAVE MERCURY RPM IN A MANDRIVA INSTALLATION.
ONLY TRIES TO LOAD GUI.
localhost albfneto # Adding Compiz/beryl compatibility mode.
bash: Adding: command not found
localhost albfneto # 24.11.2008 22:24:20 Mercury/1.9 [20071020]
bash: 24.11.2008: command not found
localhost albfneto #
localhost albfneto # 24.11.2008 22:24:20 Resource Type > General
bash: 24.11.2008: command not found
localhost albfneto #
localhost albfneto # 24.11.2008 22:24:20 Locations > Loading...
bash: 24.11.2008: command not found
localhost albfneto #
localhost albfneto # 24.11.2008 22:24:20 Locations > Loaded OK.
bash: 24.11.2008: command not found
localhost albfneto #
localhost albfneto # 24.11.2008 22:24:21 Main > Loading Global Settings...
bash: 24.11.2008: command not found
localhost albfneto # 24.11.2008 22:24:21 Main > Loading Splash Screen...
bash: 24.11.2008: command not found
localhost albfneto #



Installation of the programs.
portato was updated by the commands emerge --sync and after emerge -av portage portato.
mercury was downloaded, from thei site,expanded with ark, and i navigated to the startup dir and running the script..., as i made in other sabayons.
after i see thar portato not works, i tried etc-update and alslo emerge gtk+, pygtk, glib, gconf, python etc...
ALBERTO FEDERMAN NETO
albfneto
albfneto@fcfrp.usp.br
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1689
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: Updated portato cannot open even after etc-update.

Postby Necoro » Tue Nov 25, 2008 10:21

Which versions of pygtk and gtk+ do you have installed?
User avatar
Necoro
Advanced Hen
 
Posts: 242
Joined: Mon Apr 23, 2007 22:47
Location: Munich (Germany)

Re: Updated portato cannot open even after etc-update.

Postby albfneto » Tue Nov 25, 2008 10:43

i see now that also Spritz no more open....
These are the versions:

Code: Select all
 x11-libs/gtk+
      Latest version available: 2.14.4
      Latest version installed: 2.12.8
      Size of files: 16,853 kB
      Homepage:      http://www.gtk.org/
      Description:   Gimp ToolKit +
      License:       LGPL-2

*  x11-libs/gtk+extra
      Latest version available: 2.1.1-r2
      Latest version installed: [ Not Installed ]
      Size of files: 872 kB
      Homepage:      http://gtkextra.sourceforge.net
      Description:   Useful Additional GTK+ widgets
      License:       GPL-2

Searching...   
[ Results for search key : pygtk ]
[ Applications found : 3 ]
 
*  dev-python/pygtk
      Latest version available: 2.13.0
      Latest version installed: 2.13.0
      Size of files: 2,080 kB
      Homepage:      http://www.pygtk.org/
      Description:   GTK+2 bindings for Python
      License:       LGPL-2.1

*  dev-python/pygtkglext
      Latest version available: 1.1.0
      Latest version installed: 1.1.0
      Size of files: 340 kB
      Homepage:      http://gtkglext.sourceforge.net/
      Description:   Python bindings to GtkGLExt
      License:       LGPL-2.1 GPL-2

*  dev-python/pygtksourceview
      Latest version available: 2.4.0
      Latest version installed: 2.2.0
      Size of files: 265 kB
      Homepage:      http://www.pygtk.org/
      Description:   GTK+2 bindings for Python
      License:       LGPL-2.1




Pygtk is 2.13 and gtk+ is 2.12
ALBERTO FEDERMAN NETO
albfneto
albfneto@fcfrp.usp.br
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1689
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: Updated portato cannot open even after etc-update.

Postby Necoro » Tue Nov 25, 2008 11:16

I don't know how you managed to install it like this, because pygtk-2.13.0 clearly states:
Code: Select all
RDEPEND=">=x11-libs/gtk+-2.13.6"


So either downgrade pygtk or upgrade gtk+.
User avatar
Necoro
Advanced Hen
 
Posts: 242
Joined: Mon Apr 23, 2007 22:47
Location: Munich (Germany)

Re: Updated portato cannot open even after etc-update.

Postby albfneto » Wed Nov 26, 2008 3:00

I remerged gtk+, now, 2.14, but pygtk is in their more recent version.

Code: Select all
ython/pygtk-2.13.0
localhost albfneto # emerge -s gtk+ pygtk
Searching...
[ Results for search key : gtk+ ]
[ Applications found : 2 ]

*  x11-libs/gtk+
      Latest version available: 2.14.4
      Latest version installed: 2.14.4
      Size of files: 16,853 kB
      Homepage:      http://www.gtk.org/
      Description:   Gimp ToolKit +
      License:       LGPL-2

*  x11-libs/gtk+extra
      Latest version available: 2.1.1-r2
      Latest version installed: [ Not Installed ]
      Size of files: 872 kB
      Homepage:      http://gtkextra.sourceforge.net
      Description:   Useful Additional GTK+ widgets
      License:       GPL-2

Searching...
[ Results for search key : pygtk ]
[ Applications found : 3 ]

*  dev-python/pygtk
      Latest version available: 2.13.0
      Latest version installed: 2.13.0
      Size of files: 2,080 kB
      Homepage:      http://www.pygtk.org/
      Description:   GTK+2 bindings for Python
      License:       LGPL-2.1

*  dev-python/pygtkglext
      Latest version available: 1.1.0
      Latest version installed: 1.1.0
      Size of files: 340 kB
      Homepage:      http://gtkglext.sourceforge.net/
      Description:   Python bindings to GtkGLExt
      License:       LGPL-2.1 GPL-2

*  dev-python/pygtksourceview
      Latest version available: 2.4.0
      Latest version installed: 2.2.0
      Size of files: 265 kB
      Homepage:      http://www.pygtk.org/
      Description:   GTK+2 bindings for Python
      License:       LGPL-2.1

localhost albfneto #                                         


2.13.0 is the last, as i see in portage...
but Portato 11.1 continuing not open... 10 works.
i also emerge qt, but again nor open..

Code: Select all
Portato version: 0.11.1
Python version: 2.5.1 (r251:54863, Feb  2 2008, 20:35:29)
[GCC 4.2.2 (Gentoo 4.2.2 p1.0)]
Used backend: Portage 2.1.6_rc1
pygtk: 2.13.0 (using GTK+: 2.14.4)
pygobject: 2.15.4 (using GLib: 2.18.2) (exception_handling.py:127)

ALBERTO FEDERMAN NETO
albfneto
albfneto@fcfrp.usp.br
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1689
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: Updated portato cannot open even after etc-update.

Postby albfneto » Wed Nov 26, 2008 12:19

see the output of the command for use mercury, the IM client. Thisis another package that not open.
Seems to me thatthe problems are somthing jointed to the graphical interfaces, as GTK, GT etc...

Code: Select all
- Adding Compiz/beryl compatibility mode.
26.11.2008 09:16:04 Mercury/1.9 [20071020]
26.11.2008 09:16:04 Resource Type > General
26.11.2008 09:16:04 Locations > Loading...
26.11.2008 09:16:04 Locations > Loaded OK.
26.11.2008 09:16:04 Main > Loading Global Settings...

26.11.2008 09:16:04 Main > Loading Splash Screen..


The command stops in Loading Screen e no further screen appear...
ALBERTO FEDERMAN NETO
albfneto
albfneto@fcfrp.usp.br
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1689
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: Updated portato cannot open even after etc-update.

Postby Necoro » Wed Nov 26, 2008 12:52

Post the complete portato error please
User avatar
Necoro
Advanced Hen
 
Posts: 242
Joined: Mon Apr 23, 2007 22:47
Location: Munich (Germany)

Re: Updated portato cannot open even after etc-update.

Postby albfneto » Wed Nov 26, 2008 14:00

Hi.
Logged as root, trying to open portato:
Code: Select all
localhost albfneto # portato
* Setting Portage System (__init__.py:56)
* Starting Portato v. 0.11.1 (portato:55)
* Listener has not been started. (plistener.py:94)
* Plugin 'EtcProposals' loaded.  (plugin.py:372)
* Plugin 'Notify' loaded.  (plugin.py:372)
* Plugin 'ReloadPortage' loaded.  (plugin.py:372)
* Plugin 'GPytage' loaded. Plugin has unresolved dependencies - disabled! (plugin.py:372)
* Exception:
Traceback (most recent call last):
  File "/usr/bin/portato", line 99, in <module>
    main()
  File "/usr/bin/portato", line 63, in main
    run()
  File "/usr/lib64/python2.5/site-packages/portato/gui/__init__.py", line 26, in run
    m = MainWindow(s)
  File "/usr/lib64/python2.5/site-packages/portato/gui/windows/main.py", line 630, in __init__
    self.build_cat_list()
  File "/usr/lib64/python2.5/site-packages/portato/gui/windows/main.py", line 773, in build_cat_list
    self.fill_cat_store(store)
  File "/usr/lib64/python2.5/site-packages/portato/gui/windows/main.py", line 797, in fill_cat_store
    if not self.cfg.get_boolean("collapseCats", "GUI"):
  File "/usr/lib64/python2.5/site-packages/portato/config_parser.py", line 350, in get_boolean
    val = self._access(key, section)
  File "/usr/lib64/python2.5/site-packages/portato/config_parser.py", line 300, in _access
    raise KeyNotFoundException("Key '%s' not found in section '%s' in file '%s'." % (key, section, self.file))
KeyNotFoundException: "Key 'collapsecats' not found in section 'GUI' in file '/etc/portato/portato.cfg'."

Portato version: 0.11.1
Python version: 2.5.2 (r252:60911, Nov 26 2008, 09:28:27)
[GCC 4.2.3 (Gentoo 4.2.3 p1.0)]
Used backend: Portage 2.1.6_rc1
pygtk: 2.13.0 (using GTK+: 2.14.4)
pygobject: 2.15.4 (using GLib: 2.18.2) (exception_handling.py:127)
localhost albfneto #



Only the login screen (initial) of the portato appears, for some seconds....
ALBERTO FEDERMAN NETO
albfneto
albfneto@fcfrp.usp.br
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1689
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Next

Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 5 guests

cron