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

Failed to store cookie (missing write permission to brat work directory) #1409

Open
yamaook opened this issue Jun 5, 2024 · 2 comments
Open

Comments

@yamaook
Copy link

yamaook commented Jun 5, 2024

I'm running brat's standalone.py on Windows, and when accessing through http://localhost:8001, it shows the error "Failed to store cookie (missing write permission to brat work directory)." What could be the reason for this?

image

@yamaook
Copy link
Author

yamaook commented Jun 6, 2024

I have solved this problem by replacing the method rename() with replace(). This way, it can now run on Windows.
image

@yamaook
Copy link
Author

yamaook commented Jun 6, 2024

image

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

No branches or pull requests

1 participant