You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Pedro Lino <pe...@mailbox.org.INVALID> on 2022/12/19 12:39:25 UTC

Profile Backup/Restore

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!

Thank you advance!

Best,
Pedro

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


Re: Profile Backup/Restore

Posted by Pedro Lino <pe...@mailbox.org.INVALID>.
Hi all

At some point during shutdown, before the program closes, the procedure to save the profile occurs.
Isn't it possible that this command can be issued by an extension (given that all documents must be closed, obviously)?
Maybe after closing the profile it is not possible to do this with OpenOffice Basic but it can be done in Java?

Best,
Pedro

> On 12/30/2022 7:54 PM WET Peter Kovacs <pe...@apache.org> wrote:
> 
>  
> Am 30.12.22 um 20:46 schrieb Dave:
> > So AOO is incapable of, or prohibited from, spawning an external process?
> >
> > So an AOO extension is not really an option and the very long standing
> > problem of our users data being destroyed by this issue continues on
> > unresolved, because we don't THINK it can be done instead of finding a
> > way to get it done.
> >
> > I just threw an idea into the pot for consideration, I never claimed it
> > was in anyway a perfect, or even workable solution.
> 
> I do not see a technical Issue. AOO is loading a profile and can write 
> one if no one exists.
> 
> It should not be a problem to write a export function, based on the code 
> exists. And it should also be possible to load a profile from a 
> different resource.
> 
> Also we should be able if we cant load the profile instead of crashing 
> to default back to the profile we load when no profile exists. Which 
> also should be an improvement.
> 
> I hope we will provide a solution within next year, as commented by Jon 
> Ho the profile corruption is imho also an effect from the document 
> corruption Issue. Which I hope to continue to look at in next year.
> 
> All the best
> 
> Peter
> 
> >
> > Best Regards
> > Dave
> >
> > On 30/12/2022 18:49, Carl Marcum wrote:
> >> I can understand using a standalone application but how can an extension
> >> work if it depends on the office running?
> >> As you said you check for it and close it first in yours.
> >>
> >> Best regards,
> >> Carl
> >>
> >> On 12/30/22 8:39 AM, Moderator wrote:
> >>> 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<cm...@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<da...@apache.org>:
> >>>>>>>>> Hi all
> >>>>>>>>>
> >>>>>>>>> On Wed, Dec 28, 2022 at 4:55 PM Matthias
> >>>>>>>>> Seidel<ma...@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-unsubscribe@openoffice.apache.org
> >>>>>> For additional commands, e-mail:dev-help@openoffice.apache.org
> >>>>>>
> >>>>> ---------------------------------------------------------------------
> >>>>> To unsubscribe, e-mail:dev-unsubscribe@openoffice.apache.org
> >>>>> For additional commands, e-mail:dev-help@openoffice.apache.org
> >>>>>
> >>>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail:dev-unsubscribe@openoffice.apache.org
> >>>> For additional commands, e-mail:dev-help@openoffice.apache.org
> >>>>
> >>>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail:dev-unsubscribe@openoffice.apache.org
> >>> For additional commands, e-mail:dev-help@openoffice.apache.org
> >>>
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> > For additional commands, e-mail: dev-help@openoffice.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org

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


Re: Profile Backup/Restore

Posted by Peter Kovacs <pe...@apache.org>.
Am 30.12.22 um 20:46 schrieb Dave:
> So AOO is incapable of, or prohibited from, spawning an external process?
>
> So an AOO extension is not really an option and the very long standing
> problem of our users data being destroyed by this issue continues on
> unresolved, because we don't THINK it can be done instead of finding a
> way to get it done.
>
> I just threw an idea into the pot for consideration, I never claimed it
> was in anyway a perfect, or even workable solution.

I do not see a technical Issue. AOO is loading a profile and can write 
one if no one exists.

It should not be a problem to write a export function, based on the code 
exists. And it should also be possible to load a profile from a 
different resource.

Also we should be able if we cant load the profile instead of crashing 
to default back to the profile we load when no profile exists. Which 
also should be an improvement.

I hope we will provide a solution within next year, as commented by Jon 
Ho the profile corruption is imho also an effect from the document 
corruption Issue. Which I hope to continue to look at in next year.

All the best

Peter

>
> Best Regards
> Dave
>
> On 30/12/2022 18:49, Carl Marcum wrote:
>> I can understand using a standalone application but how can an extension
>> work if it depends on the office running?
>> As you said you check for it and close it first in yours.
>>
>> Best regards,
>> Carl
>>
>> On 12/30/22 8:39 AM, Moderator wrote:
>>> 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<cm...@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<da...@apache.org>:
>>>>>>>>> Hi all
>>>>>>>>>
>>>>>>>>> On Wed, Dec 28, 2022 at 4:55 PM Matthias
>>>>>>>>> Seidel<ma...@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-unsubscribe@openoffice.apache.org
>>>>>> For additional commands, e-mail:dev-help@openoffice.apache.org
>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail:dev-unsubscribe@openoffice.apache.org
>>>>> For additional commands, e-mail:dev-help@openoffice.apache.org
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail:dev-unsubscribe@openoffice.apache.org
>>>> For additional commands, e-mail:dev-help@openoffice.apache.org
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail:dev-unsubscribe@openoffice.apache.org
>>> For additional commands, e-mail:dev-help@openoffice.apache.org
>>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>

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


Re: Profile Backup/Restore

Posted by Carl Marcum <ca...@gmail.com>.
Hi Dave,

On 12/30/22 2:46 PM, Dave wrote:
> So AOO is incapable of, or prohibited from, spawning an external process?

I'm fairly sure it can with a shell execute or something similar.

>
> So an AOO extension is not really an option and the very long standing
> problem of our users data being destroyed by this issue continues on
> unresolved, because we don't THINK it can be done instead of finding a
> way to get it done.

I was only questioning swapping profiles during a session which would happen if launched from an extension.
I can see how an external program once launched from an extension or internal command could then shutdown the office if needed to perform the tasks.
With a users permission of course :)

>
> I just threw an idea into the pot for consideration, I never claimed it
> was in anyway a perfect, or even workable solution.

I didn't mean to imply anything about your proposal.

Best regards,
Carl

>
> Best Regards
> Dave
>
> On 30/12/2022 18:49, Carl Marcum wrote:
>> I can understand using a standalone application but how can an extension
>> work if it depends on the office running?
>> As you said you check for it and close it first in yours.
>>
>> Best regards,
>> Carl
>>
>> On 12/30/22 8:39 AM, Moderator wrote:
>>> 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<cm...@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<da...@apache.org>:
>>>>>>>>> Hi all
>>>>>>>>>
>>>>>>>>> On Wed, Dec 28, 2022 at 4:55 PM Matthias
>>>>>>>>> Seidel<ma...@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-unsubscribe@openoffice.apache.org
>>>>>> For additional commands,e-mail:dev-help@openoffice.apache.org
>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe,e-mail:dev-unsubscribe@openoffice.apache.org
>>>>> For additional commands,e-mail:dev-help@openoffice.apache.org
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe,e-mail:dev-unsubscribe@openoffice.apache.org
>>>> For additional commands,e-mail:dev-help@openoffice.apache.org
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe,e-mail:dev-unsubscribe@openoffice.apache.org
>>> For additional commands,e-mail:dev-help@openoffice.apache.org
>>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail:dev-help@openoffice.apache.org
>

Re: Profile Backup/Restore

Posted by Dave <bm...@apache.org>.
So AOO is incapable of, or prohibited from, spawning an external process?

So an AOO extension is not really an option and the very long standing
problem of our users data being destroyed by this issue continues on
unresolved, because we don't THINK it can be done instead of finding a
way to get it done.

I just threw an idea into the pot for consideration, I never claimed it
was in anyway a perfect, or even workable solution.

Best Regards
Dave

On 30/12/2022 18:49, Carl Marcum wrote:
> I can understand using a standalone application but how can an extension
> work if it depends on the office running?
> As you said you check for it and close it first in yours.
> 
> Best regards,
> Carl
> 
> On 12/30/22 8:39 AM, Moderator wrote:
>> 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<cm...@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<da...@apache.org>:
>>>>>>>> Hi all
>>>>>>>>
>>>>>>>> On Wed, Dec 28, 2022 at 4:55 PM Matthias
>>>>>>>> Seidel<ma...@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-unsubscribe@openoffice.apache.org
>>>>> For additional commands, e-mail:dev-help@openoffice.apache.org
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail:dev-unsubscribe@openoffice.apache.org
>>>> For additional commands, e-mail:dev-help@openoffice.apache.org
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail:dev-unsubscribe@openoffice.apache.org
>>> For additional commands, e-mail:dev-help@openoffice.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:dev-unsubscribe@openoffice.apache.org
>> For additional commands, e-mail:dev-help@openoffice.apache.org
>>

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


Re: Profile Backup/Restore

Posted by Carl Marcum <ca...@gmail.com>.
I can understand using a standalone application but how can an extension work if it depends on the office running?
As you said you check for it and close it first in yours.

Best regards,
Carl

On 12/30/22 8:39 AM, Moderator wrote:
> 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<cm...@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<da...@apache.org>:
>>>>>>> Hi all
>>>>>>>
>>>>>>> On Wed, Dec 28, 2022 at 4:55 PM Matthias
>>>>>>> Seidel<ma...@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-unsubscribe@openoffice.apache.org
>>>> For additional commands, e-mail:dev-help@openoffice.apache.org
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail:dev-unsubscribe@openoffice.apache.org
>>> For additional commands, e-mail:dev-help@openoffice.apache.org
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:dev-unsubscribe@openoffice.apache.org
>> For additional commands, e-mail:dev-help@openoffice.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail:dev-help@openoffice.apache.org
>

Re: Profile Backup/Restore

Posted by Moderator <bm...@apache.org>.
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 <cm...@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<da...@apache.org>:
>>>>>> Hi all
>>>>>>
>>>>>> On Wed, Dec 28, 2022 at 4:55 PM Matthias
>>>>>> Seidel<ma...@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-unsubscribe@openoffice.apache.org
>>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
>


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


Re: Profile Backup/Restore

Posted by Bidouille <oo...@free.fr>.
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 <cm...@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<da...@apache.org>:
> >>>> Hi all
> >>>>
> >>>> On Wed, Dec 28, 2022 at 4:55 PM Matthias
> >>>> Seidel<ma...@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-unsubscribe@openoffice.apache.org
> > For additional commands, e-mail: dev-help@openoffice.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
> 
> 

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


Re: Profile Backup/Restore

Posted by Peter Kovacs <pe...@apache.org>.
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 <cm...@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<da...@apache.org>:
>>>> Hi all
>>>>
>>>> On Wed, Dec 28, 2022 at 4:55 PM Matthias Seidel<ma...@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-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>

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


Re: Profile Backup/Restore

Posted by Pedro Lino <pe...@mailbox.org.INVALID>.
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?

Thanks!
Pedro

> On 12/28/2022 9:34 PM WET Carl Marcum <cm...@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<da...@apache.org>:
> >> Hi all
> >>
> >> On Wed, Dec 28, 2022 at 4:55 PM Matthias Seidel<ma...@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-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: Profile Backup/Restore

Posted by Carl Marcum <cm...@apache.org>.
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<da...@apache.org>:
>> Hi all
>>
>> On Wed, Dec 28, 2022 at 4:55 PM Matthias Seidel<ma...@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

Re: Profile Backup/Restore

Posted by Peter kovacs <pe...@posteo.de>.
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 <da...@apache.org>:
>Hi all
>
>On Wed, Dec 28, 2022 at 4:55 PM Matthias Seidel <ma...@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.
>>
>>
>If profile corruption is such a problem, why don't we fix it?
>
>Where are the bug reports?
>
>
>> Regards,
>>
>>    Matthias
>>
>> >
>> > Thank you advance!
>> >
>> > Best,
>> > Pedro
>> >
>>
>>
>Regards
>Damjan

Re: Profile Backup/Restore

Posted by Peter Kovacs <pe...@apache.org>.
I think those are the Issues we need to look at:

https://bz.apache.org/ooo/show_bug.cgi?id=126869

https://bz.apache.org/ooo/show_bug.cgi?id=126762


Am 28.12.22 um 16:51 schrieb Damjan Jovanovic:
> Hi all
>
> On Wed, Dec 28, 2022 at 4:55 PM Matthias Seidel <ma...@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.
>>
>>
> If profile corruption is such a problem, why don't we fix it?
>
> Where are the bug reports?
>
>
>> Regards,
>>
>>     Matthias
>>
>>> Thank you advance!
>>>
>>> Best,
>>> Pedro
>>>
>>
> Regards
> Damjan
>

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


Re: Profile Backup/Restore

Posted by Damjan Jovanovic <da...@apache.org>.
Hi all

On Wed, Dec 28, 2022 at 4:55 PM Matthias Seidel <ma...@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.
>
>
If profile corruption is such a problem, why don't we fix it?

Where are the bug reports?


> Regards,
>
>    Matthias
>
> >
> > Thank you advance!
> >
> > Best,
> > Pedro
> >
>
>
Regards
Damjan

Re: Profile Backup/Restore

Posted by Matthias Seidel <ma...@hamburg.de>.
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...

Personally, I would prefer an extension (OS independent), but I could
imagine problems with copying/restoring the profile while AOO is still
active.

Regards,

   Matthias

>
> Thank you advance!
>
> Best,
> Pedro
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>