Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.065 X-Spam-Evidence: '*H*': 0.87; '*S*': 0.00; 'debug': 0.07; 'python': 0.11; 'programs.': 0.14; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'hint': 0.16; 'wrote:': 0.18; 'else,': 0.19; 'input': 0.22; 'header:User-Agent:1': 0.23; 'error': 0.23; 'progress.': 0.24; "i've": 0.25; 'script': 0.25; 'header:In-Reply-To:1': 0.27; 'reporting': 0.29; 'file': 0.32; 'this.': 0.32; 'open': 0.33; 'subject:from': 0.34; 'subject: (': 0.35; "can't": 0.35; 'something': 0.35; 'done': 0.36; 'doing': 0.36; 'sometimes': 0.38; 'message-id:@gmail.com': 0.38; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'free': 0.61; "you're": 0.61; 'making': 0.63; 'day.': 0.63; 'research,': 0.68; '8bit%:100': 0.72; 'approached': 0.93 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Sun, 02 Jun 2013 23:45:56 -0600 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.12) Gecko/20130105 Thunderbird/10.0.12 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Changing filenames from Greeklish => Greek (subprocess complain) References: <2c425f2b-99de-4453-964e-c585f2043f71@googlegroups.com> <16b6b38b-aa9e-4148-8c97-741a8f593dac@googlegroups.com> <749e23ce-9b40-4ed4-aa6a-b06c2d7a1c24@googlegroups.com> <18755849-35bc-4925-811a-8f6f9fb5bf9c@googlegroups.com> <8c16324f-da12-44ff-bf2f-4ae56f9127c0@googlegroups.com> <08d3f040-8f29-414c-a24e-c728cd387278@googlegroups.com> In-Reply-To: <08d3f040-8f29-414c-a24e-c728cd387278@googlegroups.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1370238362 news.xs4all.nl 15875 [2001:888:2000:d::a6]:50112 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46769 On 06/02/2013 11:22 PM, Νικόλαος Κούρας wrote: > Ok, this email is something of a recital of how I approached this. Excellent. You're making progress. Keep doing research, and learn how to debug your python programs. One thing I've done as a last resort when I just can't get good error reporting because of subprocess or something else, is to have my script open a file in /tmp and write messages to it as the program executes. Sometimes I write out what the standard input was so I know for doing a standalone run. There's your free hint for the day.