yjunechoe / Snowglobe

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

Running list bugged #31

Open mcweenysean opened 3 years ago

mcweenysean commented 3 years ago

A running list will not upload to the live website version, and relatedly, the download running list post-search button is throwing this error:

Joining, by = c("Date", "Searched_from", "ID", "Title", "Year", "Authors", "Journal", "Pub_type", "DOI", "Citations", "References", "Density", "Connections")
Warning: Error in : Can't join on `x$Connections` x `y$Connections` because of incompatible types.
i `x$Connections` is of type <double>>.
i `y$Connections` is of type <character>>.
  [No stack trace available]

I am working on a fix for it now. It seems that some running lists are uploading (albeit very slowly)

yjunechoe commented 3 years ago

If it's working on some running lists, I think that might be a database issue. Connections is a column of MAG IDs, btw, but it looks like there may be some non-numeric stuff from what we got back from the API (that's the y$Connections that it says is of type character, apparently)

Do you have that bad running list somewhere? I'll take a look also when I get a change

mcweenysean commented 3 years ago

Running_List_2021_03_23_20_31_ramus.csv

this one was making it website crash earlier. it uploads locally no problem but fails on the hosted version

mcweenysean commented 3 years ago

image