yjunechoe / Snowglobe

Snowglobe
http://snowglobe.soc.northwestern.edu/
2 stars 0 forks source link

Failing to stage lots of papers - title search #24

Closed mcweenysean closed 3 years ago

mcweenysean commented 3 years ago

I'm using Z:\Snowglobe\von_hagen\von_hagen_titles_without_van_daal.csv as the use case for this. It happened on another list as well in the same way.

During staging, it will say it found all 16 papers, then proceed to only stage 9. The error/warning looks like this:

Warning: Problem with mutate() input Id.

i NAs produced by integer overflow

i Input `Id` is `as.integer(Id)`.

Warning in as.integer.integer64(Id) : NAs produced by integer overflow

Warning: Problem with `mutate()` input `Authors`.

i Outer names are only allowed for unnamed scalar atomic inputs

i Input `Authors` is `ifelse(...)`.

i The error occurred in row 1.

Warning: Outer names are only allowed for unnamed scalar atomic inputs

Warning: Problem with `mutate()` input `Authors`.

i Outer names are only allowed for unnamed scalar atomic inputs

i Input `Authors` is `ifelse(...)`.

i The error occurred in row 2.

Warning: Outer names are only allowed for unnamed scalar atomic inputs

Warning: Problem with `mutate()` input `Authors`.

i Outer names are only allowed for unnamed scalar atomic inputs

i Input `Authors` is `ifelse(...)`.

i The error occurred in row 3.

Warning: Outer names are only allowed for unnamed scalar atomic inputs

Warning: Problem with `mutate()` input `Authors`.

i Outer names are only allowed for unnamed scalar atomic inputs

i Input `Authors` is `ifelse(...)`.

i The error occurred in row 4.

Warning: Outer names are only allowed for unnamed scalar atomic inputs

Warning: Problem with `mutate()` input `Authors`.

i Outer names are only allowed for unnamed scalar atomic inputs

i Input `Authors` is `ifelse(...)`.

i The error occurred in row 5.

Warning: Outer names are only allowed for unnamed scalar atomic inputs

Warning: Problem with `mutate()` input `Authors`.

i Outer names are only allowed for unnamed scalar atomic inputs

i Input `Authors` is `ifelse(...)`.

i The error occurred in row 6.

Warning: Outer names are only allowed for unnamed scalar atomic inputs

Warning: Problem with `mutate()` input `Authors`.

i Outer names are only allowed for unnamed scalar atomic inputs

i Input `Authors` is `ifelse(...)`.

i The error occurred in row 7.

Warning: Outer names are only allowed for unnamed scalar atomic inputs

Warning: Problem with `mutate()` input `Authors`.

i Outer names are only allowed for unnamed scalar atomic inputs

i Input `Authors` is `ifelse(...)`.

i The error occurred in row 8.

Warning: Outer names are only allowed for unnamed scalar atomic inputs

Warning: Problem with `mutate()` input `Authors`.

i Outer names are only allowed for unnamed scalar atomic inputs

i Input `Authors` is `ifelse(...)`.

i The error occurred in row 9.

Warning: Outer names are only allowed for unnamed scalar atomic inputs

Warning in for (i in 1:(k - 1L)) { :

  call dbDisconnect() when finished working with a connection

Warning in for (i in 1:(k - 1L)) { :

  call dbDisconnect() when finished working with a connection

When I tried to test the functions outside of the app - title.search() no longer takes a vector as an input and only works on individual titles. I see you changed some variable types - any idea what's going on here?

yjunechoe commented 3 years ago

Looks like this was an issue of integer conversion introduced in fc1f11a0e726a362ad80956a5764ddf7ed5f86a4

We do find all 16 of the papers searched, but some of them have IDs that are greater than 2^31 so those were the ones it failed on.