Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't locate kronatools.pm #188

Open
vappiah opened this issue Nov 6, 2023 · 3 comments
Open

can't locate kronatools.pm #188

vappiah opened this issue Nov 6, 2023 · 3 comments

Comments

@vappiah
Copy link

vappiah commented Nov 6, 2023

Hi Developers,

I installed Kronatools as root on a system so that different users can use it. I tried running ktImportTaxonomy using a regular user account and I got this error message

Can't locate KronaTools.pm /opt/apps/kronatools/KronaTools-2.8.1/scripts/../lib/KronaTools.pm: Permission denied at /opt/apps/kronatools/KronaTools-2.8.1/bin/ktImportTaxonomy line 17
Begin failed--compilation aborted at /opt/apps/kronatools/KronaTools-2.8.1/bin/ktImportTaxonomy line 17

I tried setting execution permissions but the error message still persists. Please advice

@dgslos
Copy link

dgslos commented Dec 22, 2023

Check the file permissions on /opt/apps/kronatools/KronaTools-2.8.1/bin/ktImportTaxonomy: ls -l /opt/apps/kronatools/KronaTools-2.8.1/bin/ktImportTaxonomy
If it is not executable, do a chmod on /opt/apps/kronatools/KronaTools-2.8.1/bin/ktImportTaxonomy

@vappiah
Copy link
Author

vappiah commented Apr 18, 2024

Hi @dglos.
Here is what I did not
I extracted krona tools to /opt/apps/kronatools/2.8.1

Then installed krona using this command ./install.pl --prefix /opt/apps/kronatools/2.8.1

When I tried to run ktImportTaxonomy it gave this error
Can't locate KronaTools.pm in @inc (@inc contains: /home/ha/apps/bioinfo/kronatools/2.8.1/scripts/../lib

But if I do ls, I see the KronaTools.pm file there.

I have also changed the permission (chmod +x /home/ha/apps/bioinfo/kronatools/2.8.1/scripts/../lib/KronaTools.pm

But the error message still persists. Please advice

@vappiah
Copy link
Author

vappiah commented Apr 18, 2024

I resolved it now.

First I had to load another perl version.

Then I did chmod -R 777 on the lib, src and scripts directories.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants