From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/57560 Path: news.gmane.org!not-for-mail From: Andreas Schneider Newsgroups: gmane.comp.tex.context Subject: Re: Stack overflow Date: Mon, 29 Mar 2010 13:28:27 +0200 Message-ID: References: <4BA49532.8050201@swing.be> <4BA544D6.3040309@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1269862161 25419 80.91.229.12 (29 Mar 2010 11:29:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 29 Mar 2010 11:29:21 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 29 13:29:12 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NwD9X-0005UV-Tz for gctc-ntg-context-518@m.gmane.org; Mon, 29 Mar 2010 13:29:08 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DB481C9C1F; Mon, 29 Mar 2010 13:29:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id rpIrGiZ9TFXq; Mon, 29 Mar 2010 13:29:03 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E5E25C9D4B; Mon, 29 Mar 2010 13:28:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 385CBC9D4B for ; Mon, 29 Mar 2010 13:28:51 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QMlJnqrp7Lja for ; Mon, 29 Mar 2010 13:28:42 +0200 (CEST) Original-Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by balder.ntg.nl (Postfix) with ESMTP id 3F271C9C1F for ; Mon, 29 Mar 2010 13:28:42 +0200 (CEST) Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NwD94-0005FF-7A for ntg-context@ntg.nl; Mon, 29 Mar 2010 13:28:38 +0200 Original-Received: from p54b4d12e.dip.t-dialin.net ([84.180.209.46]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Mar 2010 13:28:38 +0200 Original-Received: from aksdb by p54b4d12e.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Mar 2010 13:28:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Followup-To: gmane.comp.tex.context Original-Lines: 109 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p54b4d12e.dip.t-dialin.net User-Agent: KNode/4.4.1 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:57560 Archived-At: Hans Hagen wrote: > can you add a print in line 2161 and see what path is reported? > > function file.collapse_path(str) > > print(str) > > str = gsub(str,"\\","/") > if find(str,"/") then It seems to happen only when the executables are called with absolute paths: #c:\Temp\ctx>c:\context\tex\texmf-mswin\bin\context.exe c:/context/tex/texmf-mswin/bin c:/context/tex/texmf-mswin/bin/.. c:/context/tex/texmf-mswin/bin/../.. C:/context/tex/texmf-local/web2c C:/context/tex/texmf-context/web2c C:/context/tex/texmf/web2c C:/context/tex/texmf-local/web2c/texmfcnf.lua C:/context/tex/texmf-context/web2c/texmfcnf.lua C:/context/tex/texmf/web2c/texmfcnf.lua C:/context/tex/texmf-local/web2c/texmf.cnf C:/context/tex/texmf-context/web2c/texmf.cnf C:/context/tex/texmf/web2c/texmf.cnf C:/context/tex/texmf/web2c/texmfcnf.lua C:/context/tex C:/context/tex/texmf/web2c/texmf.cnf C:/context/tex C:/context/tex/texmf-cache C:/context/tex/texmf-cache C:/context/tex/texmf-cache C:/context/tex/texmf-project C:/context/tex/texmf-fonts C:/context/tex/texmf-local C:/context/tex/texmf-mswin C:/context/tex/texmf-context C:/context/tex/texmf-extra !!C:/context/tex/texmf C:/context/tex/texmf-project C:/context/tex/texmf-fonts C:/context/tex/texmf-local C:/context/tex/texmf-mswin C:/context/tex/texmf-context C:/context/tex/texmf-extra C:/context/tex/texmf C:/context/tex/texmf-project C:/context/tex/texmf-project C:/context/tex/texmf-fonts C:/context/tex/texmf-fonts C:/context/tex/texmf-local C:/context/tex/texmf-local C:/context/tex/texmf-mswin C:/context/tex/texmf-mswin C:/context/tex/texmf-context C:/context/tex/texmf-context C:/context/tex/texmf-extra C:/context/tex/texmf-extra C:/context/tex/texmf C:/context/tex/texmf C:/context/tex/texmf-local C:/context/tex/texmf-mswin C:/context/tex/texmf-context C:/context/tex/texmf mtx-\context.lua context.lua . C:/context/tex/texmf-project/tex/context// C:/context/tex/texmf-project/tex/plain/base// C:/context/tex/texmf-project/tex/generic// C:/context/tex/texmf-fonts/tex/context// C:/context/tex/texmf-fonts/tex/plain/base// C:/context/tex/texmf-fonts/tex/generic// C:/context/tex/texmf-local/tex/context// C:/context/tex/texmf-local/tex/plain/base// C:/context/tex/texmf-local/tex/generic// C:/context/tex/texmf-mswin/tex/context// C:/context/tex/texmf-mswin/tex/plain/base// C:/context/tex/texmf-mswin/tex/generic// C:/context/tex/texmf-context/tex/context// C:/context/tex/texmf-context/tex/plain/base// C:/context/tex/texmf-context/tex/generic// C:/context/tex/texmf-extra/tex/context// C:/context/tex/texmf-extra/tex/plain/base// C:/context/tex/texmf-extra/tex/generic// !!C:/context/tex/texmf/tex/context// !!C:/context/tex/texmf/tex/plain/base// !!C:/context/tex/texmf/tex/generic// context.lua mtx-\contexts.lua contexts.lua contexts.lua mtx-\context.lua \context.lua /context.lua /context.lua /context.lua [......] /context.lua /context.lua /context.lua /context.lua /context.lua /context.lua /context.lua /context.lua stack overflow ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________