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

Unable to locate file even when file is present. #437

Closed
taylorbriee opened this issue Jan 23, 2021 · 4 comments
Closed

Unable to locate file even when file is present. #437

taylorbriee opened this issue Jan 23, 2021 · 4 comments

Comments

@taylorbriee
Copy link

I have checked the directory the python file is stored in and the csv file is present but I still get this error in android studio.

E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.smartrevisionschedule2, PID: 10880
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.smartrevisionschedule2/com.example.smartrevisionschedule2.subject_and_grades}: com.chaquo.python.PyException: FileNotFoundError: [Errno 2] File b'final_dataset.csv' does not exist: b'final_dataset.csv'

@mhsmith
Copy link
Member

mhsmith commented Jan 23, 2021

See #144, and please search for existing issues before creating new ones.

@mhsmith mhsmith closed this as completed Jan 23, 2021
@taylorbriee
Copy link
Author

I was wondering if I could still use pandas to do this, rather than a different file handler?

@mhsmith
Copy link
Member

mhsmith commented Jan 23, 2021

You can generate the filename using the method in #144, then pass that filename to whatever function you like.

@taylorbriee
Copy link
Author

ok, thanks I will try that.

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

2 participants