wikimedia/pywikibot

View on GitHub
[9.6] Publish Pywikibot 9.6 #6141
xqt authored 83076529
complete00:00:45
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
No errors or warnings found in .codeclimate.yml.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-12-03T10:56:31.874685 #1]  INFO -- : Skipping file ./tests/tools_tests.py due to exception (CC::Engine::Analyzers::ParserError): `python3 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in cast_value
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in <listcomp>
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in cast_value
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in <listcomp>
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in cast_value
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in <listcomp>
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in cast_value
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in <listcomp>
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 33, in cast_value
    return value.decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte


I, [2024-12-03T10:56:38.080475 #1]  INFO -- : Skipping file ./pywikibot/tools/__init__.py due to exception (CC::Engine::Analyzers::ParserError): `python3 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in cast_value
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in <listcomp>
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in cast_value
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in <listcomp>
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in cast_value
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in <listcomp>
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 33, in cast_value
    return value.decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
7
fixme
fixme engine documentation