[dev] Re: [qa-dev] Looking for QA-Rep for cws cloph13 - create backwards compatible builds for Mac by using the developer-sdk during compilation
Hi Aaron, Thorsten, *, thanks for your kind offers :-) - see below On Wed, Sep 2, 2009 at 7:54 PM, Thorsten Behrens wrote: > Christian Lohmaier wrote: >> (i.e. if you have a MAC OSX 10.4 and can check the installset, or if >> you can verify the code changes by themselves,...) > > can test-drive the installset & do the code review; likely no time > though for a proper testtool or tcm qa though. Great - no worries, tinderbox did just finish building the Intel-installset: http://termite.go-oo.org/install_sets/MacIntel-3589-cloph13-install_set.zip Please give it a spin :-) As for code review: Feel free to directly comment in the corresponding issue or in EIS or ping me on IRC, write a mail (you get the idea :-)) Unfortunately no PPC build machine that runs with Leopard, only Tiger. While it can be used to check that no reqressions are introduced while building with Tiger, it isn't quite what the issue is about. So again the plead for help: @all:Got a PPC with Mac OSX 10.5? Can build OOo? Great - please give cws cloph13 a shot! (even if you cannot perform tests yourself, having a 10.5 built installset for PPC would help a lot) Nevertheless I'll build one on 10.4 and upload it tomorrow/later today. ciao Christian - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] Re: [qa-dev] Looking for QA-Rep for cws cloph13 - create backwards compatible builds for Mac by using the developer-sdk during compilation
Christian Lohmaier wrote: > (i.e. if you have a MAC OSX 10.4 and can check the installset, or if > you can verify the code changes by themselves,...) > Hi Christian, can test-drive the installset & do the code review; likely no time though for a proper testtool or tcm qa though. HTH, -- Thorsten signature.asc Description: Digital signature
Re: [dev] java.lang.UnsatisfiedLinkError: unowinreg (Not found in java.library.path)
Hi, The issue has been resolved. Since "unowinreg.dll" file is located in the path "%OFFICE_ROOT%/Basis/sdk/classes/win", the same need to be set in the PATH environment variable. I'll edit this issue & resolution in the developer wiki page in the following location, Section: "First Steps - Getting Started - First Contact - An Ant build script". Please let me know if you have any concerns. Thanks, Sagar. IBM India Pvt. Ltd . Fortius Block,FB-2F-B156,First Technology Place, EPIP White Field,Bangalore-560066. Off: +91-80 226-70476 Mob: +91-97399-82566 Fax: +91-80 226-70266 Email: vidya...@in.ibm.com PTC Home Page: ptc.hursley.ibm.com Vidyasagar Venkatachalam/India/i...@ibmin 02/09/2009 17:29 Please respond to dev@openoffice.org To dev@openoffice.org cc d...@api.openoffice.org Subject [dev] java.lang.UnsatisfiedLinkError: unowinreg (Not found in java.library.path) Hi, On running the below code (given in the "First Steps" section of the developer guide wiki), I'm getting java.lang.UnsatisfiedLinkError: unowinreg (Not found in java.library.path) package de.ooo.devguide.example1; public class FirstUnoContact { public static void main(String[] args) { try { // get the remote office component context com.sun.star.uno.XComponentContext xContext = com.sun.star.comp.helper.Bootstrap.bootstrap(); System.out.println("Connected to a running office ..." ); com.sun.star.lang.XMultiComponentFactory xMCF = xContext.getServiceManager(); String available = (xMCF != null ? "available" : "not available"); System.out.println("remote ServiceManager is " + available); } catch (java.lang.Exception e) { e.printStackTrace(); } finally { System.exit(0); } } } Exception trace is given below: Exception in thread "main" java.lang.UnsatisfiedLinkError: unowinreg (Not found in java.library.path) [java] at java.lang.ClassLoader.loadLibraryWithPath( ClassLoader.java:986) [java] at java.lang.ClassLoader.loadLibraryWithClassLoader( ClassLoader.java:950) [java] at java.lang.System.loadLibrary(System.java:453) [java] at com.sun.star.lib.loader.WinRegKey.( WinRegKey.java:93) [java] at java.lang.J9VMInternals.initializeImpl(Native Method) [java] at java.lang.J9VMInternals.initialize( J9VMInternals.java:194) [java] at com.sun.star.lib.loader.InstallationFinder.getPathFromWindowsRegistry( InstallationFinder.java:207) [java] at com.sun.star.lib.loader.InstallationFinder.getPath( InstallationFinder.java:115) [java] at com.sun.star.lib.loader.Loader.getCustomLoader( Loader.java:176) [java] at com.sun.star.lib.loader.Loader.main(Loader.java:137) Any idea on how to resolve this issue? Is this any path/classpath related issue? Thanks, Sagar. IBM India Pvt. Ltd . Fortius Block,FB-2F-B156,First Technology Place, EPIP White Field,Bangalore-560066. Off: +91-80 226-70476 Mob: +91-97399-82566 Fax: +91-80 226-70266 Email: vidya...@in.ibm.com PTC Home Page: ptc.hursley.ibm.com
[dev] java.lang.UnsatisfiedLinkError: unowinreg (Not found in java.library.path)
Hi, On running the below code (given in the "First Steps" section of the developer guide wiki), I'm getting java.lang.UnsatisfiedLinkError: unowinreg (Not found in java.library.path) package de.ooo.devguide.example1; public class FirstUnoContact { public static void main(String[] args) { try { // get the remote office component context com.sun.star.uno.XComponentContext xContext = com.sun.star.comp.helper.Bootstrap.bootstrap(); System.out.println("Connected to a running office ..." ); com.sun.star.lang.XMultiComponentFactory xMCF = xContext.getServiceManager(); String available = (xMCF != null ? "available" : "not available"); System.out.println("remote ServiceManager is " + available); } catch (java.lang.Exception e) { e.printStackTrace(); } finally { System.exit(0); } } } Exception trace is given below: Exception in thread "main" java.lang.UnsatisfiedLinkError: unowinreg (Not found in java.library.path) [java] at java.lang.ClassLoader.loadLibraryWithPath( ClassLoader.java:986) [java] at java.lang.ClassLoader.loadLibraryWithClassLoader( ClassLoader.java:950) [java] at java.lang.System.loadLibrary(System.java:453) [java] at com.sun.star.lib.loader.WinRegKey.( WinRegKey.java:93) [java] at java.lang.J9VMInternals.initializeImpl(Native Method) [java] at java.lang.J9VMInternals.initialize( J9VMInternals.java:194) [java] at com.sun.star.lib.loader.InstallationFinder.getPathFromWindowsRegistry( InstallationFinder.java:207) [java] at com.sun.star.lib.loader.InstallationFinder.getPath( InstallationFinder.java:115) [java] at com.sun.star.lib.loader.Loader.getCustomLoader( Loader.java:176) [java] at com.sun.star.lib.loader.Loader.main(Loader.java:137) Any idea on how to resolve this issue? Is this any path/classpath related issue? Thanks, Sagar. IBM India Pvt. Ltd . Fortius Block,FB-2F-B156,First Technology Place, EPIP White Field,Bangalore-560066. Off: +91-80 226-70476 Mob: +91-97399-82566 Fax: +91-80 226-70266 Email: vidya...@in.ibm.com PTC Home Page: ptc.hursley.ibm.com
Re: [dev] upcoming 3.2 branch off
hallo Martin H. Martin Hollmichel schrieb: > Hi Martin, > > > Based on the branch (OOO320) we will provide a Beta release as soon as > possible, please report any stopper issue for the beta release on the > releases list (tracking issue will be 104696), as well as for the 3.2 > final release (tracking issue will be 9). I guess you mean issue 104695 for blocker issues. I also nominate issue 104696 as a potential stopper for the Beta version. Kind regards Mechtilde -- Dipl. Ing. Mechtilde Stehmann ## http://de.openoffice.org ## Ansprechpartnerin für die deutschsprachige QA ## Freie Office-Suite für Linux, Mac, Windows, Solaris ## Meine Seite http://www.mechtilde.de ## PGP encryption welcome! Key-ID: 0x53B3892B - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] How to access Bibliography Database with python-uno?
I composed a python fragment used to insert the first item of Bibliography databse into document. It is really simple one. If there is any sophisticated implementation method thanks for telling me. import uno local=uno.getComponentContext() resolver=local.ServiceManager.createInstanceWithContext("com.sun.star.bridge.UnoUrlResolver", local) context=resolver.resolve("uno:socket,host=localhost,port=2002;urp;StarOffice.ComponentContext") desktop=context.ServiceManager.createInstanceWithContext("com.sun.star.frame.Desktop", context) document = desktop.loadComponentFromURL("file:///tmp/test.odt" ,"_blank", 0, ()) #Initialize the value of the bibliography's fields Identifier='' BibiliographicType=1 Address='' Annote='' Author='' Booktitle='' Chapter='' Edition='' Editor='' Howpublished='' Institution='' Journal='' Month='' Note='' Number='' Organizations='' Pages='' Publisher='' School='' Series='' Title='' Report_Type='' Volume='' Year='' URL='' Custom1='' Custom2='' Custom3='' Custom4='' Custom5='' ISBN='' #Access to the bibliography database rowset=context.ServiceManager.createInstanceWithContext("com.sun.star.sdb.RowSet", context) rowset.setPropertyValue("DataSourceName", "Bibliography") rowset.setPropertyValue("CommandType", 2) rowset.setPropertyValue("Command", "SELECT Identifier, Author, Title FROM biblio") rowset.execute() if rowset.next(): Identifier=rowset.getString(rowset.findColumn("Identifier")) Author=rowset.getString(rowset.findColumn("Author")) Title=rowset.getString(rowset.findColumn("Title")) #Create a bibliography item BIB_FIELDS = ('Identifier', 'BibiliographicType', 'Address', 'Annote', 'Author','Booktitle', 'Chapter', 'Edition', 'Editor', 'Howpublished', 'Institution','Journal', 'Month', 'Note', 'Number', 'Organizations', 'Pages', 'Publisher','School', 'Series', 'Title', 'Report_Type', 'Volume', 'Year', 'URL', 'Custom1','Custom2', 'Custom3', 'Custom4', 'Custom5', 'ISBN') BIBLIOGRAPHIC_FIELDS = {} for i in range(len(BIB_FIELDS)): BIBLIOGRAPHIC_FIELDS[BIB_FIELDS[i]] = i DIRECT_VALUE = uno.getConstantByName("com.sun.star.beans.PropertyState.DIRECT_VALUE") PropertyValue = uno.getClass("com.sun.star.beans.PropertyValue") ref = (Identifier, BibiliographicType, Address, Annote, Author,Booktitle, Chapter, Edition, Editor, Howpublished, Institution,Journal, Month, Note, Number, Organizations, Pages, Publisher,School, Series, Title, Report_Type, Volume, Year, URL, Custom1,Custom2, Custom3, Custom4, Custom5, ISBN) tmp = [ PropertyValue(field,0,ref[BIBLIOGRAPHIC_FIELDS[field]],DIRECT_VALUE) for field in BIB_FIELDS ] bib=document.createInstance("com.sun.star.text.textfield.Bibliography") bibmaster=document.createInstance("com.sun.star.text.fieldmaster.Bibliography") bib.Fields = tuple(tmp) bib.attachTextFieldMaster(bibmaster) #Insert the item into the document document.Text.insertTextContent(document.Text.getEnd(), bib, False) 2009/8/21 Hexyl Chan > Thanks for your reminding. It works fine now. > > I have another question that is there any api support insert an reference > into a writer document? Just like Insert > Indexes and tables > > Bibliographic entry does. > > 2009/8/21 Juergen Schmidt > > Hi, >> >> have you already connected successful to a running office process before? >> If not i would suggest that you try this first. In your case you have to >> start the office to listen on port 2083 >> >> soffice >> -accept=socket,host=localhost,port=2083;urp;StarOffice.ServiceManager >> >> When you have successfully connected you have the remote service manager >> and can continue with it. >> >> Juergen >> >> >> huang huang wrote: >> >>> 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? >>> >>> >> >> - >> To unsubscribe, e-mail: dev-unsubscr...@openoffice.org >> For additional commands, e-mail: dev-h...@openoffice.org >> >> >
Re: [dev] Issues for CWS printerpullpages
Hi Regina, > I have written some issues for CWS printerpullpages. But I didn't know > which component to use and to whom I should assign it. I guess, that it > makes no sense to run through the normal process, because it is a CWS. > > Which component shall I use and to whom shall I assign it? I will change > it then for those already submitted issues, which are not handled yet. You should use the normal components and owners as you would for issues found on the MWS. Well, PL, as owner of the CWS, might be able to dispatch them, so assigning the issues to him is probably also right. Also, you should set the keyword "new_implementation", to indicate that the issue is about some new implementation which is not yet available in MWS. Adding a summary prefix like [CWS printerpullpages] is also a good habit, to transport the same information as the keyword more obviously. (In fact, I do not know anybody evaluating the keyword, but the summary prefix is a very good measure to tell everybody that this is about a CWS "only".) Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org