ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* LuaTeX error after update to ubuntu 12.04
@ 2012-04-28  4:25 S Barmeier
  2012-04-28  4:30 ` Kip Warner
  2012-04-28  4:40 ` Khaled Hosny
  0 siblings, 2 replies; 6+ messages in thread
From: S Barmeier @ 2012-04-28  4:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

After updating to ubuntu 12.04, my shouts of joy were smothered by the
following

!LuaTeX error: cannot find OpenType font file for reading ()
 ==> Fatal error occurred, no output PDF file produced!

mtx-context     | fatal error: return code: 70

I ran mtxrun --script fonts --reload, updated to the latest context
version, ran luatools --generate and context --make and still am
presented with the above error message after 10-15 minutes of paralysing
processing.

The compiling seems to run as always, until it reaches the last page, at
which point the computer freezes and takes about 10 minutes to present
me with the error. The following is another snapshot of the output which
I noticed for the first time:

system          > logs > lua: compiling
/home/user/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/fonts/otf/andika-r.tma
into
/home/user/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/fonts/otf/andika-r.tmc
										fonts           > otf loading > preprocessing and caching took
73.009 seconds

Any ideas where to start?

Many thanks,
Severin
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: LuaTeX error after update to ubuntu 12.04
  2012-04-28  4:25 LuaTeX error after update to ubuntu 12.04 S Barmeier
@ 2012-04-28  4:30 ` Kip Warner
  2012-04-28  5:10   ` S Barmeier
  2012-04-28  4:40 ` Khaled Hosny
  1 sibling, 1 reply; 6+ messages in thread
From: Kip Warner @ 2012-04-28  4:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 446 bytes --]

On Sat, 2012-04-28 at 13:25 +0900, S Barmeier wrote:
> After updating to ubuntu 12.04, my shouts of joy were smothered by the
> following
> 
> !LuaTeX error: cannot find OpenType font file for reading ()
>  ==> Fatal error occurred, no output PDF file produced!

Fuuuuuuck...and here I was planning on upgrading tomorrow morning.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: LuaTeX error after update to ubuntu 12.04
  2012-04-28  4:25 LuaTeX error after update to ubuntu 12.04 S Barmeier
  2012-04-28  4:30 ` Kip Warner
@ 2012-04-28  4:40 ` Khaled Hosny
  1 sibling, 0 replies; 6+ messages in thread
From: Khaled Hosny @ 2012-04-28  4:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, Apr 28, 2012 at 01:25:03PM +0900, S Barmeier wrote:
> After updating to ubuntu 12.04, my shouts of joy were smothered by the
> following
> 
> !LuaTeX error: cannot find OpenType font file for reading ()
>  ==> Fatal error occurred, no output PDF file produced!
> 
> mtx-context     | fatal error: return code: 70

This usually indicates that ConTeXt is a passing a file name to the
backend that does not exist on the disk, usually because the cache is
outdated.

> I ran mtxrun --script fonts --reload, updated to the latest context
> version, ran luatools --generate and context --make and still am
> presented with the above error message after 10-15 minutes of paralysing
> processing.

Since all of this does not work, I'd delete the cache completely and try
again (the /home/user/texmf-cache/luatex-cache/context/*).

Regards,
 Khaled
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: LuaTeX error after update to ubuntu 12.04
  2012-04-28  4:30 ` Kip Warner
@ 2012-04-28  5:10   ` S Barmeier
  2012-04-29 20:28     ` Kip Warner
  0 siblings, 1 reply; 6+ messages in thread
From: S Barmeier @ 2012-04-28  5:10 UTC (permalink / raw)
  Cc: mailing list for ConTeXt users

Deleting the cache worked, thank you! The first run on my book
successfully compiled after 7 mins., subsequent ones now take 15
seconds (which used to be a stable 25 sec before the upgrade).

In ubuntu 12.04 all font packages are renamed to fonts-*, rather than
ttf-* or otf-* etc.

I thought that running mtxrun --script fonts --reload would fix lookup
problems, but it seems that you might want to clear the cache completely.

Still, esp. with the added speed benefit, there is no reason to hold
back the upgrade (from my point of view).

Thanks,
Severin


On 04/28/2012 01:30 PM, Kip Warner wrote:
> On Sat, 2012-04-28 at 13:25 +0900, S Barmeier wrote:
>> After updating to ubuntu 12.04, my shouts of joy were smothered
>> by the following
>> 
>> !LuaTeX error: cannot find OpenType font file for reading () ==>
>> Fatal error occurred, no output PDF file produced!
> 
> Fuuuuuuck...and here I was planning on upgrading tomorrow morning.
> 

___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: LuaTeX error after update to ubuntu 12.04
  2012-04-28  5:10   ` S Barmeier
@ 2012-04-29 20:28     ` Kip Warner
  2012-04-29 21:41       ` Khaled Hosny
  0 siblings, 1 reply; 6+ messages in thread
From: Kip Warner @ 2012-04-29 20:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 374 bytes --]

On Sat, Apr 28, 2012 at 02:10:33PM +0900, S Barmeier wrote:
> In ubuntu 12.04 all font packages are renamed to fonts-*, rather than
> ttf-* or otf-* etc.

Most, but not all. ttf-ubuntu-font-family and ttf-ubuntu-title appear to be among some of the exceptions.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: LuaTeX error after update to ubuntu 12.04
  2012-04-29 20:28     ` Kip Warner
@ 2012-04-29 21:41       ` Khaled Hosny
  0 siblings, 0 replies; 6+ messages in thread
From: Khaled Hosny @ 2012-04-29 21:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 605 bytes --]

On Sun, Apr 29, 2012 at 01:28:42PM -0700, Kip Warner wrote:
> On Sat, Apr 28, 2012 at 02:10:33PM +0900, S Barmeier wrote:
> > In ubuntu 12.04 all font packages are renamed to fonts-*, rather than
> > ttf-* or otf-* etc.
> 
> Most, but not all. ttf-ubuntu-font-family and ttf-ubuntu-title appear
> to be among some of the exceptions.

The renaming is done slowly by Debian (a new font packages naming
policy), but anyway Ubuntu family of fonts is not in Debian (the license
is not considered free enough for Debian), and it seems Ubuntu is not
adopting the new policy yet.

Regards,
 Khaled

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

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

end of thread, other threads:[~2012-04-29 21:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-28  4:25 LuaTeX error after update to ubuntu 12.04 S Barmeier
2012-04-28  4:30 ` Kip Warner
2012-04-28  5:10   ` S Barmeier
2012-04-29 20:28     ` Kip Warner
2012-04-29 21:41       ` Khaled Hosny
2012-04-28  4:40 ` Khaled Hosny

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).