Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
104 user(s) are online (95 user(s) are browsing Forums)

Members: 0
Guests: 104

more...

Headlines




« 1 (2)


Re: Watch files or How to stop corrupted prefs
Home away from home
Joined:
2006/11/26 21:45
From a dying planet
Posts: 4340
@nbache

Oh, i missed that, sorry

Notifications 54.4 (11.04.2021)

_________________
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
   Report Go to top

Re: Watch files or How to stop corrupted prefs
Home away from home
Joined:
2006/12/4 23:15
Posts: 2305
@Raziel

Hmm not sure whether the fix I made was in that version as Max was working for a copy forked from svn arriund the same time.

Are you sure the xml prefs file is actially corrupt? You can use a XML validator to see if it is indeed valid.

The isue that I looked into was that the prefs was potentially misread.


_________________
Blender For OS4.x : Blues : Walker Broad
   Report Go to top

Re: Watch files or How to stop corrupted prefs
Home away from home
Joined:
2006/11/26 21:45
From a dying planet
Posts: 4340
@broadblues

It definitely gets overwritten or even deleted by something.
I assume it's ringhio itself, since most of the XML file "seems" to be the correct format, just with it's default settings, or so it looks.

My backup settings file is 8050 bytes and whenever I get that error on boot, the file size gets cut down to 2600-something.

It's corrupted in the way that ringhio itself claims the file is not ok.

Is there a panic switch in where ringhio creates a default XML file if none is found?
In case the file doesn't get corrupted but simply erased/destroyed/voided or something.

_________________
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
   Report Go to top

Re: Watch files or How to stop corrupted prefs
Home away from home
Joined:
2006/12/4 23:15
Posts: 2305
@Raziel

Quote:

Is there a panic switch in where ringhio creates a default XML file if none is found?


No but the file will get regenerated as soon as you register an app with application library (and that includes RINGHIO)


_________________
Blender For OS4.x : Blues : Walker Broad
   Report Go to top

Re: Watch files or How to stop corrupted prefs
Home away from home
Joined:
2006/11/26 21:45
From a dying planet
Posts: 4340
@broadblues

Regenerated in the way that

a) the XML file that is available will be read and checked and any newly registered app will be added
b) if there isn't an XML file found or can't be read then every registered app (on start or while running) will be added to a newly created XML settings file
?

Hmm, too many options that something goes wrong...is there a debug version available, so i can ty to break that and gather output?

_________________
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
   Report Go to top

Re: Watch files or How to stop corrupted prefs
Home away from home
Joined:
2006/12/4 23:15
Posts: 2305
@Raziel

Quote:

a) the XML file that is available will be read and checked and any newly registered app will be added
b) if there isn't an XML file found or can't be read then every registered app (on start or while running) will be added to a newly created XML settings file


Yes both of those.

One possibilty is that some app you register is causing some dud chraacters to be added the xml, that should be correctly escaped, but who knows.

I can't create a debug build as I don't have the latest source only for the last 53.xx version.

If you raise a mantis and make sure M3X is assigned, he might be able to look at it.

_________________
Blender For OS4.x : Blues : Walker Broad
   Report Go to top

Re: Watch files or How to stop corrupted prefs
Home away from home
Joined:
2006/11/26 21:45
From a dying planet
Posts: 4340
@broadblues

Done, feel free to add any more info you may got.
And maybe you can assign max?
I'm not allowed to do so.

...and thank you all for the hints

_________________
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
   Report Go to top


« 1 (2)



[Advanced Search]



Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project