You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2016/10/13 21:10:22 UTC

[jira] [Commented] (CB-12004) cordova-plugin-media 2.4.0 : open failed: EROFS (Read-only file system)

    [ https://issues.apache.org/jira/browse/CB-12004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15573191#comment-15573191 ] 

Joe Bowser commented on CB-12004:
---------------------------------

Can you provide more information, such as which device, and what version of Android you're currently using? 

> cordova-plugin-media 2.4.0 : open failed: EROFS (Read-only file system)
> -----------------------------------------------------------------------
>
>                 Key: CB-12004
>                 URL: https://issues.apache.org/jira/browse/CB-12004
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.4.0
>         Environment: Android 6.0.1
>            Reporter: salles pro services
>
> 10-12 20:58:12.549  9230  9291 W System.err: java.io.FileNotFoundException: /storage/emulated/0/tmprecording-1476316692548.3gp: open failed: EROFS (Read-only file system)
> 10-12 20:58:12.549  9230  9291 W System.err: 	at libcore.io.IoBridge.open(IoBridge.java:452)
> 10-12 20:58:12.549  9230  9291 W System.err: 	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:117)
> 10-12 20:58:12.549  9230  9291 W System.err: 	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:149)
> 10-12 20:58:12.549  9230  9291 W System.err: 	at android.media.MediaRecorder.prepare(MediaRecorder.java:784)
> 10-12 20:58:12.549  9230  9291 W System.err: 	at org.apache.cordova.media.AudioPlayer.startRecording(AudioPlayer.java:159)
> 10-12 20:58:12.549  9230  9291 W System.err: 	at org.apache.cordova.media.AudioHandler.startRecordingAudio(AudioHandler.java:287)
> 10-12 20:58:12.549  9230  9291 W System.err: 	at org.apache.cordova.media.AudioHandler.promptForRecord(AudioHandler.java:543)
> 10-12 20:58:12.549  9230  9291 W System.err: 	at org.apache.cordova.media.AudioHandler.execute(AudioHandler.java:118)
> 10-12 20:58:12.549  9230  9291 W System.err: 	at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
> 10-12 20:58:12.549  9230  9291 W System.err: 	at org.apache.cordova.PluginManager.exec(PluginManager.java:133)
> 10-12 20:58:12.549  9230  9291 W System.err: 	at org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
> 10-12 20:58:12.549  9230  9291 W System.err: 	at org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
> 10-12 20:58:12.549  9230  9291 W System.err: 	at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
> 10-12 20:58:12.549  9230  9291 W System.err: 	at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:39)
> 10-12 20:58:12.549  9230  9291 W System.err: 	at android.os.Handler.dispatchMessage(Handler.java:102)
> 10-12 20:58:12.549  9230  9291 W System.err: 	at android.os.Looper.loop(Looper.java:148)
> 10-12 20:58:12.550  9230  9291 W System.err: 	at android.os.HandlerThread.run(HandlerThread.java:61)
> 10-12 20:58:12.550  9230  9291 W System.err: Caused by: android.system.ErrnoException: open failed: EROFS (Read-only file system)
> 10-12 20:58:12.550  9230  9291 W System.err: 	at libcore.io.Posix.open(Native Method)
> 10-12 20:58:12.550  9230  9291 W System.err: 	at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
> 10-12 20:58:12.550  9230  9291 W System.err: 	at libcore.io.IoBridge.open(IoBridge.java:438)
> 10-12 20:58:12.550  9230  9291 W System.err: 	... 16 more
> 10-12 20:58:12.550  9230  9291 W PluginManager: THREAD WARNING: exec() call to Media.startRecordingAudio blocked the main thread for 21ms. Plugin should use CordovaInterface.getThreadPool()



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org