[dev] complement add error in Windows 7 with 64 bit SUN JVM

2010-05-04 Thread Fabio A. Miranda
Hello,

I have a complement that works perfect on any supported OS except in
Windows 7 with SUN JVM with 64 bits. This is the behavior:


C:\Program Files (x86)\OpenOffice?.org 3\program\unopkg.exe add C:
\Users\fabio\AppData?\Local\Temp\UniOffice?\\UniOffice?.oxt  

S e h a p r o d u c i d o u n e r r o r a l h a b i l i t a r : U n i O
f f i c e . j a r

It means an error has been produced while enabling the jar. Using unopkg
GUI it says graphically Could not create Java implementation loader.

The same, exact complement, even matched with MD5 hash works perfect in
Windows XP, 2000, Linux, MacOS. 

Any statement of direction in regards of Windows 7 64 bits with Sun JVM
64 bits support ?

regards,



-- 
Fabio A. Miranda
Enterprise Software
http://www.grupocesa.com/


Re: [dev] Re: programming OpenOffice

2010-01-26 Thread Fabio A. Miranda
Go to: qa.openoffice.org and start by fixing as much bugs as possible.


On Tue, 2010-01-26 at 14:24 +0200, K S wrote:
 I would like to develop for OpenOffice too. I have already done the first
 stage - get the source and build. What is next?
 
 2010/1/26 Michael Stahl michael.st...@sun.com
 
  On 26/01/2010 09:23, Brent Black wrote:
   I would like to help with the programming of OpenOffice.
  
  
  
   Brent Black
  
   blac...@yahoo.com
 
  hi Brent,
 
  please take a look at the wiki pages:
 
  http://wiki.services.openoffice.org/wiki/Development
 
  if you want to be a developer, your first task is to get OOo to build on
  your system. see the Building Guide in the wiki:
 
  http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide
 
  please be aware that OOo is large and complex, and so it is entirely
  possible that you will experience problems. if you do, please ask on this
  mailing list.
 
  regards, michael
 
  --
  If you think about it long enough,
   you'll see that it's obvious. -- Saul Bern
 
 
  -
  To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
  For additional commands, e-mail: dev-h...@openoffice.org
 
 



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Linux 64 unopkg permission denied on /opt but the package is NOT shared

2010-01-25 Thread Fabio A. Miranda
Hello,

On Mon, 2010-01-25 at 09:29 +0100, Juergen Schmidt wrote:
 On 1/25/10 7:35 AM, Fabio A. Miranda wrote:
  HEllo,
 
  I am trying to install a non-privildged UNO package (that is, a non
  -shared package) on Ubuntu 64.
 
  I do not understand why the above commands tries to try OO Berkeley DB
  if the package is NOT shared ? Why the above command is NOT writting
  exclusively in /home/fabio/.openoffice.org/... ?
 the db is always open for reading. The gui shows you information about 
 all installed extensions.
 The question is more why you can't open the db. Can you check the 
 permission of this file in your installation?

I did a reinstall of OOO in Ubuntu and now the error is different.

From a Java application I do a call with ProcessBuilder:

pb.command(/bin/bash,-c,/opt/openoffice3/program/unopkg
gui /path/to/Complement.oxt);

And the error I get is:
2010-01-25 03:17:21,703 INFO  hiloEjecutor - Ejecutando el
comando: /opt/openoffice.org3/program/unopkg
gui /tmp/UniOffice//sun-modern-template-all-platforms.oxt
2010-01-25 03:17:25,382 INFO  hiloEjecutor - Salida de binario: 
2010-01-25 03:17:25,383 INFO  hiloEjecutor - Salida de binario: ERROR:
URP-Bridge: disposed(tid=5) Unexpected connection closure
2010-01-25 03:17:25,383 INFO  hiloEjecutor - Salida de binario: 
2010-01-25 03:17:25,383 INFO  hiloEjecutor - Salida de binario: unopkg
failed.
2010-01-25 03:17:25,383 INFO  hiloEjecutor - Binario salió con código de
error (Usualmente = 0=éxito): 1


What's this new error about ?

thanks,

fabio.




-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Linux 64 unopkg permission denied on /opt but the package is NOT shared

2010-01-25 Thread Fabio A. Miranda
Hello,

Some additional info:

On Mon, 2010-01-25 at 09:29 +0100, Juergen Schmidt wrote:
 On 1/25/10 7:35 AM, Fabio A. Miranda wrote:
  HEllo,
 
  I am trying to install a non-privildged UNO package (that is, a non
  -shared package) on Ubuntu 64.
 
  I do not understand why the above commands tries to try OO Berkeley DB
  if the package is NOT shared ? Why the above command is NOT writting
  exclusively in /home/fabio/.openoffice.org/... ?
 the db is always open for reading. The gui shows you information about 
 all installed extensions.
 The question is more why you can't open the db. Can you check the 
 permission of this file in your installation?
 

fa...@catullus:~$ /opt/openoffice.org3/program/unopkg
gui /tmp/UniOffice/UniOffice.oxt 

ERROR: URP-Bridge: disposed(tid=5) Unexpected connection closure

unopkg failed.

fa...@catullus:~$ strace /opt/openoffice.org3/program/unopkg
gui /tmp/UniOffice/UniOffice.oxt 21 | grep ENO
[...]
lstat(/home/fabio/.openoffice.org/3/user/uno_packages, 0x7fffd5de4800)
= -1 ENOENT (No such file or directory)
access(/home/fabio/.openoffice.org/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registry,
 F_OK) = -1 ENOENT (No such file or directory)
access(/home/fabio/.openoffice.org/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registry,
 F_OK) = -1 ENOENT (No such file or directory)
access(/opt/openoffice.org3/share/registry/data/org/openoffice/Setup.xcu, 
F_OK) = -1 ENOENT (No such file or directory)
access(/opt/openoffice.org3/share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registry/data/org/openoffice/Setup.xcu,
 F_OK) = -1 ENOENT (No such file or directory)
access(/home/fabio/.openoffice.org/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registry/data/org/openoffice/Setup.xcu,
 F_OK) = -1 ENOENT (No such file or directory)
access(/opt/openoffice.org3/share/registry/data/org/openoffice/Setup.xcu, 
F_OK) = -1 ENOENT (No such file or directory)
access(/opt/openoffice.org3/share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registry/data/org/openoffice/Setup.xcu,
 F_OK) = -1 ENOENT (No such file or directory)
access(/home/fabio/.openoffice.org/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registry/data/org/openoffice/Setup.xcu,
 F_OK) = -1 ENOENT (No such file or directory)
open(/opt/openoffice.org/basis3.1/share/registry/modules/org/openoffice/ucb/Configuration,
 O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or 
directory)
access(/opt/openoffice.org/basis3.1/share/registry/res/es/org/openoffice/ucb/Configuration.xcu,
 F_OK) = -1 ENOENT (No such file or directory)
access(/opt/openoffice.org3/share/registry/data/org/openoffice/ucb/Configuration.xcu,
 F_OK) = -1 ENOENT (No such file or directory)
open(/opt/openoffice.org3/share/registry/modules/org/openoffice/ucb/Configuration,
 O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or 
directory)
access(/opt/openoffice.org3/share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registry/data/org/openoffice/ucb/Configuration.xcu,
 F_OK) = -1 ENOENT (No such file or directory)
access(/home/fabio/.openoffice.org/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registry/data/org/openoffice/ucb/Configuration.xcu,
 F_OK) = -1 ENOENT (No such file or directory)
access(/home/fabio/.openoffice.org/3/user/registry/data/org/openoffice/ucb/Configuration.xcu,
 F_OK) = -1 ENOENT (No such file or directory)
access(/opt/openoffice.org3/share/registry/data/org/openoffice/ucb/Configuration.xcu,
 F_OK) = -1 ENOENT (No such file or directory)
access(/opt/openoffice.org3/share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registry/data/org/openoffice/ucb/Configuration.xcu,
 F_OK) = -1 ENOENT (No such file or directory)
access(/home/fabio/.openoffice.org/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registry/data/org/openoffice/ucb/Configuration.xcu,
 F_OK) = -1 ENOENT (No such file or directory)
stat(/home/fabio/.openoffice.org/3/user/registry/data/org/openoffice/ucb/Configuration.xcu,
 0x7fffd5deccb0) = -1 ENOENT (No such file or directory)
access(/tmp/OSL_PIPE_1000_63ca94f34a7f99c77034e227e4f5f8dc4eff55c4c0a6fc3bf426d4d5269bce6,
 F_OK) = -1 ENOENT (No such file or directory)
access(/tmp/OSL_PIPE_1000_63ca94f34a7f99c77034e227e4f5f8dc4eff55c4c0a6fc3bf426d4d5269bce6,
 F_OK) = -1 ENOENT (No such file or directory)
access(/tmp/OSL_PIPE_1000_63ca94f34a7f99c77034e227e4f5f8dc4eff55c4c0a6fc3bf426d4d5269bce6,
 F_OK) = -1 ENOENT (No such file or directory)
access(/tmp

[dev] Problems creating a Clipart extension

2010-01-24 Thread Fabio A. Miranda
Hello,

I am creating a Clipart extension for OO. I know how to create en
extension for a couple of clipart.

1. Open the image file you want to include in the clipart, in a Draw
document
2. Tools - Gallery
3. Create a new theme named foo
4. Drag and drop the document you just opened inside Foo gallery foldes
within Gallery Frame.
5. The files .sdg, .sdv and .thm are just created including the binary
image instead of a filesystem link (useless for a extension intented to
be redistributable)

My question is, let's say I need to include 2000 cliparts in this
extension? how to do this automatically?

If i go to tools - clipart, then open Foo and add all 2000 images
files, it will work, but the extension will hold a link to the images
instead of the binary data.

Thanks in advance,




-- 
Fabio A. Miranda
Enterprise Software
http://www.grupocesa.com/


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Linux 64 unopkg permission denied on /opt but the package is NOT shared

2010-01-24 Thread Fabio A. Miranda
HEllo,

I am trying to install a non-privildged UNO package (that is, a non
-shared package) on Ubuntu 64.

I do not understand why the above commands tries to try OO Berkeley DB
if the package is NOT shared ? Why the above command is NOT writting
exclusively in /home/fabio/.openoffice.org/... ?

fa...@catullus:~$ uname -a
Linux catullus 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC
2009 x86_64 GNU/Linux

fa...@catullus:~$ /opt/openoffice.org3/program/unopkg
gui /tmp/UniOffice/UniOffice.oxt 

ERROR:
[/opt/openoffice.org3/program/../share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registered_packages.db]
 Berkeley Db error (0): Db::open: Permission denied

unopkg failed.

fa...@catullus:~$ strace /opt/openoffice.org3/program/unopkg
gui /tmp/UniOffice/UniOffice.oxt 21 
[...]

lstat(/opt/openoffice.org, {st_mode=S_IFDIR|0755, st_size=4096, ...})
= 0
lstat(/opt/openoffice.org/basis3.1, {st_mode=S_IFDIR|0755,
st_size=4096, ...}) = 0
lstat(/opt/openoffice.org/basis3.1/program, {st_mode=S_IFDIR|0755,
st_size=20480, ...}) = 0
lstat(/opt/openoffice.org/basis3.1/program/unorc, {st_mode=S_IFREG|
0444, st_size=501, ...}) = 0
access(/opt/openoffice.org/basis3.1/program/unorc, F_OK) = 0
access(/opt/openoffice.org3/program/../share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend,
 F_OK) = 0
lstat(/opt/openoffice.org3/program/../share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend,
 {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access(/opt/openoffice.org3/program/../share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend,
 F_OK) = 0
lstat(/opt/openoffice.org3/program/../share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend,
 {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open(/proc/stat, O_RDONLY|O_CLOEXEC)  = 37
read(37, cpu  393597 69568 504671 6021500..., 8192) = 1254
close(37)   = 0
stat(/opt/openoffice.org3/program/../share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registered_packages.db,
 {st_mode=S_IFREG|0644, st_size=12288, ...}) = 0
open(/opt/openoffice.org3/program/../share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registered_packages.db,
 O_RDWR) = -1 EACCES (Permission denied)
open(/opt/openoffice.org3/program/../share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registered_packages.db,
 O_RDWR) = -1 EACCES (Permission denied)
open(/opt/openoffice.org3/program/../share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registered_packages.db,
 O_RDWR) = -1 EACCES (Permission denied)
futex(0x13b9244, FUTEX_CMP_REQUEUE_PRIVATE, 1, 2147483647, 0x13b9270, 2)
= 1
write(2, \nERROR: [/opt/openoffice.org3/pr..., 216
ERROR:
[/opt/openoffice.org3/program/../share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registered_packages.db]
 Berkeley Db error (0): Db::open: Permission denied
) = 216
write(2, \nunopkg failed.\n, 16
unopkg failed.
)  = 16
open(/opt/openoffice.org/ure/lib/bridgefac.uno.so, O_RDONLY) = 37

If the argument do NOT include --shared, it assumes it not a shared
extension correct ?

Can anyone bring some light to this behavoir found in Linux ?

regards,



-- 
Fabio A. Miranda
Enterprise Software
http://www.grupocesa.com/


Re: [dev] Problems creating a Clipart Gallery extension

2010-01-23 Thread Fabio A. Miranda
On Sat, 2010-01-23 at 16:57 +0100, Oliver Brinzing wrote:
 Hi Fabio,
 
  I am creating a Clipart extension for OO. I know how to create en
 
 haveyou seen 
 http://wiki.services.openoffice.org/wiki/Non-code_extensions#Gallery_Extensions
  ?
 
Yes, I open the .oxt and I add some PNGs files in gallery directorio
inside the .oxt.

I add the complement via unopkg gui and then, I restart OO, go to tools
- gallery and the files are not displayed.

Why is this so complicated/undocumented ?

fabio.


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Problems creating a Clipart Gallery extension

2010-01-22 Thread Fabio A. Miranda
Hello,

I am creating a Clipart extension for OO. I know how to create en
extension for a couple of clipart.

1. Open the image file you want to include in the clipart, in a Draw
document
2. Tools - Gallery
3. Create a new theme named foo
4. Drag and drop the document you just opened inside Foo gallery foldes
within Gallery Frame.
5. The files .sdg, .sdv and .thm are just created including the binary
image instead of a filesystem link (useless for a extension intented to
be redistributable)

My question is, let's say I need to include 2000 cliparts in this
extension? how to do this automatically?

If i go to tools - clipart, then open Foo and add all 2000 images
files, it will work, but the extension will hold a link to the images
instead of the binary data.

Thanks in advance,




-- 
Fabio A. Miranda
Enterprise Software
http://www.grupocesa.com/



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Java UNO Extensions broken in Mac OS X due to Apple AWT Java VM was loaded on first thread -- can't start AWT

2010-01-21 Thread Fabio A. Miranda
Hello,

As I posted earlier, I have a complement that works perfectly in Linux
and Windows but it is broken on Mac. 

In Mac OS X, OO 3.1.1 (ES), the menu extension added with the add-on
appears disabled all the time, sometimes it throws an error:

soffice [1981:903] Apple AWT Java VM was loaded on first thread -- can't
start AWT

According the above bug ( which is NOT closed nor fixed):

http://www.openoffice.org/issues/show_bug.cgi?id=92926

It is document as a problem with Java VM class loader and OO.

What is the solution for this issue ? If OOO has no released a bug, can
aynone provided a workaround at Java coding level ? for example,
prevalidate that AWT is already loaded or something

thanks in advance,

fabio



[dev] Complement not working on Mac OS X but does work on others

2010-01-19 Thread Fabio A. Miranda
Hello,

I am working on a OXT complement that works perfects on Linux and
Windows, almost all versions.

The problems is that, the same OO complement made with OO SDK with
NetBeans, do not works on MAC.

After a common unopkg gui /path/to/complement.OXT it show up the GUI and
it hangs there, show painting one line of the progress bar and it sits
for ever.

Any additional step most be done with Mac OS X snow leopard and UNOPKG ?

thanks,

fabio


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] MacOS UNOPKG error: NSAutoreleaseNoPool(): Object 0x1c0f2f0 of class RemoteControlContainer autoreleased with no pool in place - just leaking

2010-01-13 Thread Fabio A. Miranda
Anyone familiar with above error:

macbook:UniOffice fabio
$ /Applications/OpenOffice.org.app/Contents/program/unopkg
gui /var/folders/-y/-yoCVMk2FhuuUG+xfZdcZU
+++TI/-Tmp-/UniOffice/UniOffice.oxt 
2010-01-13 10:30:00.423 unopkg[302:903] *** __NSAutoreleaseNoPool():
Object 0x1c0f2f0 of class RemoteControlContainer autoreleased with no
pool in place - just leaking
2010-01-13 10:30:00.426 unopkg[302:903] *** __NSAutoreleaseNoPool():
Object 0x1c0f2b0 of class MultiClickRemoteBehavior autoreleased with no
pool in place - just leaking
macbook:UniOffice fabio$ 
macbook:UniOffice fabio$ 


macbook:~ fabio$ uname -a
Darwin macbook.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov  3
10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386
macbook:~ fabio$ 

Looks like a bug to file ?

thanks,




-- 
Fabio A. Miranda
Enterprise Software
http://www.grupocesa.com/


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Launching the Extension update dialog

2010-01-12 Thread Fabio A. Miranda
Hello,

Inside a JAVA OpenOffice complement built with OO SDK and Netbeans, is
it possible to launch the Extension update dialog ?

So, for example, a given Java add-on need to update itself, so it would
be a good idea to use OO platform for such extension update. The
Extension Update dialog seems a perfect option for such task.

is it possible ?

Thanks in advance,


fabio.


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Launching the Extension update dialog

2010-01-12 Thread Fabio A. Miranda
Hello,

 i am not 100% sure if i understand what exactly you want to achieve.
 
 In general you can set a version number and if you provide your oxt 
 extensions via the official extension repository, the update mechanism 
 will automaitcally detect new versions of your oxt if available. The 
 only thing you have to do is to provide a new version in the repository.
 

The automatic mechanism works like a charm. I know it is automatic, but,
let's say you want to trigger it, let's say in a moment, the user want
to know if he/she is update to it within the Complement add-on.

How can I call it from code ? as the same effect as double click on the
right icon of it.

How to launch a UNO dialog from JAVA ?

thanks,

fabio.


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] OO SDK GLIBCXX_3.4.9 not found in Linux Ubuntu

2010-01-12 Thread Fabio A. Miranda
Solved.

What I did was to copy my system's libstdc++.so.6 and put it inside OO
SDK lib dir as appropriated.

and It works. Kinda ugly but it worked



On Mon, 2010-01-11 at 10:33 +0100, Stephan Bergmann wrote:
 On 01/09/10 02:39, Fabio A. Miranda wrote:
  Regarding Ubuntu 64 OO SDK, I am interested in resolve the issue so we
  can provide green light to Ubuntu developer of OO addons.
  
  The problem is the process of add-on creation do not finish correctly,
  this is the error:
  
  r...@catullus:~# uname -a
  Linux catullus 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC
  2009 x86_64 GNU/Linux
  r...@catullus:~# /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker 
  /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker: 
  /opt/openoffice.org/basis3.1/sdk/bin/../../ure-link/lib/libstdc++.so.6: 
  version `GLIBCXX_3.4.9' not found (required by 
  /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker)
  r...@catullus:~# 
 
 Are the packages of OOo itself (incl. file 
 /opt/openoffice.org/ure/lib/libstdc++.so.6) and the OOo SDK package 
 (/opt/openoffice.org/basis3.1/sdk) coming from the same source (either 
 both from your Ubuntu installation, or both from the OOo download site)? 
   Looks like that is not the case (OOo itself coming from the OOo 
 download site, while SDK coming from Ubuntu?).  What should work for 
 you, then, is to remove all libstdc++* and libgcc_s* files from 
 /opt/openoffice.org/ure/lib, so that the---apparently more recent 
 ones---from the system are used instead.
 
 -Stephan
 
 -
 To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
 For additional commands, e-mail: dev-h...@openoffice.org
 



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] OO SDK 3.1.1, NB 6.8, Linux Ubuntu

2010-01-12 Thread Fabio A. Miranda
Good day,

I have posted some thread regarding Linux Ubuntu, NB 6.8, OO SDK 3.1.1
problems while trying to debug an Add-ON in target OO 3.1.0 (es).

The error I posted was one similiar to this:

setting up UNO environment ...
build UNO idl files finished
uno-idl-compile:
init:
Deleting: /home/fabio/NetBeansProjects/UniOffice/build/built-jar.properties
deps-jar:
Updating property
file: /home/fabio/NetBeansProjects/UniOffice/build/built-jar.properties
compile:
Updating property
file: /home/fabio/NetBeansProjects/UniOffice/build/regclass.properties
Updating property
file: /home/fabio/NetBeansProjects/UniOffice/build/regclass.properties
jar:
images:
registry:
Deleting: /home/fabio/NetBeansProjects/UniOffice/dist/UniOffice.oxt
creating UNO extension package ...
Building zip: /home/fabio/NetBeansProjects/UniOffice/dist/UniOffice.oxt
uno-package:
debugging UNO extension package ...
/opt/openoffice.org3/program/unopkg gui
-f /home/fabio/NetBeansProjects/UniOffice/dist/UniOffice.oxt
starting the Office with ...
user installation:
file:///home/fabio/NetBeansProjects/UniOffice/build/soffice_debug
debug options: -Xdebug
-Xrunjdwp:transport=dt_socket,address=catullus:33757
/opt/openoffice.org3/program/soffice
Picked up JAVA_TOOL_OPTIONS: -Xdebug
-Xrunjdwp:transport=dt_socket,address=catullus:33757
ERROR: transport error 202: connect failed: Connection refused
FATAL ERROR in native method: JDWP No transports initialized,
jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
ERROR: JDWP Transport dt_socket failed to initialize,
TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports
initialized [../../../src/share/back/debugInit.c:708]
JavaVM: JNI_CreateJavaVM called _exit, caught by abort_handler in
javavm.cxx
[Java framework] sunjavaplugin.soCan not create JavaVirtualMachine,
abort handler was called.


I came across this post:

http://www.eclipse.org/forums/index.php?t=msggoto=506702;

that mentions the problem is related to Debian systems:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560142#35

Please, any core UNOPKG developer can confirm this ? at least, is the
issue related to networking due to connection refused from the
debugee ?

thanks,

fabio.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] OO SDK GLIBCXX_3.4.9 not found in Linux Ubuntu

2010-01-11 Thread Fabio A. Miranda
hi,

 On Mon, Jan 11, 2010 at 10:33:08AM +0100, Stephan Bergmann wrote:
  r...@catullus:~# /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker 
 
  /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker: 
  /opt/openoffice.org/basis3.1/sdk/bin/../../ure-link/lib/libstdc++.so.6:
^^^
  version `GLIBCXX_3.4.9' not found (required by 
  /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker)
  r...@catullus:~# 
 
  Are the packages of OOo itself (incl. file  
  /opt/openoffice.org/ure/lib/libstdc++.so.6) and the OOo SDK package  
  (/opt/openoffice.org/basis3.1/sdk) coming from the same source (either  
  both from your Ubuntu installation, or both from the OOo download site)?
 
 (Obviously) both are from the download site? Ubuntu doesn't have OOo
 installed in /opt, and neither does it ship a copy of libstdc++6.
  

Exactly. The reason is simple: Create an add-on in NB, and try to run it
with Ubuntu's default version of OO and see it if works.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] OO SDK GLIBCXX_3.4.9 not found in Linux Ubuntu

2010-01-08 Thread Fabio A. Miranda
Hello OO Developers:

Regarding Ubuntu 64 OO SDK, I am interested in resolve the issue so we
can provide green light to Ubuntu developer of OO addons.

The problem is the process of add-on creation do not finish correctly,
this is the error:

r...@catullus:~# uname -a
Linux catullus 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC
2009 x86_64 GNU/Linux
r...@catullus:~# /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker 
/opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker: 
/opt/openoffice.org/basis3.1/sdk/bin/../../ure-link/lib/libstdc++.so.6: version 
`GLIBCXX_3.4.9' not found (required by 
/opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker)
r...@catullus:~# 

This prevent the debugging to take place, anyone know how to solve
this ?

r...@catullus:~# dpkg --get-selections|grep libstd
libstdc++5  install
libstdc++6  install
libstdc++6-4.1-dev  install
libstdc++6-4.4-dev  install
r...@catullus:~# 

thanks in advance,

fabio.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Yet another unopkg error

2010-01-05 Thread Fabio A. Miranda
Good day/yr:

Anyone know what's wrong with unopkg in Ubuntu 64 (karmic):


fa...@catullus:~$ /opt/openoffice.org3/program/unopkg
gui /tmp/UniOffice//UniOffice.oxt 

ERROR:
[/home/fabio/.openoffice.org/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registered_packages.db]
 Berkeley Db error (0): Db::open: Invalid argument

unopkg failed.
fa...@catullus:~$ /opt/openoffice.org3/program/unopkg
gui /tmp/UniOffice/UniOffice.oxt 

ERROR:
[/home/fabio/.openoffice.org/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registered_packages.db]
 Berkeley Db error (0): Db::open: Invalid argument

unopkg failed.
fa...@catullus:~$ /opt/openoffice.org3/program/unopkg
gui /tmp/UniOffice/OOOP-accessories-2.6.0.2.oxt 

ERROR:
[/home/fabio/.openoffice.org/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registered_packages.db]
 Berkeley Db error (0): Db::open: Invalid argument

unopkg failed.
fa...@catullus:~$ file /opt/openoffice.org3/program/unopkg
/opt/openoffice.org3/program/unopkg: POSIX shell script text executable


Thanks,



-- 
Fabio A. Miranda
Enterprise Software
http://www.grupocesa.com/


[dev] Ubuntu OO Extension Manager adding extension error

2009-12-20 Thread Fabio A. Miranda
Hello,

Anyone know what's the reason that a give .OXT works perfect with
default OO installation but in Ubuntu OO 3.1 it reports an error:

(com.sun.star.registry.CannotRegisterImplementationException)
{{ Message=, Context = (com.sun.star.uno.XInterface) @0}}

What is UNO trying to tell me ? As in this example, the message is
empty, how can OO Extension Developer troubleshoot such error ?

Thanks in advance,

fabio.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Ubuntu OO Extension Manager adding extension error

2009-12-20 Thread Fabio A. Miranda
Hello Mechtilde,

 need more information about version of OepnOffice.org and which
 Extension you want to install

This a custom extension tailored to meet diverse customer needs. It
works perfect with OOO on Windows but Ubuntu's integrated OO complaints
about it. The extension is made using OOO SDK for Netbeans.

r...@catullus:/tmp/dump# file UniOffice.oxt 
UniOffice.oxt: Zip archive data, at least v1.0 to extract
r...@catullus:/tmp/dump# unzip UniOffice.oxt 
Archive:  UniOffice.oxt
  inflating: LDAP.properties 
   creating: com/
[...]
  inflating: log4j.properties
   creating: registry/
   creating: registry/data/
   creating: registry/data/org/
   creating: registry/data/org/openoffice/
   creating: registry/data/org/openoffice/Office/
  inflating: registry/data/org/openoffice/Office/Addons.xcu  
  inflating: registry/data/org/openoffice/Office/ProtocolHandler.xcu  
  inflating: description.xml 
  inflating: UniOffice.jar   
   creating: lib/
  inflating: lib/AbsoluteLayout.jar  
  inflating: lib/log4j-1.2.15.jar
 [...]
   creating: META-INF/
  inflating: META-INF/manifest.xml   
r...@catullus:/tmp/dump# cat description.xml 
?xml version=1.0 encoding=UTF-8?
!--Created with OpenOffice.org API plug-in for NetBeans Version
2.0.4--
description xmlns=http://openoffice.org/extensions/description/2006;
xmlns:xlink=http://www.w3.org/1999/xlink;
update-information
src xlink:href=http://XXX/UniOffice.update.xml; /
src xlink:href=http://XXX/UniOffice.update.xml; /
/update-information
version value=0.0.1/
identifier value=com.XXX.UniOffice/
display-name
name lang=enXXX/name
/display-name
publisher
name lang=en xlink:href=XX/name
/publisher
icon
default xlink:href=images/XXX/
/icon
/description
r...@catullus:/tmp/dump# 

Thanks,

fabio.


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Ubuntu OO Extension Manager adding extension error

2009-12-20 Thread Fabio A. Miranda
Hello,

 you should check the used Java version.
 
 The error says that the extension cannot be instantiated (loaded). In 
 this case it means probably that the jar can't be loaded.
 
 Did you use any third party stuff?
 

Sounds like Ubuntu comes with OpenJDK alternative preinstall, this
error is reported using:

fa...@catullus:~$ java -version
java version 1.6.0_0
OpenJDK Runtime Environment (IcedTea6 1.6.1) (6b16-1.6.1-3ubuntu1)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
fa...@catullus:~$ 

thanks,

fabio


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org