You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\TEMP>pycco -d doc2 -p test
pycco: test\Base.py -> doc2\test\Base.html
Traceback (most recent call last):
File "C:\Python27\Scripts\pycco-script.py", line 11, in
load_entry_point('Pycco==0.5.1', 'console_scripts', 'pycco')()
File "c:\python27\lib\site-packages\pycco\main.py", line 618, in main
skip=opts.skip_bad_files)
File "c:\python27\lib\site-packages\pycco\main.py", line 531, in process
next_file()
File "c:\python27\lib\site-packages\pycco\main.py", line 530, in next_file
next_file()
File "c:\python27\lib\site-packages\pycco\main.py", line 519, in next_file
encoding=encoding))
File "c:\python27\lib\site-packages\pycco\main.py", line 51, in generate_documentation
code = open(source, "rb").read().decode(encoding)
File "c:\python27\lib\encodings\utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xf3 in position 1: invalid continuation byte
The text was updated successfully, but these errors were encountered:
Hi,
Try to use pycco, but caught error:
Traceback (most recent call last):
C:\TEMP>pycco -d doc2 -p test
pycco: test\Base.py -> doc2\test\Base.html
Traceback (most recent call last):
File "C:\Python27\Scripts\pycco-script.py", line 11, in
load_entry_point('Pycco==0.5.1', 'console_scripts', 'pycco')()
File "c:\python27\lib\site-packages\pycco\main.py", line 618, in main
skip=opts.skip_bad_files)
File "c:\python27\lib\site-packages\pycco\main.py", line 531, in process
next_file()
File "c:\python27\lib\site-packages\pycco\main.py", line 530, in next_file
next_file()
File "c:\python27\lib\site-packages\pycco\main.py", line 519, in next_file
encoding=encoding))
File "c:\python27\lib\site-packages\pycco\main.py", line 51, in generate_documentation
code = open(source, "rb").read().decode(encoding)
File "c:\python27\lib\encodings\utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xf3 in position 1: invalid continuation byte
The text was updated successfully, but these errors were encountered: