Skip to content

Fix panic on non-UTF-8 file paths in analysis walker#34

Merged
ParzivalHack merged 1 commit intoParzivalHack:mainfrom
satoridev01:fix-utf8-path-panic
Feb 11, 2026
Merged

Fix panic on non-UTF-8 file paths in analysis walker#34
ParzivalHack merged 1 commit intoParzivalHack:mainfrom
satoridev01:fix-utf8-path-panic

Conversation

@satoridev01
Copy link
Copy Markdown
Contributor

There is a stack trace being triggered when trying to parse a couple of filenames that are not using UTF-8 on their filenames that are part of the repo V3lectronics/SPIRIT:

  • EDA-kicad/component-libs/SPIRIT-3D-models/UBAF30-D2011�+�3D�+�.STEP
  • EDA-kicad/component-libs/SPIRIT-3D-models/UBAF30-D2011´+ê3D´+ë.STEP

Step to reproduce:
satori run satori://code/python/pyspector.yml --repo V3lectronics/SPIRIT --output

image

The proposed fix seems to be able to work with this repo:
image

@ParzivalHack ParzivalHack added bug Something isn't working enhancement New feature or request labels Feb 11, 2026
Copy link
Copy Markdown
Owner

@ParzivalHack ParzivalHack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is fine as well. Merging :)

@ParzivalHack ParzivalHack merged commit a52b8a6 into ParzivalHack:main Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants