Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Beta 1.1 - installation locatation.
Beta 1.1 - installation locatation.
 
   NeoOffice Forum Index -> NeoOffice Development
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Fri Jan 07, 2005 12:40 am    Post subject: Beta 1.1 - installation locatation.

Hello!

I have a problem with patch 4...

I think I have a problem stemming from the fact I put my appplications in sub-folders not in the base "Applications" folder. One of the patches appears to have not patched the application, but done the instation in the Applications folder.

My NeoOffice/J installation is always moved into another folder from the base Applications folder. Amd it seems that one of the patches installed in the base Applications folder instead.

(My patch 3 version was crashing during normal usage, so I would not be surprised if this was it. However, I checked the locate database which was updated before patch 4 was installed and this does not should any NeoOffice files in the Application folder.).

I am reinstalling everything scratch. Any comments on the file location issue?

---
The issue which triggered this:

I just installed patch 4. Not sure if this was an isssue in previous versions, as I have not tried the configure menu with previous builds.

Just to report that I have a problem when going to the "Tools" menu --> "configure ..." menu item."

A dialogue appears which says:
"Error loading BASIC of document
file:///Applications/NeoOfficeJ.app/Contents/share/basic/launcher/script.xlb/:
General Error.
General input/output error."
There is an "OK" button, but clicking this just brings up the same dialogue again.

One has to Force Quit NeoOffice/J.

-------------
Back to top
yoxi
Cipher


Joined: Sep 07, 2004
Posts: 1799
Location: Dawlish, Devon

PostPosted: Fri Jan 07, 2005 1:50 am    Post subject:

If you don't have your NeoOffice/J in the /Applications folder, you will get problems with the BASIC functions, which is what causes these error messages - I did the same thing myself last month. In fact, you will notice that when the error message comes up, each time you click on Okay, the next message is slightly different, and after about 20 messages everything returns to 'normal' without needing to force quit.

You have two options:

i) move Neo/J back to /Applications - the Ooo code is expecting it to be where it was first installed, and some things don't work as expected once it's been moved.

ii) if you really want to keep the app somewhere else, then as a workaround to the BASIC problem you're getting, you need to edit 2 files which have absolute path references in them.
In your user library folder ~/Library/NeoOfficeJ-1.1/user/basic open the 2 files dialog.xlc and script.xlc in TextEdit or any app that will edit plain text files.
Then do a search & replace to replace the string "file:///Applications/NeoOfficeJ.app" with "file://<complete path to new location of Neo/J app>/NeoOfficeJ.app" (fill in the correct current path, including volume if it's not on the startup volume).
Save the files (make backups before editing them!) as plain text, i.e. don't let TextEdit add any extensions onto the names.
Now you won't get these error messages anymore, and macros and so on will work.

I was told that because of Ooo expecting to stay where it was first installed, using it from a moved location is not supported, so you might want to consider just putting it back in /Applications, as I did in the end - it could save some heartbreak!

- yoxi
Back to top
Boukman
Pure-blooded Human


Joined: Nov 16, 2004
Posts: 31

PostPosted: Fri Jan 07, 2005 7:20 am    Post subject: Delete preferences

I think that another way to do this would be to delete your preferences for NeoJ (if you don't mind, of course), move the application itself to its new location, and then start NeoJ from its new location (it's going to think that it's being run for the first time and will therefore make new preferences).

Basically, you should always move NeoJ to the location of your choice BEFORE you first run it.
Back to top
yoxi
Cipher


Joined: Sep 07, 2004
Posts: 1799
Location: Dawlish, Devon

PostPosted: Fri Jan 07, 2005 7:29 am    Post subject:

Yup. that's true, or you can temporarily rename your old prefs folder, launch Neo/J, change something to create new prefs, quit, and then copy the new .xlc folders from the new prefs folder into the old prefs, delete the new prefs, name the old ones back to their original name.

As far as I can tell, it's just these 2 files that cause the tsuris. My suggested ways of getting round this mean you get to keep your prefs intact.

- yoxi
Back to top
Guest






PostPosted: Fri Jan 07, 2005 7:20 pm    Post subject: Thanks, from original poster

OK, thanks. I reckon there are bigger prioirties than getting the application mobile. Smile

Besides, I use QuickSilver, so it does not really matter, but I like have the applications organised...

In any case, great project!
Back to top
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Sat Jan 08, 2005 2:12 am    Post subject:

One big thing to note is that neither NeoJ nor OOo X11 are "mobile". Being rooted in Unix, these applications tend to be engineered to believe that once they are installed they will not be moved in any way shape or form. In a Unix world, most applications are put under "/usr/local/bin" or another fixed location of the like. Historically the Mac has really been able to spoil users into moving applications wherever they want after they're reinstalled, a great luxury few OSes provide, not even Windows or Linux.

Unforunately OOo and NeoJ don't allow you to do this as of now. If you run their installers, it's best to put them into a place from which you don't expect them to move. When they generate their settings files, fully qualified paths to various files get embedded in the settings. If you do move them, minimally you'll have to delete their user settings in ~/Library to force them to be rebuilt to point to the new location to which you moved NeoJ or OOo. In the worst case you will have embedded paths within the application itself and you'll have to reinstall NeoJ or OOo from scratch in the new location.

We really don't expect users to be relocating the application from its default location often. If you do, however, you may need to be forewarned that you may experience some snafus. A non-default installation location is the exception, not the norm, and different locations can easily wreak havoc for software expecting to be in a normal Unix land.

ed
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Development All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.