Questions tagged [invalid-argument]

263 questions
1
vote
1 answer

"Invalid argument" when sending UDP packet, but which?

My C++ application is sending binary data as UDP packets. The sendto() call returns EINVAL (Invalid argument), but I don't see anything wrong with the parameters I'm passing. I did an strace of the application and here are the revelant system…
Gene Vincent
  • 5,237
  • 9
  • 50
  • 86
1
vote
1 answer

Why is my image an invalid argument on screen with "no host specified" when all my images are defined and included in assets?

I'm working on a shopping app for a school project, and I'm trying to get my product images to show up on the various product detail screens. I used some sample images from flutter's Shrine sample app as I followed their tutorial - so all of my…
1
vote
0 answers

fork/exec /bin/sh invalid argument

The issue is not stably reproduced on mac. the code snippet is as below: cmd := exec.Command("/bin/zsh", "-c", `brew info goland`) cmd.SysProcAttr = &syscall.SysProcAttr{ Credential: &syscall.Credential{ Uid: 501, Gid: 20, …
Gordon Liu
  • 19
  • 2
1
vote
0 answers

RoBERTa example from tfhub produces error "During Variant Host->Device Copy: non-DMA-copy attempted of tensor type: string"

I would like to use the roberta-base model from tfhub. I am trying to run the example below, although I get an error when I try to feed sentences to model as input. I get the following error Invalid argument: During Variant Host->Device Copy:…
1
vote
1 answer

Google app script random - Exception: Argument non valide : name - while naming renaming sheets

Hello and thanks for trying to help, I am making a small code to copy some data from a spreadsheet to another specified one. To arrange all the data in the new spreadsheet, I need to put it in different sheets, with references name. The error occurs…
mat
  • 23
  • 6
1
vote
1 answer

Strange NSNumberFormatter crash

The code is simple: static NSNumberFormatter *numberFormatter = nil; if (numberFormatter == nil) { numberFormatter = [[NSDateFormatter alloc] init]; [numberFormatter setNumberStyle:NSNumberFormatterDecimalStyle]; } However, it crashes on…
Max Yankov
  • 12,551
  • 12
  • 67
  • 135
1
vote
1 answer

Invalid argument(s) on bottom navigation, flutter

I am have created a file where I am creating bottom navigation and drawer, when i run the app after login it's sending me this error. ERROR: The following ArgumentError was thrown building EmployeeDashboard(dirty, state:…
TimeToCode
  • 1,458
  • 3
  • 18
  • 60
1
vote
2 answers

BSD Sockets Invalid Argument at connection

I keep getting an invalid argument error when I try to connect the client to the server. A couple threads online said this can happen when addrlen is not right, but I tried changing it to a literal value after counting the length and that did not…
Sterling
  • 3,835
  • 14
  • 48
  • 73
1
vote
1 answer

Google Cloud Translate 400 Invalid resource name location even though it is valid

Running on google colab. I have basically copied the code from googles tutorial yet the code has returned multiple errors (most of which have been solved by reinstalling packages). I have my environment authentication variables correctly setup. I…
1
vote
1 answer

InvalidArgumentError while fine tuning using VGG16 with input shape as (192,192,3)

I'm using the multimodal MR image dataset. I don't understand what causes this error during training: InvalidArgumentError: logits and labels must have the same first dimension, got logits shape [64,4] and labels shape [9437184] …
1
vote
0 answers

Eclipse giving me Invalid arguments ' Candidates are: float atanf(float)' even though the arguments are valid

This is similar to Eclipse giving me Invalid arguments ' Candidates are: void * memset(void *, int, ?) ' though I know the args are good This line gives the error float y = atanf(x); The error is Invalid arguments 'Candidates are:float…
John
  • 525
  • 5
  • 16
1
vote
1 answer

terms.fomula data argument invalid

I am new to R Studio and now want to make a "cca". I followed a describtion but R says NO. This is what Iam working with: PreAbscca<- read.table("PreAbsenz.csv", header = TRUE, row.names = NULL) UVcca<- read.table("UV.csv", header = TRUE, row.names…
1
vote
2 answers

Google PeopleApi in Ruby - CreateContact method invalid argument

I'm using the 'google-api-client' gem to connect into Google People API from my Ruby Application. https://github.com/googleapis/google-api-ruby-client I've managed to get other methods working (list_person_connections, get_people,…
Helio Borges
  • 122
  • 1
  • 8
1
vote
1 answer

Error with sendto() function: Invalid Argument Error

I am working on writing a ping CLI program for linux and I have been getting errno 22: invalid argument in the sendto() function. I don't understand why, all the arguments seem to be correct. Here is where I call the function: // send echo…
1
vote
0 answers

Invalid procedure call or argument in vbscript while calling com member function

I have a c# dll registered in regasm.exe and I am trying to call it on my classic asp application below is my code part: I am sending a dictionary object as parameter to the function Dim parameters Set…