Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #60010
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.tele.dk!feed118.news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python.list@tim.thechases.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.005 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'subject:help': 0.08; 'string': 0.09; '%s"': 0.09; 'parameter': 0.09; 'cc:addr:python- list': 0.11; '"%s"': 0.16; '%r"': 0.16; '-tkc': 0.16; 'breakpoint': 0.16; 'called.': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'repr()': 0.16; 'tuple;': 0.16; 'weird': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'subject:request': 0.19; 'written': 0.21; '(the': 0.22; '>>>': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'pass': 0.26; 'skip:_ 20': 0.27; 'header:In-Reply-To:1': 0.27; 'file': 0.32; '(most': 0.33; 'skip:_ 10': 0.34; 'could': 0.34; 'but': 0.35; 'charset:us-ascii': 0.36; 'should': 0.36; 'being': 0.38; 'rather': 0.38; 'recent': 0.39; 'either': 0.39; 'read': 0.60; 'tell': 0.60; 'happen': 0.63; 'insight': 0.68; 'line,': 0.68; 'received:50.22': 0.84; 'skip:/ 30': 0.84; 'way)': 0.84 |
| Date | Tue, 19 Nov 2013 10:31:08 -0600 |
| From | Tim Chase <python.list@tim.thechases.com> |
| To | Gene Heskett <gheskett@wdtv.com> |
| Subject | Re: My first real request for help |
| In-Reply-To | <201311191119.27188.gheskett@wdtv.com> |
| References | <201311190431.15449.gheskett@wdtv.com> <l6fdpb$2dk$1@ger.gmane.org> <201311191119.27188.gheskett@wdtv.com> |
| X-Mailer | Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=US-ASCII |
| Content-Transfer-Encoding | 7bit |
| X-AntiAbuse | This header was added to track abuse, please include it with any abuse report |
| X-AntiAbuse | Primary Hostname - boston.accountservergroup.com |
| X-AntiAbuse | Original Domain - python.org |
| X-AntiAbuse | Originator/Caller UID/GID - [47 12] / [47 12] |
| X-AntiAbuse | Sender Address Domain - tim.thechases.com |
| X-Get-Message-Sender-Via | boston.accountservergroup.com: authenticated_id: tim@thechases.com |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2925.1384880970.18130.python-list@python.org> (permalink) |
| Lines | 39 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1384880970 news.xs4all.nl 15950 [2001:888:2000:d::a6]:53120 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:60010 |
Show key headers only | View raw
On 2013-11-19 11:19, Gene Heskett wrote:
>>> Traceback (most recent call last):
>>> File "/usr/bin/axis", line 3326, in <module>
>>>
>>> _dynamic_tabs(inifile)
>>>
>>> File "/usr/bin/axis", line 3182, in _dynamic_tabs
>>>
>>> child = Popen(cmd)
>
> You are suggesting I edit /usr/lib/python2.6/subprocess.py?
I think Peter is suggesting that line 3182 in _dynamic_tabs should
either read (the better way)
child = Popen([cmd, args])
or (the not-so-good way)
child = Popen(cmd, shell=True)
If you drop a breakpoint right before that line, you should be able
to tell what it's trying to pass into Popen:
print("DEBUGGING: %s" % repr(cmd))
child = Popen(...)
which should give you insight into what's being called.
-tkc
PS: yes, I know about using "%r" in the format string rather than
"%s" plus a repr() call, but weird things happen in the event that
the parameter is a tuple; it could also have been written
print("DEBUGGING: %r" % (cmd,))
but I find that a tad uglier.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: My first real request for help Tim Chase <python.list@tim.thechases.com> - 2013-11-19 10:31 -0600
csiph-web