You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Darryl Pogue (JIRA)" <ji...@apache.org> on 2014/02/12 19:06:26 UTC

[jira] [Resolved] (CB-6015) FileTransfer error: Read-Only filesystem

     [ https://issues.apache.org/jira/browse/CB-6015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darryl Pogue resolved CB-6015.
------------------------------

       Resolution: Not A Problem
    Fix Version/s: 3.3.0

> FileTransfer error: Read-Only filesystem
> ----------------------------------------
>
>                 Key: CB-6015
>                 URL: https://issues.apache.org/jira/browse/CB-6015
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin File, Plugin File Transfer
>    Affects Versions: 3.3.0
>            Reporter: Darryl Pogue
>            Assignee: Ian Clelland
>             Fix For: 3.3.0
>
>
> Using the FileTransfer plugin to write to a FileEntry returned from the File plugin results in an error.
> {code}
> D/FileTransfer(12423): download http://example.com/image.jpeg to //avatar.jpeg
> E/FileTransfer(12423): {"target":"\/\/avatar.jpeg","source":"http:\/\/example.com\/image.jpeg","http_status":0,"code":1}
> E/FileTransfer(12423): java.io.FileNotFoundException: /avatar.jpeg: open failed: EROFS (Read-only file system)
> E/FileTransfer(12423): 	at libcore.io.IoBridge.open(IoBridge.java:409)
> E/FileTransfer(12423): 	at java.io.FileOutputStream.<init>(FileOutputStream.java:88)
> E/FileTransfer(12423): 	at org.apache.cordova.CordovaResourceApi.openOutputStream(CordovaResourceApi.java:293)
> E/FileTransfer(12423): 	at org.apache.cordova.CordovaResourceApi.openOutputStream(CordovaResourceApi.java:274)
> E/FileTransfer(12423): 	at org.apache.cordova.filetransfer.FileTransfer$4.run(FileTransfer.java:708)
> E/FileTransfer(12423): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
> E/FileTransfer(12423): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
> E/FileTransfer(12423): 	at java.lang.Thread.run(Thread.java:841)
> E/FileTransfer(12423): Caused by: libcore.io.ErrnoException: open failed: EROFS (Read-only file system)
> E/FileTransfer(12423): 	at libcore.io.Posix.open(Native Method)
> E/FileTransfer(12423): 	at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
> E/FileTransfer(12423): 	at libcore.io.IoBridge.open(IoBridge.java:393)
> E/FileTransfer(12423): 	... 7 more
> {code}
> This worked correctly before upgrading the file plugin.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)