tseemann / prokka

:zap: :aquarius: Rapid prokaryotic genome annotation
822 stars 224 forks source link

Problem wih tbl2asn #646

Open franzilie opened 1 year ago

franzilie commented 1 year ago

Hello,

I am trying to run Prokka locally. When I attempt a test run I get the following error message:

Error: Too many positional arguments (1), the offending value: - Error: (CArgException::eSynopsis) Too many positional arguments (1), the offending value: - [14:34:49] Could not determine version of tbl2asn - please install version 24.3 or higher

The version installed is the 1.26.667.

I have managed to "reproduce" the error Error: Too many positional arguments (1), the offending value: - Error: (CArgException::eSynopsis) Too many positional arguments (1), the offending value: - with running directly tbl2asn and omitting -i.

Thanks for your help!

raghuramdr commented 1 year ago

Hello,

I am trying to run Prokka locally. When I attempt a test run I get the following error message:

Error: Too many positional arguments (1), the offending value: - Error: (CArgException::eSynopsis) Too many positional arguments (1), the offending value: - [14:34:49] Could not determine version of tbl2asn - please install version 24.3 or higher

The version installed is the 1.26.667.

I have managed to "reproduce" the error Error: Too many positional arguments (1), the offending value: - Error: (CArgException::eSynopsis) Too many positional arguments (1), the offending value: - with running directly tbl2asn and omitting -i.

Thanks for your help!

Hi @franzilie Were you able to fix this issue? I am having the same problem. If it matters, this happened after I downloaded the latest version of tbl2asn and placed it in the appropriate position. I ran sudo chmod +x as well.

Rooobben commented 1 year ago

I tried to run prokka after I downloaded the latest version of tbl2asn and replaced it, but I get the following error message:

Looking for 'tbl2asn' - found /home/envs/prokka/bin/tbl2asn tbl2asn: error while loading shared libraries: libidn.so.11: cannot open shared object file: No such file or directory [07:56:48] Could not determine version of tbl2asn - please install version 24.3 or higher I can't run sudo...

Rick-meinersmann commented 1 year ago

I have been chasing down the same issue. It turns out that tbl2asn is no longer supported by NCBI and has been replaced with table2asn (current version = 1.26.678). In addition to that, tbl2asn uses libidn.so.11. Ubuntu 20.04 comes with libidn.so.12. Apparently, that cannot be used by tbl2asn but table2asn can use it. I have not found a way to get libidn.so.11 on Ubuntu 20.04. Failing that, Prokka code is going to have to be modified for table2asn.

peiyaohu commented 1 year ago

I met the same problem as you all describe.

Error: Too many positional arguments (1), the offending value: - Error: (CArgException::eSynopsis) Too many positional arguments (1), the offending value: - [18:55:43] Could not determine version of tbl2asn - please install version 24.3 or higher

tbl2asn: 1.27.793

zagrosman commented 11 months ago

Dear @peiyaohu @Rick-meinersmann @Rooobben @raghuramdr @franzilie

Simply, you can follow this instruction to fix this problem