[dev] How to access Bibliography Database with python-uno?
Please bear with me-newbie. While there is a fragment of example that querying Bibliography database in java in Develop Guide, I am failed to convert it into python. The example uses a getRemoteServiceManager to create a RemoteServiceManager, but I do not know which should be corresponding in python-uno. My script is: import uno local = uno.getComponentContext() resolver = local.ServiceManager.createInstanceWithContext(com.sun.star.bridge.UnoUrlResolver, local) context = resolver.resolve(uno:socket,host=localhost,port=2083;urp;StarOffice.ServiceManager) It tells me that com.sun.star.connection.NoConnectException: Connector : couldn't connect to socket (Success) Any one can help me to correct the error or provider an example to access bibliography database directly?
Re: [dev] need install the built version before debug?
While I set LOCALINSTALLDIR use export LOCALINSTALLDIR=/mydrictory , only ure module was delivered, even the PKGFORMAT was installed or deb as original. If I don't set the LOCALINSTALLDIR, the whole modules were generated under the default directory fine. Is this natural or I have some mistakes? 2009/8/13 huang huang oooext...@gmail.com Hi Ariel, Thanks for your help. I found out the mistake. I have reset environment variables LOCALINSTALLDIR and PKGFORMAT, but I have run make instead dmake, which would invoke source LinuxEnv*.sh again. While the dmake process finished in the $LOCALINSTALLDIR directory I can only find a openoffice.org directory with ure subdirectory. There are bin, lib and share three subdirectories under the ure directory. In the bin directory, I found some shell scripts, but I can't invoke them directly. I don't know how to invoke the application now. Regards 2009/8/13 Ariel Constenla-Haile ariel.constenla.ha...@googlemail.com Hello huang, On Wednesday 12 August 2009, 23:49, huang huang wrote: Hi everyone, I have built the OOo successfully, and read some development guide, but I am still not sure whether need to install the built version before debug? Is there any trick to run the building result without install them, just like some other simple application? you mean like running ./soffice from the solver? that is cd solver/300/unxlngx6/bin ./soffice No, you can't do this. But you can set PKGFORMAT=installed (see http://www.openoffice.org/servlets/ReadMsg?list=devmsgNo=25295 ) or install in parallel from the RPMs[DEBs] in instsetoo_native/unxlngx6/OpenOffice/rpm/install/en-US/RPMS, in your home dir (see http://wiki.services.openoffice.org/wiki/Run_OOo_versions_parallel ) Regards -- Ariel Constenla-Haile La Plata, Argentina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] need install the built version before debug?
Hi Ariel, Thanks for your help. I found out the mistake. I have reset environment variables LOCALINSTALLDIR and PKGFORMAT, but I have run make instead dmake, which would invoke source LinuxEnv*.sh again. While the dmake process finished in the $LOCALINSTALLDIR directory I can only find a openoffice.org directory with ure subdirectory. There are bin, lib and share three subdirectories under the ure directory. In the bin directory, I found some shell scripts, but I can't invoke them directly. I don't know how to invoke the application now. Regards 2009/8/13 Ariel Constenla-Haile ariel.constenla.ha...@googlemail.com Hello huang, On Wednesday 12 August 2009, 23:49, huang huang wrote: Hi everyone, I have built the OOo successfully, and read some development guide, but I am still not sure whether need to install the built version before debug? Is there any trick to run the building result without install them, just like some other simple application? you mean like running ./soffice from the solver? that is cd solver/300/unxlngx6/bin ./soffice No, you can't do this. But you can set PKGFORMAT=installed (see http://www.openoffice.org/servlets/ReadMsg?list=devmsgNo=25295 ) or install in parallel from the RPMs[DEBs] in instsetoo_native/unxlngx6/OpenOffice/rpm/install/en-US/RPMS, in your home dir (see http://wiki.services.openoffice.org/wiki/Run_OOo_versions_parallel ) Regards -- Ariel Constenla-Haile La Plata, Argentina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Does building openoffice need kde?
Hi Ariel, Thanks for your help. I have checkout DEV300_m54 and built it successfully. Thanks 2009/8/11 Ariel Constenla-Haile ariel.constenla.ha...@googlemail.com Hello huang, On Tuesday 11 August 2009, 01:24, huang huang wrote: Hi, Got OOo's source code from svn://svn.services.openoffice.org/ooo/trunk, any special reason why you're trying to build trunk? Different from other projects (like KDE, where they advice people trying to learn/hack their source code to build from trunk), in OOo its AFAIK suggested to build the latest development build (or the latest stable build depending on what you're trying to do) which is DEV300_m54 http://svn.services.openoffice.org/ooo/tags/DEV300_m54/ . while I run ./configure, it gave messages: Possible unintended interpolation of @ENABLE_KDE4 in string at ./set_soenv line 1693. Possible unintended interpolation of @KDE4_CFLAGS in string at ./set_soenv line 1694. Possible unintended interpolation of @KDE4_LIBS in string at ./set_soenv line 1695. Possible unintended interpolation of @MOC4 in string at ./set_soenv line 1696. Global symbol @ENABLE_KDE4 requires explicit package name at ./set_soenv line 1693. Global symbol @KDE4_CFLAGS requires explicit package name at ./set_soenv line 1694. Global symbol @KDE4_LIBS requires explicit package name at ./set_soenv line 1695. Global symbol @MOC4 requires explicit package name at ./set_soenv line 1696. Execution of ./set_soenv aborted due to compilation errors. mmm I never had to autoreconf, simply use the configure I checked out. But ]$ autoreconf -i and then ]$ ./configure let me right now pass configure from trunk I tested with these switchs ./configure --with-use-shell=bash --disable-qadevooo --enable-crashdump=yes --enable-cairo --with-system-cairo --enable-opengl --enable-kde --disable- kdeab --with-package-format=rpm --with-mingwin=i686-pc-mingw32-g++ I am not sure what these mean, but I can't continue my building work. Is there anyone can help you? autoreconf'ing may help you (but as I never need it before, I guess you shouldn't need to run it, just use instead the configure they provide). If not, try updating the configure script, or try with the latest tag instead of trunk. This KDE4 stuff is from the integration of kde4int CWS, so sure when DEV300_m55 is ready your issue will be gone. Ah, to your question Does building openoffice need kde? No, only if you pass to configure --enable-kdefor KDE 3 integration --enable-kde4 for KDE 4 integration --enable-kdeabfor KDE [3] addressbook SDBC driver Regards -- Ariel Constenla-Haile La Plata, Argentina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] need install the built version before debug?
Hi everyone, I have built the OOo successfully, and read some development guide, but I am still not sure whether need to install the built version before debug? Is there any trick to run the building result without install them, just like some other simple application?
[dev] Does building openoffice need kde?
Hi, Got OOo's source code from svn://svn.services.openoffice.org/ooo/trunk, while I run ./configure, it gave messages: Possible unintended interpolation of @ENABLE_KDE4 in string at ./set_soenv line 1693. Possible unintended interpolation of @KDE4_CFLAGS in string at ./set_soenv line 1694. Possible unintended interpolation of @KDE4_LIBS in string at ./set_soenv line 1695. Possible unintended interpolation of @MOC4 in string at ./set_soenv line 1696. Global symbol @ENABLE_KDE4 requires explicit package name at ./set_soenv line 1693. Global symbol @KDE4_CFLAGS requires explicit package name at ./set_soenv line 1694. Global symbol @KDE4_LIBS requires explicit package name at ./set_soenv line 1695. Global symbol @MOC4 requires explicit package name at ./set_soenv line 1696. Execution of ./set_soenv aborted due to compilation errors. I am not sure what these mean, but I can't continue my building work. Is there anyone can help you? I am working under ubuntu 9.04.