Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 309275 - app-portage/portato-0.13.1 cannot be launched
Summary: app-portage/portato-0.13.1 cannot be launched
Status: VERIFIED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Markus Ullmann (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-13 16:28 UTC by Emmanuel Andry
Modified: 2010-04-13 22:33 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emmanuel Andry 2010-03-13 16:28:20 UTC
# portato 
* Setting Portage System (__init__.py:56)
* Using portage-2.1 (__init__.py:25)
/usr/lib64/portage/pym/portage/util/__init__.py:1121: DeprecationWarning: The 'myroot' parameter for portage.config.getvirtuals() is deprecated
  result = lazy_item.func(*pargs, **kwargs)
* Starting Portato v. 0.13.1 (__init__.py:76)
* Listener has not been started. (listener.py:94)
* All prereqs matched. Fine :) (main.py:1786)
* Loading 'DB' session from /root/.portato/db.cfg. (session.py:71)
* Loading [('version', 'session')] with values ['1']. (session.py:116)
* Using SQLDatabase (__init__.py:36)
* package.db already existant (sql.py:57)
* Walking /usr/local/portage (sql.py:90)
* portdirs.db already existant (sql.py:120)
* Registering new WidgetSlot 'Emerge Options'. (plugin.py:130)
* Registering new WidgetSlot 'Plugin Menu'. (plugin.py:130)
* Plugin 'Detail: Dependency' loaded.  (plugin.py:488)
/usr/lib64/python2.6/site-packages/portato/backend/portage/sets.py:107: DeprecationWarning: invalid input to portage.dep.dep_getkey(): 'dev-python/pygtksourceview-2.8.0', use portage.cpv_getkey() instead
  return set(t)
* Plugin 'Detail: Ebuild' loaded.  (plugin.py:488)
* Plugin 'Detail: Files' loaded.  (plugin.py:488)
* Plugin 'Detail: Changelog' loaded.  (plugin.py:488)
* Plugin 'GPytage' loaded. Plugin has unresolved dependencies - disabled! (plugin.py:488)
/usr/lib64/python2.6/site-packages/portato/backend/portage/sets.py:107: DeprecationWarning: invalid input to portage.dep.dep_getkey(): 'dev-python/notify-python-0.1.1-r1', use portage.cpv_getkey() instead
  return set(t)
* Plugin 'Notify' loaded.  (plugin.py:488)
* Plugin 'EtcProposals' loaded. Plugin has unresolved dependencies - disabled! (plugin.py:488)
* Plugin 'ReloadPortage' loaded.  (plugin.py:488)
* Dependant 'EtcProposals' for 'after_emerge' in plugin 'ReloadPortage' not found! Adding nevertheless. (plugin.py:620)
* Category 'ALL' can't be split up. Should be no harm. (main.py:654)
* Category 'virtual' can't be split up. Should be no harm. (main.py:654)
* Registering new WidgetSlot 'Package Notebook'. (plugin.py:130)
* Loading 'GUI' session from /root/.portato/gui.cfg. (session.py:71)
* Loading [('version', 'session')] with values ['1']. (session.py:116)
* Loading [('gtksessionversion', 'session')] with values ['4']. (session.py:116)
* Loading [('width', 'GUI'), ('height', 'GUI')] with values ['1280', '746']. (session.py:116)
* Loading [('vpanedpos', 'GUI'), ('hpanedpos', 'GUI')] with values ['312', '602']. (session.py:116)
* Loading [('catsel', 'GUI')] with values ['cross-arm-xscale-linux-gnu@2:0']. (session.py:116)
* First part of cat path does not match. Searching... (main.py:1120)
* Second part of cat path does not match. Searching... (main.py:1130)
* Exception:
Traceback (most recent call last):
  File "/usr/bin/portato", line 20, in <module>
    start()
  File "/usr/lib64/python2.6/site-packages/portato/__init__.py", line 84, in start
    run()
  File "/usr/lib64/python2.6/site-packages/portato/gui/__init__.py", line 29, in run
    m = MainWindow(s)
  File "/usr/lib64/python2.6/site-packages/portato/gui/windows/main.py", line 547, in __init__
    self.load_session()
  File "/usr/lib64/python2.6/site-packages/portato/gui/windows/main.py", line 1045, in load_session
    self.session.load(defaults_only)
  File "/usr/lib64/python2.6/site-packages/portato/session.py", line 117, in load
    lfn(*loaded)
  File "/usr/lib64/python2.6/site-packages/portato/gui/windows/main.py", line 939, in load_cat_selection
    self.jump_to_cat(name, pos)
  File "/usr/lib64/python2.6/site-packages/portato/gui/windows/main.py", line 1131, in jump_to_cat
    for cname, path in ((x[col], x.path) for x in row.iterchildren()):
UnboundLocalError: local variable 'row' referenced before assignment

Portato version: 0.13.1
System: Gentoo 
Python version: 2.6.4 (r264:75706, Feb 17 2010, 09:28:03) 
[GCC 4.4.3]
Used backend: Portage 2.1.8.3
pygtk: 2.16.0 (using GTK+: 2.18.7)
pygobject: 2.20.0 (using GLib: 2.22.4) (exception_handling.py:127)


Reproducible: Always
Comment 1 Emmanuel Andry 2010-03-13 16:29:24 UTC
# emerge --info portato
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.33-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.33-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T5450_@_1.66GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 13 Mar 2010 16:00:01 +0000
app-shells/bash:     4.1_p2
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1, 3.1.1-r1
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -mtune=core2 -fomit-frame-pointer -pipe -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -mtune=core2 -fomit-frame-pointer -pipe -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/ ftp://91.121.124.139/gentoo-distfiles/ ftp://mirror.bytemark.co.uk/gentoo/ http://212.219.56.134/sites/www.ibiblio.org/gentoo/"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi agg akonadi alsa amd64 autoipd avahi avm2 bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cddb cdr cg chm cleartype cli colordiff consolekit cpudetection cracklib crypt cuda cups curl cxx dbus desktopglobe device-mapper dga dhcp dirac dri dts dvb dvd dvdr ebook embedded-fuseiso emboss encode evo exif expat extras faac faad facebook fam ffmpeg fftw firefox flac fluidsynth fontconfig fortran freetype fts3 fuse gdbm gif glitz gmp gpm graphite gsm gstreamer gtk hal hdri iconv icoutils icu idn ieee1394 inotify ipv6 jbig jpeg jpeg2k kde kdrive kipi ladspa laptop lash lcms ldap libnotify libsamplerate libv4l2 lm_sensors lua lzma mad matroska midi mikmod mktemp mmap mmx mng modules mp3 mp4 mpeg msn mudflap multilib musicbrainz mysql ncurses network-cron nls nptl nptlonly nsplugin nss ogg openexr opengl openmp openssl optimized-qmake pae pam parallel pcre pdf perl phonon plasma png policykit polkit portaudio ppds pppd pulseaudio python qt3support qt4 quicktime readline reflection resolvconf rss schroedinger sdl secure-delete semantic-desktop session sip skype sndfile spell spl sql sqlite sse sse2 sse3 ssl ssse3 startup-notification strong-optimization suid svg symlink synaptics sysfs taglib tcpd theora threads thumbnail thunar tiff truetype udev unicode upnp usb utempter v4l2 vdpau vorbis wav webkit wicd winetriks x264 xattr xcb xcomposite xml xorg xosd xulrunner xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev joystick synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

app-portage/portato-0.13.1 was built with the following:
USE="kde libnotify (multilib) nls sqlite -userpriv" LINGUAS="-ca -de -es_ES -pl -pt_BR -tr" 
Comment 2 René 'Necoro' Neumann 2010-03-14 13:16:30 UTC
Delete /root/.portato/gui.cfg ... Better error handling will be included in the next version -- cannot see an urgent reason to do so now.
Comment 3 Emmanuel Andry 2010-03-16 21:09:11 UTC
Deleting /root/.portato/gui.cfg fixed the issue. Thanks !
Comment 4 René 'Necoro' Neumann 2010-04-13 22:33:51 UTC
This is portato bug #559480 (https://bugs.launchpad.net/portato/0.14/+bug/559480)

Fix has been commited and will be released with the next version of Portato, which will most certainly be released this month.