ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Stuck in texmfstart
@ 2006-05-26 16:17 Neal Lester
  2006-05-26 16:43 ` Neal Lester
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Neal Lester @ 2006-05-26 16:17 UTC (permalink / raw)


This morning, when I try to run texexec, texmfstart gets stuck in the 
loop at line 262.

It seems that in my thrashing around yesterday I made some transient 
change to the environment (I shut this system down at night).  Any 
idea what that is?  I also applied a kernel patch, so I suppose that 
could also be the problem.

Neal

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Stuck in texmfstart
  2006-05-26 16:17 Stuck in texmfstart Neal Lester
@ 2006-05-26 16:43 ` Neal Lester
  2006-05-26 17:38   ` gnwiii
  2006-05-26 17:27 ` gnwiii
  2006-05-26 17:36 ` Hans Hagen
  2 siblings, 1 reply; 8+ messages in thread
From: Neal Lester @ 2006-05-26 16:43 UTC (permalink / raw)


At 09:17 AM 5/26/2006, you wrote:
>This morning, when I try to run texexec, texmfstart gets stuck in the
>loop at line 262.

Placing

puts f

below line 266 ( f.gsub(...) do

prints:

$TEXROOT/texmf/{-local,}/web2c/texmf.cnf

(over and over again)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Stuck in texmfstart
  2006-05-26 16:17 Stuck in texmfstart Neal Lester
  2006-05-26 16:43 ` Neal Lester
@ 2006-05-26 17:27 ` gnwiii
  2006-05-26 17:36 ` Hans Hagen
  2 siblings, 0 replies; 8+ messages in thread
From: gnwiii @ 2006-05-26 17:27 UTC (permalink / raw)


On 5/26/06, Neal Lester <neal@3dsafety.com> wrote:
> This morning, when I try to run texexec, texmfstart gets stuck in the
> loop at line 262.
>
> It seems that in my thrashing around yesterday I made some transient
> change to the environment (I shut this system down at night).  Any
> idea what that is?  I also applied a kernel patch, so I suppose that
> could also be the problem.

If a kernel patch breaks TeX I'd expect lots of other stuff to break as well.

It is easy to manually set one of the variables from texsetup and
forget to record the change somewhere that will survive reboots.  Did
you source texsetup manually (in the tex directory?

What do you get for "ruby `kpsewhich -format=texmfscripts texexec.rb`
...", which bypasses
texmfstart.rb, where you can try ...=--check, etc.?

-- 
George N. White III <aa056@chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Stuck in texmfstart
  2006-05-26 16:17 Stuck in texmfstart Neal Lester
  2006-05-26 16:43 ` Neal Lester
  2006-05-26 17:27 ` gnwiii
@ 2006-05-26 17:36 ` Hans Hagen
  2 siblings, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2006-05-26 17:36 UTC (permalink / raw)


Neal Lester wrote:
> This morning, when I try to run texexec, texmfstart gets stuck in the 
> loop at line 262.
>   
you mean:

        loop do
            busy = false
            filenames.collect! do |f|
                f.gsub(/\$([a-zA-Z0-9\_\-]*)/o) do
                    busy = true
                    ENV[$1] || ("$#{$1}")
                end
            end
            break unless busy
        end

can you try: 

        loop do
            busy = false
            filenames.collect! do |f|
                f.gsub(/\$([a-zA-Z0-9\_\-]*)/o) do
                    busy = true
puts "#{f} => #{ENV[$1]}" 
                    ENV[$1] || ("$#{$1}")
                end
            end
            break unless busy
        end

and see what is reported


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Stuck in texmfstart
  2006-05-26 16:43 ` Neal Lester
@ 2006-05-26 17:38   ` gnwiii
       [not found]     ` <22af238a0605261038o35a50774tfd3e4a87aff016a3@mail.gmail.co m>
  0 siblings, 1 reply; 8+ messages in thread
From: gnwiii @ 2006-05-26 17:38 UTC (permalink / raw)


On 5/26/06, Neal Lester <neal@3dsafety.com> wrote:
> At 09:17 AM 5/26/2006, you wrote:
> >This morning, when I try to run texexec, texmfstart gets stuck in the
> >loop at line 262.
>
> Placing
>
> puts f
>
> below line 266 ( f.gsub(...) do
>
> prints:
>
> $TEXROOT/texmf/{-local,}/web2c/texmf.cnf
>
> (over and over again)

Mine doesn't seem to enter this loop -- nothing is printed.   The
above line looks
like the entry from texsetup with an extra "/":

set TEXMFCNF=%TEXPATH%texmf{-local,}/web2c


-- 
George N. White III <aa056@chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Stuck in texmfstart
       [not found]     ` <22af238a0605261038o35a50774tfd3e4a87aff016a3@mail.gmail.co m>
@ 2006-05-26 18:30       ` Neal Lester
  2006-05-27 14:06         ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Neal Lester @ 2006-05-26 18:30 UTC (permalink / raw)


At 10:38 AM 5/26/2006, you wrote:
>On 5/26/06, Neal Lester <neal@3dsafety.com> wrote:
> > At 09:17 AM 5/26/2006, you wrote:
> > >This morning, when I try to run texexec, texmfstart gets stuck in the
> > >loop at line 262.
> >
> > Placing
> >
> > puts f
> >
> > below line 266 ( f.gsub(...) do
> >
> > prints:
> >
> > $TEXROOT/texmf/{-local,}/web2c/texmf.cnf
> >
> > (over and over again)
>
>Mine doesn't seem to enter this loop -- nothing is printed.   The
>above line looks
>like the entry from texsetup with an extra "/":
>
>set TEXMFCNF=%TEXPATH%texmf{-local,}/web2c

What I did is copy setuptex to /etc/profile.d/setuptex.sh and then 
hard coded the value of TEXROOT in setuptex.sh instead of having the 
script set it from the command line argument.

echo $TEXMFCNF prints
$TEXROOT/texmf{-local,}/web2c

Neal 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Stuck in texmfstart
  2006-05-26 18:30       ` Neal Lester
@ 2006-05-27 14:06         ` Hans Hagen
  2006-05-27 15:52           ` Neal Lester
  0 siblings, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2006-05-27 14:06 UTC (permalink / raw)


Neal Lester wrote:
> At 10:38 AM 5/26/2006, you wrote:
>   
>> On 5/26/06, Neal Lester <neal@3dsafety.com> wrote:
>>     
>>> At 09:17 AM 5/26/2006, you wrote:
>>>       
>>>> This morning, when I try to run texexec, texmfstart gets stuck in the
>>>> loop at line 262.
>>>>         
>>> Placing
>>>
>>> puts f
>>>
>>> below line 266 ( f.gsub(...) do
>>>
>>> prints:
>>>
>>> $TEXROOT/texmf/{-local,}/web2c/texmf.cnf
>>>
>>> (over and over again)
>>>       
>> Mine doesn't seem to enter this loop -- nothing is printed.   The
>> above line looks
>> like the entry from texsetup with an extra "/":
>>
>> set TEXMFCNF=%TEXPATH%texmf{-local,}/web2c
>>     
>
> What I did is copy setuptex to /etc/profile.d/setuptex.sh and then 
> hard coded the value of TEXROOT in setuptex.sh instead of having the 
> script set it from the command line argument.
>
> echo $TEXMFCNF prints
> $TEXROOT/texmf{-local,}/web2c
>   
i'm puzzled because the loop you mentioned is not supposed to be entered 
unless you run texmfstart as a kpseserver

do you use the latest versions of texmfstart etc?

Hans

-- 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Stuck in texmfstart
  2006-05-27 14:06         ` Hans Hagen
@ 2006-05-27 15:52           ` Neal Lester
  0 siblings, 0 replies; 8+ messages in thread
From: Neal Lester @ 2006-05-27 15:52 UTC (permalink / raw)


At 07:06 AM 5/27/2006, you wrote:
> > What I did is copy setuptex to /etc/profile.d/setuptex.sh and then
> > hard coded the value of TEXROOT in setuptex.sh instead of having the
> > script set it from the command line argument.
> >
> > echo $TEXMFCNF prints
> > $TEXROOT/texmf{-local,}/web2c
> >
>i'm puzzled because the loop you mentioned is not supposed to be entered
>unless you run texmfstart as a kpseserver
>
>do you use the latest versions of texmfstart etc?


I downloaded everything from pragma-ade.nl on last Thursday May 
27th.  The installation procedure I used is described in:

http://www.ntg.nl/pipermail/ntg-context/2006/018759.html

Neal

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-05-27 15:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-26 16:17 Stuck in texmfstart Neal Lester
2006-05-26 16:43 ` Neal Lester
2006-05-26 17:38   ` gnwiii
     [not found]     ` <22af238a0605261038o35a50774tfd3e4a87aff016a3@mail.gmail.co m>
2006-05-26 18:30       ` Neal Lester
2006-05-27 14:06         ` Hans Hagen
2006-05-27 15:52           ` Neal Lester
2006-05-26 17:27 ` gnwiii
2006-05-26 17:36 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).