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

RDT behavior without internet connection #69

Open
jamesgolden1 opened this issue Apr 27, 2016 · 3 comments
Open

RDT behavior without internet connection #69

jamesgolden1 opened this issue Apr 27, 2016 · 3 comments

Comments

@jamesgolden1
Copy link

I've noticed that I get an error when I run code that pulls data using the RDT when disconnected from the internet. This makes sense, but would it be possible for the RDT to return a previously downloaded version of a file if the user is not connected to the internet (and the user has already downloaded the file)? My apologies if this has already been implemented.

@benjamin-heasly
Copy link
Contributor

Totally. I agree you should be able to get at the files you've already
downloaded.

Could you post the error message with the stack trace? This will help me
understand what the toolbox should avoid doing when you're not online.

On Wed, Apr 27, 2016 at 4:43 PM, jamesgolden1 notifications@github.com
wrote:

I've noticed that I get an error when I run code that pulls data using the
RDT when disconnected from the internet. This makes sense, but would it be
possible for the RDT to return a previously downloaded version of a file if
the user is not connected to the internet (and the user has already
downloaded the file)? My apologies if this has already been implemented.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#69

@jamesgolden1
Copy link
Author

Here you go:


Error using gradleFetchArtifact (line 136)
fetchPom Could not resolve all dependencies for
configuration ':fetchPom'.
fetchWithClassifier Could not resolve all dependencies
for configuration ':fetchWithClassifier'.
fetchWithoutClassifier Could not resolve all dependencies
for configuration ':fetchWithoutClassifier'.


Error in rdtReadArtifact (line 73)
    [localPath, pomPath, downloads] =
    gradleFetchArtifact(configuration.repositoryUrl, ...

Error in RdtClient/readArtifact (line 185)
            [data, artifact, downloads] =
            rdtReadArtifact(obj.configuration, ...

Error stack:


>> err.stack(1,1)

    file:/Users/james/Documents/MATLAB/RemoteDataToolbox/external/gradle/gradleFetchArtifact.m
    name: 'gradleFetchArtifact'
    line: 136

>> err.stack(2,1)

ans = 

    file: /Users/james/Documents/MATLAB/RemoteDataToolbox/api/artifacts/rdtReadArtifact.m
    name: 'rdtReadArtifact'
    line: 73

>> err.stack(3,1)

ans = 

    file: /Users/james/Documents/MATLAB/RemoteDataToolbox/api/utilities/RdtClient.m
    name: 'RdtClient.readArtifact'
    line: 185

@benjamin-heasly
Copy link
Contributor

Excellent. Thanks.

On Fri, Apr 29, 2016 at 12:30 PM, jamesgolden1 notifications@github.com
wrote:

Here you go:

Error using gradleFetchArtifact (line 136)
fetchPom Could not resolve all dependencies for
configuration ':fetchPom'.
fetchWithClassifier Could not resolve all dependencies
for configuration ':fetchWithClassifier'.
fetchWithoutClassifier Could not resolve all dependencies
for configuration ':fetchWithoutClassifier'.

Error in rdtReadArtifact (line 73)
[localPath, pomPath, downloads] =
gradleFetchArtifact(configuration.repositoryUrl, ...

Error in RdtClient/readArtifact (line 185)
[data, artifact, downloads] =
rdtReadArtifact(obj.configuration, ...

Error stack:

err.stack(1,1)

file:/Users/james/Documents/MATLAB/RemoteDataToolbox/external/gradle/gradleFetchArtifact.m
name: 'gradleFetchArtifact'
line: 136

err.stack(2,1)

ans =

file: /Users/james/Documents/MATLAB/RemoteDataToolbox/api/artifacts/rdtReadArtifact.m
name: 'rdtReadArtifact'
line: 73

err.stack(3,1)

ans =

file: /Users/james/Documents/MATLAB/RemoteDataToolbox/api/utilities/RdtClient.m
name: 'RdtClient.readArtifact'
line: 185


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#69 (comment)

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

No branches or pull requests

2 participants