[Errno 13] Permission denied

71 views
Skip to first unread message

Barreira Brothers

unread,
Sep 8, 2023, 10:25:10 PM9/8/23
to Kivy users support
I'm getting an error using meteostat library (used to get the temperature of a location)

The app runs ok until i call this libray.

I get [Errno 13] Permission denied  in the logcat

what can I do?

Robert

unread,
Sep 8, 2023, 10:34:47 PM9/8/23
to Kivy users support
> what can I do?

That would depend on what Android resource you are trying to use.

Generally read about permissions
https://github.com/Android-for-Python/Android-for-Python-Users#app-permissions

Specifically, if "a location" refers to a networked device then INTERNET permission would be required.
For Android device resources see the Android docs.

Barreira Brothers

unread,
Sep 9, 2023, 8:58:04 AM9/9/23
to Kivy users support
Hey Robert, thanks for the reply!

My permissions are fine, I'm using a similar library (geopy) that needs internet and location permissions and it's working perfectly fine.

I just don't know why this other one (meteostat) woudn't work.

The geopy has an option to ca_file= certifi.where(), but I didn't see this option in the meteostat. I think the error could be the lack of SSL certificate.where()

What do you think about?

Robert

unread,
Sep 9, 2023, 1:04:12 PM9/9/23
to Kivy users support
I assumed it was an Android message, but it is probably a Python message

https://bobbyhadz.com/blog/python-permissionerror-errno-13-permission-denied

It there is a Traceback that should point you in the right direction
Reply all
Reply to author
Forward
0 new messages