Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #40260

Re: os.system() not responding on django... any reason?

From "marduk@python.net" <marduk@python.net>
Subject Re: os.system() not responding on django... any reason?
Date 2013-03-01 09:59 -0500
References <4fcc93b7-3be9-416f-a2d4-bdc6cba2133e@googlegroups.com> <roy-9C5388.09241701032013@news.panix.com>
Newsgroups comp.lang.python
Message-ID <mailman.2733.1362149982.2939.python-list@python.org> (permalink)

Show all headers | View raw



On Fri, Mar 1, 2013, at 09:24 AM, Roy Smith wrote:
> In article <4fcc93b7-3be9-416f-a2d4-bdc6cba2133e@googlegroups.com>,
>  Jaiky <jaiprakashsingh213@gmail.com> wrote:
> 
> [a lot of code involving ssh and paramiko]
> 
> Here's a few general suggestions:
> 
> 1) Try to reduce this to the smallest possible amount of code which 
> demonstrates the problem.  You gave us a page full of complicated stuff.  
> Keep hacking away lines of code that don't change the behavior until you 
> get it down to something small and understandable.
> 
> 2) Try to eliminate environmental problems.  You're running this under 
> django?  Does it work as a stand-alone process (i.e. without django)?


Also, what is the context (Is it running in a Django view; a model? a
signal handler? in settings?)?

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

os.system() not responding on django... any reason? Jaiky <jaiprakashsingh213@gmail.com> - 2013-03-01 06:18 -0800
  Re: os.system() not responding on django... any reason? Roy Smith <roy@panix.com> - 2013-03-01 09:24 -0500
    Re: os.system() not responding on django... any reason? "marduk@python.net" <marduk@python.net> - 2013-03-01 09:59 -0500
      Re: os.system() not responding on django... any reason? Jaiky <jaiprakashsingh213@gmail.com> - 2013-03-01 08:23 -0800
        Re: os.system() not responding on django... any reason? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-03-01 19:20 +0000
      Re: os.system() not responding on django... any reason? Jaiky <jaiprakashsingh213@gmail.com> - 2013-03-01 08:24 -0800
      Re: os.system() not responding on django... any reason? Jaiky <jaiprakashsingh213@gmail.com> - 2013-03-01 08:23 -0800
      Re: os.system() not responding on django... any reason? Jaiky <jaiprakashsingh213@gmail.com> - 2013-03-01 08:24 -0800

csiph-web