Yes an extension would work, I wrote a free standing Windows exe in
PureBasicfor my own use.

You are correct in saying it is unwise to access a user profile while
AOO is running, which is why my code tests for a running instance of LO
and closes it first. Obviously I would not just close the program if the
code was not exclusively for my own personal use.

I have never developed an edition of the code for Linux or Apple,
because I have watched mailing list, forum complaints and bug reports
for over 10 years and the profile corruption issue seems to be mostly a
Windows issue.


On 30/12/2022 12:35, Bidouille wrote:
> An extension will not work.
> Because OpenOffice shoudn't be running to access on profile.
>
>
> ----- Mail original -----
>> De: "Peter Kovacs" <pe...@apache.org>
>> À: dev@openoffice.apache.org
>> Envoyé: Vendredi 30 Décembre 2022 12:40:06
>> Objet: Re: Profile Backup/Restore
>>
>> Hi Pedro,
>>
>> Am 28.12.22 um 23:30 schrieb Pedro Lino:
>>> Hi all
>>>
>>> Thank you for the feedback.
>>>
>>> I was not thinking of Profile corruption (although the solution for
>>> some issues is resetting the profile which means that some part of
>>> it was corrupted?)
>>>
>>> It was more a tool to Backup a working profile and hopefully being
>>> able to import it in another machine.
>>>
>>> Having separate check boxes to import/export different parts of the
>>> profile was my main idea (it could also be used as debugging tool
>>> to pinpoint the problem when a corruption actually occurs)
>>>
>>> Resetting a profile (as suggested repeatedly) solves some problems
>>> but wastes a lot of time and effort that the user already had
>>> accumulated in his profile.
>>>
>>> As an example, it would be really useful to backup the personal
>>> dictionary on one computer and being able to import (merge?) in
>>> another.
>>> I am aware that you can dig in to the profile structure and copy a
>>> file. But a common user would not do that.
>>>
>>> Can this be done with an extension?
>> sure we can create this as an extension. The Main issue is still we
>> need
>> to integrate the functionality.
>>
>> All the best
>>
>> Peter
>>
>>> Thanks!
>>> Pedro
>>>
>>>> On 12/28/2022 9:34 PM WET Carl Marcum <cmar...@apache.org> wrote:
>>>>
>>>>   
>>>> Hi All,
>>>>
>>>> On 12/28/22 2:53 PM, Peter kovacs wrote:
>>>>> I am not sure which issue it is.
>>>>> There is one script from Hana that resets the user profile. We
>>>>> need to package it and make it execute by menue
>>>>>
>>>>> I have the suspicion that the profile corruption is related to
>>>>> the file corruption issue. On power fail, or sleep a file can
>>>>> become corrupted when AOO tries to write in the same moment.
>>>>> It is quite hard to create this.
>>>>>
>>>>> All the best
>>>>> Peter
>>>>>
>>>>> Am 28. Dezember 2022 16:51:03 MEZ schrieb Damjan
>>>>> Jovanovic<dam...@apache.org>:
>>>>>> Hi all
>>>>>>
>>>>>> On Wed, Dec 28, 2022 at 4:55 PM Matthias
>>>>>> Seidel<matthias.sei...@hamburg.de>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Pedro,
>>>>>>>
>>>>>>> Am 19.12.22 um 13:39 schrieb Pedro Lino:
>>>>>>>> Hi all
>>>>>>>>
>>>>>>>> Is there any extension to Backup/Restore the contents of the
>>>>>>>> User
>>>>>>> Profile?
>>>>>>>> I don't mean copy files but actually exporting and importing
>>>>>>>> the
>>>>>>> contents?
>>>>>>>> If there isn't, is any of the developers on this mailing list
>>>>>>>> interested
>>>>>>> in creating one?
>>>>>>>> I believe this would be a great contribution to all OpenOffice
>>>>>>>> users...
>>>>>>>>
>>>>>>>> I volunteer to do any testing required!
>>>>>>> I think this has been discussed several times in the last
>>>>>>> years, but
>>>>>>> nothing ever happened.
>>>>>>>
>>>>>>> I am a bit concerned that this time you didn't even get a
>>>>>>> reaction...
>>>>>>>
>>>>>> It's the festive season, many people aren't reading emails.
>>>>>>
>>>>>>
>>>>>>> Personally, I would prefer an extension (OS independent), but I
>>>>>>> could
>>>>>>> imagine problems with copying/restoring the profile while AOO
>>>>>>> is still
>>>>>>> active.
>>>>>>>
>>>> Is the user profile only read at startup and written to at
>>>> shutdown or is it more dynamic than that?
>>>> If so that could be a problem for doing it during a session,
>>>> especially the restore part.
>>>>
>>>> Making a backup copy during the session is probably reasonable
>>>> though.
>>>>
>>>>>> If profile corruption is such a problem, why don't we fix it?
>>>> I've been using since Star Office and never once had a corrupt
>>>> file or profile.
>>>> But I also never suspended a laptop with applications running
>>>> either.
>>>>
>>>> best regards,
>>>> Carl
>>>>
>>>>>> Where are the bug reports?
>>>>>>
>>>>>>
>>>>>>> Regards,
>>>>>>>
>>>>>>>      Matthias
>>>>>>>
>>>>>>>> Thank you advance!
>>>>>>>>
>>>>>>>> Best,
>>>>>>>> Pedro
>>>>>>>>
>>>>>> Regards
>>>>>> Damjan
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
>>> For additional commands, e-mail: dev-h...@openoffice.apache.org
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
>> For additional commands, e-mail: dev-h...@openoffice.apache.org
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to