Premise Can't save module/minibrowser changes

Motorola Premise

flobik

New Member
Hi.

When I change minibrowser scripts, all OK. But after restart, sctipts don't save. Please, help me with it.
 
Hi.

When I change minibrowser scripts, all OK. But after restart, sctipts don't save. Please, help me with it.


So when you say 'all Ok', that means you have made the change to the minibrowser, verified it works in the minibrowser, but then you restart and it has lost the changes?

A couple of questions.....1) What minibrowser are you using? The 'base' one out of the box? 2) What type of changes are you making that are being lost? 3) Are you missing the changes on the regular browser or on a minibrowser type device? (such as a PDA, etc)

Welcome to the Premise forum!
 
.. But after restart, sctipts don't save. ...

flobik,

All of your code modifications seem to work properly but after you restart Premise, they disappear, right? I had something similar happen to me while I was creating the ELK M1 driver and it may be the same thing that is happening to you.
  1. Premise saves everything in XML format.
  2. Periodically it performs a backup and saves it in the Backup directory.
  3. When it restarts, it reads the most recent backup file.
  4. If it can't load the most recent version, it loads an older version.
It is possible to create text in Premise that it cannot properly save in XML format (bug). As result, the backup will contained badly-formed XML code that Premise will be unable to load. When it fails to load, it tries an older backup, namely the one before you made all the changes to minibroker. Poof! Your changes are gone!

For more information, read my "School of Hard Knocks" post.
 
It is possible to create text in Premise that it cannot properly save in XML format (bug). As result, the backup will contained badly-formed XML code that Premise will be unable to load. When it fails to load, it tries an older backup, namely the one before you made all the changes to minibroker. Poof! Your changes are gone!

=(
Thanks. You right. Premise didn't save scripts, because it contain cyrillic symbols. When i replace it to english words, scripts save good.

Solution: base64
 
Back
Top