This also looks like an input problem. See the first question you asked for more help: DESeq2 error running htseq-count
Closing this Topic out so we can keep the conversation (almost certainly the same input problem with both tools) in the same thread for context.
Thanks!