View previous topic :: View next topic |
Author |
Message |
yoxi Cipher
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Sep 07, 2004 Posts: 1799 Location: Dawlish, Devon
|
Posted: Wed Jul 22, 2009 3:05 am Post subject: Checking for updates x2 |
|
When I open a doc and NeoOffice (v3.0 patch 5 intel 10.5.7) gets launched as the default app, I get the Checking for Updates dialogue - twice. I close the first one, and then it pops up again.
Fixable?
- padmavyuha |
|
Back to top |
|
![](modules/Forums/templates/subSilver/images/spacer.gif) |
pluby The Architect
![The Architect The Architect](modules/Forums/images/ranks/ship.png)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Wed Jul 22, 2009 8:31 am Post subject: |
|
That is very strange as the patch update check is triggered by "run again after a certain" date setting in one of the user preference files. There is a single job that runs so to get two jobs running at the same time means something is corrupted in your user preference files.
Here are the two areas where the corrupt might be located:
1. Custom keyboard shortcuts - If you have setup a keyboard shortcut for the Help :: Check for Updates menu and you trigger this keyboard shortcut, you can kick off NeoOffice's underlying OpenOffice.org code's manual patch checking code which allows manual and automatic patch checks to run at the same time.
2. The patch check interval is set too frequently - Try resetting this setting by selecting the Tools :: Options menu. selecting the NeoOffice :: Online Update item, select the "Every Month" radio button, and press the OK button. Then, repeat these steps and set the interval to whatever interval you prefer.
Do either of the above areas sound light what is happening to you?
Patrick |
|
Back to top |
|
![](modules/Forums/templates/subSilver/images/spacer.gif) |
yoxi Cipher
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Sep 07, 2004 Posts: 1799 Location: Dawlish, Devon
|
Posted: Wed Jul 22, 2009 10:03 am Post subject: |
|
Basically, I'm getting the Update check every time I launch NeoOffice. I tried changing the period to Monthly, but that hasn't solved the issue.
I don't have a keyboard shortcut pointing at the Check for Updates menu option -I wouldn't know how to do that anyway, since that menu option isn't visible in the Customise::Menu Help menu section.
The only thing I can think of that might be significant is that I'm running NeoOffice in the newest 'launch headless' way, via the
defaults write org.neooffice.NeoOffice DefaultLaunchOptions -nodefault
command. Could that have anything to do with bypassing the 'check/don't check now' code? |
|
Back to top |
|
![](modules/Forums/templates/subSilver/images/spacer.gif) |
pluby The Architect
![The Architect The Architect](modules/Forums/images/ranks/ship.png)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Wed Jul 22, 2009 10:13 am Post subject: |
|
I cannot reproduce the behavior that you see when I set the new DefaultLaunchOptions preference so that probably is not the cause. So, the next step is to remove the user preference file that the auotmatic update check reads and see if that resets things. Can you try the following steps and tell us if anything changes?:
1. Quit NeoOffice
2. Move or delete the following file. Note: "~" means your Home folder:
~/Library/Preferences/NeoOffice-3.0/user/registry/data/org/openoffice/Office/Jobs.xcu
3. Restart NeoOffice
This should cause the automatic update check to run once, but then only weekly after that.
Patrick |
|
Back to top |
|
![](modules/Forums/templates/subSilver/images/spacer.gif) |
yoxi Cipher
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Sep 07, 2004 Posts: 1799 Location: Dawlish, Devon
|
Posted: Wed Jul 22, 2009 10:56 am Post subject: |
|
Nope, didn't fix it, still getting the Update Check on every launch. I don't know whether it's relevant but I'm also getting:
Macintosh soffice.bin[731]: JavaNativeFoundation: GetGlobalVM: JNI_GetCreatedJavaVMs() failed to get any VM.
in system.log when I launch NeoOffice. |
|
Back to top |
|
![](modules/Forums/templates/subSilver/images/spacer.gif) |
yoxi Cipher
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Sep 07, 2004 Posts: 1799 Location: Dawlish, Devon
|
Posted: Wed Jul 22, 2009 11:01 am Post subject: |
|
I just ran
defaults write org.neooffice.NeoOffice DefaultLaunchOptions -calc
and then relaunched NeoOffice, and I don't get the Update Check any more when I launch NeoOffice. Then I ran
defaults write org.neooffice.NeoOffice DefaultLaunchOptions -nodefault
again, and I get the Update Check each time I launch.
(the system.log line I quoted above is a red herring, I get it each time Neo is launched regardless) |
|
Back to top |
|
![](modules/Forums/templates/subSilver/images/spacer.gif) |
pluby The Architect
![The Architect The Architect](modules/Forums/images/ranks/ship.png)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jun 16, 2003 Posts: 11949
|
|
Back to top |
|
![](modules/Forums/templates/subSilver/images/spacer.gif) |
yoxi Cipher
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Sep 07, 2004 Posts: 1799 Location: Dawlish, Devon
|
Posted: Wed Jul 22, 2009 11:33 am Post subject: |
|
Nope, after installing the patch, I get the same behaviour - except now I get the Update Check twice even when just launching NeoOffice -nodefault without opening a doc .
It's no big deal at the moment, I'll go back to Calc default and see if a future update solves it. |
|
Back to top |
|
![](modules/Forums/templates/subSilver/images/spacer.gif) |
pluby The Architect
![The Architect The Architect](modules/Forums/images/ranks/ship.png)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Wed Jul 22, 2009 11:40 am Post subject: |
|
Your Jobs.xcu looks correct so that is not the issue. But I did finally reproduce this problem. I had to edit one of the NeoOffice files to make it think I was using Patch 4. Then, when I ran with -nodefault, the update check runs every time I launch NeoOffice even after I change the patch number back to Patch 5.
I will investigate this bug further and post when I have some news to report.
Patrick |
|
Back to top |
|
![](modules/Forums/templates/subSilver/images/spacer.gif) |
narf The Anomaly
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jan 21, 2007 Posts: 1075
|
Posted: Wed Jul 22, 2009 12:04 pm Post subject: |
|
pluby wrote: | I will investigate this bug further and post when I have some news to report. |
I have opened bug 3503 to track this issue.
--fran |
|
Back to top |
|
![](modules/Forums/templates/subSilver/images/spacer.gif) |
pluby The Architect
![The Architect The Architect](modules/Forums/images/ranks/ship.png)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jun 16, 2003 Posts: 11949
|
|
Back to top |
|
![](modules/Forums/templates/subSilver/images/spacer.gif) |
yoxi Cipher
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Sep 07, 2004 Posts: 1799 Location: Dawlish, Devon
|
Posted: Fri Jul 24, 2009 1:57 am Post subject: |
|
Nope, sorry; test-6 with -nodefault set, I still get the Update Check every time I launch NeoOffice - but only once now. |
|
Back to top |
|
![](modules/Forums/templates/subSilver/images/spacer.gif) |
pluby The Architect
![The Architect The Architect](modules/Forums/images/ranks/ship.png)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Fri Jul 24, 2009 8:04 am Post subject: |
|
yoxi wrote: | Nope, sorry; test-6 with -nodefault set, I still get the Update Check every time I launch NeoOffice - but only once now. |
Can you quit NeoOffice and attach the Job.xcu file again?
Patrick |
|
Back to top |
|
![](modules/Forums/templates/subSilver/images/spacer.gif) |
pluby The Architect
![The Architect The Architect](modules/Forums/images/ranks/ship.png)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Fri Jul 24, 2009 8:35 am Post subject: |
|
One more question: do you have an third-party extensions installed in the Tools :: Extension Manager menu's dialog? If so, maybe what you are seeing is the OpenOffice.org code doing an update check for your third-party extensions. I think that the dialogs look very similar but it is a different code.
Patrick |
|
Back to top |
|
![](modules/Forums/templates/subSilver/images/spacer.gif) |
yoxi Cipher
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Sep 07, 2004 Posts: 1799 Location: Dawlish, Devon
|
Posted: Fri Jul 24, 2009 9:56 am Post subject: |
|
Well. It wasn't the Extension Updates dialogue I was seeing, it was definitely the Check for Updates dialogue. But I looked at the Extension Updates dialogue in order to compare them - and it offered me an update for the Sun Import PDF extension, so I accepted and installed that, I quit NeoOffice and relaunched it to see again what the Check for Updates dialogue looks like - and now NeoOffice is launching without bringing that up.
I don't know whether it was installing the new extension that fixed this, or if I just needed to relaunch NeoOffice one more time than I had for the new code to stick, or what - but something shifted it along and it's fixed now.
Thanks . |
|
Back to top |
|
![](modules/Forums/templates/subSilver/images/spacer.gif) |
|