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

Bug#576297: marked as done (writer2latex: Exception in thread "main" java.lang.StringIndexOutOfBoundsException:)



Your message dated Fri, 2 Apr 2010 23:44:02 +0200
with message-id <20100402214402.GA2001@rene-engelhard.de>
and subject line Re: Bug#576297: writer2latex: Exception in thread "main" java.lang.StringIndexOutOfBoundsException:
has caused the Debian Bug report #576297,
regarding writer2latex: Exception in thread "main" java.lang.StringIndexOutOfBoundsException:
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
576297: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576297
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: writer2latex
Version: 1.0-10
Severity: grave
Justification: renders package unusable


[gam3@frenchy: ~]$ w2l ./RN-OB.doc ./bob.tex

This is Writer2LaTeX, Version 1.0 (2008-09-21)

Starting conversion...
Converting ./RN-OB.doc
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.AbstractStringBuilder.delete(AbstractStringBuilder.java:698)
        at java.lang.StringBuffer.delete(StringBuffer.java:373)
        at writer2latex.xmerge.OfficeDocument.secondHack(OfficeDocument.java:1248)
        at writer2latex.xmerge.OfficeDocument.read(OfficeDocument.java:571)
        at writer2latex.xmerge.OfficeDocument.read(OfficeDocument.java:442)
        at writer2latex.base.ConverterBase.convert(ConverterBase.java:87)
        at writer2latex.base.ConverterBase.convert(ConverterBase.java:81)
        at writer2latex.Application.doConversion(Application.java:230)
        at writer2latex.Application.main(Application.java:86)

/etc/alternatives/java -> /usr/lib/jvm/java-6-sun/jre/bin/java
/etc/alternatives/java.1.gz -> /usr/lib/jvm/java-6-sun/jre/man/man1/java.1.gz
/etc/alternatives/java_vm -> /usr/lib/jvm/java-6-sun/jre/bin/java_vm
/etc/alternatives/javaws -> /usr/lib/jvm/java-6-openjdk/jre/bin/javaws

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-gam3-ma770 (SMP w/3 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages writer2latex depends on:
ii  dpkg                         1.15.5.6    Debian package management system
ii  gij-4.1 [java2-runtime]      4.1.1-20    The GNU Java bytecode interpreter
ii  libwriter2latex-java         1.0-10      OpenOffice.org Writer/Calc to LaTe
ii  openjdk-6-jre [java2-runtime 6b17~pre3-1 OpenJDK Java runtime, using Hotspo
ii  sun-java5-jre [java2-runtime 1.5.0-19-1  Sun Java(TM) Runtime Environment (
ii  sun-java6-jre [java2-runtime 6-17-1      Sun Java(TM) Runtime Environment (
ii  tex-common                   2.05        common infrastructure for building

Versions of packages writer2latex recommends:
ii  elinks [www-browser]  0.12~pre5-2        advanced text-mode WWW browser
ii  evince [pdf-viewer]   2.28.2-1           Document (postscript, pdf) viewer
ii  gv [pdf-viewer]       1:3.6.8-1          PostScript and PDF viewer for X
ii  iceape-browser [www-b 2.0.1-1            Iceape Navigator (Internet browser
ii  iceweasel [www-browse 3.5.6-1            lightweight web browser based on M
ii  konqueror [www-browse 4:4.3.4-1          KDE 4's advanced file manager, web
ii  lynx-cur [www-browser 2.8.8dev.2-1       Text-mode WWW Browser with NLS sup
ii  openoffice.org-writer 1:3.1.1-12         full-featured office productivity 
ii  opera [www-browser]   9.61.2456.gcc4.qt3 The Opera Web Browser
ii  w3m [www-browser]     0.5.2-2.1          WWW browsable pager with excellent
ii  xpdf-reader [pdf-view 3.02-1.4+lenny1    Portable Document Format (PDF) sui

writer2latex suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Hi,

On Fri, Apr 02, 2010 at 12:23:58PM -0400, G. Allen Morris III wrote:
> [gam3@frenchy: ~]$ w2l ./RN-OB.doc ./bob.tex

I am not sure it supports doc -> tex. I think you need to go via odt (or sxw).
(and be it via unoconv)
It's called *Writer*2LaTex not *some document*2latex :-)

>From the website:

"The aim of Writer2LaTeX is to provide you with a set of tools centered
around conversion from OpenDocument format to LaTeX and XHTML+MathML.
[...]

The export filter Writer2LaTeX allows you to publish documents you have
prepared with Writer [...]"

Try with a odt and reopen this if it still fails.

Grüße/Regards,

René
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  rene@debian.org | GnuPG-Key ID: D03E3E70
   `-   Fingerprint: E12D EA46 7506 70CF A960 801D 0AA0 4571 D03E 3E70


--- End Message ---

Reply to: