Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

special characters in exlude objects causing problems #5813

Closed
Zodiak1993 opened this issue Oct 7, 2022 · 2 comments
Closed

special characters in exlude objects causing problems #5813

Zodiak1993 opened this issue Oct 7, 2022 · 2 comments

Comments

@Zodiak1993
Copy link

Zodiak1993 commented Oct 7, 2022

Hello, if you are using special characters for example "ö" in the name of your stl and create a gcode (with PrusaSlicer in my case) the print will not start. I am not sure if this is the expected behaviour. If this is not changeable maybe a warning would help users to find the problem.
This happens only if you use [exclude_objects]

Gcode after pre processing:
; Pre-Processed for Cancel-Object support by preprocess_cancellation v0.2.0 ; 1 known objects EXCLUDE_OBJECT_DEFINE NAME=testü_id_0_copy_0 CENTER=174.931,175.043 POLYGON=[[157.8,157.8],[157.8,192.2],[192.2,192.2],[192.2,157.8]] ;TYPE:Custom

Klippy Log Error:
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 50: ordinal not in range(128)

klippy(15).log

@Sineos
Copy link
Collaborator

Sineos commented Oct 7, 2022

#4794

@Sineos Sineos closed this as completed Oct 7, 2022
@Zodiak1993
Copy link
Author

Thank you but in my case the filename is "testu.gcode" and the name of the object is "testü". I did not know that even the gcode file name itself has a problem with special characters.
But it is okay. I will be more careful when exporting files from fusion.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants