View previous topic :: View next topic |
Author |
Message |
aerosolkid Agent
Joined: Apr 09, 2006 Posts: 14
|
Posted: Tue Sep 09, 2008 9:31 am Post subject: Error Installing Extension |
|
Hello Everyone,
I don't know if this is an easy one to solve: Whenever I try adding an extension with python elements (I'm not a programmer, so I don't know much about that) to NeoOffice (2.2.4 Patch 5 on a PPC OS 10.4.11) via the extension manager: I get an error message:
or
Relaunched Neooffice several times, reinstalled it, but no success. has anyone an idea?
Greetings
Tobias |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Tue Sep 09, 2008 9:36 am Post subject: |
|
These types of errors usually appear when you try to install an extension that only requires a newer version of OpenOffice.org than NeoOffice is based on. NeoOffice 2.2.4 is based on OpenOffice.org 2.2.1 so if the extension developers designed it for OpenOffice.org 2.3 or 2.4, it won't be backward compatible with NeoOffice.
BTW, can you give us a link to the extension's website so that we can verify if that is the cause of the problem?
Patrick |
|
Back to top |
|
|
aerosolkid Agent
Joined: Apr 09, 2006 Posts: 14
|
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Tue Sep 09, 2008 10:12 am Post subject: |
|
Thanks for the link. I can install it without error on my Mac OS X 10.4.11 machine. So, I suspect that there is some corruption in the extension registry files that NeoOffice's underlying OpenOffice.org code writes to when installing an extension.
To test my theory, can you try the following? These steps will force NeoOffice to create a set of new user preference files with default values:
1. Quit NeoOffice
2. Move the following folders to your Desktop or to the Trash if they exist:
Code: | ~/Library/Preferences/NeoOffice-2.2
~/Library/Preferences/NeoOffice-2.1 |
3. Restart NeoOffice
Does the extension install without error after doing the above steps?
Patrick |
|
Back to top |
|
|
aerosolkid Agent
Joined: Apr 09, 2006 Posts: 14
|
Posted: Tue Sep 09, 2008 10:40 am Post subject: |
|
pluby wrote: |
2. Move the following folders to your Desktop or to the Trash if they exist:
Code: | ~/Library/Preferences/NeoOffice-2.2
~/Library/Preferences/NeoOffice-2.1 | |
The first one (2.2) existed, and I moved it to the trash
pluby wrote: | 3. Restart NeoOffice
Does the extension install without error after doing the above steps? |
No, i got the same error message. (The first one of the above posted), However, thanks for taking care of this.
Tobias |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Tue Sep 09, 2008 11:06 am Post subject: |
|
Since NeoOffice bundles its own copy of Python, the next likely causes are:
1. Some system environment variables are interfering with loading of NeoOffice's bundled Python binaries
2. NeoOffice's bundled Python files are corrupted or missing
Let's check the first possible cause. Can you launch the /Applications/Utilities/Terminal application, paste the following commands into the Terminal window, press the Return key, and paste the output in this forum?:
Code: | env
ls -l ~/Library/InputManagers
ls -l ~/Library/Application\ Support
ls -l /Library/InputManagers
ls -l /Library/Application\ Support |
Patrick |
|
Back to top |
|
|
aerosolkid Agent
Joined: Apr 09, 2006 Posts: 14
|
Posted: Tue Sep 09, 2008 11:33 am Post subject: |
|
Here we go:
Code: | Last login: Tue Sep 9 20:29:48 on ttyp2
Welcome to Darwin!
d114129:~ Tobias$ env
TERM_PROGRAM=Apple_Terminal
TERM=xterm-color
SHELL=/bin/bash
TERM_PROGRAM_VERSION=133-1
USER=Tobias
__CF_USER_TEXT_ENCODING=0x1F5:0:0
PATH=/Library/Frameworks/Python.framework/Versions/Current/bin:/bin:/sbin:/usr/bin:/usr/sbin
PWD=/Users/Tobias
SHLVL=1
HOME=/Users/Tobias
LOGNAME=Tobias
SECURITYSESSIONID=619e830
_=/usr/bin/env
d114129:~ Tobias$ ls -l ~/Library/InputManagers
total 8
lrwxr-xr-x 1 Tobias admin 64 Feb 12 2008 Edit in WriteRoom -> /Applications/WriteRoom.app/Contents/Resources/Edit in WriteRoom
drwxr-xr-x 4 Tobias admin 136 Aug 20 17:24 Smart Crash Reports
d114129:~ Tobias$ ls -l ~/Library/Application\ Support
total 3544
drwx------ 7 Tobias admin 238 Mar 4 2008 AbiSuite
drwxrwx--- 8 Tobias admin 272 Aug 20 13:25 Ableton
-rwxr-xr-x 1 Tobias admin 0 Aug 20 13:32 Ableton Live Engine
-rw-rw---- 1 Tobias admin 6262 Oct 15 2007 Abracadabra.plist
drwxrwxrwx 3 Tobias admin 102 May 20 18:33 Acapela Group
drwxrwxr-x 5 Tobias Tobias 170 Feb 28 2008 Addictive Drums
drwxrwx--- 10 Tobias admin 340 Sep 9 19:29 AddressBook
drwxrwx--- 14 Tobias admin 476 Aug 6 20:05 Adobe
drwxrwx--- 9 Tobias admin 306 Aug 6 14:42 Audio Hijack Pro
drwxr-xr-x 3 Tobias admin 102 Jan 16 2008 Audiofile
drwxrwx--- 8 Tobias admin 272 Apr 16 19:46 Butler
drwxr-xr-x 3 Tobias admin 102 Mar 4 2008 Calculator
drwxr-xr-x 20 Tobias admin 680 Sep 8 19:29 Camino
drwxr-xr-x 4 Tobias admin 136 Jan 10 2008 Cha_Ching
drwxrwx--- 11 Tobias admin 374 Sep 6 2006 Chess
drwxr-xr-x 2 Tobias admin 68 Mar 22 09:47 Contents:MIDI Device Plug-ins
drwxrwx--- 6 Tobias admin 204 Aug 25 19:52 Cyberduck
drwxrwx--- 4 Tobias admin 136 Jan 25 2006 DVD Player
drwxrwx--- 4 Tobias admin 136 Sep 18 2007 Desktoptopia
drwxrwx--- 5 Tobias admin 170 Nov 5 2007 DoBeDo
drwx------ 2 Tobias admin 68 Mar 4 2008 Enchant
drwxrwx--- 3 Tobias admin 102 Feb 13 2006 Fernsehen
drwxrwx--- 3 Tobias admin 102 Aug 17 21:56 Finanzen
drwxr-xr-x 5 Tobias admin 170 Jul 7 17:28 Firefox
drwxr-xr-x 3 Tobias admin 102 Jan 13 2008 Fortora
drwxrwx--- 14 Tobias admin 476 Aug 8 17:10 FullCircle
drwxrwx--- 3 Tobias admin 102 Oct 2 2007 GarageBand
drwxr-xr-x 4 Tobias admin 136 Sep 9 20:26 Glims
drwxrwx--- 4 Tobias admin 136 Sep 20 2007 Jers Novel Writer
drwxr-xr-x 4 Tobias admin 136 Aug 23 11:31 Jobs
drwxrwx--- 13 Tobias admin 442 Sep 4 11:32 Journler
drwxrwx--- 3 Tobias admin 102 Dec 3 2006 Jumpcut
drwxr-xr-x 3 Tobias admin 102 Jan 10 2008 Jumsoft
drwxr-xr-x 6 Tobias admin 204 Jul 12 11:49 Last.fm
drwxrwx--- 5 Tobias admin 170 May 7 2007 Line 6
drwxrwx--- 3 Tobias admin 102 Jul 3 2007 Linotype
drwxr-xr-x 3 Tobias admin 102 Sep 9 14:41 Little Snitch
-rw-rw---- 1 Tobias admin 5619 Jan 8 2007 Lynxlet-0.7.term
drwxr-xr-x 4 Tobias admin 136 Nov 23 2007 Macromedia
drwxr-xr-x 3 Tobias admin 102 Dec 7 2007 Mactracker
drwxrwx--- 3 Tobias admin 102 Aug 24 2007 MobileSync
drwxr-xr-x 3 Tobias admin 102 Mar 4 2008 Mozilla
drwxr-xr-x 7 Tobias admin 238 Jul 14 11:52 Native Instruments
drwxrwx--- 3 Tobias admin 102 Oct 18 2007 Net Monitor Sidekick
drwxr-xr-x 15 Tobias admin 510 Sep 9 20:24 NetNewsWire
drwxrwx--- 3 Tobias admin 102 Feb 28 2007 NicePlayer
drwxrwx--- 9 Tobias admin 306 Dec 17 2007 OmniWeb 5
drwxr-xr-x 5 Tobias admin 170 Jul 4 13:14 Opera
drwxrwx--- 4 Tobias admin 136 Oct 28 2007 Pando
drwxrwx--- 5 Tobias admin 170 Aug 20 13:25 Propellerhead Software
drwxr-xr-x 12 Tobias admin 408 Sep 9 20:30 Quicksilver
-rw-r--r-- 1 Tobias admin 0 Aug 20 13:25 REX Shared Library
drwxrwx--- 5 Tobias admin 170 Aug 23 2006 RSS Menu
-rw-rw---- 1 Tobias admin 20730 Apr 6 2006 ReWire
drwxrwx--- 3 Tobias admin 102 Dec 31 2006 SIMBL
drwxr-xr-x 3 Tobias admin 102 Sep 4 18:45 Schreiben
drwxr-xr-x 3 Tobias admin 102 May 29 12:15 Schreiberling
drwxr-xr-x 2 Tobias admin 68 Jul 1 15:38 Screenshot Plus
drwxr-xr-x 3 Tobias admin 102 Sep 4 11:20 Service Scrubber
drwxrwx--- 4 Tobias admin 136 Sep 3 2007 Sing that iTune!
drwxr-xr-x 4 Tobias admin 136 May 14 22:28 SiteSucker
drwx------ 11 Tobias admin 374 Sep 9 16:40 Skype
drwxrwx--- 5 Tobias admin 170 Jul 30 2007 SuperDuper!
drwxrwx--- 3 Tobias admin 102 Jan 25 2006 SyncServices
drwxr-xr-x 5 Tobias admin 170 Sep 9 19:08 TaskPaper
drwxrwx--- 3 Tobias admin 102 Dec 11 2006 Terminal
drwxr-xr-x 9 Tobias admin 306 Sep 1 01:25 TextWrangler
drwxrwx--- 9 Tobias admin 306 Mar 5 2008 The Tube
drwxrwx--- 2 Tobias admin 68 May 29 2007 TheTube
drwxrwx--- 3 Tobias admin 102 May 30 13:20 TinkerTool
drwxr-xr-x 3 Tobias admin 102 Dec 18 2007 TinkerTool System
drwxrwx--- 22 Tobias admin 748 Sep 8 14:19 Ulysses
drwxr-xr-x 6 Tobias admin 204 Apr 25 16:14 VoodooPad
drwxr-xr-x 3 Tobias admin 102 Apr 24 18:18 Vorlagen
drwxrwx--- 3 Tobias admin 102 Dec 5 2006 Watch It
drwxrwx--- 3 Tobias admin 102 Nov 26 2007 Whamb
drwxr-xr-x 3 Tobias admin 102 May 2 10:15 Witch
drwxr-xr-x 5 Tobias admin 170 Sep 8 13:33 WriteRoom
drwxr-xr-x 5 Tobias Tobias 170 Dec 11 2007 Yahoo! Widget Engine
drwxr-xr-x 12 Tobias admin 408 Aug 27 10:37 aTypeTrainer4Mac
drwxr-xr-x 28 Tobias admin 952 Aug 12 17:24 amaya
drwxr-xr-x 6 Tobias admin 204 Mar 4 2008 audacity
drwxrwx--- 2 Tobias admin 68 Nov 6 2007 com.nixanz.yum
-rw-rw---- 1 Tobias admin 755126 May 7 01:17 com.splook.DockArt.DesktopImage.png
drwxrwx--- 3 Tobias admin 102 Sep 4 18:47 eSellerate
drwxrwx--- 8 Tobias admin 272 Sep 3 15:49 iCal
drwxrwx--- 3 Tobias admin 102 Dec 3 2006 iClip lite
drwxrwx--- 7 Tobias admin 238 Jul 11 10:48 iEatBrainz
drwxr-xr-x 4 Tobias admin 136 Aug 6 15:46 iSlayer
drwxrwx--- 3 Tobias admin 102 Apr 20 2006 iSync
drwxr-xr-x 2 Tobias admin 68 Apr 25 19:54 iTerm
drwxrwx--- 3 Tobias admin 102 Apr 29 15:24 inkling
drwxr-xr-x 3 Tobias admin 102 Sep 5 10:14 meinKOPP
-rw-r--r-- 1 Tobias admin 334848 Aug 6 15:33 org.bergstrand.iscrobbler.persistent.toplists.data
-rw-r--r-- 1 Tobias admin 332800 Jul 12 12:09 org.bergstrand.iscrobbler.persistent.toplists.data-backup
-rw-r--r-- 1 Tobias admin 331776 Jul 1 19:10 org.bergstrand.iscrobbler.persistent.toplists.data-backup-1
drwxr-xr-x 4 Tobias admin 136 Apr 16 20:10 pearLyrics
drwxrwx--- 6 Tobias admin 204 Aug 26 18:10 viJournal
drwxr-xr-x 5 Tobias admin 170 Aug 10 16:24 xPad
d114129:~ Tobias$ ls -l /Library/InputManagers
total 0
drwxr-xr-x 4 root admin 136 Sep 1 11:22 Glims
drwxr-xr-x 5 root admin 170 Apr 6 12:38 Menu Extra Enabler
d114129:~ Tobias$ ls -l /Library/Application\ Support
total 80
drwxrwxr-x 6 Tobias admin 204 Mar 4 2008 AbiSuite
-rwxr-xr-x 1 Tobias admin 0 Aug 20 13:32 Ableton Live Engine
drwxrwxr-x 10 Tobias Tobias 340 Aug 20 10:53 Addictive Drums
drwxr-xr-x 10 Tobias admin 340 Aug 20 12:03 Adobe
drwxrwxrwx 7 root admin 238 Aug 20 12:03 Adobe PDF
drwxrwxr-x 9 root admin 306 Jun 14 12:44 Apple
drwxrwxr-x 3 root admin 102 May 12 10:46 ConvenienceWare
drwxrwxr-x 3 Tobias admin 102 May 25 2006 Deja Vu
drwxrwxr-x 3 Tobias Tobias 102 Jul 14 11:51 Digidesign
drwxrwxr-x 4 root admin 136 Sep 26 2007 GarageBand
drwxr-xr-x 4 root admin 136 Jul 22 00:00 Glims
drwxrwxr-x 3 root admin 102 May 5 13:58 HWPrefs
drwxrwxrwx 5 Tobias Tobias 170 Nov 20 2007 Hewlett-Packard
drwxr-xr-x 2 Tobias admin 68 Jan 27 2006 ICU
drwxrwxrwx 3 Tobias admin 102 Feb 11 2008 LikeMac
drwxr-xr-x 8 Tobias admin 272 Jul 10 2007 Logic
drwxr-xr-x 4 Tobias admin 136 May 30 2007 Logic Audio
drwxrwxr-x 3 root admin 102 Dec 7 2004 Macromedia
drwxrwxrwx 3 Tobias Tobias 102 Aug 6 16:42 MindVision
drwxrwxr-x 4 root admin 136 Mar 31 10:02 Mozilla
drwxrwsrwx 10 root admin 340 Sep 9 20:31 Mozy
drwxrwxr-x 7 Tobias admin 238 Jul 14 11:51 Native Instruments
drwxrwxr-x 8 root admin 272 Nov 16 2007 NetServices
drwxr-xr-x 2 Tobias Tobias 68 Nov 6 2007 OSS 3D
drwxr-xr-x 3 root admin 102 Jul 3 09:33 Objective Development
drwxrwxrwx 8 root admin 272 Apr 9 14:16 PACE Anti-Piracy
-rw-rw-rw- 1 Tobias admin 0 Feb 10 2006 PRIF2304101
drwxrwxr-x 4 root admin 136 Aug 24 2007 ProApps
drwxrwxrwx 3 Tobias Tobias 102 Mar 11 2006 Product Registration.app
drwxr-xr-x 4 Tobias admin 136 Aug 20 13:25 Propellerhead Software
-rw-r--r-- 1 Tobias admin 0 Aug 20 13:25 REX Shared Library
-rw-r--r-- 1 Tobias admin 20730 Apr 6 2006 ReWire
drwxrwxrwx 4 root admin 136 May 4 2006 Roxio
drwxr-xr-x 3 Tobias admin 102 Jan 7 2008 Shallot Patch
drwxrwxr-x 7 root admin 238 May 17 13:18 Shark
drwxrwxrwx 3 root admin 102 Jun 29 2007 Sonoma Wire Works
drwxrwxr-x 3 root admin 102 May 31 2006 StuffItCM DropBoxes
drwxr-xr-x 3 Tobias admin 102 Feb 5 2008 Sustainable Softworks
drwxrwxr-x 3 Tobias admin 102 Feb 10 2006 TWAIN Data Sources
drwxr-xr-x 3 Tobias admin 102 Nov 26 2007 Whamb
drwxrwxr-x 3 root admin 102 Sep 26 2007 iWork
d114129:~ Tobias$ |
|
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Tue Sep 09, 2008 11:55 am Post subject: |
|
I saw the following in your output that caught my attention:
Code: | PATH=/Library/Frameworks/Python.framework/Versions/Current/bin:/bin:/sbin:/usr/bin:/usr/sbin |
Can you quit NeoOffice, copy the following commands into the Terminal window, and try installing the extension? The following commands will exclude /Library/Frameworks/Python.framework/Versions/Current/bin from your command search path and launch NeoOffice from the Terminal window with the modified search path:
Code: | sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin
export PATH
/Applications/NeoOffice.app/Contents/MacOS/soffice.bin
exit |
Patrick |
|
Back to top |
|
|
aerosolkid Agent
Joined: Apr 09, 2006 Posts: 14
|
Posted: Tue Sep 09, 2008 12:14 pm Post subject: |
|
Unfortunately: No success. Same error message. The Terminal Output ends
Code: | WARNING: Someone grabbed the AWTTreelock from the AppKit thread. Please file a bug with steps to reproduce!
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:1176)
at java.awt.Component.getTreeLock(Component.java:876)
at com.sun.star.vcl.VCLMenuItemData.createAWTPeer(VCLMenuItemData.java:754)
at com.sun.star.vcl.VCLMenuItemData.addMenuItem(VCLMenuItemData.java:502)
at com.sun.star.vcl.VCLMenuItemData.refreshAWTPeersInParentMenus(VCLMenuItemData.java:823)
at com.sun.star.vcl.VCLMenu.checkItem(VCLMenu.java:134)
Could not find platform independent libraries <prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback |
Tobias |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Tue Sep 09, 2008 12:23 pm Post subject: |
|
Aha! Something is interfering with the menubar and I noticed that you have the Menu Extra Enabler system hack installed on your system. Can you disable the Menu Extra Enabler system hack by doing the following steps?:
1. Quit NeoOffice
2. Move the following folders to the Desktop or the Trash:
/Library/InputManagers/Glims
/Library/InputManagers/Menu Extra Enabler
You can find the /Library/InputManagers folder by double-clicking on the main volume icon on your desktop and, in the Finder window that appears, navigating down through the Library and InputManagers folders.
3. Reboot your machine
Is there any change?
Patrick |
|
Back to top |
|
|
aerosolkid Agent
Joined: Apr 09, 2006 Posts: 14
|
Posted: Tue Sep 09, 2008 12:59 pm Post subject: |
|
No change to the problem.
Tobias |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Tue Sep 09, 2008 1:05 pm Post subject: |
|
Can you copy the following commands into a Terminal windows, press the Return key, and paste the output in this forum?:
Code: | ls -l \
/System/Library/Frameworks/Python.framework/Versions/2.3/Python
ls -l /usr/bin/python
which python |
Patrick |
|
Back to top |
|
|
aerosolkid Agent
Joined: Apr 09, 2006 Posts: 14
|
Posted: Tue Sep 09, 2008 1:21 pm Post subject: |
|
Ok.
Quote: |
Last login: Tue Sep 9 22:18:11 on ttyp4
Welcome to Darwin!
e182066050:~ Tobias$ ls -l \
ls: : No such file or directory
e182066050:~ Tobias$ /System/Library/Frameworks/Python.framework/Versions/2.3/Python
-bash: /System/Library/Frameworks/Python.framework/Versions/2.3/Python: Bad executable (or shared library)
e182066050:~ Tobias$ ls -l /usr/bin/python
lrwxr-xr-x 1 root wheel 9 Nov 16 2007 /usr/bin/python -> python2.3
e182066050:~ Tobias$ which python
/Library/Frameworks/Python.framework/Versions/Current/bin/python
e182066050:~ Tobias$
|
Best regards
Tobias |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Tue Sep 09, 2008 1:27 pm Post subject: |
|
One of the commands didn't get pasted into your Terminal correctly. Can you copy the following commands into a Terminal windows, press the Return key, and paste the output in this forum? The entire command needs to be on one single line in the Terminal:
Code: | ls -l /System/Library/Frameworks/Python.framework/Versions/2.3/Python |
Patrick |
|
Back to top |
|
|
aerosolkid Agent
Joined: Apr 09, 2006 Posts: 14
|
Posted: Tue Sep 09, 2008 1:46 pm Post subject: |
|
Maybe now?
Code: | Last login: Tue Sep 9 22:43:50 on ttyp3
Welcome to Darwin!
e182066050:~ Tobias$ ls -l /System/Library/Frameworks/Python.framework/Versions/2.3/Python
-rwxr-xr-x 1 root wheel 1097268 Aug 12 17:42 /System/Library/Frameworks/Python.framework/Versions/2.3/Python
e182066050:~ Tobias$ |
Tobias |
|
Back to top |
|
|
|