Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 262132

Summary: fix-db.py (from sys-apps/portage-2.1.6.7) crashes with TypeError
Product: Gentoo Linux Reporter: Horst Prote <prote>
Component: [OLD] Core systemAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: zmedico
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 210077, 261959    

Description Horst Prote 2009-03-11 13:45:55 UTC
fix-db.py (from sys-apps/portage-2.1.6.7) crashes with TypeError

Reproducible: Always

Steps to Reproduce:
1. Run /usr/lib/portage/bin/fix-db.py

Actual Results:  
Traceback (most recent call last):
  File "/usr/lib/portage/bin/fix-db.py", line 49, in <module>
    vardbdir = root+VDB_PATH+"/"
TypeError: unsupported operand type(s) for +: '_LegacyGlobalProxy' and 'str'


Expected Results:  
No Error :-)
Comment 1 Zac Medico gentoo-dev 2009-03-17 05:44:14 UTC
Since the fix-db.py script isn't really needed, I've removed it in svn r13117. It's been broken since 2.1.6 and you were the first person to notice.
Comment 2 Zac Medico gentoo-dev 2009-03-17 20:49:24 UTC
This is fixed in 2.1.6.9 and 2.2_rc26.