Ошибка: UnicodeEncodeError: 'utf-8' codec can't en
DS> ./sopds-scan.py -v
Traceback (most recent call last):
File "./sopds-scan.py", line 18, in <module>
if CFG_FILE=='': cfg=sopdscfg.cfgreader()
File "/volume1/web/opds/py/sopdscfg.py", line 58, in __init__
self.parse()
File "/volume1/web/opds/py/sopdscfg.py", line 62, in parse
config.readfp(codecs.open(self.CONFIGFILE,"r","utf-8"))
File "/volume1/@appstore/py3k/usr/local/lib/python3.4/configparser.py", line 736, in readfp
self.read_file(fp, source=filename)
File "/volume1/@appstore/py3k/usr/local/lib/python3.4/configparser.py", line 691, in read_file
self._read(f, source)
File "/volume1/@appstore/py3k/usr/local/lib/python3.4/configparser.py", line 993, in _read
for lineno, line in enumerate(fp, start=1):
File "/volume1/@appstore/py3k/usr/local/lib/python3.4/codecs.py", line 704, in __next__
return next(self.reader)
File "/volume1/@appstore/py3k/usr/local/lib/python3.4/codecs.py", line 635, in __next__
line = self.readline()
File "/volume1/@appstore/py3k/usr/local/lib/python3.4/codecs.py", line 548, in readline
data = self.read(readsize, firstline=True)
File "/volume1/@appstore/py3k/usr/local/lib/python3.4/codecs.py", line 494, in read
newchars, decodedbytes = self.decode(data, self.errors)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc7 in position 0: invalid continuation byte
Please Войти or Create an account to join the conversation.
- Sergey17
-
- Offline
- Новый участник
-
- Posts: 8
Please Войти or Create an account to join the conversation.
- zhuravel
-
Topic Author
- Offline
- Захожу иногда
-
- Posts: 71
Логи?
А можно подробней где/какие/как смотреть логи?
Please Войти or Create an account to join the conversation.
- Sergey17
-
- Offline
- Новый участник
-
- Posts: 8
Please Войти or Create an account to join the conversation.
- zhuravel
-
Topic Author
- Offline
- Захожу иногда
-
- Posts: 71
Там только " *.gitignore " и все.
Правильно ли я понимаю, что логов нет?
Please Войти or Create an account to join the conversation.
- Sergey17
-
- Offline
- Новый участник
-
- Posts: 8
Буду разбираться дальше..
Спасибо

Please Войти or Create an account to join the conversation.
- Sergey17
-
- Offline
- Новый участник
-
- Posts: 8