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

Bug#626149: marked as done (writer2xhtml: writer2xhtml not found and w2l does not work)



Your message dated Mon, 9 May 2011 13:00:42 +0200
with message-id <20110509110042.GB8619@rene-engelhard.de>
and subject line Re: Bug#626149: writer2xhtml: writer2xhtml not found and w2l does not work
has caused the Debian Bug report #626149,
regarding writer2xhtml: writer2xhtml not found and w2l does not work
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.)


-- 
626149: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626149
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: writer2latex
Version: 1.0.2-1
Severity: important


Hello,


I'm looking forward to using the writer2xhtml conversion tool from the command 
line. I installed it through the writer2latex package.

Here are the problems I have found:


* Guessing the name 'w2l' is really not easy. I believe this string should at 
least be given in /usr/share/doc/writer2latex/NEWS.Debian.org. When installing 
a new program and looking for the binary's name, one generally uses 
auto-completion from the shell, which gives too many choices with 'w' as a 
prefix and nothing useful with 'W' or 'writer' as a prefix. Besides, 'writer' 
does not show up in 'locate writer | grep bin' (after updatedb) except in 
'oowriter'. Suggestion: symlink w2l to writer2latex.


* I cannot find any binary for writer2xhtml, which is supposed to be included 
in the writer2latex package.
	~> dpkg -L writer2latex | grep bin
	/usr/bin
	/usr/bin/w2l
How does one use w2l to get an XHTML output? (No man page exists.)


* In order to test w2l, I opened OpenOffice, wrote a single 'a' in a new file, 
saved it as a .doc (Word97/XP) file and called the script:

~> w2l minimal.doc 

This is Writer2LaTeX, Version 1.0.2 (2010-05-31)

Starting conversion...
Converting minimal.doc
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String 
index out of range: -1
        at java.lang.AbstractStringBuilder.delete(AbstractStringBuilder.java:694)
        at java.lang.StringBuffer.delete(StringBuffer.java:390)
        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)

So 'w2l' does not seem to work at all, even on the simplest of files.


Maybe I'm really missing something here. Is w2l supposed to be called from the 
command line? Are the package's dependencies not sufficient? 


Best regards,
Sébastien.



-- System Information:
Debian Release: wheezy/sid
  APT prefers stable
  APT policy: (900, 'stable'), (400, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US.iso88591)
Shell: /bin/sh linked to /bin/dash

Versions of packages writer2latex depends on:
ii  dpkg               1.15.8.10             Debian package management system
ii  java-gcj-compat [j 1.0.78-2              Java runtime environment using GIJ
ii  libwriter2latex-ja 1.0.2-1               OpenOffice.org Writer/Calc to LaTe
ii  openjdk-6-jre [jav 6b18-1.8.3-2+squeeze1 OpenJDK Java runtime, using Hotspo
ii  sun-java6-jre [jav 6.24-1~squeeze1       Sun Java(TM) Runtime Environment (
ii  tex-common         2.08.1                common infrastructure for building

Versions of packages writer2latex recommends:
ii  acroread [pdf-viewer 8.1.7-0.1           Adobe Acrobat Reader: Portable Doc
ii  epiphany-browser [ww 2.30.6-1            Intuitive GNOME web browser
ii  evince [pdf-viewer]  2.30.3-2            Document (PostScript, PDF) viewer
ii  gv [pdf-viewer]      1:3.7.1-1           PostScript and PDF viewer for X
ii  iceape-browser [www- 2.0.11-4            Iceape Navigator (Internet browser
ii  iceweasel [www-brows 3.5.16-6            Web browser based on Firefox
ii  kghostview [pdf-view 4:3.5.9-3+lenny3    PostScript viewer for KDE
ii  kpdf [pdf-viewer]    4:3.5.9-3+lenny3    PDF viewer for KDE
ii  lynx-cur [www-browse 2.8.8dev.5-1        Text-mode WWW Browser with NLS sup
ii  openoffice.org-write 1:3.2.1-11+squeeze2 office productivity suite -- word 
ii  w3m [www-browser]    0.5.3-2             WWW browsable pager with excellent
ii  xpdf [pdf-viewer]    3.02-12             Portable Document Format (PDF) rea

writer2latex suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
On Mon, May 09, 2011 at 12:26:57PM +0200, Sebastien Desreux wrote:
> * Guessing the name 'w2l' is really not easy. I believe this string should at 
> least be given in /usr/share/doc/writer2latex/NEWS.Debian.org. When installing 
Sorry, no. The command is w2l (*w*riter*2l*atex).

> 'oowriter'. Suggestion: symlink w2l to writer2latex.

What does w2l have to do with oowriter? The openoffice.org-writer* arte
extensions from *within* OOo, not to be executed standalone.

And. If at all, the other way round. w2l is the correct name and writer2latex
would be something for people who don't find w2l...

> * I cannot find any binary for writer2xhtml, which is supposed to be included 
> in the writer2latex package.

Who claims it? writer2latex is writer2latex. Did anyone claim that there's
one more binary for writer2xhtml?

> Starting conversion...
> Converting minimal.doc
> Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String 
> index out of range: -1
>         at java.lang.AbstractStringBuilder.delete(AbstractStringBuilder.java:694)
>         at java.lang.StringBuffer.delete(StringBuffer.java:390)
>         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)
> 
> So 'w2l' does not seem to work at all, even on the simplest of files.

And your ability to look after bugs is bad:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=470397

If you use gij, use a full path and it will work... Given that OpenKJDK
is the future for most archs I can understand upstreams non-action
for this minor problem...

> Maybe I'm really missing something here.

Yes..

Closing.

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: