[Issue 127088] Provide Windows AOOfix Tool for resetting/repairing User Profiles

2017-10-09 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=127088

Matthias Seidel  changed:

   What|Removed |Added

 CC||msei...@apache.org

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127088] Provide Windows AOOfix Tool for resetting/repairing User Profiles

2016-10-11 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=127088

--- Comment #7 from John  ---
hanya - Thanks - it was case sensitive

When I created
C:\Users\John\AppData\Roaming\OpenOffice\4\user\Scripts\python\config_backend_cleaner.py,
AOO found it under Tools > Macros > Organise macros > Python > My Macros.

-- 
You are receiving this mail because:
You are the assignee for the issue.


[Issue 127088] Provide Windows AOOfix Tool for resetting/repairing User Profiles

2016-10-11 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=127088

--- Comment #6 from hanya  ---
(In reply to John from comment #5)
> You say "Put config_backend_cleaner.py file into user's
> profile/Scripts/python directory" but, while there is a folder
> C:\Users\xx\AppData\Roaming\OpenOffice\4\user\Scripts, AOO does not find
> the macro in that folder, nor in a sub folder I had to create \Python.
On some environment, name of "python" directory is case sensitive. But I'm not
sure 
it also applied to Windows environment.

-- 
You are receiving this mail because:
You are the assignee for the issue.


[Issue 127088] Provide Windows AOOfix Tool for resetting/repairing User Profiles

2016-10-11 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=127088

--- Comment #5 from John  ---
hanya

Small correction ...

You say "Put config_backend_cleaner.py file into user's profile/Scripts/python
directory" but, while there is a folder
C:\Users\xx\AppData\Roaming\OpenOffice\4\user\Scripts, AOO does not find
the macro in that folder, nor in a sub folder I had to create \Python.

I had to place the macro in C:\Program Files (x86)\OpenOffice
4\share\Scripts\python for AOO to see it, and that needed Administrator
permission.

I am writing a tutorial "Spell checker "red wriggly lines" - beta test fix" at
https://forum.openoffice.org/en/forum/viewtopic.php?f=74=85529 so that we can
test this with users.

-- 
You are receiving this mail because:
You are the assignee for the issue.


[Issue 127088] Provide Windows AOOfix Tool for resetting/repairing User Profiles

2016-10-10 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=127088

--- Comment #4 from John  ---
hanya

Thank you - your understanding of AOO is much more comprehensive than mine.  I
hope Comment 2 did not confuse things :-(

I am asking on the forum for a copy of a complete broken profile so the macro
can be tested against a recent incident.  See [Solved] Red squiggly lines on
everything I write at
https://forum.openoffice.org/en/forum/viewtopic.php?f=7=85384=398617#p398617

-- 
You are receiving this mail because:
You are the assignee for the issue.


[Issue 127088] Provide Windows AOOfix Tool for resetting/repairing User Profiles

2016-10-10 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=127088

hanya  changed:

   What|Removed |Added

 CC||hanya.r...@gmail.com

--- Comment #3 from hanya  ---
Created attachment 85720
  --> https://bz.apache.org/ooo/attachment.cgi?id=85720=edit
Contains Python macro

Concept Python macro to remove broken configuration data from extension 
registry database backend.
The contained macro provides only way to remove configuration which contains 
org.openoffice.Office.Linguistic configuration in registry backend.
If configuration file contains path to removed dictionary file, a part of entry 
is packed into comment. And then the entry of the configuration file is
commented in backenddb.xml file.

Way to test this: 
- Prepare broken user's configuration about spell check dictionaries. 
- Close office application. If you enabled quickstarter, close it also.
- Start the office.
- Put config_backend_cleaner.py file into user's profile/Scripts/python
directory.
- Execute "check" or "cleanup" macro through Tools - Macros - Organize Macros -
Python.
- Close the office.
- Restart the office.
- Remove and reinstall dictionary extensions through Tools - Extension Manager
if required.

-- 
You are receiving this mail because:
You are the assignee for the issue.


[Issue 127088] Provide Windows AOOfix Tool for resetting/repairing User Profiles

2016-10-09 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=127088

John  changed:

   What|Removed |Added

 CC||john.h...@yahoo.co.uk

--- Comment #2 from John  ---
See Comment 102 at https://bz.apache.org/ooo/show_bug.cgi?id=121930#c102

When the user profile is reset by deleting or renaming ...\user, AOO creates a
new default user profile and the user loses all their user dictionary words,
word completion items etc, and, strangely, all their macros! See Issue 126952 -
Resetting the profile loses all macros (and events too?) (and on upgrade or
re-install?).

As I believe it is only necessary to create a new registrymodifications.xcu
file I think that what is required is:

1  Close AOO 
2  Rename ...\user to ...\user-old
3  Start AOO - this creates a new ...\user
4  Close AOO
5  Copy the new registrymodifications.xcu file to ...\user_old
6  Delete ...\user
7  Rename ...\user_old to ...\user

Note:  AOO MUST be closed for Step 5. 

If AOO was started with the original, faulty registrymodifications.xcu, and
registrymodifications.xcu is replaced, then when AOO closes, it writes back the
original (plus any changes made while AOO was open) registrymodifications.xcu
from memory and overwrites the new one.

Many forum posters have followed that technique successfully.  It is also
documented in Hagar's [Tutorial] The OpenOffice User Profile at
https://forum.openoffice.org/en/forum/viewtopic.php?f=74=12426

Also see Issue 127157 - Styles and Formatting window does not open - apparent
cause is corrupted registrymodifications.xcu file.

-- 
You are receiving this mail because:
You are the assignee for the issue.


[Issue 127088] Provide Windows AOOfix Tool for resetting/repairing User Profiles

2016-09-24 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=127088

orcmid  changed:

   What|Removed |Added

   Assignee|orc...@apache.org   |iss...@openoffice.apache.or
   ||g

--- Comment #1 from orcmid  ---
Because of higher-priority activities on the Project Management Committee and
my need to retire from community open-source projects soon, I cannot pursue
this task and have removed the assignment to myself.

-- 
You are receiving this mail because:
You are the assignee for the issue.