Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #101174
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: subprocess check_output |
| Date | 2016-01-03 09:01 +1100 |
| Message-ID | <mailman.185.1451772113.11925.python-list@python.org> (permalink) |
| References | <CAJYwLU=p_U3V7MfOx3wCH8qkamK0aSHzF1i0g2ZBgTXDgrF03Q@mail.gmail.com> <20151230210227.GA88234@cskk.homeip.net> <CAJYwLUn23Xh5D6Yvn8Atv=vzC6Xk8D3i2SgV8hyvvqiuvofQgg@mail.gmail.com> |
On Sun, Jan 3, 2016 at 7:39 AM, Carlos Barera <carlos.barera@gmail.com> wrote: > Turns out it wasn't running against the server I thought it was. > Apologies for the spam. Heh. No problem. That's part of why I suggested running it from the shell. There are two possibilities: either it also fails from the shell (in which case you've eliminated Python as the problem, and can concentrate on "why is my command not working"), or it succeeds when run manually and still fails from Python (in which case you can start investigating the differences). And every now and then, it's worth doing a stupid smoke test just to see if your changes are even having effect. You have no idea how many times a bug investigation has come down to "whoops, I forgot to save the file" or "whoops, I was in the wrong directory"... ChrisA
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: subprocess check_output Chris Angelico <rosuav@gmail.com> - 2016-01-03 09:01 +1100
Re: subprocess check_output me <self@example.org> - 2016-01-05 11:15 +0000
Re: subprocess check_output Chris Angelico <rosuav@gmail.com> - 2016-01-05 22:38 +1100
Re: subprocess check_output me <self@example.org> - 2016-01-07 09:33 +0000
Re: subprocess check_output Chris Angelico <rosuav@gmail.com> - 2016-01-07 20:54 +1100
Re: subprocess check_output Marko Rauhamaa <marko@pacujo.net> - 2016-01-07 12:12 +0200
Re: subprocess check_output Marko Rauhamaa <marko@pacujo.net> - 2016-01-07 12:14 +0200
Re: subprocess check_output Chris Angelico <rosuav@gmail.com> - 2016-01-07 21:25 +1100
csiph-web