kzwkt / winetricks

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

no_proxy environment variable breaks dotnet30 install #390

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set no_proxy env var
2. install dotnet30
3. watch it fail

What is the expected output? What do you see instead?

The installer log shows (ye olde):
WapUI: [2] DepCheck indicates Windows Communication Foundation is not installed.

This seems to have been a common error in the past, but none of the fixes there 
worked for me, so digging deeper I found:

in dd_wcf_retMSI3A07.txt:
====8<====
Action start 01:25:23: SelfRegModules.
Action ended 01:25:23: SelfRegModules. Return value 0.
1: C:\windows\Microsoft.NET\Framework\v3.0\Windows Communication 
Foundation\ServiceModelReg.exe /r /x /y /v 2:  
1: ERROR: Process returned non-0 value! CMDLINE: 
C:\windows\Microsoft.NET\Framework\v3.0\Windows Communication 
Foundation\ServiceModelReg.exe /r /x /y /v 2:  
1: Failed 2:  
Action start 01:25:23: SelfUnregModules.
Action ended 01:25:23: SelfUnregModules. Return value 0.
1: C:\windows\Microsoft.NET\Framework\v3.0\Windows Communication 
Foundation\ServiceModelReg.exe /u /x /y /v 2:  
1: ERROR: Process returned non-0 value! CMDLINE: 
C:\windows\Microsoft.NET\Framework\v3.0\Windows Communication 
Foundation\ServiceModelReg.exe /u /x /y /v 2:  
1: Failed 2:  
====8<====

=== Verbose logging started: 12/26/2013  01:25:24  Calling process: 
C:\windows\Microsoft.NET\Framework\v3.0\Windows Communication 
Foundation\ServiceModelReg.exe ===
ServiceModelReg [01:25:24:098]: System.ArgumentException: Item has already been 
added. Key in dictionary: 'no_proxy'  Key being added: 'no_proxy'
   at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
   at System.Collections.Hashtable.Add(Object key, Object value)
   at System.Collections.Specialized.StringDictionary.Add(String key, String value)
   at System.CodeDom.Compiler.Executor.ExecWaitWithCaptureUnimpersonated(SafeUserTokenHandle userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine)
   at System.CodeDom.Compiler.Executor.ExecWaitWithCapture(SafeUserTokenHandle userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine)
   at Microsoft.CSharp.CSharpCodeGenerator.Compile(CompilerParameters options, String compilerDirectory, String compilerExe, String arguments, String& outputFile, Int32& nativeReturnValue, String trueArgs)
   at Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   at Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch(CompilerParameters options, String[] sources)
   at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, String[] sources)
   at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromSource(CompilerParameters options, String[] sources)
   at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, CompilerParameters parameters, Evidence evidence)
   at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, CompilerParameters 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)
   at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
   at System.Xml.Serialization.XmlSerializer..ctor(Type type)
   at System.ServiceModel.Install.Configuration.ConfigurationHandlersInstallComponent..ctor(ConfigurationLoader configLoader)
   at System.ServiceModel.Install.Configuration.ConfigurationHandlersInstallComponent.CreateNativeConfigurationHandlersInstallComponent()
   at Microsoft.Tools.ServiceModel.ServiceModelReg.BuildActionQueue()
   at Microsoft.Tools.ServiceModel.ServiceModelReg.Run(String[] args)
   at Microsoft.Tools.ServiceModel.ServiceModelReg.TryRun(String[] args)
=== Verbose logging stopped: 12/26/2013  01:25:24 ===

What version of the product are you using? On what operating system?
Wine 1.7.8
Winetricks 20130707

Please provide any additional information below.
unsetting no_proxy seems to fix it.

Original issue reported on code.google.com by drwi...@gmail.com on 26 Dec 2013 at 12:37

GoogleCodeExporter commented 9 years ago
It may be an application bug. Can you try this on windows?

Original comment by austinenglish@gmail.com on 27 Dec 2013 at 2:00