Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 531802 - app-portage/gentoolkit-0.3.0.9-r2 - equery u -a firefox: File "/usr/lib64/python2.7/site-packages/gentoolkit/package.py", line 318, in package_path: AttributeError: 'NoneType' object has no attribute 'split'
Summary: app-portage/gentoolkit-0.3.0.9-r2 - equery u -a firefox: File "/usr/lib64/pyt...
Status: RESOLVED OBSOLETE
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-06 12:09 UTC by Small_Penguin
Modified: 2020-08-01 19:52 UTC (History)
0 users

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 Small_Penguin 2014-12-06 12:09:47 UTC
equery u -a firefox:

[.... expected output of use flags and explanations .... ]

Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/equery", line 38, in <module>
    equery.main(sys.argv)
  File "/usr/lib64/python2.7/site-packages/gentoolkit/equery/__init__.py", line 357, in main
    loaded_module.main(module_args)
  File "/usr/lib64/python2.7/site-packages/gentoolkit/equery/uses.py", line 300, in main
    output = get_output_descriptions(pkg, global_usedesc)
  File "/usr/lib64/python2.7/site-packages/gentoolkit/equery/uses.py", line 178, in get_output_descriptions
    if pkg.metadata is None:
  File "/usr/lib64/python2.7/site-packages/gentoolkit/package.py", line 122, in metadata
    self.package_path(), 'metadata.xml'
  File "/usr/lib64/python2.7/site-packages/gentoolkit/package.py", line 318, in package_path
    return os.sep.join(self.ebuild_path().split(os.sep)[:-1])
AttributeError: 'NoneType' object has no attribute 'split'


Reproducible: Always

Steps to Reproduce:
1. equery u -a firefox

Actual Results:  
Output, with traceback

Expected Results:  
Output, no errors
Comment 1 Small_Penguin 2014-12-06 12:10:54 UTC
As of this moment, these firefox versions are available:

[U] www-client/firefox
     Available versions:  *10.0.11 24.3.0 24.8.0 (~)31.3.0 (~)34.0.5-r1 {+alsa bindist custom-cflags custom-optimization (+)dbus debug +gmp-autoupdate gstreamer hardened +ipc +jit libnotify +minimal pgo pulseaudio selinux startup-notification system-cairo system-icu system-jpeg system-libvpx system-sqlite test +webm wifi LINGUAS="af ak ar as ast be bg bn_BD bn_IN br bs ca cs csb cy da de el en_GB en_ZA eo es_AR es_CL es_ES es_MX et eu fa fi fr fy_NL ga_IE gd gl gu_IN he hi_IN hr hu hy_AM id is it ja kk km kn ko ku lg lt lv mai mk ml mr nb_NO nl nn_NO nso or pa_IN pl pt_BR pt_PT rm ro ru si sk sl son sq sr sv_SE ta ta_LK te th tr uk vi xh zh_CN zh_TW zu"}
     Installed versions:  33.0-r1(20:01:44 07.11.2014)(custom-cflags dbus gstreamer jit minimal startup-notification system-icu system-jpeg system-libvpx system-sqlite -bindist -custom-optimization -debug -hardened -pgo -pulseaudio -selinux -system-cairo -test -wifi LINGUAS="de -af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -csb -cy -da -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -ku -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW -zu")
     Homepage:            http://www.mozilla.com/firefox
     Description:         Firefox Web Browser
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2014-12-06 20:06:51 UTC
I can not reproduce your bug.

Do you have any overlays installed?
If so, is there a firefox ebuild in one, and does it have a metadata.xml file in it?
Comment 3 Zoltan Puskas 2020-08-01 19:52:58 UTC
Gentoolkit version is no longer available, in fact gentoolkit is now Python 3 only. Said Firefox ebuild versions are also long gone.