[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ly2dvi not working
From: |
Mats Bengtsson |
Subject: |
Re: ly2dvi not working |
Date: |
Sun, 14 Apr 2002 18:38:43 +0200 |
Sorry about this silly bug. Try this patch:
--- scripts/ly2dvi.py~ Thu Apr 11 18:48:08 2002
+++ scripts/ly2dvi.py Sun Apr 14 18:34:14 2002
@@ -372,7 +372,8 @@
def setup_environment ():
# $TEXMF is special, previous value is already taken care of
- del os.environ['TEXMF']
+ if os.environ.has_key ('TEXM'):
+ del os.environ['TEXMF']
for key in environment.keys ():
val = environment[key]
/Mats
> > File "/usr/local/bin/ly2dvi", line 375, in setup_environment
> > del os.environ['TEXMF']
> > File "/usr/lib/python2.2/os.py", line 423, in __delitem__
> > del self.data[key]
> > KeyError: TEXMF
>
> By setting a local variable TEXMF:
> $ export TEXMF=/usr/share/texmf/
>
> it worked again.
>
> Should one be prepared to set always that TEXMF-variable in all future
> versions?
>
> --
> Heikki Junes
>
>
> _______________________________________________
> Lilypond-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/lilypond-devel