Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!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.044 X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; 'scripts': 0.03; 'encoding': 0.05; 'linux,': 0.07; '(first': 0.09; 'protocols.': 0.09; 'subject: [': 0.09; 'suggest': 0.14; 'windows': 0.15; 'charset': 0.16; 'editor,': 0.16; 'gpg': 0.16; 'icon': 0.16; 'itself,': 0.16; 'i\xe2\x80\x99d': 0.16; 'reconfigure': 0.16; 'simpson': 0.16; 'ssh': 0.16; 'unlocked': 0.16; 'uploading': 0.16; 'windows?': 0.16; 'wrote:': 0.18; 'later': 0.20; 'written': 0.21; 'error': 0.23; 'features,': 0.24; 'script.': 0.24; 'text.': 0.24; 'file.': 0.24; 'script': 0.25; 'header:In-Reply-To:1': 0.27; 'host': 0.29; 'am,': 0.29; 'then.': 0.30; 'especially': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'included': 0.31; 'getting': 0.31; 'page.': 0.31; "skip:' 10": 0.31; 'cgi': 0.31; 'requesting': 0.31; 'file': 0.32; 'text': 0.33; 'common': 0.35; 'editor': 0.35; 'one,': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'installing': 0.36; 'next': 0.36; "didn't": 0.36; 'method': 0.36; 'url:org': 0.36; 'should': 0.36; 'step': 0.37; 'being': 0.38; 'remote': 0.38; 'sometimes': 0.38; 'thank': 0.38; 'manager': 0.38; 'window': 0.38; 'to:addr:python-list': 0.38; 'fact': 0.38; 'anything': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'even': 0.60; 'read': 0.60; 'tell': 0.60; 'completed': 0.61; 'new': 0.61; 'from:charset:utf-8': 0.61; "you're": 0.61; 'back': 0.62; 'real': 0.63; 'afraid': 0.65; 'temporary': 0.65; 'due': 0.66; 'caused': 0.69; 'internet': 0.71; '8bit%:92': 0.71; 'jul': 0.74; 'browser.': 0.78; 'cygwin': 0.84; 'different.': 0.84; 'much,': 0.84; 'sublime': 0.84; 'amongst': 0.91; 'don\xe2\x80\x99t': 0.91; 'url:tk': 0.95; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=u4xa6tMuEVjzVNOdXDYJ6pGSO/mpNSeDzcW6IW9+clo=; b=mVjNgFQRIFLh9LPg7amNVgTjOcGDCZs9A2CDDTt5Mv3w09AHVMIn0f/y0DgB6Jh9Mb +cDhxLtO/+OPxWdKacJk776fJLzywdfqqBBQNwP7Md6S8lAxYRe7gj04iQrGcH+W7Gt5 /odB7YM6DHmZ/Yzy5Rfx32tnCOFqUkAZFqK8WZIF4NoFigR5I02tOzb+OLuyOMHj33c1 n88qwVSgOmU7+8FQN/m187IcApWxgEGoM0rkDiVNm4hGqWpqyieWRTXGxTQ0MXaQFQbP Tb4Bz/Ei0goU/FvEejFGcbBUE/CAPRSpgBYGjoMbSQzq0/3cXA3fCyW4cdS41xTKFZWN x+PQ== X-Received: by 10.50.47.46 with SMTP id a14mr5907740ign.46.1372759613376; Tue, 02 Jul 2013 03:06:53 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: =?UTF-8?B?Q2hyaXMg4oCcS3dwb2xza2HigJ0gV2Fycmljaw==?= Date: Tue, 2 Jul 2013 12:06:32 +0200 Subject: Re: OSError [Errno 26] ?!?! To: python-list@python.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: 56 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1372759616 news.xs4all.nl 15909 [2001:888:2000:d::a6]:58625 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:49632 On Tue, Jul 2, 2013 at 11:40 AM, =CE=9D=CE=AF=CE=BA=CE=BF=CF=82 wrote: > =CE=A3=CF=84=CE=B9=CF=82 2/7/2013 10:21 =CF=80=CE=BC, =CE=BF/=CE=B7 Camer= on Simpson =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: >> >> On 02Jul2013 08:57, =CE=9D=CE=AF=CE=BA=CE=BF=CF=82 = wrote: >> | Thank you, the error have been caused due to the fact that the >> | uploading procedure of my edited 'pelatologio.py' hadn't been >> | completed yet, while i was requesting the execution of the script >> | via browser. >> | >> | I didn't had to do anything it solved by itself, after upload was >> | successful and file got unlocked for access. >> >> If you're uploading using sftp (or, worse, ftp), might I suggest >> using rsync instead? Amongst other features, it uploads to a temporary >> file and then renames the temporary file to the real file. There is >> no window where the "live" file is being written to. The live file >> is the old one, and then later it is the new one. > > > > Actually i'm uploading via Notepad++'s NPPFtp plugin, which i'm afraid is > pure ftp and not even sftp. The only thing SFTP and FTP have in common is that they are Internet protocols. Inside, they are much, much different. And you should NEVER use FTP. (also, why Notepad++? I=E2=80=99d suggest getting a better editor first.) > If i try to upload via FileZilla instead(which i can use as sftp on port > 22), then it messes the cgi scripts encoding by uploading it as iso-8859-= 7 > which then i need to ssh to the remote host and change it back to utf-8. You need to reconfigure FileZilla then. Site Manager (first icon on the toolbar) =E2=86=92 your site =E2=86=92 Charset =E2=86=92 Force UTF-8. > Also sometimes it takes a lot of time even with Notepad++ to even upload = a > 50 KB script. > > Please tell me how to use the rsync method especially it would be best if= i > cna use it via text editor, Notepad++ or even better with Sublime Text. Under Windows? I suggest installing Cygwin or switching over to Linux, for your sanity. If you don=E2=80=99t want either, look for a Windo= ws port of rsync. The next step is to read the included man page. -- Kwpolska | GPG KEY: 5EAAEA16 stop html mail | always bottom-post http://asciiribbon.org | http://caliburn.nl/topposting.html