| View previous topic :: View next topic |
| Author |
Message |
chrivaux Newbie

Joined: 23 Oct 2005 Posts: 1 Location: france
|
Posted: Sun Oct 23, 2005 2:45 am Post subject: basic error after uninstall 1.1.5 and install OOo2 |
|
|
| I am running a Linux Mandriva 2005 and now 2006. After uninstall 1.15 and installing OOo2 (rc3 but it is same on beta or rc1) I get the following error :"Erreur lors du chargement du BASIC du document. file:///usr/lib/openoffice/share/basic/WebWizard/script.xlb : Erreur generale Erreur generale d'entree sortie". This error don't occur if I install OOo2 on a distro on which 1.1.5 (or 1.1.4) was not previously installed . I guess some files from 1.1.5 (or 1.1.4) remain on the file system when I uninstall previous version of OOo. Has anyone some idea ? Thanks. |
|
| Back to top |
|
 |
pracslipkerm General User

Joined: 08 Sep 2005 Posts: 29 Location: NSW, Australia
|
Posted: Tue Oct 25, 2005 3:58 am Post subject: Same issue on OOo 2.0 after rc1 and OOo 1.1.5 |
|
|
I uninstalled rc1 and installed 2.0 final. the removed 1.1.5 and now when I save files I get "Error loading BASIC of document
file://opt/OpenOffice.org/share/basic/WebWizard/script.xlb/:
General Error.
General input/output error."
Then I get
"Error loading BASIC of document
file://opt/OpenOffice.org/share/basic/WebWizard/dialog.xlb/:
General Error.
General input/output error."
This path is for OOo 1.1.5 I assume, how can I change this.
I checked the tools > options > paths and they all point to opt/openoffice.org2.0/...
Help please! _________________ Steve Griffiths
Ubuntu, Win XP
"Not Everything that Counts can be Counted, and Not Everything that can be Counted, Counts" Einstein |
|
| Back to top |
|
 |
8daysaweek.co.uk Super User


Joined: 29 Nov 2003 Posts: 2130 Location: UK
|
|
| Back to top |
|
 |
linoofan General User

Joined: 24 Sep 2003 Posts: 30 Location: Maryland, USA
|
Posted: Fri Nov 18, 2005 3:23 am Post subject: |
|
|
The solution as outlined didn't quite work for me, as there doesn't seem to be a "WebWizard" directory under the OpenOffice.org 2.0 installation. I just created a WebWizard directory elsewhere -- NOT under the OpenOffice.org 2.0 installation directory, because it would be wiped out by the next upgrade. I copied dialog.xlb and script.xlb from another directory (FormWizard) to the new WebWizard directory, and edited dialog.slc and script.xlc to point to those files. That solved it for me. _________________ Steve |
|
| Back to top |
|
 |
explosive Newbie

Joined: 19 Nov 2005 Posts: 2
|
Posted: Sat Nov 19, 2005 6:29 am Post subject: |
|
|
linoofan, would you be able to post the contents of your dialog.xlc, script.xlc files as I am not sure how you link them to the .xlb versions.
Thanks  |
|
| Back to top |
|
 |
linoofan General User

Joined: 24 Sep 2003 Posts: 30 Location: Maryland, USA
|
Posted: Sat Nov 19, 2005 2:22 pm Post subject: |
|
|
Sure. First of all, I created a directory called /opt/ooo2-WebWizard and copied dialog.xlb and script.xlb from /opt/openoffice.org2.0/share/basic/FormWizard:
| Code: | [steve@pogo ~]$ ll /opt/ooo2-WebWizard/
total 16
-r--r--r-- 1 root root 352 Nov 18 06:12 dialog.xlb
-r--r--r-- 1 root root 567 Nov 18 06:12 script.xlb
|
And here's the contents of ~/.openoffice.org2/user/basic/script.xlc:
| Code: | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE library:libraries PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "libraries.dtd">
<library:libraries xmlns:library="http://openoffice.org/2000/library" xmlns:xlink="http://www.w3.org/1999/xlink">
<library:library library:name="ScriptBindingLibrary" xlink:href="$(INST)/share/basic/ScriptBindingLibrary/script.xlb/" xlink:type="simple" library:link="true" library:readonly="false"/>
<library:library library:name="Launcher" xlink:href="$(INST)/share/basic/Launcher/script.xlb/" xlink:type="simple" library:link="true" library:readonly="false"/>
<library:library library:name="FormWizard" xlink:href="$(INST)/share/basic/FormWizard/script.xlb/" xlink:type="simple" library:link="true" library:readonly="false"/>
<library:library library:name="Template" xlink:href="$(INST)/share/basic/Template/script.xlb/" xlink:type="simple" library:link="true" library:readonly="false"/>
<library:library library:name="Tools" xlink:href="$(INST)/share/basic/Tools/script.xlb/" xlink:type="simple" library:link="true" library:readonly="false"/>
<library:library library:name="Schedule" xlink:href="$(INST)/share/basic/Schedule/script.xlb/" xlink:type="simple" library:link="true" library:readonly="false"/>
<library:library library:name="Gimmicks" xlink:href="$(INST)/share/basic/Gimmicks/script.xlb/" xlink:type="simple" library:link="true" library:readonly="false"/>
<library:library library:name="ImportWizard" xlink:href="$(INST)/share/basic/ImportWizard/script.xlb/" xlink:type="simple" library:link="true" library:readonly="false"/>
<library:library library:name="Euro" xlink:href="$(INST)/share/basic/Euro/script.xlb/" xlink:type="simple" library:link="true" library:readonly="false"/>
<library:library library:name="Depot" xlink:href="$(INST)/share/basic/Depot/script.xlb/" xlink:type="simple" library:link="true" library:readonly="false"/>
<library:library library:name="WebWizard" xlink:href="file:///opt/ooo2-WebWizard/script.xlb/" xlink:type="simple" library:link="true" library:readonly="false"/>
<library:library library:name="Standard" xlink:href="$(USER)/basic/Standard/script.xlb/" xlink:type="simple" library:link="false"/>
</library:libraries> |
Note the line near the end that has WebWizard in it; I changed the "file:///" part to point to my copy of script.xlb. For completeness, here's dialog.xlc; again note the "file:///" part of the line that has WebWizard in it:
| Code: | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE library:libraries PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "libraries.dtd">
<library:libraries xmlns:library="http://openoffice.org/2000/library" xmlns:xlink="http://www.w3.org/1999/xlink">
<library:library library:name="ScriptBindingLibrary" xlink:href="$(INST)/share/basic/ScriptBindingLibrary/dialog.xlb/" xlink:type="simple" library:link="true" library:readonly="false"/>
<library:library library:name="Launcher" xlink:href="$(INST)/share/basic/Launcher/dialog.xlb/" xlink:type="simple" library:link="true" library:readonly="false"/>
<library:library library:name="FormWizard" xlink:href="$(INST)/share/basic/FormWizard/dialog.xlb/" xlink:type="simple" library:link="true" library:readonly="false"/>
<library:library library:name="Template" xlink:href="$(INST)/share/basic/Template/dialog.xlb/" xlink:type="simple" library:link="true" library:readonly="false"/>
<library:library library:name="Tools" xlink:href="$(INST)/share/basic/Tools/dialog.xlb/" xlink:type="simple" library:link="true" library:readonly="false"/>
<library:library library:name="Schedule" xlink:href="$(INST)/share/basic/Schedule/dialog.xlb/" xlink:type="simple" library:link="true" library:readonly="false"/>
<library:library library:name="Gimmicks" xlink:href="$(INST)/share/basic/Gimmicks/dialog.xlb/" xlink:type="simple" library:link="true" library:readonly="false"/>
<library:library library:name="ImportWizard" xlink:href="$(INST)/share/basic/ImportWizard/dialog.xlb/" xlink:type="simple" library:link="true" library:readonly="false"/>
<library:library library:name="Euro" xlink:href="$(INST)/share/basic/Euro/dialog.xlb/" xlink:type="simple" library:link="true" library:readonly="false"/>
<library:library library:name="Depot" xlink:href="$(INST)/share/basic/Depot/dialog.xlb/" xlink:type="simple" library:link="true" library:readonly="false"/>
<library:library library:name="WebWizard" xlink:href="file:///opt/ooo2-WebWizard/dialog.xlb/" xlink:type="simple" library:link="true" library:readonly="true"/>
<library:library library:name="Standard" xlink:href="$(USER)/basic/Standard/dialog.xlb/" xlink:type="simple" library:link="false"/>
</library:libraries> |
It probably wasn't necessary to make a special copy of the xlb files; I probably could have edited the xlc files to point to /opt/openoffice.org2.0/share/basic/FormWizard, but it's done and I'm too lazy to go back and redo it. _________________ Steve |
|
| Back to top |
|
 |
pracslipkerm General User

Joined: 08 Sep 2005 Posts: 29 Location: NSW, Australia
|
Posted: Sat Nov 19, 2005 9:50 pm Post subject: |
|
|
Thank you very much!
I have been flat out (my wife just had our third baby)!!! So I have only just gotten to trying this - Worked fine for me as outlined!
Thanks so much for your help.
The next big step is trying Ubuntu and getting OOo 2 working on it!!!!
Cheers _________________ Steve Griffiths
Ubuntu, Win XP
"Not Everything that Counts can be Counted, and Not Everything that can be Counted, Counts" Einstein |
|
| Back to top |
|
 |
explosive Newbie

Joined: 19 Nov 2005 Posts: 2
|
Posted: Mon Nov 21, 2005 1:49 am Post subject: |
|
|
Thanks for posting that linoofan.
In the end I found that just leaving the directory that it recreated itself and copying the .xlb's into it solved the problem.
I couldn't get the files that you posted to work, but I think that was because I am using the windows version whereas that is for the linux version  |
|
| Back to top |
|
 |
linoofan General User

Joined: 24 Sep 2003 Posts: 30 Location: Maryland, USA
|
Posted: Mon Nov 21, 2005 9:24 am Post subject: |
|
|
explosive,
Sorry my solution didn't work, but I'm glad you were able to fix it in the end.
pracslipkerm,
Congrats on your baby. You must be playing with your system after changing diapers at 3am? _________________ Steve |
|
| Back to top |
|
 |
|