[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

Errors with emacspeak-epub on mac



Hi everyone,

I have been attempting to get emacspeak epub support working under mac.

I have it working as expected on my linux install.  When I try the same
  thing on my mac I am unable to follow links.

The table of contents for the epub displays fine in w3.  When I try and
    click links I get an error.

>From my limited understanding of what is going on here I think it is an
     error of some sort with the arguements being passed to xsltproc.

I have included a debug output as well as the content of the XSLT errors
  buffer.

Is anyone able to suggest a stratagy for tracking down what is happening
   here?

On mac: 
xsltproc --version reports:
$xsltproc --version
Using libxml 20703, libxslt 10124 and libexslt 813
xsltproc was compiled against libxml 20703, libxslt 10124 and libexslt 813
libxslt 10124 was compiled against libxml 20703
libexslt 813 was compiled against libxml 20703


and on linux it reports:
$ xsltproc --version
Using libxml 20708, libxslt 10126 and libexslt 815
xsltproc was compiled against libxml 20708, libxslt 10126 and libexslt 815
libxslt 10126 was compiled against libxml 20708
libexslt 815 was compiled against libxml 20708


Here is the XSLT errors buffer:
 xsltproc --nonet --novalid    /Users/bart/emacs/lisp/emacspeak/xsl/epub-toc.xsl
          ^
-:286: parser error : Comment not terminated 
<!--
 xsltproc --nonet 
 xsltproc --nonet --novalid    /Users/bart/emacs/lisp/emacspeak/xsl/epub-toc.xsl
                  ^
-:288: parser error : Premature end of data in tag html line 1

^
unable to parse -
warning: failed to load external entity "nil"
unable to parse nil

warning: failed to load external entity "nil"
unable to parse nil


Finally the debug output from trying to follow a link:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  string-match("#" nil 0)
  split-string(nil "#")
  emacspeak-epub-url-executor("file:/var/folders/t6/_1lpjhbj45d10st5clmr5zzh0000gn/T/f_0010.html")
  emacspeak-we-url-expand-and-execute()
  call-interactively(emacspeak-we-url-expand-and-execute)
  widget-button-press(5349)
  call-interactively(widget-button-press nil nil)


Any pointers appreciated.

Kind regards

Bart

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help".



If you have questions about this archive or had problems using it, please send mail to:

priestdo@xxxxxxxxxxx No Soliciting!

Emacspeak List Archive | 2010 | 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog