On bionic, getting rid of that error (dirty tweak until proper fix):

oem@ubuntu:~$ axi-cache
" No module named 'ConfigParser': only help functions are implemented, for the 
sake of help2man "

***********
First find location:
- ConfigParser.py from /usr/lib/python2.7
- configparser.py from /usr/lib/python3.6

As the axi-cache script request ConfigParser.py, then give it satisfaction:
" sudo cp /usr/lib/python3.6/configparser.py /usr/lib/python3.6/ConfigParser.py 
"

Then tested with "axi-cache info" & "axi-cache show gdm3" : no more
complaint !!!

***********
Voila, simple dirty tweak, but works at least about the error; still need to 
know if apt-xapian-index works better or not.
The python3 port is still not complete, and python2.7 is still not completely 
removed. Will probably done with the 18.10 cycle.

If you want the same dirty tweak working on xenial, ..., then check the
pathes first.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1612948

Title:
  axi-cache conversion to python3 broke the script

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1612948/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to