From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50961 Path: news.gmane.org!not-for-mail From: Lutz Haseloff Newsgroups: gmane.comp.tex.context Subject: Re: Lilypond module problem Date: Tue, 2 Jun 2009 15:53:47 +0200 Message-ID: References: <77A1B818-2594-4B53-B18B-85438FB507C7@fiee.net> <09BED4B6-277A-4BEE-96E7-07224C89653D@fiee.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0850297336==" X-Trace: ger.gmane.org 1243950894 2641 80.91.229.12 (2 Jun 2009 13:54:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Jun 2009 13:54:54 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 02 15:54:52 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1MBUS2-00026b-DC for gctc-ntg-context-518@m.gmane.org; Tue, 02 Jun 2009 15:54:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DE3D21FD1D; Tue, 2 Jun 2009 15:54:49 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06287-03; Tue, 2 Jun 2009 15:54:01 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0FA4C1FD1B; Tue, 2 Jun 2009 15:54:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7D8DB1FD1B for ; Tue, 2 Jun 2009 15:53:59 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04849-06 for ; Tue, 2 Jun 2009 15:53:51 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by ronja.ntg.nl (Postfix) with ESMTP id 1803C1FCDF for ; Tue, 2 Jun 2009 15:53:50 +0200 (CEST) Original-Received: from mail-bw0-f226.google.com (mail-bw0-f226.google.com [209.85.218.226]) by filter4-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n52DrlIL007928 for ; Tue, 2 Jun 2009 15:53:49 +0200 Original-Received: by bwz26 with SMTP id 26so8551794bwz.2 for ; Tue, 02 Jun 2009 06:53:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=ubUfYT26WfUFGSBomVbG37dUTO07XvlY1C3h7EAGxEs=; b=KPg5pWGKCTUkBqBq6NiIXPlpaHadRSUTD6cmZHw/8yoe1yiiamT1qpHKhESsQo+JYv VCvfeBXwhrQJHpXMWX69d6NmymAXQHtp+csKVaVNBKPAKGST/lL61QAuoOuEesZD+dZr 3ZPu9cyVKXJdTkfqg56UjiS3UGPqVWePPG4GY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=UXATde3M1IoMCDVY8OXs2Aaz95yIxYtjehOs4k/fHxgPPIKCQyHA2A4z6Bq1OIJRyi GEr0fL5D6yRSrMjVUwJIBp2GHslVJd8zOnVvp2MleH73mthM3ypqaU3+tKTjcoQB1nwC gTW7kRLdG8j/e3jYfCKgsEVt70rAHFPMJs7Lw= Original-Received: by 10.239.162.81 with SMTP id k17mr482780hbd.116.1243950827433; Tue, 02 Jun 2009 06:53:47 -0700 (PDT) In-Reply-To: <09BED4B6-277A-4BEE-96E7-07224C89653D@fiee.net> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.218.226; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 235976042 - 499aa32f7275 - 20090602 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:50961 Archived-At: --===============0850297336== Content-Type: multipart/alternative; boundary=001485e9a9de2fef27046b5ddf3b --001485e9a9de2fef27046b5ddf3b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 2009/6/2 Henning Hraban Ramm > Am 2009-06-02 um 13:07 schrieb Lutz Haseloff: > >> Here it works with ConTeXt MkIV beta as of 2009.05.27 11:27. >>> >> I use ConTeXt ver: 2009.06.02 09:30 MKIV. >> > > Works still with 2009.06.02 09:30 on MacOS X / Intel. > > So it seems it's only a Windows problem - probably calling the LilyPond > binary, but could also be Lua's os.rename doesn't move? Or your flavour of > Windows doesn't understand forwards slashes as directory delimiters any > more... > > Yes you are right, os.rename() on Windows moves a file only if it not exists. That's why I had a filename-lilypond-1.tmp in my working directory. But perhaps is it possible to delete an existing targetfile with os.remove()? (my attempts to try so were not successful but I will try further) > > > > Greetlings from Lake Constance! > Hraban > --- > http://www.fiee.net/texnique/ > http://wiki.contextgarden.net > https://www.cacert.org (I'm an assurer) > > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > ___________________________________________________________________________________ > --001485e9a9de2fef27046b5ddf3b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

2009/6/2 Henning Hraban Ramm <hraban@fiee.net>
Am 2009-06-02 um 13:07 schrieb Lutz Haseloff:

Here it works with ConTeXt MkIV beta as of 2009.05.27 11:27.
I use ConTeXt =C2=A0ver: 2009.06.02 09:30 MKIV.

Works still with 2009.06.02 09:30 on MacOS X / Intel.

So it seems it's only a Windows problem - probably calling the LilyPond= binary, but could also be Lua's os.rename doesn't move? Or your fl= avour of Windows doesn't understand forwards slashes as directory delim= iters any more...


Yes you are right, os.rename() on Windows= moves a file only if it not exists.

That's why I had a filename= -lilypond-1.tmp in my working directory.
But perhaps is it possible to d= elete an existing targetfile with os.remove()?
(my attempts to try so were not successful but I will try further)
=C2= =A0



Greetlings from Lake Constance!
Hraban
---
http://www.fiee= .net/texnique/
http://wiki.con= textgarden.net
https://www.cacert.org= (I'm an assurer)

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =C2=A0: http= ://www.pragma-ade.nl / http://tex.aanhet.net
archive =C2=A0: https://foundry.supelec.fr/projects/contextrev/
wiki =C2=A0 =C2=A0 : http://contextgarden.net
___________________________________________________________________________= ________

--001485e9a9de2fef27046b5ddf3b-- --===============0850297336== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0850297336==--