-
Notifications
You must be signed in to change notification settings - Fork 1k
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
TabbyML Code Browser GitHub repo with special characters in folder name #2081
Comments
Okay, so I've just tried the currently available tabbyml nightly build docker image and can confirm the error to be still present in that. How to reproduce:
Container log line: 2024-05-09T15:08:42.658376000+02:00 2024-05-09T13:08:42.657888Z WARN resolve_path{repo=ResolveParams { kind: Git, id: ID("V1xYGx"), path: Some("6 - template method & bridge/trading-before.py") }}: tabby_webserver::routes::repositories: ee/tabby-webserver/src/routes/repositories/mod.rs:65: failed to resolve_file <"/data/repositories/https_github.com_ArjanCodes_betterpython/6 - template method & bridge/trading-before.py">: invalid uri character The same log line word wrapped for legibility: 2024-05-09T15:08:42.658376000+02:00 2024-05-09T13:08:42.657888Z WARN
resolve_path{repo=ResolveParams { kind: Git, id: ID("V1xYGx"), path: Some
("6 - template method & bridge/trading-before.py") }}:
tabby_webserver::routes::repositories:
ee/tabby-webserver/src/routes/repositories/mod.rs:65: failed to resolve_file
<"/data/repositories/https_github.com_ArjanCodes_betterpython/6 - template
method & bridge/trading-before.py">: invalid uri character $ podman image list tabby
REPOSITORY TAG IMAGE ID CREATED SIZE
docker.io/tabbyml/tabby nightly ce51a71aaafa 17 hours ago 2.32 GB
docker.io/tabbyml/tabby latest ca9238815b16 2 weeks ago 2.29 GB If you have any suggestions, please don't hesitate to comment. |
Thanks for the bug fix and this happens to be fixed yesterday in #2079 It shall be released as part of 0.11 |
@wsxiaoys I'm afraid the fix has not been completely successful: I am currently seeing exactly the same behavior as described by @Wolfsauge when attempting to open a file with a Renaming the file so that it doesn't contain a I am currently running version 0.11.0. |
Describe the bug
When adding the repo https://github.com/ArjanCodes/betterpython, waiting for the scheduler to add the repo, I will see the folder structure in the code browser's left pane. However, the right pane remains empty on any Python files I'm trying to browse. While repos without folders with
&
in their names seem to work fine.Please note the presence of the folder https://github.com/ArjanCodes/betterpython/tree/main/6%20-%20template%20method%20%26%20bridge in the repo.
When inspecting the tabbyml docker container logs, I find the following error message:
Same line, word wrapped:
The expected behavior would be to be able to browse the files.
Information about your version
Please provide output of
tabby --version
Entering the container yields this output:
root@d77059856d61:/# tabby --version tabby 0.10.0
I retried with tabbyml latest official image:
$ podman ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES d77059856d61 docker.io/tabbyml/tabby:latest serve --device cu... 44 minutes ago Up 44 minutes 0.0.0.0:8080->8080/tcp tabbyml $ podman image list tabby REPOSITORY TAG IMAGE ID CREATED SIZE docker.io/tabbyml/tabby latest ca9238815b16 2 weeks ago 2.29 GB
Information about your GPU
Please provide output of
nvidia-smi
Additional context
Add any other context about the problem here.
I've noticed the many rc versions of 0.11.0 in the docker.io/tabbyml repo.
As I currently believe this is a bug in tabbyml, I probably should retry the actual latest rc versions of 0.11.0 to validate the behavior of the latest versions.
The text was updated successfully, but these errors were encountered: