[dev] Re: OpenOffice 3.2.1 - How to disable the file locking?
Maybe this will help http://openoffice.org/bugzilla/show_bug.cgi?id=100123 On 20 May 2011 07:44, Ilhan Türe itu...@plate.de wrote: Dear Sirs We are using a filecluster and the cluster managing suite is controls the locking mechanism of all content files. So, is it possible to disable the file locking in openoffice 3.2.1? The following snippets in the starting-script soffice does not works. ... no) SAL_ENABLE_FILE_LOCKING=0 - export SAL_ENABLE_FILE_LOCKING + unset SAL_ENABLE_FILE_LOCKING + #export SAL_ENABLE_FILE_LOCKING esac fi Best regards, Ilhan Türe - Head of IT- Mit freundlichen Grüßen Ilhan Türe IT-Leiter PLATE Büromaterial Vertriebs GmbH Telefon: +49 (0)4298 / 401-240 Telefax: +49 (0)4298 / 401-320 PLATE Büromaterial Vertriebs GmbH Hilligenwarf 5 28865 Lilienthal Geschäftsführer: Dieter Schmidt, Ingo Schmidt, Iris Müller Gerichtsstand Osterholz-Scharmbeck Handelsregister Walsrode HRB 121896 USt-IdNr.: DE 116259137 - Steuer-Nr. 36/201/06470 -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help -- Knut Olav Bøhmer -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: After building and installing Norwegian OOo still in EN
On 17 March 2011 09:36, Mathias Bauer nospamfor...@gmx.de wrote: On 09.03.2011 13:42, Knut Olav Bøhmer wrote: 2011/3/8 Knut Olav Bøhmer boh...@gmail.com mailto:boh...@gmail.com Hi, I've just buildt norwegian version of OpenOffice.org, and installed /OOO320/instsetoo_native/wntmsci12.pro/OpenOffice/msi/install/no http://wntmsci12.pro/OpenOffice/msi/install/no But the userinterface is still in english, even though Writer - Tools - Options - Language Settings - Languages - User Interface, says Default - Norwegian Bokmål What did I do wrong, or what is missing? This was due to the SPECIAL_BUILD environment variable ( that turned out that I did not need, but which I still wonder what is. ) Does that mean that your build didn't work as expected because this variable was set by you? Or does it mean that it didn't work because it was not set? It did not work as expected because SPECIAL_BUILD was set. By the way, what is SPECIAL_BUILD? I tried it becauce of a web-page describing a solution to a problem that looked like the one that I had. -- Knut Olav Bøhmer -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: After building and installing Norwegian OOo still in EN
2011/3/23 Knut Olav Bøhmer boh...@gmail.com: -- cut -- Does that mean that your build didn't work as expected because this variable was set by you? Or does it mean that it didn't work because it was not set? It did not work as expected because SPECIAL_BUILD was set. By the way, what is SPECIAL_BUILD? I tried it becauce of a web-page describing a solution to a problem that looked like the one that I had. Sorry, Mathias. I did not see that you had already answered this question. Thanx :) Best regards -- Knut Olav Bøhmer -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Including font's in build
Hi, I have a document where the letters ÆØÅ works on some computers and not on some other. It is obviusly some font's that are missing. How can I find out which font's that is, and include them in my build? Best regards -- Knut Olav Bøhmer -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Including font's in build
Hi again, Maybe it's not so obviously a font problem? Shouldn't it be enough to mark the text and select another font, and the æøå should be OK again? It still only shows up as something like: * リ* (I don't know if it would show up in your email client as it does in mine) Best regards Knut Olav Bøhmer 2011/3/17 Knut Olav Bøhmer boh...@gmail.com Hi, I have a document where the letters ÆØÅ works on some computers and not on some other. It is obviusly some font's that are missing. How can I find out which font's that is, and include them in my build? Best regards -- Knut Olav Bøhmer -- Knut Olav Bøhmer -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Including font's in build
Another relevant peace of information is that this document is a .doc file. 2011/3/17 Knut Olav Bøhmer boh...@gmail.com Hi again, Maybe it's not so obviously a font problem? Shouldn't it be enough to mark the text and select another font, and the æøå should be OK again? It still only shows up as something like: * リ* (I don't know if it would show up in your email client as it does in mine) Best regards Knut Olav Bøhmer 2011/3/17 Knut Olav Bøhmer boh...@gmail.com Hi, I have a document where the letters ÆØÅ works on some computers and not on some other. It is obviusly some font's that are missing. How can I find out which font's that is, and include them in my build? Best regards -- Knut Olav Bøhmer -- Knut Olav Bøhmer -- Knut Olav Bøhmer -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Including font's in build
It works on my computer in OpenOffice.org 3.3 but not OpenOffice.org 3.2.1 It would be great if I could get some help to identify any patch that could fix this in 3.2.1 2011/3/17 Knut Olav Bøhmer boh...@gmail.com I think it might be this bug: http://openoffice.org/bugzilla/show_bug.cgi?id=111402 I'll try to install the same version on the computer that did it right, and see if the problem is still there. Regards On 17 March 2011 12:22, Eike Rathke eike.rat...@oracle.com wrote: Hi Knut, On Thursday, 2011-03-17 12:53:34 +0100, Knut Olav Bøhmer wrote: Another relevant peace of information is that this document is a .doc file. Maybe the most important information.. it may be that character encoding is involved there and a code page is taken from the system because there is no such information in the .doc file. Just guessing.. Eike -- OOo Calc core developer. Number formatter stricken i18n transpositionizer. Signature key 0x87F8D412 : 2F58 5236 DB02 F335 8304 7D6C 65C9 F9B5 87F8 D412 OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS -- Knut Olav Bøhmer -- Knut Olav Bøhmer -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Including font's in build
Hi, Is this: c2911f0fa819 the right patch? http://hg.services.openoffice.org/OOO330/rev/c2911f0fa819 And would it be possible to add it to 3.2.1? Ref this one: http://openoffice.org/bugzilla/show_bug.cgi?id=61927 2011/3/17 Knut Olav Bøhmer boh...@gmail.com It works on my computer in OpenOffice.org 3.3 but not OpenOffice.org 3.2.1 It would be great if I could get some help to identify any patch that could fix this in 3.2.1 2011/3/17 Knut Olav Bøhmer boh...@gmail.com I think it might be this bug: http://openoffice.org/bugzilla/show_bug.cgi?id=111402 I'll try to install the same version on the computer that did it right, and see if the problem is still there. Regards On 17 March 2011 12:22, Eike Rathke eike.rat...@oracle.com wrote: Hi Knut, On Thursday, 2011-03-17 12:53:34 +0100, Knut Olav Bøhmer wrote: Another relevant peace of information is that this document is a .doc file. Maybe the most important information.. it may be that character encoding is involved there and a code page is taken from the system because there is no such information in the .doc file. Just guessing.. Eike -- OOo Calc core developer. Number formatter stricken i18n transpositionizer. Signature key 0x87F8D412 : 2F58 5236 DB02 F335 8304 7D6C 65C9 F9B5 87F8 D412 OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS -- Knut Olav Bøhmer -- Knut Olav Bøhmer -- Knut Olav Bøhmer -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Including font's in build
2011/3/17 Knut Olav Bøhmer boh...@gmail.com Hi, Is this: c2911f0fa819 the right patch? http://hg.services.openoffice.org/OOO330/rev/c2911f0fa819 And would it be possible to add it to 3.2.1? Does not look like it. The file writerfilter/inc/resourcemodel/Protocol.hxx does not exist in my 3.2.1 source code. Does anyone think it can be done some way? Or will it be too difficult? Ref this one: http://openoffice.org/bugzilla/show_bug.cgi?id=61927 2011/3/17 Knut Olav Bøhmer boh...@gmail.com It works on my computer in OpenOffice.org 3.3 but not OpenOffice.org 3.2.1 It would be great if I could get some help to identify any patch that could fix this in 3.2.1 2011/3/17 Knut Olav Bøhmer boh...@gmail.com I think it might be this bug: http://openoffice.org/bugzilla/show_bug.cgi?id=111402 I'll try to install the same version on the computer that did it right, and see if the problem is still there. Regards On 17 March 2011 12:22, Eike Rathke eike.rat...@oracle.com wrote: Hi Knut, On Thursday, 2011-03-17 12:53:34 +0100, Knut Olav Bøhmer wrote: Another relevant peace of information is that this document is a .doc file. Maybe the most important information.. it may be that character encoding is involved there and a code page is taken from the system because there is no such information in the .doc file. Just guessing.. Eike -- OOo Calc core developer. Number formatter stricken i18n transpositionizer. Signature key 0x87F8D412 : 2F58 5236 DB02 F335 8304 7D6C 65C9 F9B5 87F8 D412 OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS -- Knut Olav Bøhmer -- Knut Olav Bøhmer -- Knut Olav Bøhmer -- Knut Olav Bøhmer -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Including font's in build
Could this be related to my issue? (or is this just for unix?) http://openoffice.org/bugzilla/show_bug.cgi?id=105784 2011/3/17 Knut Olav Bøhmer boh...@gmail.com 2011/3/17 Knut Olav Bøhmer boh...@gmail.com Hi, Is this: c2911f0fa819 the right patch? http://hg.services.openoffice.org/OOO330/rev/c2911f0fa819 And would it be possible to add it to 3.2.1? Does not look like it. The file writerfilter/inc/resourcemodel/Protocol.hxx does not exist in my 3.2.1 source code. Does anyone think it can be done some way? Or will it be too difficult? Ref this one: http://openoffice.org/bugzilla/show_bug.cgi?id=61927 2011/3/17 Knut Olav Bøhmer boh...@gmail.com It works on my computer in OpenOffice.org 3.3 but not OpenOffice.org 3.2.1 It would be great if I could get some help to identify any patch that could fix this in 3.2.1 2011/3/17 Knut Olav Bøhmer boh...@gmail.com I think it might be this bug: http://openoffice.org/bugzilla/show_bug.cgi?id=111402 I'll try to install the same version on the computer that did it right, and see if the problem is still there. Regards On 17 March 2011 12:22, Eike Rathke eike.rat...@oracle.com wrote: Hi Knut, On Thursday, 2011-03-17 12:53:34 +0100, Knut Olav Bøhmer wrote: Another relevant peace of information is that this document is a .doc file. Maybe the most important information.. it may be that character encoding is involved there and a code page is taken from the system because there is no such information in the .doc file. Just guessing.. Eike -- OOo Calc core developer. Number formatter stricken i18n transpositionizer. Signature key 0x87F8D412 : 2F58 5236 DB02 F335 8304 7D6C 65C9 F9B5 87F8 D412 OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS -- Knut Olav Bøhmer -- Knut Olav Bøhmer -- Knut Olav Bøhmer -- Knut Olav Bøhmer -- Knut Olav Bøhmer -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Configuring Open Office
On 10 March 2011 21:26, krist...@aol.com wrote: I am trying to configure the openoffice development environment, using cygwin. It claims that either /usr/bin/gawk, awk, tar, or gunzip is a cygwin symlink. Do you have a solution to this problem? http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Windows#breaking_links_to_executables -- Knut Olav Bøhmer -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: ERROR: File not found: msvcp80.dll
On 9 March 2011 12:05, Michael Stahl michael.x.st...@oracle.com wrote: On 09/03/2011 03:43, tora - Takamichi Akiyama wrote: Hi, On 8 March 2011 15:11, tora - Takamichi Akiyama t...@openoffice.orgmailto: t...@openoffice.org wrote: cd $SRC_ROOT dmake and wait for a minutes, not hours. On 2011/03/09 4:07, Knut Olav Bøhmer wrote: Which worked for me :) Well, I'm doing this on a virtual macine it took about 30 minutes. I don't know why it's so slow. Oh, sorry! I meant that wait for minutes until building instsetoo_native starts. Taking about 30 minutes to build both your language and English versions of OOo is probably normal. well, normal if you build on windows, which seems to have a hamster in a wheel where real OSes have a highly optimized file system implementation; unfortunately the hamster easily gets tired ;) Some tips: - Disable unnecessary background services. Search for windows vista disable services like that. *especially* true for virus scanners and the like. if you use one, try to create an exception for your OOo tree so it won't slow your builds too much. - Monitor the CPU usage. It should keep at the level of almost 100% during building OOo. If not, look into the bottleneck. this is true for a build from scratch, but if you have already built almost everything then your CPU won't be busy, it's all IO. - Utilize a Solid-State Drive (SSD) and put virtual machines on it. - and more... lots of RAM helps... This page: http://wiki.services.openoffice.org/wiki/Prepared_Build_Images says memory is not so important. 512 Gb recommended, so I allocates 1Gb RAM for my virtual box. The disk recommendations is also strange. You need about 15 Gb to install Windows XP and all the build tools, then about 25 Gb for a full build of OOo, then add 10 Gb to be safe. Virtualbox disks can be does not allocate more physical disk then used, and expands as necessary, so recommending at least 50Gb is a good idea. And it looks like it would be a good ide to run VirtualBox on Linux. I tried Windows 7 now. I thought that Windows had improved since the last time I tried it back in 95 ;) But I'm really disappointed. I'll never complain about Linux again after this experience. also we're hoping that once everything is migrated to the gbuild system, the rebuild with a single make process will be a bit faster. -- Television? The word is half Greek and half Latin. No good will come of this device. -- Charles Prestwich Scott, 1936. -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help -- Knut Olav Bøhmer -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] OOo with extra patches
Hi, I now have an OpenOffice.org compiled with some extra patches. I want to inform the user by giveing it it's own productname in OOO320/instsetoo_native/util/openoffice.lst What do I need to do in order to make the build process choose my entry there? Obviously I can just change the OpenOffice entry there, but I'd like to broaden my understanding by doing things properly. I can also send you my patches. The best way is probably to attach them to a bug in the bug tracking system. I'll do it just when I have sorted this out. And then I'd like to have some information about how the STUBUPGRADECODE and the UPDATEURL works -- Knut Olav Bøhmer -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: After building and installing Norwegian OOo still in EN
2011/3/8 Knut Olav Bøhmer boh...@gmail.com Hi, I've just buildt norwegian version of OpenOffice.org, and installed /OOO320/instsetoo_native/wntmsci12.pro/OpenOffice/msi/install/no But the userinterface is still in english, even though Writer - Tools - Options - Language Settings - Languages - User Interface, says Default - Norwegian Bokmål What did I do wrong, or what is missing? This was due to the SPECIAL_BUILD environment variable ( that turned out that I did not need, but which I still wonder what is. ) -- Knut Olav Bøhmer -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] ERROR: File not found: msvcp80.dll
Hi, I'm building openoffice.org, and I get the error in OOO320/instsetoo_native: ... reading include pathes ... ... analyzing script: C:/OOO320/solver/320/wntmsci12.pro/bin/setup_osl.inf... ... analyzing directories ... ... analyzing files ... ... analyzing scpactions ... ... analyzing shortcuts ... ... analyzing unix links ... ... analyzing profile ... ... analyzing profileitems ... ... analyzing folders ... ... analyzing folderitems ... ... analyzing registryitems ... ... analyzing Windows custom actions ... ... analyzing Windows merge modules ... ... analyzing modules ... ... languages en-US ... ... analyzing update database ... ... analyzing files ... ERROR: The following files could not be found: ERROR: File not found: msvcp80.dll ERROR: File not found: msvcr80.dll ... cleaning the output tree ... ... removing directory C:/tmp/ooopackaging/i_11201299587239 ... ** ERROR: ERROR: Missing files in function: remove_Files_Without_Sourcedirectory ** ** ERROR: Saved logfile: C:/OOO320/instsetoo_native/ wntmsci12.pro/OpenOffice/msi/logging/en-US/log_OOO320_en-US.log I did not copy the msvcp80.dll files in external/msvcp80 before building, so I did it after I got the error. But it did not fix the problem doing build --from instsetoo_native in instsetoo_native. What do I have to build (or do) to make the files got to the right place? -- Knut Olav Bøhmer -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Skrivebeskyttelse i et *.odt dokument
Hi, I'm just guessing, you sendt the document to your Mac by email, and opended it from your mail client. Sometimes when I do that, the files is opened as read-only. Try saving the document and then open openoffice.org, and open the file from there. Hei, Jeg bare gjetter, men du sente documentet til Mac'en din per epost, og åpnet dokumentet fra epostklienten. Noen ganger når jeg gjør det, blir filen åpnet som skrivebesyttet. Prøv å lagre dokumentet og start OpenOffice.org, og åpne dokumentet derfra. PS: Dette er ikke riktig forum for denne typer henvendelser. Prøv heller: http://www.openofficeorg.no/Forumsider/ 2011/3/8 Kjell Arne Tvetmarken kjell-a...@tvetmarken.com Hei, jeg har et dokument som ble opprettet på min WindowsXP maskin i Open Office Writer. Nå har jeg overført dokumentet til en Mac (intel) maskin etter å ha installert Open Office Writer. Når jeg forsøker å redigere dokumentet får jeg denne beskjeden: Skrivebeskyttet innhold kan ikke endres . Ingen endringer vil bli godtatt. Søkt på hjelp men ingen endringer i dette dokumentet synes å virke. Kan noen hjelpe meg? -- Vennlig hilsen, * **Kjell Arne* __ Kjell Arne Tvetmarken Torpstubben 52 B N-1389 Heggedal *Norway*** Telefon: +47 66 78 33 60 Mobil:+47 911 28 511 __ -- Knut Olav Bøhmer -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] After building and installing Norwegian OOo still in EN
Hi, I've just buildt norwegian version of OpenOffice.org, and installed /OOO320/instsetoo_native/wntmsci12.pro/OpenOffice/msi/install/no But the userinterface is still in english, even though Writer - Tools - Options - Language Settings - Languages - User Interface, says Default - Norwegian Bokmål What did I do wrong, or what is missing? -- Knut Olav Bøhmer -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: ERROR: File not found: msvcp80.dll
On 8 March 2011 15:11, tora - Takamichi Akiyama t...@openoffice.org wrote: Hi, i am not sure, but, in general, this might help. Thanx cd $SRC_ROOT cd external build.pl hmm why didn't I do that. ( i did dmake, and it did ofcours not work ): deliver.pl -verbose cd .. cd instsetoo_native build.pl or simply cd $SRC_ROOT dmake Which worked for me :) and wait for a minutes, not hours. Well, I'm doing this on a virtual macine it took about 30 minutes. I don't know why it's so slow. Kind regards, Tora On 2011/03/08 21:44, Knut Olav Břhmer wrote: Hi, I'm building openoffice.org http://openoffice.org, and I get the error in OOO320/instsetoo_native: ... reading include pathes ... ... analyzing script: C:/OOO320/solver/320/ wntmsci12.pro/bin/setup_osl.inf http://wntmsci12.pro/bin/setup_osl.inf ... ... analyzing directories ... ... analyzing files ... ... analyzing scpactions ... ... analyzing shortcuts ... ... analyzing unix links ... ... analyzing profile ... ... analyzing profileitems ... ... analyzing folders ... ... analyzing folderitems ... ... analyzing registryitems ... ... analyzing Windows custom actions ... ... analyzing Windows merge modules ... ... analyzing modules ... ... languages en-US ... ... analyzing update database ... ... analyzing files ... ERROR: The following files could not be found: ERROR: File not found: msvcp80.dll ERROR: File not found: msvcr80.dll ... cleaning the output tree ... ... removing directory C:/tmp/ooopackaging/i_11201299587239 ... ** ERROR: ERROR: Missing files in function: remove_Files_Without_Sourcedirectory ** ** ERROR: Saved logfile: C:/OOO320/instsetoo_native/ wntmsci12.pro/OpenOffice/msi/logging/en-US/log_OOO320_en-US.log http://wntmsci12.pro/OpenOffice/msi/logging/en-US/log_OOO320_en-US.log I did not copy the msvcp80.dll files in external/msvcp80 before building, so I did it after I got the error. But it did not fix the problem doing build --from instsetoo_native in instsetoo_native. What do I have to build (or do) to make the files got to the right place? -- Knut Olav Břhmer -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help -- Knut Olav Bøhmer -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Custom built OOo
Hi, I have a custom built OpenOffice.org, and I want to give it a name so that I know when a user uses the custom built version. What would I need to do to add an entry in instsetoo_native/util/openoffice.lst and make the build system select my entry? -- Knut Olav Bøhmer -- To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: sy...@openoffice.org with Subject: help
Re: [dev] Re: Debugging Hanging OOo
Hi, On 6 December 2010 09:37, Carsten Driesner carsten.dries...@oracle.com wrote: Am 30.11.2010 23:18, schrieb Knut Olav Bøhmer: On 29 November 2010 22:59, Mathias Bauernospamfor...@gmx.de wrote: On 26.11.2010 22:20, Knut Olav Bøhmer wrote: On 26 November 2010 18:28, Carsten Driesnercarsten.dries...@oracle.com wrote: The fix has been applied to CWS fwk160. The change set is 273247:f2e6d56eb5b7. The issue is i115804 with the stacktrace included. https://so-web.germany.sun.com/iBIS/servlet/edit.ControlPanel?tid=i115804 Thanks! This is great news :) I'll test this on couple of hundred installations. But this hyperlink does not work for me. Oops, seems that Carsten did not even link to the patch. Here is it: http://hg.services.openoffice.org/cws/fwk160/rev/f2e6d56eb5b7 Sorry for the confusion. Your feedback will be much appreciated. I'd like to apply this patch to 3.2.1 but I got a Hunk #.. error. Is it a big problem to make it applyable to 3.2.1. Hi Knut, I will change the patch to make it work for OOo 3.2.1 so you can test it. My tests with the latest DEV300 version looks very good and I cannot see a deadlock anymore. Please stay tuned I will send it to you as soon as possible. Thank you :) -- Knut Olav Bøhmer - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Re: Debugging Hanging OOo
On 29 November 2010 22:59, Mathias Bauer nospamfor...@gmx.de wrote: On 26.11.2010 22:20, Knut Olav Bøhmer wrote: On 26 November 2010 18:28, Carsten Driesnercarsten.dries...@oracle.com wrote: The fix has been applied to CWS fwk160. The change set is 273247:f2e6d56eb5b7. The issue is i115804 with the stacktrace included. https://so-web.germany.sun.com/iBIS/servlet/edit.ControlPanel?tid=i115804 Thanks! This is great news :) I'll test this on couple of hundred installations. But this hyperlink does not work for me. Oops, seems that Carsten did not even link to the patch. Here is it: http://hg.services.openoffice.org/cws/fwk160/rev/f2e6d56eb5b7 Sorry for the confusion. Your feedback will be much appreciated. I'd like to apply this patch to 3.2.1 but I got a Hunk #.. error. Is it a big problem to make it applyable to 3.2.1. Best regards. -- Knut Olav Bøhmer - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] OOo starts working after installing VS 2008 C++ Express
Hi, I had a problem with OOo, that when you start OOo it opens a restore-document-window, and crashes. When I use the -norestore option it just crashed. I tried several users on the same computer, and they (includeing Administrator) all failed. I tried removing the user profile, but still the same. Reinstalling OOo has also been tried, with no luck. Then I installed Visual Studio C++ 2008 Express to debug this. When VSC2008 was installed, OOo started working as it should. (for all users on the computer) So, the problem is probably some DLL files that's not good on this system. There are more computers and users that have this problem. How can I find out what the problem is and which DLL files should be installed? -- Knut Olav Bøhmer - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] OOo starts working after installing VS 2008 C++ Express
Thanks. It worked On Nov 26, 2010 12:32 PM, Konstantin Tokarev annu...@yandex.ru wrote: 26.11.2010, 14:29, Knut Olav Bøhmer boh...@gmail.com: Hi, I had a problem with OOo, that when you start OOo it opens a restore-document-window, and crashes. When I use the -norestore option it just crashed. I tried several users on the same computer, and they (includeing Administrator) all failed. I tried removing the user profile, but still the same. Reinstalling OOo has also been tried, with no luck. Then I installed Visual Studio C++ 2008 Express to debug this. When VSC2008 was installed, OOo started working as it should. (for all users on the computer) So, the problem is probably some DLL files that's not good on this system. There are more computers and users that have this problem. How can I find out what the problem is and which DLL files should be installed? I think this can help you: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bfdisplaylang=en -- Regards, Konstantin - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] OOo starts working after installing VS 2008 C++ Express
Hi, I did not install it ( but I know who did ). They made their own distributable package, which have had several flaws. The company who made the package did not know what they was doing, and my customer have paid a lot of money to patch a broken installation. A lot of registry settings was also incorrect. On 26 November 2010 13:59, Malte Timmermann malte.timmerm...@oracle.com wrote: Hi Knut, actually, it should work out of the box when doing a regular OOo installation, as that would install the runtimes automatically. I just verified with OOo 3.3 RC on a plain Windows XP system, where I didn't install anything Except vanilla XP. How did you install OOo? (And which version was it?) Malte. Knut Olav Břhmer wrote, On 11/26/10 13:30: Thanks. It worked On Nov 26, 2010 12:32 PM, Konstantin Tokarev annu...@yandex.ru wrote: 26.11.2010, 14:29, Knut Olav Břhmer boh...@gmail.com: Hi, I had a problem with OOo, that when you start OOo it opens a restore-document-window, and crashes. When I use the -norestore option it just crashed. I tried several users on the same computer, and they (includeing Administrator) all failed. I tried removing the user profile, but still the same. Reinstalling OOo has also been tried, with no luck. Then I installed Visual Studio C++ 2008 Express to debug this. When VSC2008 was installed, OOo started working as it should. (for all users on the computer) So, the problem is probably some DLL files that's not good on this system. There are more computers and users that have this problem. How can I find out what the problem is and which DLL files should be installed? I think this can help you: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bfdisplaylang=en -- Regards, Konstantin - 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 -- Knut Olav Bøhmer - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Re: Debugging Hanging OOo
On 15 October 2010 14:21, Christian Lippka christian.lip...@oracle.com wrote: Hi Knut, Am 15.10.2010 13:34, schrieb Knut Olav Bøhmer: Hi, Is there anyone who thinks it would be possible to resolve issue #115076 with the information that is registered. What can I do to provide more information? http://qa.openoffice.org/issues/show_bug.cgi?id=115076 I think it would help if you tell your actual windows version. Also a list of running processes on your system may help. Try removing any network printer from your system and try again, report if this helps or not. Try removing any network share from your system and try again, report if this helps or not. Is removing printers ans network shares a known solution. If there are problems with a network share or printer. What can one do to fix that? Is this documented somewhere? Regards -- Knut Olav Bøhmer - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Re: Debugging Hanging OOo
On 26 November 2010 18:28, Carsten Driesner carsten.dries...@oracle.com wrote: Am 26.11.2010 18:06, schrieb Mathias Bauer: On 11/25/2010 12:52 PM, Knut Olav Břhmer wrote: Hi, On 15 November 2010 11:23, Mathias Bauernospamfor...@gmx.de wrote: On 11/12/2010 08:58 AM, Oliver Brinzing wrote: Hi Mathias, The next best thing would be to have an OOo build with some debugging information prepared (my recommendation would be to have the modules desktop, vcl, framework and sal with debug information) and is there a chance to download an OOo build (win xp 32bit) with debugging information ? i do not have any knowledge about the build process and no time to build it myself ;-) You don't need a full debug build, a few libraries would be enough. If you can make a build of your own, I can tell you more. On Friday we had an idea - the hang-up could be caused by the clipboard code of OOo that always had some threading issues. We also discussed a possible solution that we could try out. So if you want, we could provide you with a test build and you could see if it works better. But of course, absence of evidence is not evidence of absence. :-) The best would be if I could get the patch. Carsten Driesner has created one. He will push it and post a reference to the change set here. Hi, The fix has been applied to CWS fwk160. The change set is 273247:f2e6d56eb5b7. The issue is i115804 with the stacktrace included. https://so-web.germany.sun.com/iBIS/servlet/edit.ControlPanel?tid=i115804 Thanks! This is great news :) I'll test this on couple of hundred installations. But this hyperlink does not work for me. -- Knut Olav Bøhmer - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] pdb files for official build
On 25 November 2010 11:00, Rüdiger Timm ruediger.t...@oracle.com wrote: Hi Martin On 24.11.2010 11:54, Martin Hollmichel wrote: On 11/23/2010 01:16 PM, Knut Olav Břhmer wrote: Hi, Is it possible to get the pdb files for the official build (3.2.1 and 3.2.0) generally speaking, I would say yes, maybe somebody @releng may have a look, if any sensitive data are included in the pdb files and can say There are lots of path names in those files (to the source directories, to the compiler installation, ...). Don't know whether that is 'sensitive data'. And I also do not know whether that hinders usage of such pdb files on other computers though I doubt that. As long as it helps me doing stack-trace, they are useful. about what amount of data we are talking about, In total roughly 1.6 Gigabyte per build. How about ftp. Maybe I would not need to download everything. (for example exclude base, impress, calc etc... And suddenly it was just 250MB, maybe) -- Knut Olav Bøhmer - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] pdb files for official build
On 24 November 2010 21:58, Bjoern michaelsen bjoern.michael...@oracle.com wrote: -cut- Bjoern P.S.: How are your ABC Lisp bindings for OOo going. Some public repo somewhere? ;) I have not had time to do anything about it yet. Maybe this weekend :) -- Knut Olav Bøhmer - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Re: Debugging Hanging OOo
Hi, On 15 November 2010 11:23, Mathias Bauer nospamfor...@gmx.de wrote: On 11/12/2010 08:58 AM, Oliver Brinzing wrote: Hi Mathias, The next best thing would be to have an OOo build with some debugging information prepared (my recommendation would be to have the modules desktop, vcl, framework and sal with debug information) and is there a chance to download an OOo build (win xp 32bit) with debugging information ? i do not have any knowledge about the build process and no time to build it myself ;-) You don't need a full debug build, a few libraries would be enough. If you can make a build of your own, I can tell you more. On Friday we had an idea - the hang-up could be caused by the clipboard code of OOo that always had some threading issues. We also discussed a possible solution that we could try out. So if you want, we could provide you with a test build and you could see if it works better. But of course, absence of evidence is not evidence of absence. :-) The best would be if I could get the patch. -- Knut Olav Bøhmer - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] pdb files for official build
Hi, Is it possible to get the pdb files for the official build (3.2.1 and 3.2.0) -- Knut Olav Bøhmer - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] Debugging Hanging OOo
Hi, Is there anyone who thinks it would be possible to resolve issue #115076 with the information that is registered. What can I do to provide more information? http://qa.openoffice.org/issues/show_bug.cgi?id=115076 -- Knut Olav Bøhmer
Re: [dev] Re: Debugging Hanging OOo
Hi, I have updated the issue. Is the information I provided usefull? On 15 October 2010 14:21, Christian Lippka christian.lip...@oracle.comwrote: Hi Knut, Am 15.10.2010 13:34, schrieb Knut Olav Bøhmer: Hi, Is there anyone who thinks it would be possible to resolve issue #115076 with the information that is registered. What can I do to provide more information? http://qa.openoffice.org/issues/show_bug.cgi?id=115076 I think it would help if you tell your actual windows version. Also a list of running processes on your system may help. Try removing any network printer from your system and try again, report if this helps or not. Try removing any network share from your system and try again, report if this helps or not. You could try to install microsoft visual studio, the free version will do, and attach to one of the soffice.bin processes and past the call stack of the main thread. Hope that helps, Christian - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org -- Knut Olav Bøhmer
Re: [dev] Re: Import of relative links from .doc files.
Hi, Attatched to this email is a document with a hyperlink that opens differently in MS Office and OpenOffice.org. Are anyone able to take a look at it? 2010/9/13 Knut Olav Bøhmer boh...@gmail.com I will upload a test document tomorrow. I don't have any documents here without sensitive data in it, and I don't have word, so I need the owner to produce a document without data (only the buggy data) in it. I will post the update here tomorrow. http://qa.openoffice.org/issues/show_bug.cgi?id=114485 On 13 September 2010 22:00, Caolán McNamara caol...@redhat.com wrote: And as an aside, the hyperlink importer for the .doc format is in sw/source/filter/ww8 as SwWW8ImplReader::Read_F_Hyperlink and its a fairly trivial thing C. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org -- Knut Olav Bøhmer -- Knut Olav Bøhmer - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Re: Import of relative links from .doc files.
On 14 September 2010 14:26, Caolán McNamara caol...@redhat.com wrote: On Tue, 2010-09-14 at 12:54 +0200, Knut Olav Břhmer wrote: Hi, Attatched to this email is a document with a hyperlink that opens differently in MS Office and OpenOffi In word if you open the .doc and toggle field codes on you can see that the relative url is recorded as ..\\..\\FELLES.PROSESSER.doc#k11 in the field code itself which is the URL that OOo is taking and converting to an absolute URL relative to the location that the imported .doc is loaded from. (Not sure why we are turning it from relative to absolute in the .doc importer, sounds like a bad idea, but that's neither here not there in this case) But it looks like word *isn't* taking the field code itself as the url to display/use in this case, but instead using the value tucked away in the DocumentSummaryStream in the VtHyperlink sequence (I think), so it sort of looks like the algorithm for hyperlinks need to be to import the DocumentSummaryStream links and match them up with the fields they are associated with and use those links in favour of the inlines ones where they exist. A big of a nightmare, not sure how its possible to get them out of sync with each other. Thank you for the analysis :) this really helps. What parts of the word document is available at the time of importing the hyperlink. Is all of the parts read in, so that the DocumentSummaryStream could be accessed at that time? Best regards -- Knut Olav Bøhmer
Re: [dev] Re: Import of relative links from .doc files.
On 14 September 2010 14:58, Caolán McNamara caol...@redhat.com wrote: On Tue, 2010-09-14 at 14:40 +0200, Knut Olav Břhmer wrote: Thank you for the analysis :) this really helps. What parts of the word document is available at the time of importing the hyperlink. Is all of the parts read in, so that the DocumentSummaryStream could be accessed at that time? It's not read in by the .doc importer currently. Some generic parts are read in by sfx2 to set generic properties, but there's something in sd/source/filter/ppt/pptin.cxx (search for _PID_HLINKS) which looks like roughtly the same kind of thing for the ppt format. That would also need to be done in the ww8 importer to parse them out and attempt the (weird and wonderful) mapping from dwApp to field code mentioned in the Application Data for VtHyperlink section of the .doc spec. Are sfx2 reading it's parts before the .doc importer is read, and could OOo be set to read the relevant parts when sfx2 does it's work, and then save it for later? -- Knut Olav Bøhmer
Re: [dev] Re: Import of relative links from .doc files.
Hi, I would like to see the specification of the .doc format. The bug is not in the conversion from relative to absolute. The bug is somewhere in the reading process. Already in th SwWW8'implReader:::Read_Field, the relative url shows up with part of it missing. It shows up as ..\..\foo.doc when it should have been ..\..\bar\foo.doc Is it possible to look at the strings in the word doc some how with hex/asci reader? On 13 September 2010 11:36, Michael Stahl michael.x.st...@oracle.comwrote: On 12/09/2010 19:24, Knut Olav Břhmer wrote: Thank you. Do you know if there is somewhere else in the code that the bug could be? As I understand there is some issues about the way openoffice.org keeps the url represented in memory. Do you know anything about that? hi Knut, OOo will convert all URLs from relative to absolute on import. usually on export URLs are converted to relative if possible, but i think that is subject to some configuration settings. of course it could be possible that not every filter uses the right flags when converting URLs... -- Portability is for canoes. -- Jim McCarthy, Microsoft Corporation - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org -- Knut Olav Bøhmer
Re: [dev] Re: Import of relative links from .doc files.
Thanks to freenode I got gsf dump wordfile.doc WordDocument and a push in direction of google ;) 2010/9/13 Knut Olav Bøhmer boh...@gmail.com Hi, I would like to see the specification of the .doc format. The bug is not in the conversion from relative to absolute. The bug is somewhere in the reading process. Already in th SwWW8'implReader:::Read_Field, the relative url shows up with part of it missing. It shows up as ..\..\foo.doc when it should have been ..\..\bar\foo.doc Is it possible to look at the strings in the word doc some how with hex/asci reader? On 13 September 2010 11:36, Michael Stahl michael.x.st...@oracle.comwrote: On 12/09/2010 19:24, Knut Olav Břhmer wrote: Thank you. Do you know if there is somewhere else in the code that the bug could be? As I understand there is some issues about the way openoffice.org keeps the url represented in memory. Do you know anything about that? hi Knut, OOo will convert all URLs from relative to absolute on import. usually on export URLs are converted to relative if possible, but i think that is subject to some configuration settings. of course it could be possible that not every filter uses the right flags when converting URLs... -- Portability is for canoes. -- Jim McCarthy, Microsoft Corporation - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org -- Knut Olav Bøhmer -- Knut Olav Bøhmer
Re: [dev] Re: Import of relative links from .doc files.
I will upload a test document tomorrow. I don't have any documents here without sensitive data in it, and I don't have word, so I need the owner to produce a document without data (only the buggy data) in it. I will post the update here tomorrow. http://qa.openoffice.org/issues/show_bug.cgi?id=114485 On 13 September 2010 22:00, Caolán McNamara caol...@redhat.com wrote: And as an aside, the hyperlink importer for the .doc format is in sw/source/filter/ww8 as SwWW8ImplReader::Read_F_Hyperlink and its a fairly trivial thing C. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org -- Knut Olav Bøhmer
Re: [dev] Import of relative links from .doc files.
2010/9/12 Cédric Bosdonnat cedric.bosdonnat@free.fr Hi Knut, On Sat, 2010-09-11 at 23:54 +0200, Knut Olav Bøhmer wrote: My first guess is to look at the function bool WW8AttributeOutput::StartURL( const String rUrl, const String rTarget ) in /sw/source/filter/ww8$ less wrtw8nds.cxx Or am I on the wrong track? This is the code for the export. The import is in the same folder, but you should have a look at the ww8par*.cxx files. Thank you. Do you know if there is somewhere else in the code that the bug could be? As I understand there is some issues about the way openoffice.org keeps the url represented in memory. Do you know anything about that? -- Knut Olav Bøhmer
[dev] Import of relative links from .doc files.
Hi, When we import .doc files with hyperlinks with relative path, OpenOffice.org does not convert the links correctly. in the file c:\a\b\c\d\e\z.doc \..\..\x\y\z.doc becomes something like c:\x\z.doc when it should have been c:\a\b\c\x\y\z.doc I will try to debug this, but I would appreciate if I could get some pointers to where in the source code I should look My first guess is to look at the function bool WW8AttributeOutput::StartURL( const String rUrl, const String rTarget ) in /sw/source/filter/ww8$ less wrtw8nds.cxx Or am I on the wrong track? -- Knut Olav Bøhmer
Re: [dev] What happens during save?
On 10 September 2010 09:43, Mathias Bauer nospamfor...@gmx.de wrote: On 09/02/2010 10:33 PM, Knut Olav Břhmer wrote: cut To fix this I need to know how OpenOffice.org saves the file. Does it create a temporary file, deletes the original file and then moves the temp file to the original file. OOo creates a temporary file, saves to it, truncates the original file and then streams the temporary file over it. This is the only way to preserve file access rights in every case. Or maybe someone has any idea on why the activeX component fails (probably difficult with so little information). Maybe the component recognizes the truncation but can't deal with the fact that OOo is still writing to the file. In general your attempt is very fragile. You should write an OOo extension that reacts on document events. Thank you for answering. This issue was fixed by removing all the fancy functionality from the activeX component. Luckily someone had access to the source code of the activeX component, and fixed it. An OpenOffice.org extension would be the best solution in stability and functionality, but these things are third party programs. So I hope they ask me to write an OOo-ext. Best regards -- Knut Olav Bøhmer
[dev] Help me debug this please
Hi, I have problems with opening documents in openoffice.org from Microsoft Internet Explorer. I have opened WinDbg and attatched it to soffice.bin Which files should I build with debug=true I have buildt sfxmi.dll with debug=true, and thought maybe that some functions in appopen.cxx was one of the first to be called. Here is what windbg says when I try to open a file from Explorer: (990.f4c): C++ EH exception - code e06d7363 (first chance) (990.f4c): C++ EH exception - code e06d7363 (first chance) (990.f4c): C++ EH exception - code e06d7363 (first chance) (990.f4c): C++ EH exception - code e06d7363 (first chance) (990.f4c): C++ EH exception - code e06d7363 (first chance) (990.f4c): C++ EH exception - code e06d7363 (first chance) (990.f4c): Access violation - code c005 (first chance) First chance exceptions are reported before any exception handling. This exception may be expected and handled. eax= ebx= ecx=0004 edx=03df6e50 esi=14f6ab90 edi= eip=0c9c1848 esp=014aed00 ebp=014aede8 iopl=0 nv up ei pl nz na po nc cs=001b ss=0023 ds=0023 es=0023 fs=003b gs= efl=00010202 swmi!SwView::SwView+0x5c2: 0c9c1848 8b01mov eax,dword ptr [ecx] ds:0023:0004= 0:000 g -- Knut Olav Bøhmer
[dev] Re: Help me debug this please
I also have some debug output from Process Monitor from sysinternals.com 2010/9/9 Knut Olav Bøhmer boh...@gmail.com Hi, I have problems with opening documents in openoffice.org from Microsoft Internet Explorer. I have opened WinDbg and attatched it to soffice.bin Which files should I build with debug=true I have buildt sfxmi.dll with debug=true, and thought maybe that some functions in appopen.cxx was one of the first to be called. Here is what windbg says when I try to open a file from Explorer: (990.f4c): C++ EH exception - code e06d7363 (first chance) (990.f4c): C++ EH exception - code e06d7363 (first chance) (990.f4c): C++ EH exception - code e06d7363 (first chance) (990.f4c): C++ EH exception - code e06d7363 (first chance) (990.f4c): C++ EH exception - code e06d7363 (first chance) (990.f4c): C++ EH exception - code e06d7363 (first chance) (990.f4c): Access violation - code c005 (first chance) First chance exceptions are reported before any exception handling. This exception may be expected and handled. eax= ebx= ecx=0004 edx=03df6e50 esi=14f6ab90 edi= eip=0c9c1848 esp=014aed00 ebp=014aede8 iopl=0 nv up ei pl nz na po nc cs=001b ss=0023 ds=0023 es=0023 fs=003b gs= efl=00010202 swmi!SwView::SwView+0x5c2: 0c9c1848 8b01mov eax,dword ptr [ecx] ds:0023:0004= 0:000 g -- Knut Olav Bøhmer -- Knut Olav Bøhmer - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Re: Help me debug this please
On 9 September 2010 14:41, Michael Stahl michael.x.st...@oracle.com wrote: On 09/09/2010 13:40, Knut Olav Břhmer wrote: Hi, I have problems with opening documents in openoffice.org from Microsoft Internet Explorer. I have opened WinDbg and attatched it to soffice.bin Which files should I build with debug=true I have buildt sfxmi.dll with debug=true, and thought maybe that some functions in appopen.cxx was one of the first to be called. hi Knut, Hi, Thank you for the quick reply :) it would be helpful to know what file format you're trying to import; below there is a stack frame from the writer (sw / SwView), so that narrows it down a bit. The file format of the file I'm trying to import is Microsoft Word 97/2003. But it works fine when I first save the document, and then opens it. So, the problem is probably not there, but it helps to include that. -cut- Best regards -- Knut Olav Bøhmer
Re: [dev] Re: Help me debug this please
I have now discoverd a workaround: 1. install Microsoft Word Viewer 2. go to Control Panel and the option for default programs - I can now choose two different settings for OpenOffice Writer there now. - If I choose one of them, it work. - If I choose the other, it works not. So there may be some registry thing that can solve it. But I don't know how to find out what the difference is. I also suspect that OpenOffice.org has a bug that causes this to fail. And I still like to fix that bug, even though I have a workaround solution. 2010/9/9 Knut Olav Bøhmer boh...@gmail.com On 9 September 2010 14:41, Michael Stahl michael.x.st...@oracle.comwrote: On 09/09/2010 13:40, Knut Olav Břhmer wrote: Hi, I have problems with opening documents in openoffice.org from Microsoft Internet Explorer. I have opened WinDbg and attatched it to soffice.bin Which files should I build with debug=true I have buildt sfxmi.dll with debug=true, and thought maybe that some functions in appopen.cxx was one of the first to be called. hi Knut, Hi, Thank you for the quick reply :) it would be helpful to know what file format you're trying to import; below there is a stack frame from the writer (sw / SwView), so that narrows it down a bit. The file format of the file I'm trying to import is Microsoft Word 97/2003. But it works fine when I first save the document, and then opens it. So, the problem is probably not there, but it helps to include that. -cut- Best regards -- Knut Olav Bøhmer -- Knut Olav Bøhmer
[dev] What happens during save?
Hi, I'm working with an activeX component that does not work when used with larges files in OpenOfice.org. When it takes more then two seconds to save the file, it does not work. When it is less then two seconds to save the file, it works most of the time. The activeX component enables a user of a website to edit a document on the website through other applications like OpenOffice.org. The activeX component downloads the file to a temporary directory, and starts the application used to edit the component. Then it polls every 2 seconds to see if the file file is changed and if the application is still running. When OpenOffice.org saves the file, the activeX component dies, and the result file is not saved back to the webserver. To fix this I need to know how OpenOffice.org saves the file. Does it create a temporary file, deletes the original file and then moves the temp file to the original file. Or maybe someone has any idea on why the activeX component fails (probably difficult with so little information). -- Knut Olav Bøhmer
[dev] How can I detect an hanging OOo
Hi, I have a python script that calls macros in OpenOffice.org like this: - localContext = uno.getComponentContext() resolver = localContext.ServiceManager.createInstanceWithContext(com.sun.star.bridge.UnoUrlResolver, localContext) try: ctx = resolver.resolve(uno:socket,host=localhost,port=2002;urp;StarOffice.ComponentContext) except: print \nSome error message... sys.exit(1) smgr = ctx.ServiceManager desktop = smgr.createInstanceWithContext(com.sun.star.frame.Desktop, ctx) dispatcher = smgr.createInstanceWithContext(com.sun.star.frame.DispatchHelper, ctx) dispatcher.executeDispatch(desktop, macro, , 0, ()) ctx.ServiceManager - But, some times openoffice.org crashes and hangs. Then this python script hangs on dispatcher.executeDispatch(desktop, macro, , 0, ()) So I tried to put an alarm around it like this: -- def handle_timeout(signum, frame): print 'Timeout!' sys.exit(1) old = signal.signal(signal.SIGALRM, handle_timeout) signal.alarm(1) try: dispatcher.executeDispatch(desktop, macro, , 0, ()) finally: signal.alarm(0) signal.signal(signal.SIGALRM, old) --- From strace, I can see that the alarm signal is sent, but it looks like the signal is masked, and the script does not print Timeout!, and it does not exit. If OpenOffice.org is not alive, I want to kill OpenOffice and restart the scirpt. How can I check that OpenOffice.org is alive? I tried to check what OpenOffice.org was doing, but no luck: $ ps aux | grep -i soffice.bin knobo 2675 90.9 1.6 532580 32944 pts/0Sl Aug06 4042:57 /usr/lib/openoffice/program/soffice.bin -accept=socket,host=0,port=2002;urp; -splash-pipe=5 $ strace -f -p 2675 attach: ptrace(PTRACE_ATTACH, ...): Operation not permitted $ who am i knobopts/22010-08-06 14:03 (:0.0) -- Knut Olav Bøhmer
[dev] Old bugs related to hyperlinks with bookmark.
Hi, There are some old bug related to hyperlinks with bookmark: hyperlinks to .doc files with bookmarks does not work. I think the following bugs are related to each other. And the bug has been there for at least 6 years. http://qa.openoffice.org/issues/show_bug.cgi?id=26957 http://qa.openoffice.org/issues/show_bug.cgi?id=109752 http://qa.openoffice.org/issues/show_bug.cgi?id=109752 http://qa.openoffice.org/issues/show_bug.cgi?id=109752 http://qa.openoffice.org/issues/show_bug.cgi?id=19413 I could try to fix the bug myself, and I would very much like that, but I don't have the knowledge. So if someone could guide me and point me in the right direction, I would be very happy. I find it strange that this bugs are not fixed as hyperlinks are quite an essential feature of electronic documents. I have tried to make a workaround for this problem by making a DispatchProviderInterceptor that handles opening of hyperlinks. In this effort I found another bug (probably a bug). Hyperlinks to .doc files is not possible to intercept. In the queryDispatch method the plan was to check for if ((aURL.Complete.startsWith(file://) ) (aURL.Complete.matches(.*doc#.*) )) { and then use loadComponentFromURL. But .doc hyperlinks never arrived here. So now my plan is to make a macro that loops through the document, and rewrites every hyperlink with bookmark, like this file:///file.doc#bookmark , to something like file:///file.odt#[doc]bookmark, and manipulate the url, so that it opens the correct file. I have already made a small experiment that works. If someone wants the final workaround, you can email me. There are several issues with doing it this way: the document gets dirty and want's to be saved when you quit. And when you save, the hyperlinks have to be rewritten back to .doc#bookmark (I plan to handle that too.). I wonder why .doc hyperlinks can not be intercepted. I would consider it a good idea if what you'd write in the hyperlink field would be arbitrary, so that new functionality could be written to hyperlinks by intercepting the dispatch. So, could anyone help me? -- Knut Olav Bøhmer
Re: [dev] Old bugs related to hyperlinks with bookmark.
On 16 June 2010 17:24, Mathias Bauer nospamfor...@gmx.de wrote: On 16.06.2010 15:24, Knut Olav Břhmer wrote: Hi, There are some old bug related to hyperlinks with bookmark: hyperlinks to .doc files with bookmarks does not work. I think the following bugs are related to each other. And the bug has been there for at least 6 years. http://qa.openoffice.org/issues/show_bug.cgi?id=26957 http://qa.openoffice.org/issues/show_bug.cgi?id=109752 http://qa.openoffice.org/issues/show_bug.cgi?id=109752 http://qa.openoffice.org/issues/show_bug.cgi?id=109752 http://qa.openoffice.org/issues/show_bug.cgi?id=19413 Any reason why one the issues is listed three times? Sorry, maybe I copied and pasted from wrong tab. My head was spinning after many hours of reading things I didn't understand... Besides that, these issues are totally unrelated and it doesn't make sense to construct a general hyperlink problem that just doesn't exist. Moreover, the Calc issue was reported just a few weeks ago. It seems that nobody just is aware of it (no QA or dev engineer was involved until now). I wasn't able to reproduce issue 19413, perhaps we should close it. Then there is issue 26957. It seems that the bug is triggered by the fact that the URL to open is handed over to the system, not handled by OOo internally. That can't work as # in file URLs are not what they are in e.g. http URLs. The only solution would be *not* to let the system handle the URL (and that's the reason why it works in Word). Here's the code in sfx2/source/appl/appopen.cxx that decides whether a URL shall be handled internally or not: aTypeName = xTypeDetection-queryTypeByURL( aURL.Main ); SfxFilterMatcher rMatcher = SFX_APP()-GetFilterMatcher(); const SfxFilter* pFilter = rMatcher.GetFilter4EA( aTypeName ); if ( !pFilter || !( pFilter-IsOwnFormat() )) { Thank you! This is the kind of stuff I'd like to learn more about. Changing that is a matter of minutes, but the side effect could be larger than expected. Allowing to handle all URLs internally that OOo can open (detected by pFilter != 0 in the code above) is not wanted, as many other formats like e.g jpg, png etc. surely should preferably handled by the system and the application registered there. Another idea: check for # in the URL, and in case there is one, handle the URL internally. Is there a (easy) way to tell OOo that we want to handle specific url's internally? It could also sometimes be useful to say that we do not want to handle odt urls internally also (maybe).. But the most important thing is to get the #bookmarks to work. Maybe it would be possible to tell the system how to handle url's with bookmarks? In the queryDispatch method the plan was to check for if ((aURL.Complete.startsWith(file://) ) (aURL.Complete.matches(.*doc#.*) )) { and then use loadComponentFromURL. But .doc hyperlinks never arrived here. You can't intercept loadComponentFromURL calls with a dispatch interceptor, your only can intercept - sic! - dispatch calls Yes, and that's also why I can use loadComponentFromURL inside a dispatch interceptor without getting in to trouble. So the .doc did not arrive at my dispatcher, because the system had taken it. It would be nice if it was possible to intercept things that is handed to the system also. Than you so much for answering. -- Knut Olav Bøhmer
Re: [dev] Old bugs related to hyperlinks with bookmark.
On 16 June 2010 19:39, Mathias Bauer nospamfor...@gmx.de wrote: Hi Knut Olav, On 16.06.2010 17:57, Knut Olav Bøhmer wrote: Is there a (easy) way to tell OOo that we want to handle specific url's internally? It could also sometimes be useful to say that we do not want to handle odt urls internally also (maybe).. But the most important thing is to get the #bookmarks to work. For the bookmark case I would fix that in the place I have shown. I just discovered that we already have code there that handles the case where the URL only consists of a jump mark. I will have a closer look and report my findings in the issue. We can follow-up there. Great! Maybe it would be possible to tell the system how to handle url's with bookmarks? No, that doesn't work. A # is just a letter in a file name, so the URL file://foo/bar/text.doc#mark does not point to the same file as file://foo/bar/text.doc. Jump marks in file URLs must be handled internally. OOo can do that in the same way as a browser can do it for http URLs. So the .doc did not arrive at my dispatcher, because the system had taken it. If the jump to the bookmark would be a result of a click on a hyperlink, your dispatch interceptor should have seen the dispatch. But the command isn't the URL, it would the command .uno:OpenURL or so, where the file name (including the jump mark) would be one of its dispatch arguments. Can you confirm that? As long as the url points to a .doc file, my interceptor is not called no matter if there is a bookmark there or not. It does not matter if ctrl-click is required or not. There is just NO dispatch interception going on for .doc files. But I get all sorts of other dispatch querys like .uno:GoUp or .uno:Quit and file:// but not as long as it is a .doc file whether the file exists or not. Regards -- Knut Olav Bøhmer
Re: [dev] Problems with paste
On 6/15/06, Mathias Bauer [EMAIL PROTECTED] wrote: Knut Olav Bøhmer wrote: Hi, I'm looking for the documentation of Uno:paste, and what arguments that this function can take. I'm hoping it could solve some problems that I have. There are no arguments you could pass to the dispatch execution, it simply pastes the current clipboard content. OK, but I'm still looking for the documentation of these uno calls. I'm inserting a bookmark into a document, then pasting from clipboard. The problem is that the bookmark is moved to the end of the pasted content. I want the inserted text to come after the bookmark. ThisComponent.Text.insertTextContent(ViewCursor, Bookmark, False) VireCursor.gotoRange(ThisComponent.Bookmarks.getByName(Bookmark).getAnchor(), False) I'm not an expert for this API but for me it looks as this call positions the ViewCursor in front of the bookmark and you have to move it to the end of the selected range. No, it does not work. Anyway the discussion is moved to dev@api.openoffice.org There is more details there -- Knut Olav Bøhmer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] bookmark deletion
Hi, Let me know if this is the wrong place to ask this question and if it is, where to to post it so I'll get an answer I'm translating word macros to OpenOffice.org, and I experience some turbulence... the word macros uses a lot of bookmarks to keep track of where in the document we are working . The problem that I have is that bookmarks are deleted, when they should not be deleted, and I need a solution for this. example: I search for some text: SearchDescriptor = ThisComponent.createSearchDescriptor() SearchDescriptor.SearchString = %%%START Match = ThisCompnent.findFirst(SearchDescriptor) Match.setString() Bookmark = ThisComponent.createInstance(com.sun.star.text.Bookmark) Bookmark.Name = START Then Later I do: Cursor.gotoRange( ThisComponent.bookmarks.getByName(START).getAnchor(), False) Cursor.gotoRange( ThisComponent.bookmarks.getByName(END).getAnchor(), True) Cursor.setString() ' Here goes my bookmarks! How can I keep them? Or if I do Cursor.gotoRange( ThisComponent.bookmarks.getByName(START).getAnchor(), False) Cursor.insertDocumentFromURL(SomeURL, Array()) REM then the bookmark is moved to the end, and I'm not able to track where I started. There is also other places where bookmarks disappears.Basically everywhere where i work with bookmarks and inserts something next to them, or delete text which is next to them. Special problem is if i do search and replace, and some text next to a bookmark is replaced. Could I insert a controllcaracher that would make sure they don't get deleted. I think, that if one would resolve this, it would make it much easier for people to convert their macros from word to OpenOffice.org, and also for the people who is working on VBA support in OpenOffice.org. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] Problems with paste
Hi, I'm looking for the documentation of Uno:paste, and what arguments that this function can take. I'm hoping it could solve some problems that I have. Or if someone maybe knows the solution, pleas tell me. I'm inserting a bookmark into a document, then pasting from clipboard. The problem is that the bookmark is moved to the end of the pasted content. I want the inserted text to come after the bookmark. ThisComponent.Text.insertTextContent(ViewCursor, Bookmark, False) VireCursor.gotoRange(ThisComponent.Bookmarks.getByName(Bookmark).getAnchor(), False) oDispatcher.executeDispatch(ThisComponent.CurrentController.Frame, .uno:Paste, , 0, Array()) -- Knut Olav Bøhmer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]