Bug#491456: unoconv: UnoException during conversion: URL seems to be an unsupported one.

2010-05-15 Thread David D Lowe
I had exactly the same error:

unoconv: UnoException during conversion: URL seems to be an unsupported one.
The provided document cannot be converted to the desired format.

Installing openoffice.org-java-common and openoffice.org-base-core did
not fix it, however, installing openoffice.org-writer did.

I needed to install openoffice.org-calc for spreadsheets and
openoffice.org-impress for presentations.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#491456: unoconv: UnoException during conversion: URL seems to be an unsupported one.

2010-05-15 Thread Vincent Bernat
OoO  Peu avant  le début  de l'après-midi  du samedi  15 mai  2010, vers
13:56, David D Lowe daviddlowe.fl...@gmail.com disait :

 unoconv: UnoException during conversion: URL seems to be an unsupported one.
 The provided document cannot be converted to the desired format.

 Installing openoffice.org-java-common and openoffice.org-base-core did
 not fix it, however, installing openoffice.org-writer did.

 I needed to install openoffice.org-calc for spreadsheets and
 openoffice.org-impress for presentations.

unoconfpackage   suggestsopenoffice.orgwhich   dependson
openoffice.org-writer,  openoffice.org-calc  and
openoffice.org-impress. Suggesting instead of depending allow you to not
install Calc if you don't need (for example).

I may add a note about this on README.Debian.
-- 
panic(Unable to find empty mailbox for aha1542.\n);
2.2.16 /usr/src/linux/drivers/scsi/aha1542.c


pgpKV1uozaeGp.pgp
Description: PGP signature


Bug#491456: unoconv: UnoException during conversion: URL seems to be an unsupported one.

2008-08-17 Thread Vincent Bernat
OoO  En  ce début  de  soirée  du jeudi  24  juillet  2008, vers  21:21,
[EMAIL PROTECTED] disait :

 $ unoconv -v -f odt curriculum-vitae-dag-wieers.doc
 Input file: curriculum-vitae-dag-wieers.doc
 file:///home/philippe/tmp/curriculum-vitae-dag-wieers.doc
 unoconv: UnoException during conversion: URL seems to be an unsupported one.
 The provided document cannot be converted to the desired format.
 Traceback (most recent call last):
   File /usr/bin/unoconv, line 567, in module
 main()
   File /usr/bin/unoconv, line 546, in main
 convertor.convert(inputfn)
   File /usr/bin/unoconv, line 451, in convert
 doc = self.desktop.loadComponentFromURL( inputurl , _blank, 0, 
 inputprops
 )
 __main__.IllegalArgumentException: URL seems to be an unsupported one.

Hi Philippe!

Sorry for the late answer.

Could you try the following script:

#!/usr/bin/env python

FILE='file:///home/philippe/data/cv/philippe_bourcier.rtf'

import uno
From com.sun.star.beans import PropertyValue
localContext = uno.getComponentContext()
resolver = localContext.ServiceManager.createInstanceWithContext(
com.sun.star.bridge.UnoUrlResolver, localContext)
ctx = resolver.resolve( uno:socket,host=localhost,port=2002;urp;StarOffice.ComponentContext )
smgr = ctx.ServiceManager
desktop = smgr.createInstanceWithContext( com.sun.star.frame.Desktop,ctx)
inputprops = ( PropertyValue( Hidden , 0 , True, 0 ), )
doc = desktop.loadComponentFromURL( FILE , _blank, 0, inputprops )

You need to start OpenOffice with the following command before:
 soffice -accept=socket,host=localhost,port=2002;urp;

Tell me if you get the same error.

Thanks.
-- 
panic(Attempted to kill the idle task!);
2.2.16 /usr/src/linux/kernel/exit.c


pgpAYHU5UKxUA.pgp
Description: PGP signature


Bug#491456: unoconv: UnoException during conversion: URL seems to be an unsupported one.

2008-07-24 Thread buffalo . phil
hi Vincent,

Quoting Vincent Bernat [EMAIL PROTECTED]:

 OoO  En cette nuit  nuageuse du  mercredi 23  juillet 2008,  vers 00:23,
 [EMAIL PROTECTED] disait�:

   $ unoconv -v -f odt philippe_bourcier.rtf
   Input file: philippe_bourcier.rtf
   file:///home/philippe/data/cv/philippe_bourcier.rtf
   unoconv:  UnoException   during  conversion:   URL  seems  to   be  an
   unsupported one.
 
  Do you have  openoffice.org-writer installed?

  $ aptitude search openoffice.org-writer
  i openoffice.org-writer - OpenOffice.org office suite - word processor
  i openoffice.org-writer2latex - Writer/Calc to LaTeX/XHTML converter
 extension
  for OpenOffice.org

 I noticed that you have previously tried  on a pdf instead of a doc. May
 you try this one:
  http://dag.wieers.com/cv/curriculum-vitae-dag-wieers.doc

$ unoconv -v -f odt curriculum-vitae-dag-wieers.doc
Input file: curriculum-vitae-dag-wieers.doc
file:///home/philippe/tmp/curriculum-vitae-dag-wieers.doc
unoconv: UnoException during conversion: URL seems to be an unsupported one.
The provided document cannot be converted to the desired format.
Traceback (most recent call last):
  File /usr/bin/unoconv, line 567, in module
main()
  File /usr/bin/unoconv, line 546, in main
convertor.convert(inputfn)
  File /usr/bin/unoconv, line 451, in convert
doc = self.desktop.loadComponentFromURL( inputurl , _blank, 0, inputprops
)
__main__.IllegalArgumentException: URL seems to be an unsupported one.

 I think  that the URL unsupported  is a generic exception  to say that
 there  is no  filter to  open the  document. I  get it  if I  don't have
 -writer installed but maybe there are other conditions.

 Might you also try by moving out your .openoffice and .openoffice.org2?
$ ls -a ~ |grep openoffice
.openoffice.org2/
$ mv ~/.openoffice.org2 ~/.openoffice.org2.bck
$ unoconv -v -f odt curriculum-vitae-dag-wieers.doc
Input file: curriculum-vitae-dag-wieers.doc
file:///home/philippe/tmp/curriculum-vitae-dag-wieers.doc
unoconv: UnoException during conversion: URL seems to be an unsupported one.
The provided document cannot be converted to the desired format.
Traceback (most recent call last):
  File /usr/bin/unoconv, line 567, in module
main()
  File /usr/bin/unoconv, line 546, in main
convertor.convert(inputfn)
  File /usr/bin/unoconv, line 451, in convert
doc = self.desktop.loadComponentFromURL( inputurl , _blank, 0, inputprops
)
__main__.IllegalArgumentException: URL seems to be an unsupported one.

hope this helps,
-- 
Philippe Bourcier  http://bourcier.philippe.online.fr/




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#491456: unoconv: UnoException during conversion: URL seems to be an unsupported one.

2008-07-23 Thread Vincent Bernat
OoO  En cette nuit  nuageuse du  mercredi 23  juillet 2008,  vers 00:23,
[EMAIL PROTECTED] disait :

  $ unoconv -v -f odt philippe_bourcier.rtf
  Input file: philippe_bourcier.rtf
  file:///home/philippe/data/cv/philippe_bourcier.rtf
  unoconv:  UnoException   during  conversion:   URL  seems  to   be  an
  unsupported one.
 
 Do you have  openoffice.org-writer installed?

 $ aptitude search openoffice.org-writer
 i openoffice.org-writer - OpenOffice.org office suite - word processor
 i openoffice.org-writer2latex - Writer/Calc to LaTeX/XHTML converter extension
 for OpenOffice.org

I noticed that you have previously tried  on a pdf instead of a doc. May
you try this one:
 http://dag.wieers.com/cv/curriculum-vitae-dag-wieers.doc

I think  that the URL unsupported  is a generic exception  to say that
there  is no  filter to  open the  document. I  get it  if I  don't have
-writer installed but maybe there are other conditions.

Might you also try by moving out your .openoffice and .openoffice.org2?

Thanks.
-- 
I WILL NOT FAKE SEIZURES
I WILL NOT FAKE SEIZURES
I WILL NOT FAKE SEIZURES
-+- Bart Simpson on chalkboard in episode 8F23


pgp0Gzi3rgPA4.pgp
Description: PGP signature


Bug#491456: unoconv: UnoException during conversion: URL seems to be an unsupported one.

2008-07-22 Thread buffalo . phil
  hello,

Quoting Vincent Bernat [EMAIL PROTECTED]:

 OoO Pendant  le journal t�l�vis� du  lundi 21 juillet  2008, vers 20:11,

  bah oui, il y a mieux � faire ;)

 [EMAIL PROTECTED] disait�:

  $ unoconv -v -f odt philippe_bourcier.rtf
  Input file: philippe_bourcier.rtf
  file:///home/philippe/data/cv/philippe_bourcier.rtf
  unoconv:  UnoException   during  conversion:   URL  seems  to   be  an
  unsupported one.

 Do you have  openoffice.org-writer installed?

$ aptitude search openoffice.org-writer
i openoffice.org-writer - OpenOffice.org office suite - word processor
i openoffice.org-writer2latex - Writer/Calc to LaTeX/XHTML converter extension
for OpenOffice.org

thank you,
-- 
Philippe Bourcier  http://bourcier.philippe.online.fr/






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#491456: unoconv: UnoException during conversion: URL seems to be an unsupported one.

2008-07-22 Thread buffalo . phil
re,

Quoting Vincent Bernat [EMAIL PROTECTED]:

 tag 491456 + unreproducible moreinfo
 thanks

 OoO Lors de  la soir�e naissante du samedi 19  juillet 2008, vers 17:32,
 System Administrator [EMAIL PROTECTED] disait�:

  $ LANG=en_us.UTF-8 unoconv -v -f odt philippe_bourcier.rtf
  Input file: philippe_bourcier.rtf
  unoconv: UnoException during conversion: URL seems to be an unsupported
  one.
  The provided document cannot be converted to the desired format.

 Does this bug happens on any document or just on some of them?

  I found one example where unoconv (0.3-3) works:

$ unoconv -v -f odt  chiaranai_bourcier.rtf
Input file: chiaranai_bourcier.rtf
Selected output format: Open Document Text [.odt]
Selected ooffice filter: writer8
Used doctype: document
Output file: chiaranai_bourcier.odt

hope this helps,
-- 
Philippe Bourcier  http://bourcier.philippe.online.fr/





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#491456: unoconv: UnoException during conversion: URL seems to be an unsupported one.

2008-07-21 Thread buffalo . phil
hello,

Quoting Vincent Bernat [EMAIL PROTECTED]:

 tag 491456 + unreproducible moreinfo
 thanks

 OoO Lors de  la soir�e naissante du samedi 19  juillet 2008, vers 17:32,
 System Administrator [EMAIL PROTECTED] disait�:

  $ LANG=en_us.UTF-8 unoconv -v -f odt philippe_bourcier.rtf
  Input file: philippe_bourcier.rtf
  unoconv: UnoException during conversion: URL seems to be an unsupported
  one.
  The provided document cannot be converted to the desired format.

 Hi!

 Does this bug happens on any document or just on some of them?

  see below

 Could you please add raise  on line 486 of /usr/bin/unoconv and print
 inputurl between lines 449 and 450 to get more information? I have also
 attached a patch that does the same thing.

  sure:

$ unoconv -v -f odt philippe_bourcier.rtf
Input file: philippe_bourcier.rtf
file:///home/philippe/data/cv/philippe_bourcier.rtf
unoconv: UnoException during conversion: URL seems to be an unsupported one.
The provided document cannot be converted to the desired format.
Traceback (most recent call last):
  File /usr/bin/unoconv, line 566, in module
main()
  File /usr/bin/unoconv, line 545, in main
convertor.convert(inputfn)
  File /usr/bin/unoconv, line 451, in convert
doc = self.desktop.loadComponentFromURL( inputurl , _blank, 0, inputprops
)
__main__.IllegalArgumentException: URL seems to be an unsupported one.

  now, with another file:

$ wget http://dag.wieers.com/cv/curriculum-vitae-dag-wieers.pdf
--2008-07-21 20:03:07-- 
http://dag.wieers.com/cv/curriculum-vitae-dag-wieers.pdf
R�solution de dag.wieers.com... 62.213.193.164
Connexion vers dag.wieers.com|62.213.193.164|:80...connect�.
requ�te HTTP transmise, en attente de la r�ponse...200 OK
Longueur: 378569 (370K) [application/pdf]
Saving to: `curriculum-vitae-dag-wieers.pdf'

100%[==] 378 569 42,7K/s   in 7,4s

2008-07-21 20:03:26 (50,1 KB/s) - � curriculum-vitae-dag-wieers.pdf � sauvegard�
[378569/378569]

$ unoconv -v -f odt curriculum-vitae-dag-wieers.pdf
Input file: curriculum-vitae-dag-wieers.pdf
file:///home/philippe/tmp/curriculum-vitae-dag-wieers.pdf
unoconv: UnoException during conversion: URL seems to be an unsupported one.
The provided document cannot be converted to the desired format.
Traceback (most recent call last):
  File /usr/bin/unoconv, line 566, in module
main()
  File /usr/bin/unoconv, line 545, in main
convertor.convert(inputfn)
  File /usr/bin/unoconv, line 451, in convert
doc = self.desktop.loadComponentFromURL( inputurl , _blank, 0, inputprops
)
__main__.IllegalArgumentException: URL seems to be an unsupported one.

thanks,
-- 
Philippe Bourcier  http://bourcier.philippe.online.fr/





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#491456: unoconv: UnoException during conversion: URL seems to be an unsupported one.

2008-07-21 Thread Vincent Bernat
OoO Pendant  le journal télévisé du  lundi 21 juillet  2008, vers 20:11,
[EMAIL PROTECTED] disait :

 $ unoconv -v -f odt philippe_bourcier.rtf
 Input file: philippe_bourcier.rtf
 file:///home/philippe/data/cv/philippe_bourcier.rtf
 unoconv:  UnoException   during  conversion:   URL  seems  to   be  an
 unsupported one.

Do you have  openoffice.org-writer installed? If not, I  think this will
fix the  bug. If yes, I  will add them as  Recommends and add  a note in
README.Debian.
-- 
I AM NOT THE NEW DALAI LAMA
I AM NOT THE NEW DALAI LAMA
I AM NOT THE NEW DALAI LAMA
-+- Bart Simpson on chalkboard in episode 5F17


pgpTxcm1MgsAw.pgp
Description: PGP signature


Bug#491456: unoconv: UnoException during conversion: URL seems to be an unsupported one.

2008-07-19 Thread System Administrator
Package: unoconv
Version: 0.3-3
Severity: important


hello,

$ LANG=en_us.UTF-8 unoconv -v -f odt philippe_bourcier.rtf
Input file: philippe_bourcier.rtf
unoconv: UnoException during conversion: URL seems to be an unsupported
one.
The provided document cannot be converted to the desired format.

$ pydb unoconv -v -f odt  philippe_bourcier.rtf 
(/usr/bin/unoconv:17):  module
17 import getopt, sys, os, glob, time
(Pydb) continue
Input file: philippe_bourcier.rtf
unoconv: UnoException during conversion: URL seems to be an unsupported
one.
The provided document cannot be converted to the desired format.
The program exited via sys.exit(). Exit status: 0
(/usr/bin/unoconv:17):  module
17 import getopt, sys, os, glob, time
(Pydb) 


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

Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, [EMAIL PROTECTED] (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages unoconv depends on:
ii  python2.5.2-1An interactive high-level object-o
ii  python-uno1:2.4.1-6  Python interface for OpenOffice.or

unoconv recommends no packages.

unoconv suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#491456: unoconv: UnoException during conversion: URL seems to be an unsupported one.

2008-07-19 Thread Vincent Bernat
tag 491456 + unreproducible moreinfo
thanks

OoO Lors de  la soirée naissante du samedi 19  juillet 2008, vers 17:32,
System Administrator [EMAIL PROTECTED] disait :

 $ LANG=en_us.UTF-8 unoconv -v -f odt philippe_bourcier.rtf
 Input file: philippe_bourcier.rtf
 unoconv: UnoException during conversion: URL seems to be an unsupported
 one.
 The provided document cannot be converted to the desired format.

Hi!

Does this bug happens on any document or just on some of them?

Could you please add raise  on line 486 of /usr/bin/unoconv and print
inputurl between lines 449 and 450 to get more information? I have also
attached a patch that does the same thing.

Thanks.

--- unoconv~	2008-07-19 17:59:12.0 +0200
+++ unoconv	2008-07-19 17:59:25.0 +0200
@@ -447,6 +447,7 @@
 inputprops = ( PropertyValue( Hidden , 0 , True, 0 ), )
 
 inputurl = unohelper.absolutize(self.cwd, unohelper.systemPathToFileUrl(inputfn))
+print inputurl
 doc = self.desktop.loadComponentFromURL( inputurl , _blank, 0, inputprops )
 
 if not doc:
@@ -483,7 +484,7 @@
 error(0, unoconv: UnoException during conversion: %s % e.Message)
 error(0, The provided document cannot be converted to the desired format.)
 exitcode = 1
-
+raise
 except IOException, e:
 error(0, unoconv: IOException during conversion: %s % e.Message)
 error(0, The provided document cannot be exported to %s. % outputfmt)

-- 
 Subject: (no subject)
 Lines: 2
 -+- AC in Guide du Généalogiste Ereinté - J'arrive à poster -+-


pgpawOAGz35LO.pgp
Description: PGP signature