Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.045 X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; 'except:': 0.09; 'suggest': 0.14; '0.3': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'likely.': 0.16; 'subject:Problem': 0.16; 'files.': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'to:name:python-list@python.org': 0.22; 'print': 0.22; 'error': 0.23; 'rid': 0.24; 'server.': 0.24; 'script': 0.25; 'header:In- Reply-To:1': 0.27; 'generally': 0.29; 'message- id:@mail.gmail.com': 0.30; 'lines': 0.31; 'fine,': 0.31; 'anyone': 0.31; 'file': 0.32; 'run': 0.32; 'could': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'doing': 0.36; 'useful': 0.36; 'similar': 0.36; 'remote': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'most': 0.60; 'kindly': 0.61; "you'll": 0.62; 'group,': 0.63; 'dear': 0.65; 'anything.': 0.68; 'million': 0.74; '2015': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=cg4hocKUkiBSLCKzPvn7e6nAUOzmmBUiYjg9LFLiwOs=; b=nTKBBP9jZe97q0p7EnfHd+gimzkRuPbNOzJwYh3zDSEUbpVCAd/kUHllKzD6Bzmvmj tYVsaDb6zMsZ37CZ8A5jbrg4kdQBVAk7sed38YTM0fVJRySY2MuIkGq2H+V1GpIcWavR Zf0p/0iQJFC/ywfE/Wx5n1LHztZ+L+u9kmnXwyctzLMuE83/yBGoIBHDW7R9tVX45jBg CRXaznccpw+FhSho0kE6JlurvGDhcroRBKn1hIADUvnsYtpZNOokPu8FdYUQUeoRKMDG WAuOZeu2zli9Seg0EYQAXkPEs2loaao3UZZ3N5X6FVm19a/UyMt722Z4CA38Uj4mgFnK ey2Q== MIME-Version: 1.0 X-Received: by 10.107.134.206 with SMTP id q75mr11026741ioi.27.1430564739247; Sat, 02 May 2015 04:05:39 -0700 (PDT) In-Reply-To: References: Date: Sat, 2 May 2015 21:05:39 +1000 Subject: Re: Problem in Handling MySql Data. From: Chris Angelico To: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1430564741 news.xs4all.nl 2924 [2001:888:2000:d::a6]:48008 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:89761 On Sat, May 2, 2015 at 8:42 PM, wrote: > Dear Group, > > I am trying to write the following script to call around 0.3 million files from a remote server. > It is generally working fine, but could work only upto 65 to 70 files. After this, it is just > printing the file names and not processing anything. If anyone may kindly suggest what I am > doing wrong? > > except: > print "OOPS1" Get rid of these lines (and the similar ones elsewhere), then run the script again. You'll get a useful error message, most likely. ChrisA