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

Possible typo in error message and instance variable #363

Open
HolQue opened this issue Oct 29, 2024 · 2 comments
Open

Possible typo in error message and instance variable #363

HolQue opened this issue Oct 29, 2024 · 2 comments

Comments

@HolQue
Copy link
Collaborator

HolQue commented Oct 29, 2024

Error message

'Invalid key name: "para%%m1". Key names must not contain these special characters "!#$%^&()=[]{{}}|;\',?~"`

based on

self.specialCharacters = r'!#$%^&()=[]{{}}|;\',?~'`

that contains: {{}}

Is there a certain reason to list the curly brackets twice?

@namsonx namsonx self-assigned this Dec 11, 2024
@namsonx
Copy link
Collaborator

namsonx commented Dec 26, 2024

Hello Holger,

Thank you for your finding! There is no certain reason for it, it's just my mistake!

At first, I I used f-string format f"!#$%^&()=[]{{}}|;\',?~" (in F-string format, in case we want to use { or }, we have to double them to distinguish with {<variable>}), then I defined the variable self.specialCharacters to store this string value and forgot change {{}} to {}.

I updated and pushed it to stabi branch.
Ready for ROBFW-AIO 0.13.2

Thank you,
Son

@HolQue
Copy link
Collaborator Author

HolQue commented Jan 3, 2025

Retest successful. Issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants