Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230525 - sys-apps/portage: `portageq vdb_path` doesn't work with Python 2.6
Summary: sys-apps/portage: `portageq vdb_path` doesn't work with Python 2.6
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
Depends on:
Blocks: 210077 python-2.6
  Show dependency tree
 
Reported: 2008-07-02 14:47 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2008-07-23 07:39 UTC (History)
1 user (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 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-07-02 14:47:24 UTC
# module-rebuild
Traceback (most recent call last):
  File "/usr/bin/portageq", line 511, in <module>
main()
  File "/usr/bin/portageq", line 488, in main
retval = function(sys.argv[2:])
  File "/usr/bin/portageq", line 297, in vdb_path
print portage.root+portage.VDB_PATH
TypeError: unsupported operand type(s) for +: '_LegacyGlobalProxy' and 'str'
module-rebuild [options] action [category/package]
Version: 0.5

Where options are:
        -X       - Emerge based on package names,
                   not exact versions.
        -C       - Disable all coloured output.

Where action is one of:
        add      - Add package to moduledb.
        del      - Delete a package from moduledb.
        toggle   - Toggle auto-rebuild of Package.
        list     - List packages to auto-rebuild.
        rebuild  - Rebuild packages.
        populate - Populate the database with any
                   packages which currently install
                   drivers into the running kernel.

#
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-07-03 15:29:46 UTC
The bug is in `portageq vdb_path`.

$ portageq vdb_path
Traceback (most recent call last):
  File "/usr/bin/portageq", line 511, in <module>
main()
  File "/usr/bin/portageq", line 488, in main
retval = function(sys.argv[2:])
  File "/usr/bin/portageq", line 297, in vdb_path
print portage.root+portage.VDB_PATH
TypeError: unsupported operand type(s) for +: '_LegacyGlobalProxy' and 'str'
$