Closed yarden closed 4 years ago
Hi @pirbo , thanks for writing kappy, it's very useful. We use it for topkappy and kappagate.
Has this issue been solved? There is a similar error (PermissionError) for KappaSwitchman. Please see CI outputs for detail: https://travis-ci.org/github/Edinburgh-Genome-Foundry/kappagate https://travis-ci.org/github/Edinburgh-Genome-Foundry/topkappy
The CI build worked with the previous release (v4.0.93), six days ago.
So This is 2 different issue. In yarden case the problem was that I forgot to include the binary KappaSwitchman in kappy package and that has been solved.
I double check and KappaSwitchman IS included in the wheel of kappy.4.1.0 for python 3.6 so your case is sadly different and needs more investigation...
OK I know why:
$ ls -l site-packages/kappy/bin/
total 37412
-rw-r--r-- 1 pirbo pirbo 7134032 sept. 17 19:11 KaMoHa
-rw-r--r-- 1 pirbo pirbo 8596984 sept. 17 19:11 KappaSwitchman
-rw-r--r-- 1 pirbo pirbo 13660472 sept. 17 19:11 KaSaAgent
-rw-r--r-- 1 pirbo pirbo 8908928 sept. 17 19:11 KaSimAgent
The binaries are installed without execution rights!!! Sights... Here we go for yet an other fight against setup.py in order to understand why...
Thank you for the quick reply! I re-ran the CI and the error is definitely gone, but unfortunately there is another one:
E FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/bin/KappaSwitchman': '/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/bin/KappaSwitchman'
/opt/python/3.6.7/lib/python3.6/subprocess.py:1344: FileNotFoundError
More detail: https://travis-ci.org/github/Edinburgh-Genome-Foundry/topkappy
Sorry. I set the git tag to the wrong commit :-( There is now a kappy.4.1.2 which should finally be OK... Hopefully!
Thank you, this solved the problem. However, there must have been changes to kappy functions as topkappy still won't run properly which I'll try and sort out. Thanks.
Hi,
I just upgraded kappy, and when running one of kappy's unit tests,
kappa_std.py
, I get a series of permission denied errors that look like this:It sounds like something went wrong with the pip installation of kappy. All I did was
pip install .
in theKaSim/
directory, and it generated no error. I didn't install the package as root or anything like that, so I don't understand where the permission denied error is coming from.This doesn't necessarily mean kappy is broken - normally I just feed it a URL/path to where KaSim binaries are and don't rely on the function to find agent binaries. Do these tests work for other people?
Thanks.