-
Notifications
You must be signed in to change notification settings - Fork 10
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
gsutil_cp errors with large vector #43
Comments
This uses
I'm not sure if that limit is R or gsutil... what happens when you run |
I am unable to paste the command into the RStudio terminal on Terra. Some mechanism is cancelling my long paste command with Ctrl + C : [...]
gs://firecloud-tcga-open-access/tcga/dcc/coad/snp__genome_wide_snp_6__broad_mit_edu__Level_3__segmented_scna_minus_germline_cnv_hg18__seg/broad.mit.edu_COAD.Genome_Wide_SNP_6.Level_3.422.2009.0/TCG^CCaught CTRL-C (signal 2) - exiting Is there a way to ssh into these instances? |
I created a shell script with the text in RStudio and was unable to run via the Run button which seems to do a copy and paste into the terminal with the same Ctrl + C issue. BUT using the Run Script button, it does |
Can you try the gcloud-error-abbrev-command branch? It truncates the command when reporting the error, so there should be enough space for the text of the message to be visible. |
Thanks Martin! This does not work for me. |
Yes, thanks, making that change now leads to
where this appears to come from https://github.com/wch/r-source/blob/02e4ee85542c87153eab3bed860fdd6ffd9920be/src/unix/sys-unix.c#L733 which suffers from the same problem -- a long command hides the 'probable reason'. Reported here https://bugs.r-project.org/show_bug.cgi?id=18274 . It seems very difficult to find out what the underlying reason is (file or memory limits on the user?) without getting the 'probable reason'. |
Here's a simpler example with the
But running without internalizing stderr / stdout gives
|
Hi Martin, @mtmorgan
I am unable to see the error message from
gsutil cp -m
:It is somehow cut off.
The vector
assayfiles
is of length 918. It works when I break the vector up into three components:I suspect it has something to do with the length?
Here is a text file, if you'd like to test with the vector:
assayfiles.txt
The text was updated successfully, but these errors were encountered: