You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Lee Davies (JIRA)" <ji...@apache.org> on 2013/07/31 16:39:48 UTC

[jira] [Comment Edited] (CB-4392) Add plugin capture failed

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

Lee Davies edited comment on CB-4392 at 7/31/13 2:38 PM:
---------------------------------------------------------

I too am getting the same error -- using Windows 7, GitBash CLI, and developing for Android.

There does seem to be a plugin.xml in the root of the temp folder, however the directory it's pointing to has an asterix which obviously shouldn't be there (if that is even the cause of the bug). I even tried installing it manually by copying/pasting files to their respective places, but got lost along the way and it didn't work.

The plugin is being added to the plugins folder and config.xml seems to be updated to include "capture", but my project throws a "cannot read property 'capture' of undefined" error when attempting to launch a video recording session.

(Weirdly, photographs are working fine, but then, that plugin didn't spit out an error.)
                
      was (Author: lee-davies):
    I too am getting the same error -- using Windows 7, GitBash CLI, and developing for Android.

There does seem to be a plugin.xml in the root of the temp folder, however the directory it's pointing to has an asterix which obviously shouldn't be there (if that is even the cause of the bug).

I even tried installing it manually by copying/pasting files to their respective places, but got lost along the way and it didn't work.
                  
> Add plugin capture failed
> -------------------------
>
>                 Key: CB-4392
>                 URL: https://issues.apache.org/jira/browse/CB-4392
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.0.0
>            Reporter: lmnbeyond
>            Assignee: Filip Maj
>
> $ cordova platform add ios
> $ cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture.git
> { [Error: ENOENT, no such file or directory '/var/folders/rm/53qs6tsj5kvbw12157mkv07r0000gn/T/plugman-tmp1374738103634/*/plugin.xml']
>   errno: 34,
>   code: 'ENOENT',
>   path: '/var/folders/rm/53qs6tsj5kvbw12157mkv07r0000gn/T/plugman-tmp1374738103634/*/plugin.xml',
>   syscall: 'open' }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira