[ https://issues.apache.org/jira/browse/CB-3185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13901570#comment-13901570 ]
Ian Clelland commented on CB-3185: ---------------------------------- Abel, can you try this again with the latest release of the File plugin? >From your original traceback, I believe that the problem with the encoded >spaces in the URLs will be solved. However, if DropBox is acting as a content >provider, then you might have to try the latest dev branch of File; I've fixed >a number of issues with the handling of content:// URLs in the last couple of >days. > Exception resolving a Dropbox file from the Gallery > --------------------------------------------------- > > Key: CB-3185 > URL: https://issues.apache.org/jira/browse/CB-3185 > Project: Apache Cordova > Issue Type: Bug > Components: Android > Affects Versions: 2.6.0 > Reporter: Abel MuiƱo > Assignee: Ian Clelland > > The following exception shows in the Logcat: > {noformat} > 04-19 10:56:08.360: W/System.err(7926): java.io.FileNotFoundException: > /storage/emulated/0/Android/data/com.dropbox.android/files/scratch/Camera%20Uploads/2012-09-09%2011.20.25.jpg: > open failed: ENOENT (No such file or directory) > 04-19 10:56:08.390: W/System.err(7926): at > libcore.io.IoBridge.open(IoBridge.java:416) > 04-19 10:56:08.390: W/System.err(7926): at > java.io.FileInputStream.<init>(FileInputStream.java:78) > 04-19 10:56:08.390: W/System.err(7926): at > java.io.FileInputStream.<init>(FileInputStream.java:105) > 04-19 10:56:08.390: W/System.err(7926): at > org.apache.cordova.FileHelper.getInputStreamFromUriString(FileHelper.java:98) > 04-19 10:56:08.390: W/System.err(7926): at > org.apache.cordova.CameraLauncher.getScaledBitmap(CameraLauncher.java:582) > 04-19 10:56:08.390: W/System.err(7926): at > org.apache.cordova.CameraLauncher.onActivityResult(CameraLauncher.java:411) > 04-19 10:56:08.390: W/System.err(7926): at > org.apache.cordova.DroidGap.onActivityResult(DroidGap.java:864) > 04-19 10:56:08.390: W/System.err(7926): at > android.app.Activity.dispatchActivityResult(Activity.java:5293) > 04-19 10:56:08.390: W/System.err(7926): at > android.app.ActivityThread.deliverResults(ActivityThread.java:3315) > 04-19 10:56:08.390: W/System.err(7926): at > android.app.ActivityThread.handleSendResult(ActivityThread.java:3362) > 04-19 10:56:08.390: W/System.err(7926): at > android.app.ActivityThread.access$1100(ActivityThread.java:141) > 04-19 10:56:08.390: W/System.err(7926): at > android.app.ActivityThread$H.handleMessage(ActivityThread.java:1282) > 04-19 10:56:08.390: W/System.err(7926): at > android.os.Handler.dispatchMessage(Handler.java:99) > 04-19 10:56:08.390: W/System.err(7926): at > android.os.Looper.loop(Looper.java:137) > 04-19 10:56:08.390: W/System.err(7926): at > android.app.ActivityThread.main(ActivityThread.java:5041) > 04-19 10:56:08.390: W/System.err(7926): at > java.lang.reflect.Method.invokeNative(Native Method) > 04-19 10:56:08.390: W/System.err(7926): at > java.lang.reflect.Method.invoke(Method.java:511) > 04-19 10:56:08.400: W/System.err(7926): at > com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) > 04-19 10:56:08.400: W/System.err(7926): at > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) > 04-19 10:56:08.400: W/System.err(7926): at > dalvik.system.NativeStart.main(Native Method) > 04-19 10:56:08.400: W/System.err(7926): Caused by: > libcore.io.ErrnoException: open failed: ENOENT (No such file or directory) > 04-19 10:56:08.400: W/System.err(7926): at libcore.io.Posix.open(Native > Method) > 04-19 10:56:08.400: W/System.err(7926): at > libcore.io.BlockGuardOs.open(BlockGuardOs.java:110) > 04-19 10:56:08.400: W/System.err(7926): at > libcore.io.IoBridge.open(IoBridge.java:400) > 04-19 10:56:08.410: W/System.err(7926): ... 19 more > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)