Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

google drive download/permissions failure #166

Open
@achubaty

Description

using reproducible@AI triggers failure:

── Error ('test-wardDispersalFunction.R:231:3'): test large files ──────────────
Error in `dlErrorHandling(failed, downloadResults, warns, messOrig, numTries, url, fileToDownload, destinationPath, targetFile, checksumFile, verbose)`: Error in retry(downloadCall, retries = 2) : 
 Error in httr2::req_auth_bearer_token(req, bearer) : 
 `token` must be a single string, not `NULL`.
Failed after 2 attempts.
...downloading...
Downloading from Google Drive.
File on Google Drive is 3.9 Mb
Download of https://drive.google.com/file/d/1MHA3LeBuPJXRPkPDp33M6iJmNpw7ePZI failed. This may be a permissions issue. Please check the url and permissions are correct.
If the url is correct, it is possible that manually downloading it will work. To try this, with your browser, go to
https://drive.google.com/file/d/1MHA3LeBuPJXRPkPDp33M6iJmNpw7ePZI,
 ... then download it manually, give it this name: '/tmp/Rtmp9T0tjB/working_dir/Rtmp086lKj/dest_756668387776/dispersalMarch2021.zip', and place file here: /tmp/Rtmp9T0tjB/working_dir/Rtmp086lKj/dest_756668387776.
-------------------
If manual download was successful, you will likely also need to run Checksums manually after you download the file with this command: reproducible:::appendChecksumsTable(checkSumFilePath = '/tmp/Rtmp9T0tjB/working_dir/Rtmp086lKj/dest_756668387776/CHECKSUMS.txt', filesToChecksum = 'dispersalMarch2021/dtSrc.rds', destinationPath = '/tmp/Rtmp9T0tjB/working_dir/Rtmp086lKj/dest_756668387776', append = TRUE)
Backtrace:1. └─reproducible::prepInputs(...) at test-wardDispersalFunction.R:231:3
 2. └─reproducible::preProcess(...)
 3. └─reproducible::downloadFile(...)
 4. └─reproducible:::dlErrorHandling(...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /