Re: [dev] Extension Manager [was: Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java]

2007-02-12 Thread Stephan Bergmann

Rony G. Flatscher wrote:

Hi there,

sorry, was away for a week with no access to e-mail, hence my late answer:


[However, the Extension manager on the tools menu does not work
either in this version; it does from the commandline, though, ie.
unopkg works there.]

What is broken with the extension manager?

It does not come up (nor in the genuine OOo installation). I have Sun's
Java installed and activated. Will look into this once more to make
sure
that my scripts did not alter the standard installation.

You mean you select Tools - Extension Manager but no dialog
appears? That's strange.  It should not have anything to do with
Java.  Probably Joachim Lingner (jl at ooo) is interested in that, as
he maintains the extension manager.

The Extension Manager Dialog is contained in a service. This service
is used when starting the Etension Manager from the Tools menu or when
runngin unopkg gui. You mentioned that unopkg works, does that mean
unopkg add / remove works  and unopkg gui as well ?


O.K. unopkg runs in command line mode, but not in gui mode; running
unopkg gui yields:

ERROR: (com.sun.star.lang.WrappedTargetRuntimeException) { { { Message
= [context=\user\] caught unexpected exception!, Context =
(com.sun.star.uno.XInterface) @0 } }, TargetException = (any) {
(com.sun.star.ucb.InteractiveAugmentedIOException) { { { { Message = an
error occured during file opening, Context =
(com.sun.star.uno.XInterface) @-4b009aa0 (ImplementationName =
com.sun.star.comp.ucb.FileContent) }, Classification =
(com.sun.star.task.InteractionClassification) ERROR }, Code =
(com.sun.star.ucb.IOErrorCode) ACCESS_DENIED }, Arguments = ([]any) { {
(com.sun.star.beans.PropertyValue) { Name = Uri, Handle = (long) -1,
Value = (any) {
file:///home/rony/.openoffice.org2/user/uno_packages/cache/log.txt },
State = (com.sun.star.beans.PropertyState) DIRECT_VALUE } }, {
(com.sun.star.beans.PropertyValue) { Name = ResourceName, Handle =
(long) -1, Value = (any) {
/home/rony/.openoffice.org2/user/uno_packages/cache/log.txt }, State =
(com.sun.star.beans.PropertyState) DIRECT_VALUE } } } } } }

unopkg failed.

Hope that helps, regards,


Hm, if the error message tells the truth, there is some problem 
accessing that log.txt file.  I assume you are on Linux; you could try


  strace -f ./unopkg gui

and grep for log.txt on stderr to see if there are indeed any problems. 
 (If a non-gui ./unopkg list does not fail, similar data for strace 
-f ./unopkg list would also be interesting.)


-Stephan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Extension Manager [was: Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java]

2007-02-12 Thread Rony G. Flatscher
Hi there,
 Hm, if the error message tells the truth, there is some problem
 accessing that log.txt file.  I assume you are on Linux; you could try

   strace -f ./unopkg gui
O.K. it is 1,8 MB large, so I would not like to attach it to this
e-mail. I can zip-it up and send it to you via direct e-mail, otherwise
please advise.

 and grep for log.txt on stderr to see if there are indeed any
 problems.  (If a non-gui ./unopkg list does not fail, similar data
 for strace -f ./unopkg list would also be interesting.)
Running ./unopkg list yields the same error it seems, whereas
./unopkg list --shared works. Again, if it helps to create anothe
strace for the failing version, please advise.

---rony

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Extension Manager [was: Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java]

2007-02-12 Thread Rony G. Flatscher

 O.K. it is 1,8 MB large, so I would not like to attach it to this
 e-mail. I can zip-it up and send it to you via direct e-mail, otherwise
 please advise.

 Only of interest are lines containing log.txt.  Should be few enough
 to post inline.  (Also, does an ls -l on that log.txt file show any
 anomalies?)
Ad ls -l log.txt: just noticed that the owner and group is root! So
here is the entire listing:

[EMAIL PROTECTED]:~/.openoffice.org2/user/uno_packages/cache$ ls -al
insgesamt 32
drwxr-xr-x 4 rony rony  4096 2007-02-12 13:18 .
drwxr-xr-x 3 rony rony  4096 2007-01-20 22:41 ..
-rw-r--r-- 1 root root   212 2007-02-04 12:46 log.txt
drwxr-xr-x 6 root root  4096 2007-02-03 22:51 registry
-rw-r--r-- 1 rony rony 1 2007-02-12 13:18 stamp
drwxr-xr-x 2 root root  4096 2007-02-03 22:51 uno_packages
-rw-r--r-- 1 root root 12288 2007-02-04 12:46 uno_packages.db
[EMAIL PROTECTED]:~/.openoffice.org2/user/uno_packages/cache$ 
  

Not sure, how this came into being though. Did a normal install (using
alien to turn the rpm packages into deb ones and installing the deb
packages)..

Changing owner and group to rony (recursively) solved the problem: all
variants of unopkg as well as Tools-Extension Manager work now!

Regards,

---rony



Re: [dev] Extension Manager [was: Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java]

2007-02-12 Thread Rony G. Flatscher
Hi Roderick,

 http://www.openoffice.org/issues/show_bug.cgi?id=54163 as mentioned in
 the Debian section of 
 http://documentation.openoffice.org/setup_guide2/2.x/en/SETUP_GUIDE.pdf ?
   
thank you for the links, and indeed, it seems that this is the same bug
(even 18 months later). [Will look into the version of alien that I
have used as the docs indicate (so it seems) that the bug should have
been removed after v8.50.]

Regards,

---rony


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Extension Manager [was: Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java]

2007-02-06 Thread Joachim Lingner

Stephan Bergmann wrote:

Rony G. Flatscher wrote:

Hi Stephan,

The Ubuntu layout you described in a previous mail (libs in
/usr/lib/openoffice/program, jars in /usr/share/java/openoffice)
cannot work (at least not without some modifications to the OOo code
base). Not sure why Ubuntu decided to ship a broken OOo (maybe they
are not even aware of it, maybe you can file them an issue).

Well, ashok seems to be able to deploy the Java program, if it is
embedded in a jar-file, it seems. So not sure yet, why it works there
and not here. Will have to look further into this.


[However, the Extension manager on the tools menu does not work
either in this version; it does from the commandline, though, ie.
unopkg works there.]

What is broken with the extension manager?

It does not come up (nor in the genuine OOo installation). I have Sun's
Java installed and activated. Will look into this once more to make sure
that my scripts did not alter the standard installation.


You mean you select Tools - Extension Manager but no dialog appears? 
That's strange.  It should not have anything to do with Java.  Probably 
Joachim Lingner (jl at ooo) is interested in that, as he maintains the 
extension manager.


The Extension Manager Dialog is contained in a service. This service is 
used when starting the Etension Manager from the Tools menu or when 
runngin unopkg gui. You mentioned that unopkg works, does that mean 
unopkg add / remove works  and unopkg gui as well ?


Joachim


-Stephan


Regards,

---rony


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] Extension Manager [was: Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java]

2007-02-05 Thread Stephan Bergmann

Rony G. Flatscher wrote:

Hi Stephan,

The Ubuntu layout you described in a previous mail (libs in
/usr/lib/openoffice/program, jars in /usr/share/java/openoffice)
cannot work (at least not without some modifications to the OOo code
base). Not sure why Ubuntu decided to ship a broken OOo (maybe they
are not even aware of it, maybe you can file them an issue).

Well, ashok seems to be able to deploy the Java program, if it is
embedded in a jar-file, it seems. So not sure yet, why it works there
and not here. Will have to look further into this.


[However, the Extension manager on the tools menu does not work
either in this version; it does from the commandline, though, ie.
unopkg works there.]

What is broken with the extension manager?

It does not come up (nor in the genuine OOo installation). I have Sun's
Java installed and activated. Will look into this once more to make sure
that my scripts did not alter the standard installation.


You mean you select Tools - Extension Manager but no dialog appears? 
That's strange.  It should not have anything to do with Java.  Probably 
Joachim Lingner (jl at ooo) is interested in that, as he maintains the 
extension manager.


-Stephan


Regards,

---rony


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]