Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234692 - Esearch Bug Fix
Summary: Esearch Bug Fix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-14 00:20 UTC by Frank Bartunek
Modified: 2008-11-09 09:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch that solves the problem. (esearch.patch,433 bytes, patch)
2008-08-14 00:21 UTC, Frank Bartunek
Details | Diff
esearch-0.7.1-no-deprecated-modules.patch (esearch-0.7.1-no-deprecated-modules.patch,1.46 KB, patch)
2008-11-09 09:31 UTC, Giacomo Perale
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Bartunek 2008-08-14 00:20:31 UTC
Esearch lately has not kept up with changes to portage's internal python code, leading to error messages.   This patch corrects that, removing the error message and using the proper output format for portage.



Reproducible: Always

Steps to Reproduce:
1. emerge esearch
2. esearch <package>
3. (note error message)

Actual Results:  
# esearch esearch
/usr/lib/portage/pym/output.py:39: DeprecationWarning: DEPRECATION NOTICE: The output module was replaced by portage.output
[ Results for search key : esearch ]
[ Applications found : 2 ]

*  app-portage/esearch
      Latest version available: 0.7.1-r4
      Latest version installed: 0.7.1-r4
      Size of downloaded files: [no/bad digest]
      Homepage:    http://david-peter.de/esearch.html
      Description: Replacement for 'emerge --search' with search-index
      License:     GPL-2


Expected Results:  
# esearch esearch
[ Results for search key : esearch ]
[ Applications found : 2 ]

*  app-portage/esearch
      Latest version available: 0.7.1-r4
      Latest version installed: 0.7.1-r4
      Size of downloaded files: [no/bad digest]
      Homepage:    http://david-peter.de/esearch.html
      Description: Replacement for 'emerge --search' with search-index
      License:     GPL-2


Already fixed.
Comment 1 Frank Bartunek 2008-08-14 00:21:45 UTC
Created attachment 162854 [details, diff]
Patch that solves the problem.

That was easy.
Comment 2 Frank Bartunek 2008-08-14 00:22:41 UTC
If anyone can directly contact the upstream author, I would appreciate it.  (I tried his email first.   The box is full.)
Comment 3 Dan A. Dickey 2008-11-07 15:17:31 UTC
Frank,
It doesn't look like this actually got into an ebuild.
It was still happening to me and I ended up just editting the esearch.py
file on my system, which made the problem go away.
I'm not sure why this bug was closed.
Comment 4 Giacomo Perale 2008-11-09 09:31:22 UTC
Created attachment 171156 [details, diff]
esearch-0.7.1-no-deprecated-modules.patch


The patch misses a couple of other 'import'. The attached patch fixes esync and eupdatedb as well.