porthole -d ALL Porthole: python version = 2.6.5 (release26-maint, Sep 1 2010, 17:40:23) [GCC 4.4.4] importing installed modules initializing utils.__init__.py DEBUG: id initialized to 265334 UTILS: mydebug.id = 265334 starting main() CONFIG: id initialized to 269012 CONFIGURATION: id initialized to 269197 PREFERENCES: id initialized to 286847 PREFERENCES: imported debug.id = 265334 PREFERENCES: DEFAULT VALUE: LANG = en PREFERENCES: PortholePreferences; setting globals.LANG = en PREFERENCES: DEFAULT VALUE: enable_archlist = False PREFERENCES: PortholePreferences; setting globals.enable_archlist = False PREFERENCES: DEFAULT VALUE: archlist = ['alpha', 'amd64', 'arm', 'hppa', 'ia64', 'mips', 'ppc', 'ppc64', 's390', 'sparc', 'x86'] PREFERENCES: PortholePreferences; setting globals.archlist = ['alpha', 'amd64', 'arm', 'hppa', 'ia64', 'mips', 'ppc', 'ppc64', 's390', 'sparc', 'x86'] PREFERENCES: DEFAULT VALUE: Sync = emerge --sync PREFERENCES: PortholePreferences; setting globals.Sync = emerge --sync PREFERENCES: DEFAULT VALUE: Sync_label = Sync PREFERENCES: PortholePreferences; setting globals.Sync_label = Sync PREFERENCES: DEFAULT VALUE: custom_browser_command = firefox %s PREFERENCES: PortholePreferences; setting globals.custom_browser_command = firefox %s PREFERENCES: DEFAULT VALUE: use_custom_browser = False PREFERENCES: PortholePreferences; setting globals.use_custom_browser = False PREFERENCES: DEFAULT VALUE: su = gksudo -g PREFERENCES: PortholePreferences; setting globals.su = gksudo -g PREFERENCES: PortholePreferences; DATA_PATH = /usr/share/porthole/ PREFERENCES: PortholePreferences; PACKAGE_DIR = /usr/lib64/python2.6/site-packages/porthole PREFERENCES: PortholePreferences; AUTHORS = /usr/share/porthole/AUTHORS PREFERENCES: PortholePreferences; PLUGIN_DIR = /usr/lib64/python2.6/site-packages/porthole/plugins/ PREFERENCES: PortholePreferences; setting plugins.active_list = [] BACKENDS: id initialized to 298326 PORTAGELIB: id initialized to 298830 STERMINAL: id initialized to 304744 VERSION_SORT: id initialized to 307238 PROPERTIES: id initialized to 309390 METADATA: id initialized to 309579 PORTAGELIB: imported portage-2.2 modules PORTAGELIB: portage version = 2.2_rc72 PORTAGELIB: reset_globals(); PORTAGELIB: reset_world(); PORTAGELIB: Settings.reset_use_flags(); Traceback (most recent call last): File "/usr/bin/porthole-2.6", line 114, in <module> main() File "/usr/lib64/python2.6/site-packages/porthole/startup.py", line 165, in main backends.load(BACKEND) File "/usr/lib64/python2.6/site-packages/porthole/backends/__init__.py", line 36, in load from porthole.backends import portagelib File "/usr/lib64/python2.6/site-packages/porthole/backends/portagelib.py", line 756, in <module> settings = PortageSettings() File "/usr/lib64/python2.6/site-packages/porthole/backends/portagelib.py", line 673, in __init__ self.reset() File "/usr/lib64/python2.6/site-packages/porthole/backends/portagelib.py", line 711, in reset self.virtuals = self.settings.virtuals AttributeError: 'config' object has no attribute 'virtuals' Reproducible: Always
Please post your `emerge --info' too.
This due to the virtuals attribute being removed in recent portage-2.2_rc releases. Reassigning to dev-portage since I'll add it back with a deprecation warning. There's a getvirtuals() method that should be used to access this attribute.
This is fixed in git: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=26447c46440f31a676a6079cc76b0ef81ff50a75
I've also added backwards compatibility for pmaskdict and punmaskdict attributes here, in case porthole or similar programs are using them: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=1a5b8fb93bdd150b3e6525c1706e1ba0e34e15d9
This is fixed in 2.2_rc74.