Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
87 user(s) are online (75 user(s) are browsing Forums)

Members: 0
Guests: 87

more...

Support us!

Headlines

 
  Register To Post  

« 1 (2)
Re: Watch files or How to stop corrupted prefs
Home away from home
Home away from home


See User information
@nbache

Oh, i missed that, sorry

Notifications 54.4 (11.04.2021)

Go to top
Re: Watch files or How to stop corrupted prefs
Home away from home
Home away from home


See User information
@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.


Go to top
Re: Watch files or How to stop corrupted prefs
Home away from home
Home away from home


See User information
@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.

Go to top
Re: Watch files or How to stop corrupted prefs
Home away from home
Home away from home


See User information
@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)


Go to top
Re: Watch files or How to stop corrupted prefs
Home away from home
Home away from home


See User information
@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?

Go to top
Re: Watch files or How to stop corrupted prefs
Home away from home
Home away from home


See User information
@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.

Go to top
Re: Watch files or How to stop corrupted prefs
Home away from home
Home away from home


See User information
@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

Go to top

  Register To Post
« 1 (2)

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project