Questions tagged [invalid-argument]

263 questions
1
vote
1 answer

Recode variables in R returns invalid

I'm trying to recode this variable, after transforming it in numeric: e18$AntPT <- recode(e18$AntPT, 1 <- 0, 0 <- c(2:10)) but it returns Error in 1 <- 0: invalid (do_set) left-hand side to assignment Also, the final result should include these…
Laura
  • 13
  • 3
1
vote
1 answer

Selenium error message (nvalidArgumentException)

When I am trying to use Selenium I am getting an error as: nvalidArgumentException: Message: invalid argument: user data directory is already in use, please specify a unique value for --user-data-dir argument, or don't use --user-data-dir my code…
1
vote
2 answers

getting odd error when calling python script within another python script

I am getting an IOError when calling a python script(script2) within another python script(script1). Script 2 runs fine if called stand alone, however, if I call it from within script one, i get the following error. C:\>C:\Python32\python.exe…
ZoomZoom
  • 11
  • 1
1
vote
1 answer

How do to resolve this error "Exception: Invalid argument: replacement"?

I have a function that makes a copy of an existing document (template) and then merges data in dynamically by matching the header names to the tags listed within the document. The function worked without any problems, but now suddenly I'm receiving…
Niya
  • 79
  • 1
  • 1
  • 12
1
vote
1 answer

Python: rect argument is invalid

Hi I'm trying to learn python and but i'm stuck with this problem, when i run my program it says rect argument is invalid, this is my code: import pygame pygame.init() win = pygame.display.set_mode((500,500)) pygame.display.set_caption("First…
1
vote
1 answer

Package or namespace load failed for ‘RxODE’ .onAttach failed in attachNamespace() for 'RxODE',

I am trying to create a model simulation using RxODE, this R-code was successful previously on a colleague's computer. R was just reinstalled on the computer I am currently using (version 3.6.2). I continue to get this error... Error: package or…
1
vote
1 answer

How to fix "invalid argument" error in LESS

How can I fix "invalid argument" in LESS when using IE?
Diogo Cardoso
  • 21,637
  • 26
  • 100
  • 138
1
vote
1 answer

Power BI - handling non-existing arguments and returning data in table for valid arguments

I am stuck at the error handling routine. I have this function.. (LicenceNumber) => let Source = Web.Page(Web.Contents("http://mbsweblist.fsco.gov.on.ca/ShowLicence.aspx?M" & Number.ToText(LicenceNumber) & "~")), WebData =…
suji
  • 43
  • 8
1
vote
2 answers

Invalid Argument error in IE8 when drawing point features with Openlayers in AJAX application

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…
1
vote
1 answer

Service Fabric web api returning Error Message: Invalid argument, Code: E_INVALIDARG

I have deployed my service fabric stateful api created using default Dotnet framework template in the azure cluster. When I tried to access the api getting below error. {"Error":{"Code":"E_INVALIDARG","Message":"Invalid argument"}} However this…
1
vote
2 answers

OSError: [Errrno 22] Invalid Argument - having problem with a username of "\robk\' in file path

I'm comparing two files and writing difference to a third file. I'm not able to open the files because (possibly) there is a \r in the path name. This is being run on a work computer and my username is robk that I think is the problem. The…
RobK
  • 123
  • 1
  • 10
1
vote
1 answer

R: Package topicmodels: LDA: Error: invalid argument

I have a question regarding LDA in topicmodels in R. I created a matrix with documents as rows, terms as columns, and the number of terms in a document as respective values from a data frame. While I wanted to start LDA, I got an Error Message…
martin21
  • 11
  • 1
  • 3
1
vote
0 answers

Pims "Unexpected Keyword Argument" and “invalid ImageJ metadata or corrupted file”

The Context: I'm trying to use the package trackpy for research. I'm on a Mac and I'm using (mostly) Spyder. I’m following the trackpy walkthrough (https://soft-matter.github.io/trackpy/v0.3.2/tutorial/walkthrough.html) and I’m trying to use it on a…
1
vote
1 answer

Error when importing text from files (readChar Error in file.info(filename[i]) : invalid filename argument)

I was importing text from files following the code explained here by Tommy: Import text file as single character string I imported the name of the files (which are in subfolders): mydata <- as.data.frame(list.files(path="FolderWithFiles", …
Antonio
  • 158
  • 1
  • 14
1
vote
0 answers

FFmpeg av_interleaved_write_frame invalid parameter -22

Windows 7 64 bit environment. C# Windows Forms application calling FFmpeg libraries through C++ bridge DLL including avcodec-57.dll, avformat-57.dll, avutil-55.dll, swresample-2.dll and swscale-4.dll to write MPEG-4 file using H.264/MPEG-4 AVC…
user5505472