-
Notifications
You must be signed in to change notification settings - Fork 52
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
Error when running local check with rhub/debian-clang-devel #322
Comments
Seems like an error with the Debian servers, probably temporary. |
That's what I thought, so I'll wait and see... |
Hi, I think the problem is somewhere else. When I go to the address http://deb.debian.org/debian/dists/testing/InRelease, it's all there - no problem, but I can't seem to get it to work when I invoke local_check_linux. I'm new to docker - only installed it right before I used rhub. Should I set some specific parameters so that the docker image generated by local_check_linux has internet access? Maybe that's the problem? |
Could be. Can you try to start up the container manually, and see if you can download that page? Something like
and then
|
I didn't get the "wget" command to work, but when I write "ping google.com", I get " Temporary failure in name resolution". Then, I tried running |
OK, so maybe you could try to set |
As I've said, I'm new to docker - I have no idea how could I set it. Isn't it easier if you could point to the line in your code (is it "rhub-linux.sh"?) where I can set it locally on my computer? |
No, I cannot do that because that's not the appropriate setting for everyone. What is your OS? |
I wanted to set it locally on my computer. I'm using Ubuntu 18.04 |
See "DISABLE THE DEFAULT BRIDGE NETWORK" here: https://docs.docker.com/v17.09/engine/userguide/networking/#the-default-bridge-network |
I couldn't really find the file that they describe in this help document, but with the help of my colleague, I created a script that pulls one of the rhub images and I manually ran checks in it. |
For reference, I believe that the file is |
@jromanowska Good luck! Once your problem on CRAN is fixed, would you be interested in writing a short post for the R-hub blog explaining your journey to fixing it? It could be interesting to other package maintainers to hear about how you went about it. At the moment the R-hub blog doesn't show authors of posts but this will change + for a guest post we'd add a sentence at the beginning of the post to be sure there are links to your online presence. |
Yes, that's correct, but I couldn't find it in my system :) |
@jromanowska You can try to create it. |
But I am not sure what the right thing is here. Maybe rhub should expose docker arguments? That would probably make sense. Here is an issue for it: #324 |
It's not an easy decision - but I'm happy that you'll discuss this! :) |
@maelle - I guess I could write something, but I don't know whether I can make it before the New Years... |
@jromanowska np, I'll open an issue in the R-hub blog so we don't forget, but of course you can still say no later if you don't have time next year either, totally understandable! |
(in the meantime please keep notes about the bug fixing process 😉) |
Great! No, no, when I say "yes", it means yes :) |
Cool, thanks a ton, but really no pressure, that's what I mean! |
Hi,
I'm trying to check locally our package and specifically, we want to reproduce an error that was found by CRAN checks, on debian-clang-devel image. Unfortunately, I get the following error and don't know how to proceed... It seems like it cannot find deb.debian.org - when I go to this address in my browser, it actually gets redirected to http://ftp.debian.org/debian/, but I'm not sure whether that's the source of my problem...
The text was updated successfully, but these errors were encountered: