You are not logged in.
I'm using catfish as a search tool, I installed it on a new system with findutils as the backend. When I run it I get "RuntimeError: Bad magic number in .pyc file"
I have no idea how to fix this. It runs fine on another system. I tried to reinstall it and did a full upgrade. I tried it with various backends and I still get this runtimeerror. Any ideas?
Offline
Give us more of the error message. Specifically, it should say what pyc file is causing the problem.
Offline
That's all it actually says (the whole terminal output, nothing more), are there more specific logs I can check on my system?
Offline
Anyone?
Offline
See if you can locate a leftover .pyc file with:
pacman -Qo $(find /usr/lib/python2.{5,6} -name *.pyc) | grep "No package owns"
Provide pacman manages all files on your root partition, it should be fine to delete what this finds.
Offline
Yeah, what Allan said, you should be safe to delete the pyc file if there's a py file with the same name sitting right next to it (which there usually is).
The suggestion box only accepts patches.
Offline
Hi there,
I had the same problem. Just build version 0.3.2 of catfish (you only have to change the version and md5 in the PKGBUILD) and it will work again.
Offline