Page MenuHomePhabricator

InvalidOperationException in UserPrefs.LoadPrefs
Open, Needs TriagePublic

Description

description: I just redownloded fresh copy of AWB and I get this error in the middle of starting up. I am able to ignore it and start AWB anyway but all my preferences are not loaded, and some parts of AWB do not work. For example I can not compile modules, as I get error "[CS2001] Source file 'C:\windows\TEMP\cb-n78wo.0.cs' could not be found [CS2008] No inputs specified". I had this issue for last month or two.

workaround:

Exception:InvalidOperationException
Message:`Unable to generate a temporary class (result=1). error CS2001: Source file 'C:\windows\TEMP\ko3elmif.0.cs' could not be found error CS2008: No inputs specified `
Call stack:<pre> at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence) at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies) at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence) at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace, String location, Evidence evidence) at System.Xml.Serialization.XmlSerializer..ctor(Type type, XmlAttributeOverrides overrides, Type[] extraTypes, XmlRootAttribute root, String defaultNamespace, String location, Evidence evidence) at System.Xml.Serialization.XmlSerializer..ctor(Type type, Type[] extraTypes) at WikiFunctions.AWBSettings.UserPrefs.LoadPrefs(String file) at AutoWikiBrowser.MainForm.LoadPrefs(String path)</pre>

OS: Microsoft Windows NT 6.1.7601 Service Pack 1
version: AutoWikiBrowser (5.9.0.0), WikiFunctions (5.9.0.0), revision 12137 (2016-12-25 12:48:36)
net: 2.0.50727.8784
duplicate:
site: https://en.wikipedia.org

Event Timeline

Jarekt created this task.Jun 22 2018, 12:19 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 22 2018, 12:19 PM
Vvjjkkii renamed this task from InvalidOperationException in UserPrefs.LoadPrefs to ugaaaaaaaa.Jul 1 2018, 1:02 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from ugaaaaaaaa to InvalidOperationException in UserPrefs.LoadPrefs.Jul 2 2018, 10:52 AM
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.