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.
Created attachment 162854 [details, diff] Patch that solves the problem. That was easy.
If anyone can directly contact the upstream author, I would appreciate it. (I tried his email first. The box is full.)
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.
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.