Re: EXTERNAL: Re: Building comphelper
Hi Raymond, On 16.09.2013 19:40, Steele, Raymond wrote: I removed the -library=no%Cstd from the two files and performed a clean build, but still have the same issues. Also, I am untarring the BOOST package version 1.48 so I downloaded the zipped version and unzipped it, placed the resulting boost directory in /usr/local/include after using --with-system-boost configuration. Still no luck. I also reconfigured with --without-stlport. It still appears that I it is using /opt/aoo-4.0.0/main/solver/400/unxsoli4.pro/inc/stl/climits.SUNWCCh. This file should and cannot be there if the --without-stlport build was clean. For its recipe see main/stlport/makefile.mk. Please retry doing the --without-stlport clean build, i.e. main/solver and */unxsoli4.pro output directories removed. Herbert - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
cppu::bootstrap() does not work with OpenOffice 4.0.0
Hi, I'm writing in C++ and testing on OpenOffice 4.0.0. I encountered a problem where cppu::bootstrap() throws a cppu::BootstrapException with the message no soffice installation found!. Prior to this, I have started the soffice process and passed in the -accept flag to open up a listening port. Running netstat has confirmed this. However, bootstrap still fails. This code was previously working with OO 3.x. It'll be great if anyone can give me some advice on this. Thanks. Cheers, Wei Min
Re: cppu::bootstrap() does not work with OpenOffice 4.0.0
On 9/18/13 11:37 AM, Wei Min Teo wrote: Hi, I'm writing in C++ and testing on OpenOffice 4.0.0. I encountered a problem where cppu::bootstrap() throws a cppu::BootstrapException with the message no soffice installation found!. Prior to this, I have started the soffice process and passed in the -accept flag to open up a listening port. Running netstat has confirmed this. However, bootstrap still fails. This code was previously working with OO 3.x. It'll be great if anyone can give me some advice on this. Thanks. which operating system you are using? when you want to use a specific connecton url you have to use the XUnoUrlResolver to connect. cppu:bootstrap() looks for the default office installed on your system, start it on demand and connect to it. I need more info about your work environment . Have you tried the SDK samples? Juergen - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: 4.0.1 release and distribution.
Hi, sorry for hijacking this thread but independent of the mirror discussion and future setup constructs we have to provide the bits for our upcoming AOO 4.0.1. We do that by uploading first in our home on people and from there to dist. Currently the upload to people is incredibly slow (30-100K/sec). Any ideas why it is so slow, I believe it was faster. Once the upload is complete, the vote finished etc. the files have to be copied to dist. How should we do that now? We need everything there in place to allow SF to resync the bits. Juergen On 9/16/13 2:59 PM, Rob Weir wrote: On Mon, Sep 16, 2013 at 4:44 AM, Henk P. Penning penn...@uu.nl wrote: On Sat, 14 Sep 2013, Andrea Pescetti wrote: Date: Sat, 14 Sep 2013 17:19:32 +0200 From: Andrea Pescetti pesce...@apache.org To: Henk P. Penning penn...@uu.nl Cc: dev@openoffice.apache.org Subject: Re: 4.0.1 release and distribution. Everything was OK in the 4.0 case. No. Regarding the mirrors, it was not ok. Fact : 4.0.1 will be put on the mirrors in 4-5 days, adding some languages every day. That is a technical constraint. Fact : if AOO announces too soon, /all/ mirrors will be incomplete. I'm not discussing here, or looking for a compromise ; I'm telling you how it is. AOO can either do it right (by waiting a few more days), or not. My impression was the only mandatory part of a release was the source tarballs and associated signatures and hashes. These are few and small and should not require special handling. The convenience binaries are optional in an Apache release. (Some even argue that they are not part of the release at all.) We predominately publish these binaries via SourceForge. Very few get these from the Apache mirrors. But we did receive several requests after the 4.0 release to push these binaries onto the mirrors. (We receive even more requests to put them our as BitTorrents) I'm hoping that there is some way that we can avoid a secondary distribution mechanism from causing a delay in our primary distribution mechanism. Maybe we can resolve this on the website? Don't list links to the ASF mirrors at initial release. Just give the SourceForge links. Then after 4-5 days, after we've verified replication, we modify the website to also point to the ASF mirrors? This gives four stages: Stage 1: Distribute source tarballs, hashes and signatures to Apache mirrors. Wait the usual 24 hours. In parallel replicate the binaries over to SourceForge. Stage 2: After the Apache mirrors and SourceForge have their files, then we announce. Website only links to Apache mirrors for source and hash/signatures. Release announcement happens now. Stage 3: We then push out the binaries to the Apache mirrors. We don't start this earlier because we want to prioritize the replication of the source, hashes and signatures. Stage 4: After 4-5 days we update website to point to Apache mirrors as alternate download site for binaries. Would that work? -Rob Andrea. Regards, Henk Penning _ Henk P. Penning, ICT-beta R Uithof BBL-761 _/ \_ Faculty of Science, Utrecht UniversityT +31 30 253 4106 / \_/ \ Princetonplein 5, 3584CC Utrecht, NL F +31 30 253 4553 \_/ \_/ http://www.staff.science.uu.nl/~penni101/ M penn...@uu.nl \_/ - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Versions???
priv...@openoffice.apache.orgUpdate versa Download??? Habe Version 3.3.0 Programm sagt: Updaten Dann erscheint die neue Version 4.0 als Download. Soll ich downloaden und was passiert mit den Daten von 3.3.0?? Knalle ich den Rechner voll oder wird die ältere Version nur überschrieben?? Thanks for helping.
Re: Reporting a problem with the OpenOffice website
On Wed, 18 Sep 2013 16:08:41 +0100 Camilla Thomassen camilla.fins...@gmail.com wrote: I can't download the english version, it just keeps directing me to the danish site. Try this direct link http://sourceforge.net/projects/openofficeorg.mirror/files/4.0.0/binaries/en-GB/Apache_OpenOffice_4.0.0_Win_x86_install_en-GB.exe for the Windows version (all on one line) Or this link http://www.openoffice.org/download/other.html should take you to the download page. If you are still getting the Danish version, you may need to clear the cache in your browser. -- Rory O'Farrell ofarr...@iol.ie - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Reporting a problem with the OpenOffice website
I can't download the english version, it just keeps directing me to the danish site.
Re: University Student Promotional Flyer ( was: Re: Yet another flyer)
Well, hows about we get Google out of the middle. Take a look at these pieces https://cwiki.apache.org/confluence/pages/viewpageattachments.action?pageId=34022580 I've changed the fonts from M+ to, Bitstream Vera Sans for headers and Times New Roman for body text, so that folks can actually open the odt file. //drew On Tue, Sep 17, 2013 at 4:26 PM, Drew Jensen drewjensen.in...@gmail.comwrote: Sorry - one example of a new piece - this was exported to PDF-A/1 from Writer, then imported into Draw (with updated extension) then exported again as SVG.. Three-up Bingo Card Tall Front https://docs.google.com/file/d/0Bx7ZNEXlmR0IbW9qQzFBbVJpRXc Back https://docs.google.com/file/d/0Bx7ZNEXlmR0IWXF2ZVoxS18wQjg as an aside - same Apache logo as the others - you should see what I see now, in this svg file. Catch you all tomorrow. //drew On Tue, Sep 17, 2013 at 4:19 PM, Drew Jensen drewjensen.in...@gmail.comwrote: Yes, I've added a few new pieces, all with what is becoming a common theme of sorts 'Explore Apache OpenOffice' - using a minimal branding (no wave, no wire frame, no dots [yet ;]) I will put them all to a single wiki page in the next few days and point folks to that. For now, I've just grabbed the RC2 build and will give Base w/(updated)MySQL_connector as good an exercise as I can tonight. As for the things I've found already, they are all intermittent (though with some they persist till one fixes the corrupted file) so not really worth an update to the issue tracker yet, I suppose. Would still like to know where the darn crash reports are on this Vista system, but I have screen shots with the information so that should be sufficient. //drew On Fri, Sep 13, 2013 at 6:14 PM, Andrea Pescetti pesce...@apache.orgwrote: On 09/09/2013 23:40, Rob Weir wrote: On Mon, Sep 9, 2013 at 12:09 PM, Drew Jensen wrote: That would be good for a one time push, then it's just a matter of having this stuff reasonably easy to find for folks coming along later - but then there lay the trick ;) The key is to extend your targeted persona-based approach (which is a very smart approach) with a web page (or a wiki page) that is equally targeted and rich in relevant keywords, so it is findable in Google/Bing for someone looking for that kind of material. The brochure could then be linked to from that page. This is a good approach. For the time being, Drew could also attach his nice series of brochures to https://cwiki.apache.org/**confluence/display/OOOUSERS/**Why+OpenOfficehttps://cwiki.apache.org/confluence/display/OOOUSERS/Why+OpenOffice so that they are not lost in Google Docs and mailing list messages. Regards, Andrea. --**--** - To unsubscribe, e-mail: dev-unsubscribe@openoffice.**apache.orgdev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
problems with donating to Apache
I cannot figure out on your web site who I should alert, so since this is the only email address I found YOU get it. I tried to donate via paypal but could not. Maybe you should try clicking your paypal link to see what happens...
Amazon
Howdy, Just thought I'd touch base on this - if anyone has a contact at Amazon, and after the dust settles from the release, perhaps a nudge to get them to update their sales page to 4.0.1. It appears to still be dishing up, or at least promoting, 3.4. //drew
Re: Service Unavailable error when trying to visit wiki.openoffice.org
Please stop sending us a CC since you're not subscribed to this mailing list. -- Tae Wong - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Does our Decision Making information need additional instructions?
On Tue, Sep 10, 2013 at 3:18 PM, Alexandro Colorado j...@oooes.org wrote: On 9/10/13, Rob Weir robw...@apache.org wrote: On Tue, Sep 10, 2013 at 5:11 PM, Alexandro Colorado j...@oooes.org wrote: On Tue, Sep 10, 2013 at 3:53 PM, Kay Schenk kay.sch...@gmail.com wrote: On Tue, Sep 10, 2013 at 11:29 AM, Alexandro Colorado j...@oooes.org wrote: I have recently been impact, on this lack of decision making tasks not being followed (ignoring 72 hr limit, etc) basically breaking the process. So I have a few comments on this. I think you're referring to using lazy concensus . https://openoffice.apache.org/docs/governance/lazyConsensus.html https://community.apache.org/committers/lazyConsensus.html One of the important aspects of Lazy Consensus is that it should be stated at the outset of a communication that this is what will be in effect for whatever is proposed. In other words, proposing something and stating that you will be using Lazy Consensus to implement whatever it is you might want to do is critical to this particular process. So far, I am finding 2 threads that seem to relate to all this: [1] http://markmail.org/message/hsdepqzlfvh33pdr (proposals for wiki, forum , web site extensions, etc) and yes,I did vote +1 on the one design I saw in the issue and using it, but mine was only ONE vote in a series of other comments. and this one, more recent [2] http://markmail.org/message/wlvv7gsnsmcurwfv in which there is claim that something was proposed. Based on the first thread, all I see are suggestions for designs and discussion, but no specific proposal. So, no proposal, no broken lazy consensus process. One important part is focusing on the meritocracy aspect of FLOSS. Is important not only to have a bug but an 'evidence'. Everyone has the right to a voice and have their opinion on implementations. However I think that the impact of that voice should be accompany with actual evidence, and would go into even having to propose an alternative. Deny things for the sole case of opinion shouldn't be enforced, We have a process here at the ASF. Denying something, and I take this to mean denying implementing something, based on opinion is what discussion and building consensus is all about. Exactly why we should consider a more efficient way of discussing it. (I thought you are proposing changes to the DM process) for the reasons explained. otherwise this will leave us to have many unverifiable opinions at a very low cost (think of spam for bitmessage) slowing the project down. There should also be a 'good enough' flag deadline after a certain period of time to get out of locked-in discussions. This is usually used on power negotiations (HBR article on the topic: http://hbswk.hbs.edu/archive/4354.html). We have Lazy Consensus and other decision making processes.The ideas in the article you have above are not the way we make decisions at Apache OpenOffice. Lazy Consensus comes close, but, again, this must be explicitly stated -- This sounds a bit of a technicality 'you didnt use blue ink to fill out your form' kind of situation. or else other participants don't have any idea if you're just discussing something or actually intend to do something. Not sure I understand you here. Why would anyone discuss anything for just the fun of discussing it? Something we do see: Someone talk about an idea, but it is not something that they are wiling/able to do. They just think it is a good idea. But unless someone volunteers it is just talk. I'm not saying yours was an example like this, but it is good to be explicit. A semi-humorous example of one approach is here: http://markmail.org/message/rn2uentbgqipx2a5 The exact format is not critical, but that is one way a committer can make it crystal clear. I understand conventions, I would like to see more conventions myself, I dont understand however when proposal is not a proposal because it didnt say [PROPOSAL]. We have a similar conversation on using dev@ for support etc. In my opinion, to a great extent, it depends on the message content. We don't' always adhere to the [PROPOSAL]/[LAZY PROPOSAL] tag, though that would certainly make things more clear. When I see a statement posted on this list like: Page X has a false statement on it, and unless anyone objects over the next day or so, I will fix it. regardless of what the subject matter is, I have a pretty good idea that this is a lazy consensus statement, and the sender will likely wait a few days and make the fix. When I see a statement like: It seems like page x has a false statement on it. and nothing else, I don't interpret that as a lazy consensus proposal, but rather an info item only. I think Rob's suggestions in this thread to augment what is
Re: Does our Decision Making information need additional instructions?
On 9/18/13, Kay Schenk kay.sch...@gmail.com wrote: On Tue, Sep 10, 2013 at 3:18 PM, Alexandro Colorado j...@oooes.org wrote: On 9/10/13, Rob Weir robw...@apache.org wrote: On Tue, Sep 10, 2013 at 5:11 PM, Alexandro Colorado j...@oooes.org wrote: On Tue, Sep 10, 2013 at 3:53 PM, Kay Schenk kay.sch...@gmail.com wrote: On Tue, Sep 10, 2013 at 11:29 AM, Alexandro Colorado j...@oooes.org wrote: I have recently been impact, on this lack of decision making tasks not being followed (ignoring 72 hr limit, etc) basically breaking the process. So I have a few comments on this. I think you're referring to using lazy concensus . https://openoffice.apache.org/docs/governance/lazyConsensus.html https://community.apache.org/committers/lazyConsensus.html One of the important aspects of Lazy Consensus is that it should be stated at the outset of a communication that this is what will be in effect for whatever is proposed. In other words, proposing something and stating that you will be using Lazy Consensus to implement whatever it is you might want to do is critical to this particular process. So far, I am finding 2 threads that seem to relate to all this: [1] http://markmail.org/message/hsdepqzlfvh33pdr (proposals for wiki, forum , web site extensions, etc) and yes,I did vote +1 on the one design I saw in the issue and using it, but mine was only ONE vote in a series of other comments. and this one, more recent [2] http://markmail.org/message/wlvv7gsnsmcurwfv in which there is claim that something was proposed. Based on the first thread, all I see are suggestions for designs and discussion, but no specific proposal. So, no proposal, no broken lazy consensus process. One important part is focusing on the meritocracy aspect of FLOSS. Is important not only to have a bug but an 'evidence'. Everyone has the right to a voice and have their opinion on implementations. However I think that the impact of that voice should be accompany with actual evidence, and would go into even having to propose an alternative. Deny things for the sole case of opinion shouldn't be enforced, We have a process here at the ASF. Denying something, and I take this to mean denying implementing something, based on opinion is what discussion and building consensus is all about. Exactly why we should consider a more efficient way of discussing it. (I thought you are proposing changes to the DM process) for the reasons explained. otherwise this will leave us to have many unverifiable opinions at a very low cost (think of spam for bitmessage) slowing the project down. There should also be a 'good enough' flag deadline after a certain period of time to get out of locked-in discussions. This is usually used on power negotiations (HBR article on the topic: http://hbswk.hbs.edu/archive/4354.html). We have Lazy Consensus and other decision making processes.The ideas in the article you have above are not the way we make decisions at Apache OpenOffice. Lazy Consensus comes close, but, again, this must be explicitly stated -- This sounds a bit of a technicality 'you didnt use blue ink to fill out your form' kind of situation. or else other participants don't have any idea if you're just discussing something or actually intend to do something. Not sure I understand you here. Why would anyone discuss anything for just the fun of discussing it? Something we do see: Someone talk about an idea, but it is not something that they are wiling/able to do. They just think it is a good idea. But unless someone volunteers it is just talk. I'm not saying yours was an example like this, but it is good to be explicit. A semi-humorous example of one approach is here: http://markmail.org/message/rn2uentbgqipx2a5 The exact format is not critical, but that is one way a committer can make it crystal clear. I understand conventions, I would like to see more conventions myself, I dont understand however when proposal is not a proposal because it didnt say [PROPOSAL]. We have a similar conversation on using dev@ for support etc. In my opinion, to a great extent, it depends on the message content. We don't' always adhere to the [PROPOSAL]/[LAZY PROPOSAL] tag, though that would certainly make things more clear. When I see a statement posted on this list like: Page X has a false statement on it, and unless anyone objects over the next day or so, I will fix it. regardless of what the subject matter is, I have a pretty good idea that this is a lazy consensus statement, and the sender will likely wait a few days and make the fix. When I see a statement like: It seems like page x has a false statement on it. and nothing else, I don't interpret that as a lazy consensus
remove address...
I would like my address removed from the openoffice.apache website. Will someone help me please?
Re: remove address...
This is not a website, but a mailing list, and the process to remove is done on your end, you need to send an email to dev-unsubscr...@openoffice.apache.org and then reply to the 'confirmation' email. If you dont reply to it, it wont removed you. On 9/18/13, Cindy Read armymom_1...@yahoo.com wrote: I would like my address removed from the openoffice.apache website. Will someone help me please? -- Alexandro Colorado Apache OpenOffice Contributor http://www.openoffice.org - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
RE: EXTERNAL: Re: Building comphelper
I was doing a dmake clean in the main directory. Apparently, it was not removing the solver dir. From: Herbert Duerr [h...@apache.org] Sent: Wednesday, September 18, 2013 3:33 AM To: dev@openoffice.apache.org Cc: Steele, Raymond Subject: Re: EXTERNAL: Re: Building comphelper Hi Raymond, On 16.09.2013 19:40, Steele, Raymond wrote: I removed the -library=no%Cstd from the two files and performed a clean build, but still have the same issues. Also, I am untarring the BOOST package version 1.48 so I downloaded the zipped version and unzipped it, placed the resulting boost directory in /usr/local/include after using --with-system-boost configuration. Still no luck. I also reconfigured with --without-stlport. It still appears that I it is using /opt/aoo-4.0.0/main/solver/400/unxsoli4.pro/inc/stl/climits.SUNWCCh. This file should and cannot be there if the --without-stlport build was clean. For its recipe see main/stlport/makefile.mk. Please retry doing the --without-stlport clean build, i.e. main/solver and */unxsoli4.pro output directories removed. Herbert - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
RE: EXTERNAL: Re: Building comphelper
I found hash_set in ../main/stlport/systemstl Is that where it is supposed to be. Once, I added this to my SOLARINC and SOLARINV environment variables, everything was okay, but then I received a /usr/local/include/boost/tr1/detail/config_all.hpp, line 161: Error: Could not open include file../include/utility From: Herbert Dürr [h...@apache.org] Sent: Wednesday, September 18, 2013 3:44 AM To: dev@openoffice.apache.org Cc: Steele, Raymond Subject: Re: EXTERNAL: Re: Building comphelper Hi Raymond, On 16.09.2013 22:04, Steele, Raymond wrote: I was wrong I thought the I set the --without-stlport flag, but did not. I just set it and reconfigured. Now I am receiving this. Entering /opt/aoo-4.0.0/main/sal/rtl/source --- ALWAYSDBGFILES --- --- ALWAYSDBGFILES OVER --- Compiling: sal/rtl/source/hash.cxx /opt/aoo-4.0.0/main/sal/rtl/source/hash.cxx, line 32: Error: Could not open include filehash_set. This missing file (hash_set) should be in main/solver/400/unxsoli4.pro/inc/stl/ as soon as the module main/stlport was built. What are the include paths (the -Ixxx options) for hash.cxx when when you build with the verbose=true build option? Herbert - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: confirm unsubscribe from dev@openoffice.apache.org
On 09/18/2013 06:45 PM, dev-h...@openoffice.apache.org wrote: Hi! This is the ezmlm program. I'm managing the dev@openoffice.apache.org mailing list. I'm working for my owner, who can be reached at dev-ow...@openoffice.apache.org. To confirm that you would like stanhel...@gmail.com removed from the dev mailing list, please send a short reply to this address: dev-uc.1379547917.mggbgceoccchkadkcbdc-stanhelton=gmail@openoffice.apache.org Usually, this happens when you just hit the reply button. If this does not work, simply copy the address and paste it into the To: field of a new message. or click here: mailto:dev-uc.1379547917.mggbgceoccchkadkcbdc-stanhelton=gmail@openoffice.apache.org I haven't checked whether your address is currently on the mailing list. To see what address you used to subscribe, look at the messages you are receiving from the mailing list. Each message has your address hidden inside its return path; for example, m...@xdd.ff.com receives messages with return path: dev-return-number-mary=xdd.ff@openoffice.apache.org. Some mail programs are broken and cannot handle long addresses. If you cannot reply to this request, instead send a message to dev-requ...@openoffice.apache.org and put the entire address listed above into the Subject: line. --- Administrative commands for the dev list --- I can handle administrative requests automatically. Please do not send them to the list address! Instead, send your message to the correct command address: To subscribe to the list, send a message to: dev-subscr...@openoffice.apache.org To remove your address from the list, send a message to: dev-unsubscr...@openoffice.apache.org Send mail to the following for info and FAQ for this list: dev-i...@openoffice.apache.org dev-...@openoffice.apache.org Similar addresses exist for the digest list: dev-digest-subscr...@openoffice.apache.org dev-digest-unsubscr...@openoffice.apache.org To get messages 123 through 145 (a maximum of 100 per request), mail: dev-get.123_...@openoffice.apache.org To get an index with subject and author for messages 123-456 , mail: dev-index.123_...@openoffice.apache.org They are always returned as sets of 100, max 2000 per request, so you'll actually get 100-499. To receive all messages with the same subject as message 12345, send a short message to: dev-thread.12...@openoffice.apache.org The messages should contain one line or word of text to avoid being treated as sp@m, but I will ignore their content. Only the ADDRESS you send to is important. You can start a subscription for an alternate address, for example john@host.domain, just add a hyphen and your address (with '=' instead of '@') after the command word: dev-subscribe-john=host.dom...@openoffice.apache.org To stop subscription for this address, mail: dev-unsubscribe-john=host.dom...@openoffice.apache.org In both cases, I'll send a confirmation message to that address. When you receive it, simply reply to it to complete your subscription. If despite following these instructions, you do not get the desired results, please contact my owner at dev-ow...@openoffice.apache.org. Please be patient, my owner is a lot slower than I am ;-) --- Enclosed is a copy of the request I received. Return-Path: stanhel...@gmail.com Received: (qmail 10851 invoked by uid 99); 18 Sep 2013 23:45:17 - Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Sep 2013 23:45:17 + X-ASF-Spam-Status: No, hits=-12.7 required=10.0 tests=ASF_LIST_OPS,ASF_LIST_UNSUB_A,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of stanhel...@gmail.com designates 209.85.214.175 as permitted sender) Received: from [209.85.214.175] (HELO mail-ob0-f175.google.com) (209.85.214.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Sep 2013 23:45:10 + Received: by mail-ob0-f175.google.com with SMTP id uz6so8282723obc.20 for dev-unsubscr...@openoffice.apache.org; Wed, 18 Sep 2013 16:44:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=Lou42AkDGyaouRBr/1+SI/isk1fdkWZgb7wNXBo/PI0=; b=j7nYV3UGfor5a6kWj1R0splpJKH8zyqP4NzSFoduO+Iv7CpTL9I1JwQaM0ttKre5WI Vmaa0Nl0ySYyWpWOfBmSSxxJVF5iiP+hH+z+K+7R2Hdjpf6SQGreUfOOBighi4Og0T7S xjog7MoVzoSOxY8Vb2lzgYJiEP4qmIWxMtrFwQCQ+rXpuLfM2FuWqSx+eVX9d/7XTcay Sy1Ae9I1GTzhI3W3ESWfxcFRzNSwOqHMmr5auQVMdqKxznsUdQvSA7vyM+ui/3yXwxyA jT2l7JJoELCo0obUDwM+PM/AU4sat1p+EB71z5jHXSnJdbg9+BQ9ykI1Gb3T3w5UTrn+ esnQ== X-Received: by 10.182.81.41 with SMTP id w9mr12130512obx.18.1379547890217; Wed, 18 Sep 2013 16:44:50 -0700 (PDT) Received: from [192.168.1.103]
Open office 4.0.0 -- Throwing Error == System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception
Dear Team, I have created one class in C# to convert .doc, .docx, etc documents to PDF tried using open office version 4.0.0. Note : Software's (Open Office 4.0.0 / Open office SDK ) are not installed on my PC . I am only using required 5 dll's along with sopen.exe. When I run the application it is giving error at public static void ConvertToPdf(string inputFile, string outputFile) { if (ConvertExtensionToFilterType(Path.GetExtension(inputFile)) == null) throw new InvalidProgramException(Unknown file type for OpenOffice. File = + inputFile); StartOpenOffice(); //Get a ComponentContext var xLocalContext = Bootstrap.bootstrap(); == Throwing error detailed below System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception. at cppu.defaultBootstrap_InitialComponentContext(Referencecom::sun::star::uno::XComponentContext* ) at uno.util.Bootstrap.defaultBootstrap_InitialComponentContext(String ini_file, IDictionaryEnumerator bootstrap_parameters) I tried with many few solutions but not able to resolve this issue and found email addresses on the link https://issues.apache.org/ooo/show_bug.cgi?format=multipleid=122007. Please provide the solution to this problem. Detailed code is as given below. public static void ConvertToPdf(string inputFile, string outputFile) { if (ConvertExtensionToFilterType(Path.GetExtension(inputFile)) == null) throw new InvalidProgramException(Unknown file type for OpenOffice. File = + inputFile); StartOpenOffice(); //Get a ComponentContext var xLocalContext = Bootstrap.bootstrap(); //Get MultiServiceFactory var xRemoteFactory = (XMultiServiceFactory)xLocalContext.getServiceManager(); //Get a CompontLoader var aLoader = (XComponentLoader) xRemoteFactory.createInstance(com.sun.star.frame.Desktop); //Load the sourcefile XComponent xComponent = null; try { xComponent = InitDocument(aLoader,PathConverter(inputFile), _blank); //Wait for loading while (xComponent == null) { Thread.Sleep(1000); } // save/export the document SaveDocument(xComponent, inputFile, PathConverter(outputFile)); } finally { if (xComponent != null) xComponent.dispose(); } } private static void StartOpenOffice() { var ps = Process.GetProcessesByName(soffice.exe); if (ps.Length != 0) throw new InvalidProgramException(OpenOffice not found. Is OpenOffice installed?); if (ps.Length 0) return; string sOfficePath = ConfigSettings.OpenOfficeExePath; var p = new Process { StartInfo = { Arguments = -headless -nofirststartwizard, FileName = sOfficePath +soffice.exe, CreateNoWindow = true } }; var result = p.Start(); if (result == false) throw new InvalidProgramException(OpenOffice failed to start.); } private static XComponent InitDocument(XComponentLoader aLoader, string file, string target) { var openProps = new PropertyValue[1]; openProps[0] = new PropertyValue { Name = Hidden, Value = new Any(true) }; var xComponent = aLoader.loadComponentFromURL(file, target, 0, openProps); return xComponent; } private static void SaveDocument(XComponent xComponent, string sourceFile, string destinationFile) { var propertyValues = new PropertyValue[2]; // Setting the flag for overwriting propertyValues[1] = new PropertyValue {Name = Overwrite, Value = new Any(true)}; Setting the filter name propertyValues[0] = new PropertyValue { Name = FilterName,Value = new Any(ConvertExtensionToFilterType(Path.GetExtension(sourceFile))) }; ((XStorable) xComponent).storeToURL(destinationFile, propertyValues); } private static string PathConverter(string file) { if (string.IsNullOrEmpty(file)) throw new NullReferenceException(Null or empty path passed to OpenOffice); return String.Format(file:///{0}, file.Replace(@\, /)); } public static string ConvertExtensionToFilterType(string extension) { switch (extension) { case .doc: case .docx: case .txt: case .rtf: case .html: case .htm: case .xml: case .odt:
students participating in OOo
I just noticed a request for professors to let you know when their students are joining the OOo projects. I teach courses in software testing at Florida Tech (Florida Tech students) and through Kaner/Fiedler Associates (you'll see students from companies coming through us, such as, currently, Progressive Insurance). One of each of these classes is actively working with OOo right now. These are the BBST courses, which the Association for Software Testing and Arizona State also teach. Other places teach them too, but those are the groups that I know currently follow my suggestion to work on OpenOffice. Students in these classes review two unconfirmed bugs each, posting comments on the OOo database that are intended to help you confirm or reject a bug. They also write evaluations of the communication quality of the bug reports, which our class sees but your bug reporters don't see (some of the evaluations are unflattering; there is no value in insulting volunteers by publicly critiquing their reports). If you're curious, I can send you a copy of the assignment. I generally teach two university courses and 2-3 corporate courses per year. ASU teaches, I think, two courses. If you wanted to encourage this, the best support you could give us would be to confirm or reject bugs quickly after we studied them, or to post comments on the bug that followed up on our notes (e.g. asked additional questions). If you are happy to give this kind of fast feedback, I could send you a list of the volunteers on your project who are willing to be identified to you as our students (privacy laws require me to get their permission). Cordially Cem Kaner, JD., Ph.D. www.kaner.com Professor of Software Engineering, Florida Tech