OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: Dariusz Piatkowski on January 08, 2015, 03:08:04 am

Title: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Dariusz Piatkowski on January 08, 2015, 03:08:04 am
Now that GA is available and since I did not see a mention of this anywhere yet (nor have I attempted the install myself either) should I completely un-install my current OO 3.2 first?

I remember having a hard time getting the WPS Integration part (was a separate WPI package), do I still need this with 4.1.1 GA, or has this been removed?

In other words, I'm trying to get some clarify on whether this is a complete un-install/re-install, or whether there is some built-in "upgrade" type functionality in the 4.1.1 GA WPI...

Thanks!
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Pete on January 08, 2015, 08:35:54 am
Hi Dariusz

The Installation notes (readme) displayed during Warpin install states:-

** Warning **
Do not install this version over an existing installation.


I suggest making a backup of your existing OO installation then delete the existing installation - if the existing installation was a Warpin package use Warpin to uninstall it.

Finally give the AOO4 install a go  :-)


Regards

Pete
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: ivan on January 08, 2015, 01:22:41 pm
Hi Dariusz,

I installed it last night on our test machine with all the other versions of AOO installed.  It installs to its own directory but does use the Home dir for config files but even there it creates its own directory.

As Pete says, backup what you have then just install as normal - you can always cancel the install if it appears to go where you don't want it.
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Dariusz Piatkowski on January 08, 2015, 02:56:18 pm
Pete and ivan,

Thanks guys. Following my post, and being impatient to try the new release out  :P I did at least start WarpIn thinking as Pete highlighted that probably the included README would have some info.

You are right, it does recommend an un-install first, but later on in the document it talks about this version being OK to install along with other versions...and it appears that the WPS Integration it will attempt to use is the previously installed version, so in this respect one should NOT un-install that part. Certainly there do not appear to be any new Integration release pacakges to replace the old ones.

Anyways, best to start off with a clean install....I'll take the approach of removing the application part of OO 3.x but not the WPS Integration and go from there. Will post later on a status update on how the install went along...
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Alex Taylor on January 08, 2015, 03:57:43 pm
It's fine to install it alongside 3.x. 

As I read it, "Do not install this version over an existing installation" means exactly that: don't install it OVER TOP OF (i.e. into the same directory as) another version.
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Doug Bissett on January 08, 2015, 05:34:14 pm
I installed it in a new directory, and both versions work. AOO4 works well, for what I have tried so far (just about everything that I used 3.2 for). I have a feeling that OO 3.2 will not last long, on my machines.   :)

FWIW, I used AOO-4110-GA-rpm.wpi to get the stuff that would otherwise require RPM/YUM, or a lot of messing around. From what I see, YUM does not, yet have the required support available, but that may be a user problem (I still HATE RPM/YUM). DO NOT use both methods to get the required support.

I did not interpret the README as saying to uninstall the old version first, UNLESS you have been using a pre-release of AOO4, which should be uninstalled.

Well done, and thanks to those who did it.
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: mickhead on January 09, 2015, 01:05:18 am
GA 4 goes well on my tested items. I did it install along 3.2, yet am pleased enough with 4 to have removed 3.2.

Well done on GA 4!
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: David McKenna on January 09, 2015, 11:33:52 pm
 Anybody got Java to work with it? Here if I go to Tools-> Options -> OpenOffice-> Java my computer hangs and I have to reboot. The README implies it might work, but then says everything that requires Java will not work, so it is confusing. I was able to get Java to work with the first beta....
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Neil Waldhauer on January 10, 2015, 12:57:00 am
I installed from the WPI, with YUM getting all the required libraries.

AOO 4.1 is running fine.

In order to get WPS integration, I uninstalled only the OOoWPS and OOsWPSWizard using WarpIN, then let the AOO 4.1 WPI reinstall those parts. My WPS appears to be integrated correctly.

I still have not figured out the Java integration.
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Doug Bissett on January 10, 2015, 04:03:35 am
While the initial installation seems to work okay, I am running into a couple of problems (which I have not tried to analyze, yet).

Printing seems to be broken to CUPS 1.4.8. Other programs (including OO3.2) seem to print okay.

Opening Text Document, and attempting to go to Tools-> Options causes an error popup. This seems to be okay in Spreadsheet.

Anybody else see these, or do I need to look at my local system?
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: TeLLie on January 10, 2015, 09:46:27 am
Hi Doug

Printing is working here, i also use cups 1.48
Also opening Text Document, and attempting to go to Tools works for me.

Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Dariusz Piatkowski on January 11, 2015, 03:35:46 pm
OK, install done...went pretty smooth, but there are some points to note that were a bit confusing:

1) I pulled the pre-req DLL package (AOO-4110-GA-rpm.wpi), extracted the DLLs and tossed them into my \usr\dll location (where I keep these), backed up the previous versions as some of the OO DLLs were different from what otherwise was the latest publically available release out there

2) rebooted, ran checkini, general clean-up type stuff, old OO3.2 is now gone

3) left my WPS Integration pieces in place

4) ran the main install (AOO-4110-GA-base-en-US.wpi), WarpIn now shows 3 separate packages: Associations, Base, RPMdlls (this left me scratching my head since it's a separate pre-req package that I manually installed prior to the main install, see Step#1 above), now I basically have duplicates of all these DLLs, so maybe the main install grabbed the DLL WPI and installed at the same time???

5) enabled the DLL high-mem load for CODE only (14.106 krnl here, ACPI 3.22.06), this of course only impacts the program directory DLLs and leaves out non-highmem loading copies I tossed elsewhere in my system, now I have 2 versions potentially leading to problems

6) re-booted

Sooo...results are: smooth...very nice...however, attempting to open a sample Lotus 123 spreadsheet resulted in a hard error, due to what appeared to be a missing or un-known Lotus 123 format...hmmm???

Following this error all other attempts to open any OO applications just resulted in a hard error (pop-up box). They were all pointing to the icudt42.dll, this was one of the duplicates pre-req DLLs, so I decided to remove the highmem load...a reboot is required though since OO is now crashing in other DLLs...

Long write-up, but I wanted to be pretty specific in my deployment. What sort of results are people seeing with the highmem option?
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Doug Bissett on January 11, 2015, 06:06:17 pm
Quote
1) I pulled the pre-req DLL package (AOO-4110-GA-rpm.wpi), extracted the DLLs and tossed them into my \usr\dll location (where I keep these)

That was your first mistake. Either do it with RPM/YUM, or let WarpIn do it. You likely have duplicate DLLs, at different levels.

Quote
2) rebooted, ran checkini, general clean-up type stuff, old OO3.2 is now gone

I didn't do that, and it is possible that that is what is causing part of my problems. I hope to get around to cleaning that up, today.

Quote
3) left my WPS Integration pieces in place

Uhmmm. Why? AOO4 has it's own (which may be the same program), which doesn't replace the old ones anyway. Of course., since you uninstalled the old OO3.2, the old ones probably point nowhere.

Quote
Associations, Base, RPMdlls (this left me scratching my head since it's a separate pre-req package that I manually installed prior to the main install, see Step#1 above), now I basically have duplicates of all these DLLs,

You should have either removed the RPM package from the same directory that the installer was in, or, you should have deselected it. WarpIn has no good way to know that you installed that stuff in a different, undocumented, and I will also say "incorrect", way. Now you definitely have a mess to clean up, although simply using WarpIn to uninstall the RPM package will probably fix the problem. You are now exposed to the problem of which DLL gets loaded first, and that can cause the problem where "sometimes it works, and sometimes it doesn't".

Quote
5) enabled the DLL high-mem load for CODE only

Ah!, but since you have duplicate DLLs, which ones got modified? I suspect that it is only the ones that got installed by WarpIn, but it could be just the first ones that it found, depending on how it looks for them (don't forget about the ".;" entry in LibPath). I gave loading high a quick try, and it crashed, but I think the problem is caused by stray DLLs that don't match. At least there is an easy backout. My plan now, is to clean up the DLL mess, get it working without loading high, then try it again.

I am pretty sure that I am seeing much the same problems, since I already had some of those DLLs installed in other ways (in \eCS\DLL). The RPM WPI package also installs some system DLLs in the AOO4 directory structure (z.dll, for sure), creating the duplicate DLL problem. This could affect other programs too.
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Doug Bissett on January 12, 2015, 03:38:46 am
Quote
Opening Text Document, and attempting to go to Tools-> Options causes an error popup. This seems to be okay in Spreadsheet.

Okay, I uninstalled everything to do with OpenOffice 3.2, and 4.1 (including removing everything in the %HOME% directory). That seems to have worked okay. I then cleaned the INI files, and rebooted. Note that I had to close Firefox, because it had locked onto one of the font files, and wouldn't let go (I am not sure how FF even found it).

Next, I extracted the contents of the AOO4-RPM file. As I suspected, a number of those things were already in \eCS\DLL, and the AOO4 installer put them all into the AOO4 Program directory, causing duplicates. I did not take the time to check versions. I simply copied all of the DLLs into \eCS\DLL, overwriting whatever was already there (I should have been able to redirect the AOO4-RPM package to install in that directory, but I haven't tried that yet). The installer should automatically select either \eCS\DLL, or \OS2\DLL, depending on what version of OS/2 you have, but it doesn't do that. I am also not too sure what would happen if I tried to set it to use high memory (and I won't try that until I try it on a test machine).

So far, that seems to have fixed the Tools-> Options problems. I still can't print, but that seems to be something in CUPS, when using an HP printer. Other things print okay. I can create a PDF file, with AOO4, and print that using PDFView, so I am not entirely stuck.

I am not so sure that I would call AOO4 a "GA", as it is, but it is definitely a good "Release Candidate". I suspect that time, and money, ran out, so it is a "GA". Overall, it looks pretty good.
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: guzzi on January 12, 2015, 04:13:28 am
Quote
Opening Text Document, and attempting to go to Tools-> Options causes an error popup. This seems to be okay in Spreadsheet.

Okay, I uninstalled everything to do with OpenOffice 3.2, and 4.1 (including removing everything in the %HOME% directory). That seems to have worked okay. I then cleaned the INI files, and rebooted. Note that I had to close Firefox, because it had locked onto one of the font files, and wouldn't let go (I am not sure how FF even found it).

Next, I extracted the contents of the AOO4-RPM file. As I suspected, a number of those things were already in \eCS\DLL, and the AOO4 installer put them all into the AOO4 Program directory, causing duplicates. I did not take the time to check versions. I simply copied all of the DLLs into \eCS\DLL, overwriting whatever was already there (I should have been able to redirect the AOO4-RPM package to install in that directory, but I haven't tried that yet). The installer should automatically select either \eCS\DLL, or \OS2\DLL, depending on what version of OS/2 you have, but it doesn't do that. I am also not too sure what would happen if I tried to set it to use high memory (and I won't try that until I try it on a test machine).

So far, that seems to have fixed the Tools-> Options problems. I still can't print, but that seems to be something in CUPS, when using an HP printer. Other things print okay. I can create a PDF file, with AOO4, and print that using PDFView, so I am not entirely stuck.

I am not so sure that I would call AOO4 a "GA", as it is, but it is definitely a good "Release Candidate". I suspect that time, and money, ran out, so it is a "GA". Overall, it looks pretty good.

Why wouldn't you call it GA? Because of 2 problems you are seeing? One of those is caused by your choice not to use rpm. If you don't use what is by now a de facto standard used by several developers (and of course you are entirely free to make that choice) you can expect you'll have to deal with the consequences yourself, i.e juggle with dll's. So far I haven't seen anyone else mentioning printing problems, so I suspect that has nothing to do with OO but is a problem either in your cups install or with your printer object. Based on what you wrote I see no reason at all to make the assumption that time and money ran out. That  statement even is rather offensive  towards the developer, especially  because it seems to be based on, well, nothing.
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Dariusz Piatkowski on January 12, 2015, 06:05:56 am
Hi Doug!

Quote
1) I pulled the pre-req DLL package (AOO-4110-GA-rpm.wpi), extracted the DLLs and tossed them into my \usr\dll location (where I keep these)

That was your first mistake. Either do it with RPM/YUM, or let WarpIn do it. You likely have duplicate DLLs, at different levels.

Well, the only problem with letting WarpIn do it is that it actually could/would not. I have version 1.0.20, and attempting to install the DLL package alone was producing an error message from WarpIn about a missing install script. Sure enough, by looking at the contents you could tell that the intent was to place the DLLs in the OO411 '\program' subdirectory...

Quote
Quote
3) left my WPS Integration pieces in place

Uhmmm. Why? AOO4 has it's own (which may be the same program), which doesn't replace the old ones anyway. Of course., since you uninstalled the old OO3.2, the old ones probably point nowhere.

Well, if OO4 did actually have it's own the readme certainly did not spell that out...instead it references the old/separate package:

"...Desktop integration: - support for WPS integration via separate package..."

Anyways, it is up and running here fine.

Quote
Quote
5) enabled the DLL high-mem load for CODE only
Ah!, but since you have duplicate DLLs, which ones got modified? I suspect that it is only the ones that got installed by WarpIn, but it could be just the first ones that it found, depending on how it looks for them (don't forget about the ".;" entry in LibPath). I gave loading high a quick try, and it crashed, but I think the problem is caused by stray DLLs that don't match. At least there is an easy backout. My plan now, is to clean up the DLL mess, get it working without loading high, then try it again.

Well, the "highmem enable" object simply calls the highmem.exe in the '\program\ directory and passes the "*.dll" parameter...which means only the local DLLs will be impacted. But you are right...whenever they may be multiple copies of said DLL on a given system there may be potential conflicts between the highmem enabled versions and the OO4 ones. For that very reason I went back to regular setup...so far, no problems...just need to figure out why I can't open any of my countless Lotus123 spreadsheets...LOL...might log a BUG for that...of all file types we have on our platform I'm scratching my head a little about having this problem...none of the previous versions showed it either.
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Doug Bissett on January 12, 2015, 08:29:24 am
Quote
Well, the only problem with letting WarpIn do it is that it actually could/would not. I have version 1.0.20, and attempting to install the DLL package alone was producing an error message from WarpIn about a missing install script. Sure enough, by looking at the contents you could tell that the intent was to place the DLLs in the OO411 '\program' subdirectory...

Yes. That WarpIn installer for the RPM package is very broken. It does NOT put those DLLs where they should be (\eCS\DLL for eCS systems, or \OS2\DLL for OS/2 systems). It also does not allow a user to change the target, if they wish to put them somewhere else (not advisable, but some like to do things like that). Not only that, but if you let it install into the AOO4 Program directory (as if you had a choice), you will have duplicate DLLs, which will, eventually, cause much grief. You do need to extract the files, and put them where they belong. That was causing my problems with Tools-> Options. I suspect that it was also causing the problem where using Highmem crashed. Those DLLs probably should not be included in the highmem change, especially when other programs will use them, and may not have required fixes. The DLLs that do belong in the Program directory can probably be changed with no problem (but I haven't tried that yet).

I will also note here, that there seems to be no problem with leaving OpenOffice 3.2 installed along side of AOO4.Of course system integration goes to AOO4, after the install.

Quote
Why wouldn't you call it GA? Because of 2 problems you are seeing? One of those is caused by your choice not to use rpm. If you don't use what is by now a de facto standard used by several developers (and of course you are entirely free to make that choice) you can expect you'll have to deal with the consequences yourself, i.e juggle with dll's.

I choose to not use RPM/YUM because it causes more problems than it fixes, has very little in the way of user help, when something goes wrong (which seems to happen consistently), and it is not updated in a timely manner (it was only recently that LIBC066 was added to the experimental repository, and it is still not in the normal repository). FWIW, the package handler that Arca Noae is working on makes using YUM easier, as long as nothing goes wrong. It is hampered by the fact that YUM does not return good information when something goes wrong. If it comes down to a choice, I will avoid RPM/YUM like the plague it is. Unfortunately, as you point out, certain developers seem to think it is the only way to do things, but those same developers make ZIP (or WarpIn) files available because they know that RPM/YUM is garbage.

Why not "GA"?, Well, for one thing the WarpIn installer, supplied for the AOO4 RPM package is very broken <see above>. If it was built properly, there would be no problem with it. That is just sloppy work on the part of whoever built the installer, and it was obviously not properly tested.

Sorry, but that is the way it is. This is supposed to be a professional development team. Things like that should not get past their quality testing, and they should know better than to put system DLLs into a program directory. That just causes update problems, and can easily break other programs. Too few people, and too much work, as usual.

FWIW, it appears that the printing problem is caused by trying to use an HP printer with CUPS, although other things print okay. I need to do more work with that, but I expect that a CUPS update will fix it (if that ever gets off the ground).
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: guzzi on January 12, 2015, 01:56:34 pm

Quote
Yes. That WarpIn installer for the RPM package is very broken. It does NOT put those DLLs where they should be (\eCS\DLL for eCS systems, or \OS2\DLL for OS/2 systems).

That is an opinion, not a fact. I for one think those DLLs should not be in the eCS\DLL or OS2\DLL directories.

Quote
Those DLLs probably should not be included in the highmem change, especially when other programs will use them, and may not have required fixes.

That's an assumption, not a fact. On what do you base that? I have tested quite a bit with code loaded high for everything in usr\lib without apparent problems. How do you know fixes might be required?


Quote
I choose to not use RPM/YUM because it causes more problems than it fixes, has very little in the way of user help, when something goes wrong (which seems to happen consistently), and it is not updated in a timely manner (it was only recently that LIBC066 was added to the experimental repository, and it is still not in the normal repository).

Again, opinion, not fact. How many people are using rpm, how many have consistent problems with it? I do use rpm, because it does 'fix' quite a lot of problems for me. Most of the ported software needs that comes out now needs the unix based DLLs. RPM installs them all, with proper version and dependency checking. Much easier than doing that all by hand. Warpin can't do that. LIBC066 btw is fairly new, the reason it is in the experimental repo might just be that it hasn't been tested enough?

Quote
Unfortunately, as you point out, certain developers seem to think it is the only way to do things, but those same developers make ZIP (or WarpIn) files available because they know that RPM/YUM is garbage.

Please provide evidence. Where and when did those developers state that "they know RPM/YUM is garbage"?
From netlabs trac for Odin: "We also provide a Zip package of Odin (see below) for your convenience, if you cannot use RPM for some reason" It's rather a big leap from a developer providing something for your convenience to a developer thinking his/her own work is garbage.

Quote
Why not "GA"?, Well, for one thing the WarpIn installer, supplied for the AOO4 RPM package is very broken <see above>. If it was built properly, there would be no problem with it. That is just sloppy work on the part of whoever built the installer, and it was obviously not properly tested.

Perhaps you are mixing up intended behaviour that you don't like with broken.

Quote
Sorry, but that is the way it is. This is supposed to be a professional development team. Things like that should not get past their quality testing, and they should know better than to put system DLLs into a program directory. That just causes update problems, and can easily break other programs. Too few people, and too much work, as usual.

System DLLs?  They aren't system DLLs. They are support DLLs used specifically by programs ported from nix. That is why they either belong in their own place, when you have several of these programs so they can be shared, or in the program directory. If you want to share those DLLs between programs, you will need proper version checking on install, which is why we have RPM. Again, you choose to do it in a different way than the developer has decided, you clean up the mess. Don't go on a rant about quality and start insulting developers, even making up things like they know themselves that their software is garbage, when it is your own mess you are dealing with.
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Pete on January 12, 2015, 03:15:12 pm
Hi Doug

Maybe you should try cups 2.0 and see if that helps with your printing problem.

I must admit that cups 2.0 was a pain to get working - mainly due to the amount of ported *nix  utilities required which I had to discover 1 at a time by perusing the debug error log after each attempt to print failed - but could be worth the effort. If you like I could put together a list of the required files - and where to unzip them to.

You may also want to investigate the PSPRINT.DRV - http://www.altsan.org/os2/printing/psprint-test-141203.zip - from Alex as an alternative to the ECUPS.DRV if you want to print in colour.


Regards

Pete



Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Doug Bissett on January 12, 2015, 04:33:26 pm
Quote
Maybe you should try cups 2.0 and see if that helps with your printing problem.

I tried to get CUPS 2.0 to go, on another machine (same printer). It won't go. I ran out of time, and haven't got back to it, yet. I am not going to put it on my main machine (where CUPS 1.4.8 seems to work well for everything except AOO4), until I get it working. I also need to dig around in AOO4 to see if there is something that can be changed.

I don't do much printing, and I can print a PDF file (created by AOO4) with PDFView, when I need to.
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Doug Bissett on January 12, 2015, 06:00:22 pm
Quote
That is an opinion, not a fact. I for one think those DLLs should not be in the eCS\DLL or OS2\DLL directories.

If you want to cause problems, you will not do it as I suggest. Sorry, but ONE location for ALL system DLLs is the only safe way to do it. In fact, it is really questionable if \eCS\DLL should exist. All of that stuff really belongs in \OS2\DLL. If you really want to use RPM/YUM, it puts all of that stuff into a single location, but the only protection against duplicate DLLs, is that they put that location first in LIBPATH.

Quote
How do you know fixes might be required?

How do you know they are not?

Quote
Again, opinion, not fact. How many people are using rpm, how many have consistent problems with it? I do use rpm,

I have been testing the Arca Noae package manager for about a month now. In that time, there have been multiple screw ups caused by YUM, two of them required manual intervention to fix them. I am also told, that Linux is moving away from YUM, to something that actually works.

Quote
Please provide evidence. Where and when did those developers state that "they know RPM/YUM is garbage"?

Actually, that is part of the problem. The ones who are doing it haven't figured that out, yet.

Quote
Perhaps you are mixing up intended behaviour that you don't like with broken.

More likely, I am assuming that it will do what it is supposed to do, and when it fails to do that, I assume it is broken.

Quote
System DLLs?  They aren't system DLLs. They are support DLLs used specifically by programs ported from nix.

There are two kinds of DLLs. One is used only by a single program, and they should be in the program directory. The second are DLLs used by more than one program. They should be in a location available to all programs, therefore I call them "System DLLs". You can call them "support DLLs", if you like, but they still need to be available to the whole system, or something isn't going to work properly. It is also very important to have only ONE copy of a DLL, or version mismatches can occur, and that can result in "sometimes it works, and sometimes, it doesn't". Those things can be extremely difficult to analyze, and fix.

I will note, that there are cases where different versions of a DLL may be required for different programs (XUL.DLL in Firefox, Seamonkey, and Thunderbird, for instance). Those cases require special handling (I highly recommend RUN!), and the specific DLL needs to be in the program directory. It would actually be better if the DLLs were renamed, but that makes more work for those who port things.

Quote
Don't go on a rant about quality and start insulting developers, even making up things like they know themselves that their software is garbage, when it is your own mess you are dealing with.

I am dealing with a badly constructed installer. There is NO EXCUSE for that. It is simply unacceptable for a professional software firm to do things like that. Period. The techniques to do what needs to be done exist, and have existed for some time. It is not rocket science.
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Pete on January 14, 2015, 02:25:30 am
Hi Doug

If printing from AOO4 results in an entry in the cups error log (debug level) similar to "... not defined in /mdef" then you need to swap to using PSPRINT instead of ECUPS - come to think of it you need PSPRINT if you want  to print in colour from AOO4.

I found that cups 2.0 needed a few *nix utilities added to the mix or printing failed

Also it was necessary to update \tcpip\bin\cupslpr.exe by copying the \cups\bin\lpr.exe (rename during copy) or the OS/2 printing side could not connect with the cups printing side.

I'm going to try to cobble together a brief "How To with cups 2.0" over the next few days - as time permits.

Regards

Pete
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Doug Bissett on January 14, 2015, 05:32:46 am
Quote
If printing from AOO4 results in an entry in the cups error log (debug level) similar to "... not defined in /mdef"

That seems to be one of the problems (perhaps the only one, the CUPS error log seems to collect a few things that don't matter).

Quote
then you need to swap to using PSPRINT instead of ECUPS - come to think of it you need PSPRINT if you want  to print in colour from AOO4.

I have PSPRINT ready to go. Now, I need to figure out what to do with it.   :)

Quote
I found that cups 2.0 needed a few *nix utilities added to the mix or printing failed

I started to sort that out, but ran out of time. I just haven't got back to it. I will try PSPRINT with CUPS 1.4.8, and see what happens.

Quote
I'm going to try to cobble together a brief "How To with cups 2.0" over the next few days - as time permits.

I know that Alex was working on a WarpIn installer, but I haven't heard anything recently. I do know that he is working on another project. A "how to" would be great.  Thanks...
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Doug Bissett on January 14, 2015, 06:23:37 am
Quote
I will try PSPRINT with CUPS 1.4.8, and see what happens.

I may have done something wrong, but now AOO4 printing results in "/cups/share/cups/drivers/pscript5.dll: No such file or directory". True, there is no such file.

Other things seem to print, but it was a quick test. More tomorrow, after I get some sleep.
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Alex Taylor on January 14, 2015, 10:38:17 am
If printing from AOO4 results in an entry in the cups error log (debug level) similar to "... not defined in /mdef" then you need to swap to using PSPRINT instead of ECUPS

Yeah, this was a bug in the last DDK PSCRIPT driver sources that was never fixed in ECUPS.DRV.  (It was seemingly fixed in IBM's later PSCRIPT builds but those aren't very CUPS-friendly.)  It shows up just in AOO because of the way AOO sets per-page job properties (as opposed to most apps, which use per-job properties).

I fixed it in PSPRINT after working with Yuri to isolate it, but for some reason my attempts to backport the fix to ECUPS.DRV failed; I ran out of motivation to dig into exactly why. :P

Quote
come to think of it you need PSPRINT if you want  to print in colour from AOO4.

Only if you have a printer which uses the PostScript ColorModel scheme, AFAIK.  (Although I suppose it's possible that CUPS might force this on for all printers; I've never checked.)

The build I fixed this issue in is not yet on my public website, BTW - since it appears to break greyscale printing on the same models. :/  Still trying to figure out where to go next on that.

Quote
I found that cups 2.0 needed a few *nix utilities added to the mix or printing failed

The discussion about that (on gmane) is one of the reasons I haven't continued with trying to push out a 2.0 install WPI - since the impression I drew from it is that the current build is missing some necessary components, I decided to wait until the discussion either produced a useful conclusion, or else a new build/ZIP came out.  Neither seems to have happened yet...

Time constraints are also a factor, of course. :P

Quote
I'm going to try to cobble together a brief "How To with cups 2.0" over the next few days - as time permits.

That would be useful. :)
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: mwizard on January 17, 2015, 04:56:58 am
I've installed AOO4 along side my OO3.2 install.  My old 3.2 system had WPS integration.  After my install was finished, I found that WPS still uses the older 3.2 instead of the new 4.1.1.  (after a reboot of course)

From what I've read here, I haven't done anything wrong,  If  I have, please share.  If not, anyone have any ideas on how I might get WPS integration to use 4.1.1 instead?
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: BentBit on January 17, 2015, 03:41:31 pm
Mark,

Start Warpin
look for package OpenOffice.org2.0
de-install package

To get the correct associations install OOoWPS103.wpi from ecomstation.com
choose the directory ....apacheopenoffice.4
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: ivan on January 17, 2015, 05:58:41 pm
Mark, you could just run the associations.cmd that is in the AOO 411GA root directory.
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: mwizard on January 20, 2015, 07:19:43 pm
Ivan,  thanks, but running that command yields the following message: This script is to be used only for installation process.

I'll review the script and see if I can remove this requirement.  But anytime I think of doing something like that, I'm left wondering they might have had a good reason to include this requirement in the script.  So, I'm not so eager to rush into such a change.

Leo, do you mean uninstall 3.2  as opposed to 2.0?  I'm not sure I'm ready to uninstall 3.2 just yet.  I hope it never happens, but if I try to open a document I created with 3.2 and it doesn't open with 4.x, I'd like to keep the 3.2 around to edit that document.  Sounds unlikely, but I've  been bitten before by other applications.  If I have to, I'll edit every one of my existing documents in 4.x to make me feel more comfortable and then I'll be much more likely to uninstall 3.2.

-Mark

Follow up:  I've run the command using [boot] and my ApacheOpenOffice4 install directory as parameters.  I'll test before reboot and after a reboot to see if any change in behavior is noted.

It didn't work after the cmd was completed.  Nor did it work after a reboot.  And by work, I mean the associations for WPS still used the older 3.2 version rather than the newer 4.x version when it launched for a document.

Anyone think uninstalling just OOoWPS103.wpi and reinstalling that package with parms that point to AOO 4.1.1 will work ok?  Leo suggest I can choose the directory during that install.
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: ivan on January 20, 2015, 09:26:06 pm
Mark,  If you are prepared to get at the guts of the matter you could use association editor (assoed212.zip on hobbes) and change the associations from 3.2 to 4.1.1.  Just be very careful how you use it and double check before making changes.

I don't know why the script didn't work for you, it did on our test machine.
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: mwizard on January 21, 2015, 12:48:55 am
Ivan,

It was a bit more difficult as you might imagine.  It seems that 3.2 & 4.1.1 all say the same thing, "Base" "Text Document" "Base" "Impress", etc.

So I got the idea of opening the AOO 4.1.1 folder and renaming each of the program appending a 4.1.1 text value to them.   After that change, using AssocEdit works a bit better because I can see the differences... "Text Document" & "Text Document 4.1.1" allowing me to differentiate between each and select the default.  But looking at the open menu (Open as...) does show the 4.1.1 as the top element and the default selection.

It doesn't take affect without a reboot.  I'll reboot and see if it picks up the changes.

A reboot doesn't change WPS action.  I can see that the 4.1.1 is selected as default from the open menu, but I have to select it specifically or it will open in 3.2 by default.  I had hoped this would work better than it did.
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: BentBit on January 21, 2015, 11:08:16 am
Leo, do you mean uninstall 3.2  as opposed to 2.0?  I'm not sure I'm ready to uninstall 3.2 just yet.  I hope it never happens, but if I try to open a document I created with 3.2 and it doesn't open with 4.x, I'd like to keep the 3.2 around to edit that document.  Sounds unlikely, but I've  been bitten before by other applications.  If I have to, I'll edit every one of my existing documents in 4.x to make me feel more comfortable and then I'll be much more likely to uninstall 3.2.

-Mark


Mark,

I do not mean to uninstall any openoffice version. I meant to uninstall OOoWPS103.wpi and afterwards reinstall that package while you point for ooowps.dll to your directory where the programs (such as soffice.exe) and dll's are placed.

OOoWPS103.wpi only takes care of the WPS associations.

Greetings, Leo
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: ivan on January 21, 2015, 11:49:46 am
Mark,

You should remove the associations for 3.2 first and then make them for 4.1.1.

If you have both you will get what you are seeing - the need to select which one you want to use.
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: mwizard on January 23, 2015, 02:58:40 pm
Leo,

I have OpenOffice  in Warpin lines that show 3.2, 1.02, & 1.03.  They do not appear different other than the version number.  The 1.03 is obvious enough.  But what about 1.02.  Was that installed as part of 1.03 or would you suspect that we had a mysterious version of OOoWPS102.wpi that I installed first, then installed OOoWPS103.wpi later leaving the first one installed?

In essence, I have a 1.02 version line for OpenOffice in Warpin that is a mystery to me.  Anyone who has a clue about this and could shed some light would make me feed more comfortable about it.

Unless I hear otherwise, I'm inclined to think that there was a OOoWPS102.wpi that I installed, and I can safely remove it along with OOoWPS103.wpi.
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Doug Bissett on January 23, 2015, 05:02:10 pm
Leo,

I have OpenOffice  in Warpin lines that show 3.2, 1.02, & 1.03.  They do not appear different other than the version number.  The 1.03 is obvious enough.  But what about 1.02.  Was that installed as part of 1.03 or would you suspect that we had a mysterious version of OOoWPS102.wpi that I installed first, then installed OOoWPS103.wpi later leaving the first one installed?

In essence, I have a 1.02 version line for OpenOffice in Warpin that is a mystery to me.  Anyone who has a clue about this and could shed some light would make me feed more comfortable about it.

Unless I hear otherwise, I'm inclined to think that there was a OOoWPS102.wpi that I installed, and I can safely remove it along with OOoWPS103.wpi.

I don't remember using those old versions, but from what you say, I am inclined to think that they were not packaged properly for WarpIn (using different package names), so they did not update the WarpIn database properly, when you installed them. In fact, that is the only reason why you can install AOO4.1 along side of OO3.2, so it is not necessarily a packaging error, but the user needs to realize that they are managed by WarpIn as two, completely unrelated, packages. That also requires that the program is installed in a different place, and not over the other package. (GENMAC 2.0 and 2.1 also have the package name mismatch).

The other possibility is that you were told to uninstall the older version, and did not use WarpIn to do that. Sometimes, that is necessary to remove older directory structures, and WarpIn database entries.

The easy fix is to open WarpIn, find the package that you know is not installed, RMB on it, and delete the database entry. If you do have a package installed, that you no longer want, uninstall it, but you probably don't need to do that, since version 4.1 can exist along side of the old one (as long as you don't try to install over it).

Associations work in an odd way. The LAST association that you create goes to the end of the list. RMB on the object icon (a data file), then click the arrow beside the Open As line. It will show you the default, with an asterisk (*) beside it (sometimes, there is no default). If that is not the program that you want, you need to remove that association, and the next one will move up. If you still want to have that association available, but not default, put it back, and it will go to the end of the list. You can use the Assoedit program, or you can use Properties-> Association  in the program icons. It seems that there are a few inconsistencies in that part of the WPS, so some experimenting may be required to get it right.
Title: Re: OpenOffice 4.1.1 GA - install does not mark DLLs to load high
Post by: Neil Waldhauer on January 25, 2015, 05:56:13 pm
The installer does not mark DLLs to load high. I unzipped highmem.exe to do the deed. In the program directory I used

Code: [Select]
highmem -b *.DLL
to mark both code and data high. When I exit from OpenOffice, the computer sometimes the mouse stops moving and the computer is unresponsive to remote control. Is there a safer way to use high memory? Is there a way to revert after marking high or mark "low"?
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: David McKenna on January 25, 2015, 06:22:54 pm
Neil,

  In your OpenOffice folder there should be an 'Extras' folder that has a couple of scripts for setting the dll's high and low. You can also manually use highmem -u *.dll to 'unmark' the dll's from loading high. My understanding is that only code should be loaded high (highmem -c *.dll). It has worked well here so far.
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: mwizard on January 27, 2015, 01:38:40 am
I've uninstalled OOoWPS 1.0.3 from the system.  I rebooted.  Then reinstalled the package.  I rebooted.  The reinstall only asked for the install directories for the OOoWPS  other wizard product installed along side.  No where did is ask where AOO was installed.

AssocEdit still shows both version associations present.  And the 4.1.1 is the default application.

Clicking on a WPS icon for a ODS file (Spreadsheet), the system now tells me...  OOoWPS Support Agreement for OpenOffice.org for eComStation and OS/2 is require in order to open, view or print the document.

The system does not start OpenOffice in any version now.

The context menu showed both 3.2 & 4.1.1 programs are associated with it.

I then walked through all file extensions and removed the 3.2 references.  When completed I rebooted the system.

Clicking on a WPS icon for a ODS file still gives me the same dialog and it still does not launch any program.

I can get the open context menu and it shows only the 4.1.1 program.

Any other ideas?   Until I get this fixed, I'll just have to use the open context menu rather than just double clicking the icon.

>> Follow up....

I downloaded from Mensys my ecs 2.1 CD3 and found the OOoWps installer again.  But it also had the ooodoc.cmd that I did not have before.  I uninstalled the OOoWps and reinstalled that software.  Then ran ooodoc.cmd.  It seems to have fixed my problem.  Now I can double click and office document and it opens in 4.1.1.  I hope this helps others plan their updates.

>> Follow up...   (1/28/15)

My next reboot found that I'd lost the desktop.  Perhaps all that goofing around with desktop settings  messed something up.

I restored a desttop from before the install of 4.1.1 took place.  So I've lost my AssocEdit setting changes, and my AOO 4.1.1 desktop changes.

I uninstalled AOO and reinstalled it again.  The AOO 4.1.1 desktop folder & icons are back.  Still had the same problem with opening a document though.  (Opens 3.2 instead of 4.1.1).  So I tried to run the ooodoc.cmd again.  This gave me enough errors that I decided I had no idea how to make it work.  But it didn't seem to have done any damage either.  So plan B was to open AssocEdit again and remove the 3.2 association with some (but not all, I'm  lazy) of the file extensions.   I selected the ones I'm most likely to see based on what I've seen over the years.

For now, things are working just fine.  Double clicking documents open up 4.1.1 as I want.

Hopefully others will have better luck than I.
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Doug Bissett on January 29, 2015, 04:35:17 am
I was having a problem opening AOO4 when Firefox 24.8.1 was open. A bunch of DLLs failed to load. The fix was to go to the Extras folder, then use "Enable High Mem code&data loading". That seems to have fixed that problem, for now.

I am still having trouble with printing (not unexpected, since nothing has been done to fix that problem).
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Dave Yeo on January 29, 2015, 04:52:54 am
You can also mark the Firefox dlls to load high. Currently xul.dll can only be marked to load the code high without eventually crashing.
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: mwizard on January 29, 2015, 02:58:58 pm
FWIW

Here I can run both AOO & FF24 at the same time.  I can print a couple of pages from a basic document in AOO at the same time too.   I'm using 14.104SMP kernel.  I have not set any DLLs to run in highmem.
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Doug Bissett on January 29, 2015, 04:56:53 pm
Quote
You can also mark the Firefox dlls to load high. Currently xul.dll can only be marked to load the code high without eventually crashing.

I haven't tried Firefox, yet, but I have been having the odd crash on closing Firefox, so I am hesitant to try that. (I do have the 14.106 SMP kernel). There are some other things that  I will try, when I find some time.   ::)

Quote
Here I can run both AOO & FF24 at the same time.  I can print a couple of pages from a basic document in AOO at the same time too.   I'm using 14.104SMP kernel.  I have not set any DLLs to run in highmem.

I can run AOO4 with FF 24, if I unload a whole bunch of background programs (not on). Apparently, you need the fixed 14.106 SMP kernel to use the highmem thing.
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Andy Willis on January 29, 2015, 08:21:58 pm
You can also mark the Firefox dlls to load high. Currently xul.dll can only be marked to load the code high without eventually crashing.
I had thought they had just fixed xul.dll so it could be set to load code and data high.  Maybe I am misremembering or misread something along the way.
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Andy Willis on January 29, 2015, 08:26:41 pm
FWIW

Here I can run both AOO & FF24 at the same time.  I can print a couple of pages from a basic document in AOO at the same time too.   I'm using 14.104SMP kernel.  I have not set any DLLs to run in highmem.
If you do not have a patched kernel then marking DLLs to run in highmem will cause a trap when the DLL unloads (maybe not everytime but often enough to be annoying).  So if you have not installed the patch, you probably don't want to mark highmem.
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Dave Yeo on January 29, 2015, 10:06:50 pm
You can also mark the Firefox dlls to load high. Currently xul.dll can only be marked to load the code high without eventually crashing.
I had thought they had just fixed xul.dll so it could be set to load code and data high.  Maybe I am misremembering or misread something along the way.

There are numerous places where #include <os2safe.h> is missing and it was decided to rebuild with libc066 where os2safe.h is automatically included before os2.h would be simpler. 
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: mwizard on February 03, 2015, 12:42:02 am
Can anyone point me to where I might obtain the 14.106 SMP kernel?  And is there any reason it should not work with eCs 2.0?
Title: Re: OpenOffice 4.1.1 GA - pre-requisite uninstall?
Post by: Dave Yeo on February 03, 2015, 02:11:20 am
I believe it is only available on the 2.2 beta (beta 2 where I found it). No reason that it wouldn't work on eCS 2.0, I have it working on Warp V4