google-code-export / zscreen

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

Reboot causes ZScreen to lose prefs #479

Closed GoogleCodeExporter closed 9 years ago

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

What is the expected output? What do you see instead?
Every time my computer boots, ZSCreen looses my preferences. For instance, when 
I take a SS, I want it to upload to imgur and have the url in my clipboard. But 
with each reboot it sets back to default.

What version of the product are you using? On what operating system?
Copy text from Debug tab

2011-07-12 08:58:48 - Error while reading appSettings 
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.XmlSerializationReaderAppSettings.Read4_AppSettings()
   --- 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.AppSettings.Read(String filePath)
2011-07-12 08:58:51 - Operating System: Microsoft Windows NT 6.1.7601 Service 
Pack 1
2011-07-12 08:58:51 - Product Version: ZScreen 3.27.3.1 Beta, Rev 1580
2011-07-12 09:00:40 - Config file: 
C:\Users\Tony\AppData\Local\ZScreen\AppSettings.xml
2011-07-12 09:00:40 - Root Folder: C:\Users\Tony\Documents\ZScreen
2011-07-12 09:00:40 - Initializing Default folder paths...
2011-07-12 09:00:40 - Reading 
C:\Users\Tony\Documents\ZScreen\Settings\ZScreen-3.27.3.1-Settings.xml
2011-07-12 09:00:44 - Proxy Enabled: False
2011-07-12 09:00:44 - Configuring ZScreen GUI via .ctor
2011-07-12 09:00:45 - Reading history file: 
C:\Users\Tony\Documents\ZScreen\Settings\History.xml
2011-07-12 09:00:46 - Loaded ZScreen GUI...
2011-07-12 09:00:47 - Proxy Enabled: False
2011-07-12 09:00:47 - Keyboard Hook initiated
2011-07-13 12:44:23 - Crop Shot Hotkey triggered: Control + Home
2011-07-13 12:44:25 - Job started: TakeScreenshotCropped
2011-07-13 12:44:31 - Setting Image 412x23 to WorkerTask
2011-07-13 12:44:31 - Writing image 412x23 to 
C:\Users\Tony\Documents\ZScreen\Images\2011-07\SS-2011.07.13-12.44.31.png
2011-07-13 12:44:31 - Uploading Image: 
C:\Users\Tony\Documents\ZScreen\Images\2011-07\SS-2011.07.13-12.44.31.png
2011-07-13 12:44:32 - Saved 
C:\Users\Tony\Documents\ZScreen\Images\2011-07\SS-2011.07.13-12.44.31.png as an 
Image to Clipboard...
2011-07-13 12:44:33 - Job completed: TakeScreenshotCropped
2011-07-13 12:44:33 - Saving history file: 
C:\Users\Tony\Documents\ZScreen\Settings\History.xml

Please provide any additional information below.
Windows 7

Original issue reported on code.google.com by acoustec...@gmail.com on 13 Jul 2011 at 4:50

GoogleCodeExporter commented 9 years ago
Hi, I have the exact same problem. I too am running Windows 7 (64-bit), and 
after every reboot, the first (initial) ZScreen setup dialog opens, where I 
have to edit the preferences (which are back to default). It is truly annoying!

Original comment by claustha...@gmail.com on 14 Jul 2011 at 11:10

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/zscreen/downloads/list

Try the latest Dev version guys :)

Original comment by mcored on 14 Jul 2011 at 11:48