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
'utf-8' codec can't decode byte 0xf8 in position 38: invalid start byte
Traceback:
File "/opt/scancodeio/aboutcode/pipeline/__init__.py", line 199, in execute
step(self)
File "/opt/scancodeio/scanpipe/pipelines/deploy_to_develop.py", line 212, in map_rust
d2d.map_rust_paths(project=self.project, logger=self.log)
File "/opt/scancodeio/scanpipe/pipes/d2d.py", line 1926, in map_rust_paths
symbols.collect_and_store_tree_sitter_symbols_and_strings(
File "/opt/scancodeio/scanpipe/pipes/symbols.py", line 149, in collect_and_store_tree_sitter_symbols_and_strings
_collect_and_store_tree_sitter_symbols_and_strings(resource)
File "/opt/scancodeio/scanpipe/pipes/symbols.py", line 159, in _collect_and_store_tree_sitter_symbols_and_strings
result = symbols_tree_sitter.get_treesitter_symbols(resource.location)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/scancodeio/.venv/lib/python3.12/site-packages/source_inspector/symbols_tree_sitter.py", line 85, in get_treesitter_symbols
symbols, strings = collect_symbols_and_strings(location=location)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/scancodeio/.venv/lib/python3.12/site-packages/source_inspector/symbols_tree_sitter.py", line 105, in collect_symbols_and_strings
traverse(tree.root_node, symbols, strings, language_info)
File "/opt/scancodeio/.venv/lib/python3.12/site-packages/source_inspector/symbols_tree_sitter.py", line 145, in traverse
traverse(child, symbols, strings, language_info, depth + 1)
File "/opt/scancodeio/.venv/lib/python3.12/site-packages/source_inspector/symbols_tree_sitter.py", line 145, in traverse
traverse(child, symbols, strings, language_info, depth + 1)
File "/opt/scancodeio/.venv/lib/python3.12/site-packages/source_inspector/symbols_tree_sitter.py", line 145, in traverse
traverse(child, symbols, strings, language_info, depth + 1)
[Previous line repeated 2 more times]
File "/opt/scancodeio/.venv/lib/python3.12/site-packages/source_inspector/symbols_tree_sitter.py", line 142, in traverse
if source_string := node.text.decode():
^^^^^^^^^^^^^^^^^^
The pipeline should not fail on this but a project message should be created.
The text was updated successfully, but these errors were encountered:
Running the
map_deploy_to_develop
on the following inputs:Failure during the [map_rust] step:
The pipeline should not fail on this but a project message should be created.
The text was updated successfully, but these errors were encountered: