Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Epitweetr dependencies download error #88

Open
iancg1 opened this issue Jan 18, 2023 · 2 comments
Open

Epitweetr dependencies download error #88

iancg1 opened this issue Jan 18, 2023 · 2 comments

Comments

@iancg1
Copy link

iancg1 commented Jan 18, 2023

Hello everyone!
I'm trying to install epitweetr on a new desktop. I followed all the instructions for a new epitweetr setup:

Downloading and installing the following:

  1. R (4.2.2 64-bit)
  2. R studio
  3. Java 1.8
  4. Microsoft C++
  5. Pandoc
  6. Epitweetr (CRAN)
  7. TinyTex (CRAN)
  8. taskscheduleR (CRAN)

Set JAVA_HOME in Windows Control Panel (System Environment):

Sys.getenv("JAVA_HOME")
[1] "C:\Program Files\Java\jre.1.8.0_351"

Then launch epitweetr:

library(epitweetr)
epitweetr_app("C:/Users/ianch/OneDrive/Documents/epitweetr_data

However, upon running the manual task: dependencies, I get the following error message:

Max number of retries reached failed while getting sbt dependencies getting dependencies simpleWarning in download.file(url = urls2[[i]], destfile = dest_file[[i]], mode = "wb"): downloaded length 0 != reported length 554

And the dependencies task has a pending status ever since. What am I doing wrong? Appreciating all the help I could get.

Regards,
Ian

@lauespinosa
Copy link
Contributor

Dear Ian,

There are some things that you can check or do to troubleshoot the issue:

  • Ensure that you are using the full path. From the code above, it misses the last quotation mark and closing bracket: ("C:/Users/ianch/OneDrive/Documents/epitweetr_data")
  • Try launching epitweetr in a local folder not within One Drive (e.g., "C:/Users/ianch/epitweetr_data"). Sometimes, if the One Drive folder is not synched in the local folder and kept only in the cloud may produce some issues/errors
  • Please check this closed issue and try increasing the timeout.
  • Ensure that the desktop/computer is active while downloading the dependencies.

We have recently published some videos on how to install epitweetr version 2.0 and above for the first time in a Windows machine. It may be also helpful for you.

Regards,
Laura

@iancg1
Copy link
Author

iancg1 commented Feb 28, 2023

Hi Laura,

Thank you for the response and sorry it took a while for me to give feedback. I fixed the code and moved it to a local folder ("D:/epitweetr_files"). I have not encountered the error but dependencies, geonames, and languages are still stuck at pending after a day of running it. The epitweetr_files folder only has the following files with a total size of 20KB. I have a stable internet connection so I don't think that's the problem. What else should I look into?

Best,
Ian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants