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

Reading in file demo_data.csv results in an error. #438

Open
kmmokashi opened this issue Oct 25, 2024 · 1 comment
Open

Reading in file demo_data.csv results in an error. #438

kmmokashi opened this issue Oct 25, 2024 · 1 comment
Labels
need more info More information is required to understand the raised issue

Comments

@kmmokashi
Copy link

kmmokashi commented Oct 25, 2024

I just installed taskweaver and am trying it out.
When I ask it to read and row count the file demo_data.csv (which is under project/sample_data), I get a file not found in python.
I tried to mention the absolute path as well, but the same issue occurs.

Which directory do I need to place files in for it to be able to search?

Edit: Checking it further, it seems to want the file in the sessions/cwb folder of the session it is in. By placing the file there it managed to read it...but how do I make it read from outside that directory hierarchy?

Thanks!

@liqul
Copy link
Contributor

liqul commented Oct 28, 2024

Could you check if you are running in the container mode (the doc here)? If it is, the process inside the container can only access the sessions/session_id/cwd folder. If you are running in local mode, you can access your local file system, but be ware of any security issues.

@liqul liqul added the need more info More information is required to understand the raised issue label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need more info More information is required to understand the raised issue
Projects
None yet
Development

No branches or pull requests

2 participants