Skip to content

Compile pytaglib for Python 2 or 3? - Error Trying To Run 2.1.1 #726

@0pLuS0

Description

@0pLuS0

Nicotine+ version: 2.11
Operating System/Distribution: Slackware 14.2 x86_64

System apps:
python3-3.7.2
taglib-1.10

Describe the bug

I'm assuming for now that I need to compile pytaglib for python3?

Expected behavior

Have 2.1.1 run when I start it...

Steps to reproduce the bug

When I run nicotine 2.1.1 against pytaglib-1.4.6 built against python3 I get this message at the terminal;

Traceback (most recent call last):
File "/usr/lib64/python3.7/site-packages/pynicotine/config.py", line 88, in init
self.parser.read([self.filename], encoding="utf-8")
File "/usr/lib64/python3.7/configparser.py", line 696, in read
self._read(fp, filename)
File "/usr/lib64/python3.7/configparser.py", line 1014, in _read
for lineno, line in enumerate(fp, start=1):
File "/usr/lib64/python3.7/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe6 in position 1634: invalid continuation byte

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib64/python3.7/site-packages/pynicotine/gtkgui/frame.py", line 3034, in OnActivate
port
File "/usr/lib64/python3.7/site-packages/pynicotine/gtkgui/frame.py", line 126, in init
config
File "/usr/lib64/python3.7/site-packages/pynicotine/pynicotine.py", line 111, in init
self.config = Config(config, data_dir)
File "/usr/lib64/python3.7/site-packages/pynicotine/config.py", line 91, in init
self.parser.read([self.filename], encoding="utf-8")
File "/usr/lib64/python3.7/configparser.py", line 696, in read
self._read(fp, filename)
File "/usr/lib64/python3.7/configparser.py", line 1014, in _read
for lineno, line in enumerate(fp, start=1):
File "/usr/lib64/python3.7/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe6 in position 1634: invalid continuation byte

P.S. Is nicotine suppose to be built against Python 2 or 3, I forget?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions