Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

[WPS4R] RIOHandler cannot handle absolute file names #274

Open
ridoo opened this issue Mar 28, 2019 · 2 comments
Open

[WPS4R] RIOHandler cannot handle absolute file names #274

ridoo opened this issue Mar 28, 2019 · 2 comments
Assignees
Labels

Comments

@ridoo
Copy link
Member

ridoo commented Mar 28, 2019

RIOHandler does not respect outputs having an absolute file path. It fails with an IOException with message //Output file does not exist// and prints a path within the local working directory.

@ridoo ridoo self-assigned this Mar 28, 2019
@ridoo ridoo added the bug label Mar 28, 2019
ridoo added a commit that referenced this issue Mar 28, 2019
RIOHandler cannot handle outputs with an absolute file which reside outside
the actual working directory. However, this may a valid use case as R scripts
should be free to either store outputs within a local directory or completely
elsewhere in the system.

The full file handle created by the R output result string can  be used instead
of a file handle based on the basename. However, as this is true at least for
GenericFileDataBinding or GenericFileDataWithGTBinding types. Other types may
require the file handle based on basename.

Resolves: #274
@imSanko
Copy link

imSanko commented Jan 5, 2021

I want to work on this issue please assign it to me

@bpross-52n
Copy link
Member

I want to work on this issue please assign it to me

Great, please read the following before you start working on the issue: https://52north.org/software/get-involved/#code

You will need to sign a CLA so we can use your contribution.

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

No branches or pull requests

3 participants