To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=28593


User ab changed the following:

                  What    |Old value                 |New value
================================================================================
                    Status|NEW                       |STARTED
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Wed Apr 20 02:50:15 -0700 
2005 -------
Hi all,

as this issue obviously cannot be reproduced on every system, I want to give 
some background information that might help us to isolate the problem.

First: The error message is misleading as the problem does not really has any-
thing to do with the Basic inside a document. In fact the attached screenshots
show that this is a problem of the application Basic stored in the user data.
Unfortunately the same error message is used both for errors reading the Basic
from a real Office document and for errors reading the user Basic's configura-
tion files (also adressed as "documents" in the error message).

The only reason why this message always occurs when you save a document is
that the Basic functionality is initialised before a document is saved. And 
that's also the reason why it only occurs for the first saving. Afterwards 
Basic is already initialised, although probably not correctly. You should
have the same effect when opening the Tools/Macro/Organise Macros/Basic dia-
log. This also forces Basic to initialise.

The error itself is not very mysterious. The script.xlc and dialog.xlc files
(the *.xli files are only an old fallback mechanism for backward compatibility)
are essential for the Basic library system. Obviously these files do not exist
or are corrupt. So the problem can be reduced to the question, why these files
can not be found or read.

Thanks to all who offered help to track down the problem. First you should
have a look at the files script.xlc and dialog.xlc in your installion. They
should be placed in <user installation>/user/basic. The error message shows
you where these files are expected.

- Are they missing completely or are they empty or corrupt?

- Does everything else look correct in <user installation>/user/?
  There should be a lot of directories, e.g. config, gallery, registry, ...
  Maybe Basic uses a completely wrong path for any reason.
  
- The location of the user installation is defined by the variable 
  "UserInstallation" in <Office installation>/program/bootstrap.ini.
  If you patch this path, you can check if other locations work.
  I e.g. often use $ORIGIN/../UserInst instead of $SYSUSERCONFIG/...
  to force the user installation into the Office installation (good 
  for developement when you install a log of versions in parallel).
  You can also use a file URL there, e.g. file:///c:/OfficeTest/UserInst
  Hint: Each time you change UserInstallation in bootstrap.ini to a new
  location, starting the Office afterwards is like starting it the first 
  time. You always get new user installations and can have a look if 
  your problem occurs or not.
  
That should be enough for now. Let's see what we can find out... :-)


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to