Vidioc_Querymenu: Invalid Argument error

I wrote a code that works fine in windows, but when I bring it over to linux (raspbian) I get VIDIOC_QUERYMENU: Invalid Argument. The section of code that gives me this problem is this section:

The rest of the code works fine. Does anybody know how to remedy this?

camera_port = 0 ramp_frames = 0 camera = cv2.VideoCapture(camera_port) def get_image(): retval, im = camera.read() return im for i in xrange(ramp_frames): temp = get_image()

Category:python Views:0 Time:2018-03-11

Related post

  • 'Invalid Argument' Error in IE, in a line number that doesn't exist 2009-06-17

    I'm getting the following error in IE 6: Line: 454 Char: 13 Error: Invalid Argument Code: 0 URL: xxxxx/Iframe1.aspx and I can't for the life of me find what's causing this. This only happens in a situation where I have a main page that has several IF

  • IE Invalid Argument Error - Says it is an error in jQuery, but I don't think so 2009-11-11

    I am pulling my hairs out over an invalid argument error in IE7, maybe all IE's... The site is: http://www.karencaldwelldesign.com/fashion IE says it is an error on line 12, but if I open up Script Debugger it says the problem is with some code in jQ

  • Invalid Argument Error in Jquery gzoom plugin 2010-01-12

    I am using a Jquery plugin named Jquery gzoom. It's very nice script but when I test it in IE. The script show the Invalid Argument Error. The error only shows in IE. I am wondering if anyone can figure about where in the script cause the error. Plug

  • Invalid Argument Error: MSAccess and SQL 2010-06-30

    I am trying to access certain lines from my SQL database from MSAccess and I keep getting an Invalid Argument Error on this line: Set rs = CurrentDb.OpenRecordset("SELECT TimeID " & _ "FROM tblLunchTime " & _ "WHERE ProductionID = prodSelect

  • jquery, IE 8 Invalid argument error 2010-07-08

    This code works fine in FF, Chrome & Safari, but IE 8 is throwing several Invalid Argument Errors when I run it: <script type="text/javascript"> $(window).load(function() { $('div .box').each(function() { $(this).width($(this).find('img').w

  • Invalid Argument error in IE8 when drawing point features with Openlayers in AJAX application 2011-03-13

    I would kindly request some help because I have been struggling with an issue occurring only in IE8 with my code. You can take a look at a demo page that illustrates the problem at http://www.europeontrack.com/test.html. As you’ll notice, it works fi

  • Invalid arguments error trapping on implode() 2011-04-16

    In the script below, I'm getting an invalid arguments error on the "echo implode()" line: Warning: implode() [function.implode]: Invalid arguments passed in... Here is the script: if ( !function_exists('wp_tag_cloud') || get_option('cb2_noposttags'))

  • window.open invalid argument error 2011-06-06

    So I keep getting an invalid argument error whenever I try to run this script. The error occurs at window.open(url, name, features); Unfortunately I don't know how to fix this. Any ideas? Common-Utilities.js (where the problem is coming from - line 4

  • Invalid Argument Error for Function call, specifically with IE and FF 2011-06-10

    I'm using this small javascript 'toolbox' from http://www.hunlock.com/blogs/Totally_Pwn_CSS_with_Javascript So far my code works in Firefox and Chrome but not IE. *EDIT* Nore in Firefox either.. I get an Invalid Argument error right where it calls th

  • mounting fuse gives invalid argument error in python 2011-06-24

    I have written python code to a mount fuse on a point mount. It always gives invalid argument error. I have tried the same program in C and it works fine. Can any of python Guru's help me out in finding what the problem is, I have pasted the code her

  • data_condition wait invalid argument error 2011-10-15

    data_cond.wait(lk, [this]{return !data_queue.empty();}); invalid argument after compile with g++ -std=c++0x -Wall -pthread threadpool.cc -o hello originally from book is data_cond.wait(lk, []{return !data_queue.empty();}); --------------Solutions----

  • Invalid Argument error in IE7 - jQuery tabs and Google Map 2011-11-17

    I have tried to rectify this 'Invalid Argument' error in IE7 so many times, but still it pops up... it seems I am not getting to the actual reason of this error. Though it runs fine in Firefox. Here is my code which I have moved to a html file for te

  • Invalid Argument Error Making Search Bar 2012-01-25

    I'm making a search bar for a site it works in one page but the other one I keep getting invalid argument error. Hopefully everything that is needed is below. I am using codeigniter. Please help. Thanks. //Doesnt Work// private function getUsers () {

  • Getting Invalid Argument Error while loading Bing map in my site? 2012-02-17

    I am using Bing map in my website and displaying some points on it while a user search using some keyword. But when there is no result i am getting a javascript error in veapidelay.js this is Bing map javascript. I am getting Invalid Argument error o

  • Invalid Argument Error with SlickGrid 2012-04-12

    I have a jQueryUI Tabs control on a web page. Each tab contains one or more Slickgrid grids. Sometimes, but with no particular pattern that I have been able to discover, when removing tabs (therefore removing instances of Slickgrid), I get: // slick.

  • Invalid Argument error Microsoft Access 2013 2012-02-07

    Hi! I have a copy of Microsoft Access 2013 on my Windows 8 x 64. I'm having a critical bug on my Access. I could not use Query Wizard and Form Wizard because it keeps getting "Invalid Argument" error. I've tested it n new database the error still exi

  • "Invalid argument" error when attempting to use Linked Table Manager 2012-06-28

    I'm attempting to change the location of the backend of my database using Linked Table Manager. After selecting the tables and choosing "OK", I'm getting an "Invalid argument" error. Any suggestions or advice on what is causing this issue? I seem to

  • "Invalid Argument" Error during ODBC Import/Link Tables in Access 2012-08-08

    While attempting to open a .dat file via ODBC via import or link tables I get an "Invalid Argument" error. This error does not appear when importing said file into Excel however I still cant open the file to replace its contents. Thanks in advance fo

  • invalid argument Error on page 2012-12-16

    I am getting an error on a web page invalid argument zdc1nna.js line:8 code:0 char:298 URI:https://usetypekit.net/zdc1nna.js. I am also having trouble with IE some websites are telling me I have and old browser of IE7 when I am using IE8 How do I fix

  • Linked Table import gives 'Invalid Argument' error. 2014-01-10

    I am trying to import a text file into a linked table in Access (the linked table resides in SQL Server). I run through the import wizard which always ends with an 'Invalid Argument' error and claims the import was unsuccessful but when I query the t

  • C# compiler throws invalid arguments error. Why? 2008-11-06

    I have a class that contains two methods like these: public String getFoo(Int32 a) { return getBar(a, "b", null); } public String getBar(Int32 a, String b, Int32 c) { //do something return ""; } However when I compile my class I get two errors: The b

  • When I run a raw socket program it generates an invalid arguments error 2009-05-18

    please help me. i don't find answers for it, after long serch for 2 days iam posting. please help me i very new to socket programing and i written a small code to divert packets at tcp layer for that i used ip_queue's and netlinks with NETLINK_FIREWA

  • invalid argument error of jquery accordion in IE 2010-01-27

    The jquery accordion throws "Invalid argument." exception in IE(mine is IE8). It works in Firefox and chrome. What may be the problem of jquery accordion with IE? Here is the html: <div id="accordion"> <h3><a href="#">Training</a

  • Invalid argument error with an AsyncFileUpload inside a modalpopupextender 2010-07-09

    I receive this error when the page loads: Invalid argument. On this line: a._innerTB.style.width=a._inputFile.offsetWidth-107+"px" If I remove this attribute UploaderStyle="Modern", I don’t have the error. Also, if I use the control without the Modal

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.283 (s). 11 q(s)