Failed to save image - Android - bug in path?

Server Version#: 1.25.0.5246
Player Version#: 8.25.1.28703 (7bcafd43)

I am unable to download images from my Plex photo library onto my Android device. It appears from the logs that there is a typo or missing / in the path such that it’s trying to create a folder in an external storage location that doesn’t exist.

Here are the relevant logs from the Android device:

11-22 10:16:03.282  i: [UserAction] Select menu item: Save.
11-22 10:16:03.283  i: [PermissionController] android.permission.WRITE_EXTERNAL_STORAGE permission has been granted.
11-22 10:16:03.288  i: [SaveBitmapAsyncTask] Downloading image to external storage
11-22 10:16:03.291  e: [DownloadImageAsyncTask] Error downloading image
11-22 10:16:03.291  e: An exception occurred: java.io.IOException: Unable to create directory /storage/emulated/0Pictures/Plex
11-22 10:16:03.291  e: Stacktrace: java.io.IOException: Unable to create directory /storage/emulated/0Pictures/Plex
	at com.plexapp.plex.utilities.p6.a(SourceFile:4)
	at com.plexapp.plex.utilities.p6.<init>(SourceFile:3)
	at com.plexapp.plex.utilities.p6.<init>(SourceFile:2)
	at com.plexapp.plex.utilities.p6.<init>(SourceFile:1)
	at com.plexapp.plex.c0.j.f(SourceFile:7)
	at com.plexapp.plex.utilities.f5$a.f(SourceFile:2)
	at com.plexapp.plex.utilities.f5$a.doInBackground(SourceFile:1)
	at android.os.AsyncTask$2.call(AsyncTask.java:333)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at java.lang.Thread.run(Thread.java:764)

11-22 10:16:03.301  i: Showing toast: Failed to save image

Note the path it’s trying to create - /storage/emulated/0Pictures/Plex - I think that’s wrong. I think it should have a slash between the 0 and Pictures. But, since it can’t create that folder, it fails to download the image. Permissions are fine, path is wrong.

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.