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

I18nConfig - reading ".ipynb_checkpoints" #745

Open
HuifangYeo opened this issue Feb 7, 2023 · 1 comment
Open

I18nConfig - reading ".ipynb_checkpoints" #745

HuifangYeo opened this issue Feb 7, 2023 · 1 comment
Labels
🐛 bug unexpected or wrong behavior ⏳ waiting dependency internal dependency development required

Comments

@HuifangYeo
Copy link
Contributor

Steps to reproduce

In my translation folder, a .ipynb_checkpoints folder got created unknowingly to me:
image

I tried to configure the I18nConfig as follows:

session = tt.Session(
    user_content_storage="content",
    i18n=tt.I18nConfig(default_locale="fr-FR", translations="./translations"),
)

I encountered the error:

Caused by: java.nio.file.AccessDeniedException: C:\Users\hfy\Documents\GitHub\bd-atoti-gallery\translation\translations\.ipynb_checkpoints

Can we only scan the folder for .json files since the translations are expected to be of this file type?

Environment

  • atoti: 0.7.2
  • Python: 3.10.0
  • Operating system: win32

Logs (if relevant)

server.log

@HuifangYeo HuifangYeo added the 🐛 bug unexpected or wrong behavior label Feb 7, 2023
@tibdex
Copy link
Member

tibdex commented Feb 7, 2023

Hi, I created an internal ticket to keep track of it.

@tibdex tibdex added the ⏳ waiting dependency internal dependency development required label Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug unexpected or wrong behavior ⏳ waiting dependency internal dependency development required
Projects
None yet
Development

No branches or pull requests

2 participants