updating context don´t work anymore on mac os x snow leopard
![](https://secure.gravatar.com/avatar/26aef9b82ef5d6b1f4691b9f23930836.jpg?s=120&d=mm&r=g)
Hi all, today i tried to update context and also updated first-setup.sh and now i get in terminal: Bernhards-MacBook-Pro:ConTeXt Bernhard$ rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . receiving file list ... done sent 37 bytes received 91 bytes 256.00 bytes/sec total size is 3573 speedup is 27.91 Bernhards-MacBook-Pro:ConTeXt Bernhard$ . /Applications/ConTeXt/first-setup.sh receiving file list ... done sent 37 bytes received 132 bytes 112.67 bytes/sec total size is 5363753 speedup is 31738.18 /Applications/ConTeXt/bin/mtxrun:1932: bad argument #1 to 'osgetenv' (string expected, got boolean) When you want to use context, you need to initialize the tree by typing: . /Applications/ConTeXt/tex/setuptex in your shell or add "/Applications/ConTeXt/tex/texmf-osx-64/bin" to PATH variable if you want to set it permanently. This can usually be done in .bashrc, .bash_profile (or whatever file is used to initialize your shell). i don´t know where the problem lies (obviously mtxrun is complaining). the last update i did worked normal (ConTeXt ver: 2010.05.24 13:05 MKIV fmt: 2010.6.1) Please help! best regards Bernhard
![](https://secure.gravatar.com/avatar/02a711d78d02355347d6cff73fda2572.jpg?s=120&d=mm&r=g)
On Sat, 5 Jun 2010 01:06:33 +0200, Bernhard Rosensteiner
Hi all,
today i tried to update context and also updated first-setup.sh and now i get in terminal:
Bernhards-MacBook-Pro:ConTeXt Bernhard$ rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . receiving file list ... done
sent 37 bytes received 91 bytes 256.00 bytes/sec total size is 3573 speedup is 27.91 Bernhards-MacBook-Pro:ConTeXt Bernhard$ . /Applications/ConTeXt/first-setup.sh receiving file list ... done
sent 37 bytes received 132 bytes 112.67 bytes/sec total size is 5363753 speedup is 31738.18 /Applications/ConTeXt/bin/mtxrun:1932: bad argument #1 to 'osgetenv' (string expected, got boolean) Error confirmed on linux32.
Marco
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
Dear Bernhard & others, Thanks a lot for reporting the problem. Please wait for a fix from Hans or (in case that you need to update for some reason) first disable updating stuff in bin (comment out a line in first-setup) and then copy the old mtxrun from tex/texmf-yourplatform/bin to bin/. If I start fixing/messing up with the system now (at this time of the day), I'll screw up something else for sure. Mojca
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Mojca Miklavec wrote:
Dear Bernhard & others,
Thanks a lot for reporting the problem.
Please wait for a fix from Hans or (in case that you need to update for some reason) first disable updating stuff in bin (comment out a line in first-setup) and then copy the old mtxrun from tex/texmf-yourplatform/bin to bin/.
This is the fixed line: homedir = osenv[ostype == "windows" and 'USERPROFILE' or 'HOME'] or '~', Best wishes, Taco
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 5-6-2010 8:04, Taco Hoekwater wrote:
Mojca Miklavec wrote:
Dear Bernhard & others,
Thanks a lot for reporting the problem.
Please wait for a fix from Hans or (in case that you need to update for some reason) first disable updating stuff in bin (comment out a line in first-setup) and then copy the old mtxrun from tex/texmf-yourplatform/bin to bin/.
This is the fixed line:
homedir = osenv[ostype == "windows" and 'USERPROFILE' or 'HOME'] or '~',
fixed on the website ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/26aef9b82ef5d6b1f4691b9f23930836.jpg?s=120&d=mm&r=g)
Am 05.06.2010 um 11:04 schrieb Hans Hagen:
On 5-6-2010 8:04, Taco Hoekwater wrote:
Mojca Miklavec wrote:
Dear Bernhard & others,
Thanks a lot for reporting the problem.
Please wait for a fix from Hans or (in case that you need to update for some reason) first disable updating stuff in bin (comment out a line in first-setup) and then copy the old mtxrun from tex/texmf-yourplatform/bin to bin/.
This is the fixed line:
homedir = osenv[ostype == "windows" and 'USERPROFILE' or 'HOME'] or '~',
fixed on the website
ok, now i get an error: MTXrun | there is something wrong with your system (see attachment) best regards Bernhard
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
On Sat, Jun 5, 2010 at 14:59, Bernhard Rosensteiner wrote:
ok, now i get an error: MTXrun | there is something wrong with your system (see attachment)
Weird. I also get: MTXrun | fileio: variable 'SELFAUTOLOC' set to '/Users/mojca/context/bin' MTXrun | fileio: variable 'SELFAUTODIR' set to '/Users/mojca/context' MTXrun | fileio: variable 'SELFAUTOPARENT' set to '/Users/mojca' MTXrun | fileio: variable 'TEXMFCNF' set to '{$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,.local,}/web2c}' MTXrun | fileio: no cnf files found (TEXMFCNF may not be set/known) MTXrun | forcing cache reload MTXrun | fileio: no cnf files found (TEXMFCNF may not be set/known) MTXrun | there is something wrong with your system MTXrun | using script: ./bin/mtx-update.lua and there are some other problems. Indeed I get: MTXrun | run: mktexlsr sh: mktexlsr: command not found MTXrun | run: luatools --generate sh: luatools: command not found MTXrun | update: done MTXrun | state: saved once I remove TeX Live from PATH. Something seems to be fatally broken. In particular - Hans, I don't think that the following variable is properly set: MTXrun | preset : TEXMFOS => /Users/mojca/context/tex//Users/mojca/context It used to be: MTXrun | preset : TEXPATH => /Users/mojca/context/tex MTXrun | preset : TEXOS => texmf-osx-64 MTXrun | preset : TEXMFOS => /Users/mojca/context/tex/texmf-osx-64 Now it is: MTXrun | preset : TEXPATH => /Users/mojca/context/tex MTXrun | preset : TEXOS => /Users/mojca/context MTXrun | preset : TEXMFOS => /Users/mojca/context/tex//Users/mojca/context Mojca
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
On top of all that I also get (using an old mtx-update): TeXExec | using mp engine mpost TeXExec | using mps format path /Users/mojca/context/test/tex/texmf-osx-64/web2c TeXExec | generating mps format metafun This is MetaPost, version 1.211 (kpathsea version 6.0.0dev) (INIMP) (/Users/mojca/context/test/tex/texmf-context/metapost/context/base/metafun.mp (/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-base.mp Preloading the plain mem file, version 0.63) (/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-tool.mp) (/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-spec.mp) (/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-core.mp) (/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-page.mp) (/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-text.mp) (/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-txts.mp) (/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-shap.mp) (/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-butt.mp) (/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-char.mp) (/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-step.mp) (/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-grph.mp) (/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-figs.mp) (/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-mlib.mp) (/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-grid.mp (/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-form.mp ! I can't find file `string'. l.81 input string Please type another input file name: even though (when I go to a new terminal and set the path properly):
kpsewhich string.mp /Users/mojca/context/test/tex/texmf/metapost/base/string.mp
This is followed by loading : ConTeXt Backend Macros / PDF ) ! I can't find file `lpdf-pdx.mkiv'. <to be read again> \relax l.90 \loadmarkfile{lpdf-pdx} % might be merged into lpdf-ini But this might only be a side-effect of something else (file exists). It might be a bit difficult to reproduce - I'm using a slightly older mtx-update.lua (but I can send it if anyone is interested). Mojca
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Mojca Miklavec wrote:
(/Users/mojca/context/test/tex/texmf-context/metapost/context/base/mp-form.mp
/Users/mojca/context/test/tex/texmf/metapost/base/string.mp
This is not the same directory, so probably a path search variable is wrong. That's about all I can say about it, sorry. Hans has reworked luatools to be a simple stub to mtx-base.lua (so that only mtxrun.lua remains as a large lua file) but this is tricky because of initialization orders etc. He is busy working on the current problems. Best wishes, Taco
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 6-6-2010 4:29, Mojca Miklavec wrote:
MTXrun | preset : TEXPATH => /Users/mojca/context/tex MTXrun | preset : TEXOS => texmf-osx-64 MTXrun | preset : TEXMFOS => /Users/mojca/context/tex/texmf-osx-64
Now it is:
MTXrun | preset : TEXPATH => /Users/mojca/context/tex MTXrun | preset : TEXOS => /Users/mojca/context
strange ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (5)
-
Bernhard Rosensteiner
-
Hans Hagen
-
Marco
-
Mojca Miklavec
-
Taco Hoekwater