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

erro occurred in test #7

Closed
lifan18 opened this issue Oct 16, 2019 · 5 comments
Closed

erro occurred in test #7

lifan18 opened this issue Oct 16, 2019 · 5 comments

Comments

@lifan18
Copy link

lifan18 commented Oct 16, 2019

Dear NextPolish developer,

Thank you for providing us with such a nice tool.

However when I run the test in NextPolish folder, erro was occurred as following,

"File "../nextPolish", line 44
print '\033[35mPlease update to the latest version: %s, current version: %s \033[0m' % (latest, ver)
^
SyntaxError: invalid syntax"

I don't know why. Could you give some advices to me?

Thank you again.

Ar

@moold
Copy link
Member

moold commented Oct 16, 2019

Hi, please check your python version using python --version. Currently, NextPolish only support python2.7, I will move it to python3 in the future.

@lifan18
Copy link
Author

lifan18 commented Oct 16, 2019

Thank you.

My python version is Python 3.7.3 now. I am not sure other software would rely on this version. So, how could I fix this problem?

@moold
Copy link
Member

moold commented Oct 16, 2019

Maybe you can install python2.7 in your personal directory.

@lifan18
Copy link
Author

lifan18 commented Oct 16, 2019

Thank you so much.

I went through that step. But, new error came out qsub the test task.

"[ERROR] 2019-10-16 20:39:14,367 polish_genome failed: please check the following logs:
[ERROR] 2019-10-16 20:39:14,368 */NextPolish/test_data/01_rundir/00.score_chain/04.polish.ref.sh.work/polish_genome0/nextPolish.sh.e
[ERROR] 2019-10-16 20:39:14,368 */NextPolish/test_data/01_rundir/00.score_chain/04.polish.ref.sh.work/polish_genome1/nextPolish.sh.e"


nextPolish.sh.e* details:
"Traceback (most recent call last):
File "/NextPolish/lib/nextPolish.py", line 83, in
P = CDLL(os.path.dirname(os.path.realpath(file)) + '/' + "nextPolish.so")
File "
/NextPolish/lib/python2.7/ctypes/init.py", line 366, in init
self._handle = _dlopen(self._name, mode)
OSError: liblzma.so.5: cannot open shared object file: No such file or directory"

@moold
Copy link
Member

moold commented Oct 17, 2019

It seems your system lacks the Liblzma.so.5 lib, may be you should install it firstly.

@moold moold closed this as completed Oct 21, 2019
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