Skip to content

'utf-8' codec can't decode byte 0xab in position 286: invalid start byte #115

@jimmyhuangliyan

Description

@jimmyhuangliyan

Hi,
I was using both the pipeline version as well as GUI version, and met the same problem. The following is the prompt system gave me, but I don't know how to solve this.

Traceback (most recent call last):
File "/home/jimmy/.local/bin/miRge3.0", line 8, in
sys.exit(main())
File "/home/jimmy/.local/lib/python3.10/site-packages/mirge/main.py", line 42, in main
check_dependencies(args, str(runlogFile))
File "/home/jimmy/.local/lib/python3.10/site-packages/mirge/libs/miRgeEssential.py", line 56, in check_dependencies
samtools = subprocess.run(str(samtoolsCommand), shell=True, capture_output=True, text=True)
File "/usr/lib/python3.10/subprocess.py", line 505, in run
stdout, stderr = process.communicate(input, timeout=timeout)
File "/usr/lib/python3.10/subprocess.py", line 1154, in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
File "/usr/lib/python3.10/subprocess.py", line 2059, in _communicate
stdout = self._translate_newlines(stdout,
File "/usr/lib/python3.10/subprocess.py", line 1031, in _translate_newlines
data = data.decode(encoding, errors)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xab in position 286: invalid start byte

I wonder if there is any solution to it? Or it is due to my file's error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions