google-code-export / zscreen

Automatically exported from code.google.com/p/zscreen
1 stars 0 forks source link

Zscreen startup can't open setting XML, asks for the backup #449

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
if i enter the settings folder in the picture i can see that the setting.xml is 
0kb (see the other pic).
i don't know how to replicte this, it happends all the time, perhaps some 
misconfiguration inside the executable....

What version of the product are you using? On what operating system?
Copy text from Debug tab
============================================================
2011-06-09 23:31:12 - Operating System: Microsoft Windows NT 5.1.2600 Service 
Pack 3
2011-06-09 23:31:12 - Product Version: ZScreen 3.36 rev 1988
2011-06-09 23:31:12 - Config file: C:\Documents and Settings\user\Local 
Settings\Application Data\ZScreen\AppSettings.xml
2011-06-09 23:31:12 - Root Folder: C:\Documents and Settings\user\Local 
Settings\Application Data\ZScreen
2011-06-09 23:31:12 - Initializing Default folder paths...
2011-06-09 23:31:12 - Reading C:\Documents and Settings\user\Application 
Data\ZScreen\Settings\ZScreen-3.36.17.1-Settings.xml
2011-06-09 23:31:12 - Error while reading settings 
System.InvalidOperationException: There is an error in XML document (0, 0). 
---> System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlTextReader.Read()
   at System.Xml.XmlReader.MoveToContent()
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read54_Settings()
   --- End of inner exception stack trace ---
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
   at ZScreenLib.XMLSettings.Read(String filePath)
2011-06-09 23:31:37 - Finished reading C:\Documents and 
Settings\user\Application Data\ZScreen\Settings\ZScreen-3.36.17.1-Settings.xml
============================================================

Please provide any additional information below:

Original issue reported on code.google.com by florin.f...@gmail.com on 9 Jun 2011 at 8:38

Attachments:

GoogleCodeExporter commented 9 years ago
Hi, sorry to hear your settings being lost. Please try the latest dev version 
http://code.google.com/p/zscreen/downloads/detail?name=ZScreen-4.0.1.2218-setup.
exe&can=2&q=label%3ADev which claims to fix this issue. 

Original comment by mcored on 9 Jun 2011 at 10:22