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

Bug 253455

Summary: app-portage/esearch-0.7.1-r7: esync traceback
Product: Portage Development Reporter: Paul Varner (RETIRED) <fuzzyray>
Component: Third-Party ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED FIXED    
Severity: normal CC: gvibe06
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paul Varner (RETIRED) gentoo-dev 2009-01-02 16:41:19 UTC
Uh!  But in esearch-0.7.1-r7 esync is broken again.

# esync
Traceback (most recent call last):
  File "/usr/sbin/esync", line 141, in <module>
    tree_old = gettree("old")
  File "/usr/sbin/esync", line 112, in gettree
    emsg("Importing " + tree + " portage tree")
  File "/usr/sbin/esync", line 103, in emsg
    if quiet: return
NameError: global name 'quiet' is not defined
Comment 1 Paul Varner (RETIRED) gentoo-dev 2009-01-02 16:42:13 UTC
esync --quiet will work but will not generate much output
Comment 2 Paul Varner (RETIRED) gentoo-dev 2009-01-02 17:02:13 UTC
workaround until I get -r8 released

Edit /usr/lib/esearch/esync.py

Line 37 has:
verbose = False

right after that line add:
quiet = False
Comment 3 Zac Medico gentoo-dev 2011-03-05 20:33:13 UTC
This got fixed, though the ebuild wasn't revbumped:

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-portage/esearch/files/186994-esync-quiet.patch?view=log#rev1.2