ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Parsing CFF DICT failed
@ 2011-05-14 18:12 Reviczky, Adam
  2011-05-14 19:33 ` Reviczky, Adam
  0 siblings, 1 reply; 6+ messages in thread
From: Reviczky, Adam @ 2011-05-14 18:12 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 352 bytes --]

Hi

Not sure where the problem is but using the latest beta (2011.05.14) I get this error:

!LuaTeX error (file /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrecursor-bold.otf): Parsing CFF DICT failed. (error=-1)
 ==> Fatal error occurred, no output PDF file produced!

This used to work a couple of days ago ...
Log attached.

Adam

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: prd_finalreport.log --]
[-- Type: text/x-log; name="prd_finalreport.log", Size: 5853 bytes --]

(/home/reviczky/Downloads/thesis/src/prd_finalreport.tex

ConTeXt  ver: 2011.05.14 16:34 MKIV  fmt: 2011.5.14  int: english/english

(/usr/share/texmf/tex/context/base/cont-new.mkiv) (prd_finalreport.top
){/usr/share/texmf/fonts/map/pdftex/context/mkiv-base.map} (/usr/share/texmf/tex/context/base/type-siz.mkiv) (/usr/share/texmf/tex/context/base/type-otf.mkiv){/usr/share/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map} (project_6ccs3prj.tex (env_6ccs3prj.tex (/usr/share/texmf/tex/context/base/colo-imp-x11.mkiv) (/usr/share/texmf/tex/context/base/m-database.mkiv<+ /usr/share/texmf/tex/context/base/m-database.lua>) (/usr/share/texmf/tex/context/base/page-run.mkiv))) (c_titlepage.tex) (c_legal.tex) (c_abstract.tex) (c_acknowledgements.tex) (c_tableofcontents.tex) (c_introduction.tex) (c_background.tex) (c_body.tex) (c_evaluation.tex) (c_conclusions.tex
Overfull \hbox (9.75206pt too wide) in paragraph at lines 26--26
[][]\*TeX Gyre11ptrmtf* (-15) Second\*TeX Gyre11ptrmtf* (-20) ly, \*TeX Gyre11ptrmtf* (-15) an ana\*TeX Gyre11ptrmtf* (-20) ­l\*TeX Gyre11ptrmtf* (-15) og\*TeX Gyre11ptrmtf* (-20) y \*TeX Gyre11ptrmtf* (-15) can be d\*TeX Gyre11ptrmtf* (-20) r\*TeX Gyre11ptrmtf* (-15) awn w\*TeX Gyre11ptrmtf* (-20) it\*TeX Gyre11ptrmtf* (-15) h \*TeX Gyre11ptrmtf* (-20) t\*TeX Gyre11ptrmtf* (-15) he wa\*TeX Gyre11ptrmtf* (-20) y L[]T[]X \*TeX Gyre11ptrmtf* (-15) enhanced \*TeX Gyre11ptrmtf* (-20) T[]X \*TeX Gyre11ptrmtf* (-15) o\*TeX Gyre11ptrmtf* (-20) r X\*TeX Gyre11ptrmtf* (-15) H\*TeX Gyre11ptrmtf* (-20) T\*TeX Gyre11ptrmtf* (-15) M\*TeX Gyre11ptrmtf* (-20) L+\*TeX Gyre11ptrmtf* (-15) CSS

\hbox(7.887+2.6675)x426.78743, glue set - 1.0, direction TLT
.\whatsit
..\localinterlinepenalty=0
..\localbrokenpenalty=0
..\localleftbox=null
..\localrightbox=null
.\hbox(0.0+0.0)x0.0, direction TLT
.\*TeX Gyre11ptrmtf* (-15) S
.\*TeX Gyre11ptrmtf* (-15) e
.\*TeX Gyre11ptrmtf* (-15) c
.etc.

) (c_bibliography.tex (prd_finalreport.bbl)) (c_appendix.tex </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/0e9b8cc57c0432d5c772dda2b9cd6dfe.png> </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/20423a750695b2b662ba0d45cffb47d7.png> </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/e5e275d1076b71ab932ea5ebd4ebf214.png> </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/d4119ab8da3dcb23984cfb71ad63d7fd.png> </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/38eb45f44eddb6c6d26bb5dd5aeb81f8.png> </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/77bb547e2ae6cfc8f18ed6ac3fcc4cb0.png> </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/e5ef87eb4b66f38fd4ed47540edace38> </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/cab33a4eaf4616b446d5e19baa4af9d7>) (c_userguide.tex </home/reviczky/Downloads/thesis/src/graphics/goldbach_main.png> </home/reviczky/Downloads/thesis/src/graphics/goldbach_about.png> </home/reviczky/Downloads/thesis/src/graphics/goldbach_credits.png> </home/reviczky/Downloads/thesis/src/graphics/goldbach_licence.png> </home/reviczky/Downloads/thesis/src/graphics/goldbach_open.png> </home/reviczky/Downloads/thesis/src/graphics/goldbach_filters.png> </home/reviczky/Downloads/thesis/src/graphics/goldbach_progress.png> </home/reviczky/Downloads/thesis/src/graphics/goldbach_clear.png> </home/reviczky/Downloads/thesis/src/graphics/goldbach_recognition.png> </home/reviczky/Downloads/thesis/src/graphics/goldbach_relational.png> </home/reviczky/Downloads/thesis/src/graphics/goldbach_ellipses.png> </home/reviczky/Downloads/thesis/src/graphics/goldbach_operator.png> </home/reviczky/Downloads/thesis/src/graphics/goldbach_arrow.png> </home/reviczky/Downloads/thesis/src/graphics/goldbach_logical.png> </home/reviczky/Downloads/thesis/src/graphics/goldbach_sets.png> </home/reviczky/Downloads/thesis/src/graphics/goldbach_misc.png> </home/reviczky/Downloads/thesis/src/graphics/goldbach_greeklo.png> </home/reviczky/Downloads/thesis/src/graphics/goldbach_greekup.png> </home/reviczky/Downloads/thesis/src/graphics/goldbach_typeset.png> </home/reviczky/Downloads/thesis/src/graphics/goldbach_mkiv.png> </home/reviczky/Downloads/thesis/src/graphics/goldbach_save.png> </home/reviczky/Downloads/thesis/src/graphics/goldbach_export.png> </home/reviczky/Downloads/thesis/src/graphics/goldbach_modified.png> </home/reviczky/Downloads/thesis/src/graphics/goldbach_de.png> </home/reviczky/Downloads/thesis/src/graphics/goldbach_fr.png> </home/reviczky/Downloads/thesis/src/graphics/goldbach_hu.png>) (c_programlistings.tex) (c_errata.tex
Overfull \hbox (3.0428pt too wide) in paragraph at lines 43--43
 [][][][] \*TeX Gyre11ptrmtf* (-15) page\*TeX Gyre11pttttf* ??\*TeX Gyre11ptrmtf* (-20) : \*TeX Gyre11pttttf* \registerattachment[][] \*TeX Gyre11ptrmtf* (-15) and \*TeX Gyre11pttttf* \defineattachment[][]

\hbox(10.75542+4.18262)x426.78743, glue set - 1.0, direction TLT
.\glue(\leftskip) 16.5
.\whatsit
..\localinterlinepenalty=0
..\localbrokenpenalty=0
..\localleftbox=null
..\localrightbox=null
.\hbox(0.0+0.0)x0.0, direction TLT
.\hbox(10.75542+4.18262)x0.0, glue set - 16.5fil, direction TLT
..\glue 0.0 plus 1.0fil minus 1.0fil
..\hbox(10.75542+4.18262)x16.5, direction TLT
...\hbox(10.75542+4.18262)x16.5, glue set 10.72498fil, direction TLT []
.\hbox(10.75542+4.18262)x0.0, direction TLT
.etc.

) (c_copying.tex) )</usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrecursor-bold.otf
!LuaTeX error (file /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrecursor-bold.otf): Parsing CFF DICT failed. (error=-1)
 ==> Fatal error occurred, no output PDF file produced!

[-- Attachment #3: 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: Parsing CFF DICT failed
  2011-05-14 18:12 Parsing CFF DICT failed Reviczky, Adam
@ 2011-05-14 19:33 ` Reviczky, Adam
  2011-05-14 19:38   ` Reviczky, Adam
  0 siblings, 1 reply; 6+ messages in thread
From: Reviczky, Adam @ 2011-05-14 19:33 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 853 bytes --]

It seems to be syntex/luatex related.

Here's a minimal example using the sample.bib from the wiki (http://wiki.contextgarden.net/sample_bib):
%%%
\enabledirectives[system.synctex]
\setupbibtex[database={sample},sort=author]
\starttext
\chapter{Bibliography}
\completepublications[criterium=text]
\stoptext
%%%

error:
!LuaTeX error (file /usr/share/texmf/fonts/opentype/public/lm/lmroman12-regular.otf): Parsing CFF DICT failed. (error=-1)
 ==> Fatal error occurred, no output PDF file produced!

note: * criterium=all works, obviously I have cite's in my document, but that shouldn't matter
         * commenting out the synctex line also makes it work again
         * somehow the problem is in combination with a title element (part, chapter, etc.), because without it it works again as well

More verbose log attached.

Adam

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: test.log --]
[-- Type: text/x-log; name="test.log", Size: 2963 bytes --]

(test.tex

ConTeXt  ver: 2011.05.14 16:34 MKIV  fmt: 2011.5.14  int: english/english

system          > cont-new.mkiv loaded
(/usr/share/texmf/tex/context/base/cont-new.mkiv
system          > beware: some patches loaded from cont-new.mkiv
)
system          > test.top loaded
system          > options > begin of optionfile
system          > options >
system          > options > % runtime options files (command line driven)
system          > options > \unprotect
system          > options > % feedback and basic job control
system          > options > % handy for special styles
system          > options > \startluacode
system          > options > document = document or { }
system          > options > document.arguments={
system          > options > }
system          > options > document.files={
system          > options >  "test.tex",
system          > options > }
system          > options > \stopluacode
system          > options > % process info
system          > options > \setupsystem[inputfile=test.tex]
system          > options > \setupsystem[\c!n=1,\c!m=1]
system          > options > % modes
system          > options > % options (not that important)
system          > options > \startsetups *runtime:options
system          > options > \stopsetups
system          > options > % styles and modules
system          > options > \startsetups *runtime:modules
system          > options > \stopsetups
system          > options > % done
system          > options > \protect \endinput
system          > options >
system          > options > end of optionfile
(test.top)
fonts           > latin modern fonts are not preloaded
languages       > language en is active
system          > synctex functionality is enabled!
publications    > wrote a new auxiliary file \jobname.aux
{/usr/share/texmf/fonts/map/pdftex/context/mkiv-base.map}
fonts           > preloading latin modern fonts (second stage)
(/usr/share/texmf/tex/context/base/type-siz.mkiv) (/usr/share/texmf/tex/context/base/type-otf.mkiv){/usr/share/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts           > virtual math > unable to resolve name mapsfromchar
fonts           > fallback modern rm 12pt is loaded
system          > begin file test.tex at line 4
structure       > sectioning > chapter @ level 2 : 0.1 -> Bibliography
backend         > xmp > using file '/usr/share/texmf/tex/context/base/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
structure       > sectioning > chapter @ level 2 : 0.2 -> \headtext {pubs}
publications    > loading database from test.bbl
(test.bbl)
pages           > flushing realpage 2, userpage 2
system          > end file test.tex at line 7
 )</usr/share/texmf/fonts/opentype/public/lm/lmroman12-regular.otf
!LuaTeX error (file /usr/share/texmf/fonts/opentype/public/lm/lmroman12-regular.otf): Parsing CFF DICT failed. (error=-1)
 ==> Fatal error occurred, no output PDF file produced!

[-- Attachment #3: 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: Parsing CFF DICT failed
  2011-05-14 19:33 ` Reviczky, Adam
@ 2011-05-14 19:38   ` Reviczky, Adam
  2011-05-15  6:43     ` Taco Hoekwater
  0 siblings, 1 reply; 6+ messages in thread
From: Reviczky, Adam @ 2011-05-14 19:38 UTC (permalink / raw)
  To: ntg-context

> It seems to be syntex/luatex related.
Just noticed that there's no luatex banner in the log because of the error, so:

This is LuaTeX, Version beta-0.71.0-2011051313 (rev 4265)

Adam
___________________________________________________________________________________
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: Parsing CFF DICT failed
  2011-05-14 19:38   ` Reviczky, Adam
@ 2011-05-15  6:43     ` Taco Hoekwater
  2011-05-15  8:16       ` Reviczky, Adam
  0 siblings, 1 reply; 6+ messages in thread
From: Taco Hoekwater @ 2011-05-15  6:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Reviczky, Adam

On 05/14/2011 09:38 PM, Reviczky, Adam wrote:
>> It seems to be syntex/luatex related.
> Just noticed that there's no luatex banner in the log because of the error, so:
>
> This is LuaTeX, Version beta-0.71.0-2011051313 (rev 4265)

Any chance of a (smallish) test file?

Best wishes,
Taco
___________________________________________________________________________________
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: Parsing CFF DICT failed
  2011-05-15  6:43     ` Taco Hoekwater
@ 2011-05-15  8:16       ` Reviczky, Adam
  2011-05-15  9:35         ` Taco Hoekwater
  0 siblings, 1 reply; 6+ messages in thread
From: Reviczky, Adam @ 2011-05-15  8:16 UTC (permalink / raw)
  To: Taco Hoekwater, mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 145 bytes --]

> Any chance of a (smallish) test file?

I've attached the test file, log and broken pdf/synctex files.

Do you need anything else?

Adam

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: test.tex --]
[-- Type: text/x-tex; name="test.tex", Size: 160 bytes --]

\enabledirectives[system.synctex]
\setupbibtex[database={sample},sort=author]
\starttext
\chapter{Bibliography}
\completepublications[criterium=text]
\stoptext

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: sample.bib --]
[-- Type: text/x-bibtex; name="sample.bib", Size: 729 bytes --]

@STRING{hh = {Hans Hagen}}

@ELECTRONIC{hh2010,
  author = hh,
  year = {2010},
  title = {Metafun. \CONTEXT\ mkiv},
  url = {http://www.pragma-ade.nl/general/manuals/metafun-s.pdf},
}

@ARTICLE{hh2010a,
  author = hh,
  title = {The Font Name Mess},
  journal = {MAPS},
  year = {2010},
  volume = {40},
  pages = {2-8},
  keywords = {context},
}

@ARTICLE{hh2010b,
  author = hh,
  title = {Grouping in Hybrid Environments},
  journal = {MAPS},
  year = {2010},
  volume = {40},
  pages = {67-71},
  keywords = {context},
}

@BOOK{Eijkhout1991,
  title = {\TeX\ by Topic. A \TeX nician's Reference},
  publisher = {Addison-Wesley},
  year = {1991},
  author = {Victor Eijkhout},
  address = {London},
  keywords = {general},
}

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: test.log --]
[-- Type: text/x-log; name="test.log", Size: 2963 bytes --]

(test.tex

ConTeXt  ver: 2011.05.14 16:34 MKIV  fmt: 2011.5.14  int: english/english

system          > cont-new.mkiv loaded
(/usr/share/texmf/tex/context/base/cont-new.mkiv
system          > beware: some patches loaded from cont-new.mkiv
)
system          > test.top loaded
system          > options > begin of optionfile
system          > options >
system          > options > % runtime options files (command line driven)
system          > options > \unprotect
system          > options > % feedback and basic job control
system          > options > % handy for special styles
system          > options > \startluacode
system          > options > document = document or { }
system          > options > document.arguments={
system          > options > }
system          > options > document.files={
system          > options >  "test.tex",
system          > options > }
system          > options > \stopluacode
system          > options > % process info
system          > options > \setupsystem[inputfile=test.tex]
system          > options > \setupsystem[\c!n=1,\c!m=1]
system          > options > % modes
system          > options > % options (not that important)
system          > options > \startsetups *runtime:options
system          > options > \stopsetups
system          > options > % styles and modules
system          > options > \startsetups *runtime:modules
system          > options > \stopsetups
system          > options > % done
system          > options > \protect \endinput
system          > options >
system          > options > end of optionfile
(test.top)
fonts           > latin modern fonts are not preloaded
languages       > language en is active
system          > synctex functionality is enabled!
publications    > wrote a new auxiliary file \jobname.aux
{/usr/share/texmf/fonts/map/pdftex/context/mkiv-base.map}
fonts           > preloading latin modern fonts (second stage)
(/usr/share/texmf/tex/context/base/type-siz.mkiv) (/usr/share/texmf/tex/context/base/type-otf.mkiv){/usr/share/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts           > virtual math > unable to resolve name mapsfromchar
fonts           > fallback modern rm 12pt is loaded
system          > begin file test.tex at line 3
structure       > sectioning > chapter @ level 2 : 0.1 -> Bibliography
backend         > xmp > using file '/usr/share/texmf/tex/context/base/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
structure       > sectioning > chapter @ level 2 : 0.2 -> \headtext {pubs}
publications    > loading database from test.bbl
(test.bbl)
pages           > flushing realpage 2, userpage 2
system          > end file test.tex at line 6
 )</usr/share/texmf/fonts/opentype/public/lm/lmroman12-regular.otf
!LuaTeX error (file /usr/share/texmf/fonts/opentype/public/lm/lmroman12-regular.otf): Parsing CFF DICT failed. (error=-1)
 ==> Fatal error occurred, no output PDF file produced!

[-- Attachment #5: test.pdf --]
[-- Type: application/pdf, Size: 2088 bytes --]

[-- Attachment #6: test.synctex.gz(b.txt --]
[-- Type: application/octet-stream, Size: 201 bytes --]

FILE QUARANTINED

The original contents of this file have been replaced with
this message because of its characteristics.
File name: 'test.synctex.gz(busy)'
Virus name: 'CorruptedCompressedFile'

[-- Attachment #7: 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: Parsing CFF DICT failed
  2011-05-15  8:16       ` Reviczky, Adam
@ 2011-05-15  9:35         ` Taco Hoekwater
  0 siblings, 0 replies; 6+ messages in thread
From: Taco Hoekwater @ 2011-05-15  9:35 UTC (permalink / raw)
  To: Reviczky, Adam; +Cc: mailing list for ConTeXt users

On 05/15/2011 10:16 AM, Reviczky, Adam wrote:
>> Any chance of a (smallish) test file?
>
> I've attached the test file, log and broken pdf/synctex files.
>
> Do you need anything else?

No, I could reproduce the error just fine. Oddly enough, it seems
to be a bug in the getcwd() implementation in glibc, that I have
now written a workaround for.

Best wishes,
Taco
___________________________________________________________________________________
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:[~2011-05-15  9:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-14 18:12 Parsing CFF DICT failed Reviczky, Adam
2011-05-14 19:33 ` Reviczky, Adam
2011-05-14 19:38   ` Reviczky, Adam
2011-05-15  6:43     ` Taco Hoekwater
2011-05-15  8:16       ` Reviczky, Adam
2011-05-15  9:35         ` Taco Hoekwater

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