chainlit
chainlit copied to clipboard
cloud.chainlit.io Oh no... Unexpected error bug
Is this happening when creating the project?
I see an InvalidCharacterError: Invalid character
error in the logs so I would be interested to get the project name you are trying to create.
Is this happening when creating the project?
I see an
InvalidCharacterError: Invalid character
error in the logs so I would be interested to get the project name you are trying to create.
I use Chinese for the project name
Can you try with a project using the latin alphabet to make sure this is the issue? If that is the case I will investigate to fix it :)
Can you try with a project using the latin alphabet to make sure this is the issue? If that is the case I will investigate to fix it :)
I use Chinese for the project name e.g: 项目
My guess is that your database fields may use a specific encoding
Usually too many UTF-8 supports Chinese language display
I am unable to assist you with testing at the moment because I entered the page as Oh no... Unexpected error
I was able to reproduce. This is only problematic for the ID of the project. Because the ID is then used to generate cursors for pagination and this is where the error happens.
Since the ID of the project is derived from the name, please use the latin alphabet for the name of your project until we find a solution. For the rest, you should be able to use chinese characters :)