{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"closed","user":{"avatar_url":"https://secure.gravatar.com/avatar/f028946812b03d28cbee319f5f397e92?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f028946812b03d28cbee319f5f397e92","url":"https://api.github.com/users/jtrott","login":"jtrott","id":1151853},"milestone":null,"assignee":null,"updated_at":"2011-11-11T23:08:27Z","labels":[{"name":"bug","color":"FF7D73","url":"https://api.github.com/repos/hbons/SparkleShare/labels/bug"},{"name":"mac","color":"ededed","url":"https://api.github.com/repos/hbons/SparkleShare/labels/mac"},{"name":"major","color":"a60c00","url":"https://api.github.com/repos/hbons/SparkleShare/labels/major"}],"comments":14,"closed_at":"2011-11-11T22:02:18Z","url":"https://api.github.com/repos/hbons/SparkleShare/issues/383","body":"Followed instructions on the page:\r\n\r\n1. Installed MacPorts\r\n2. `sudo port install git-core automake intltool`\r\n3. Installed Xcode 4.2\r\n4. Installed MonoDevelop 2.8.1\r\n5. Installed Mono Framework 2.10.6\r\n6. ```export PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin:$PATH; export PKG_CONFIG=/Library/Frameworks/Mono.framework/Versions/Current/bin/pkg-config; export PKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig```\r\n7. `./autogen.sh --enable-gtkui=no`\r\n8. `make`\r\n9. `open SparkleShare/Mac/SparkleShare.sln`\r\n10. Build->Build All\r\n11. Project->Create Mac Installer... - Only check first option for Include Mono in application Bundle (Link all assemblies)\r\n12. Replaced SparkleShare.app/Contents/MonoBundle/config with contents of https://raw.github.com/gist/1aeffa61bac73fc08eca/0c0f09ef9e36864c35f34fd5e8bf4f99886be193/gistfile1.txt\r\n13. Copied /Library/Frameworks/Mono.framework/Versions/Current/lib/libintl.dylib into SparkleShare.app/Contents/Resources\r\n14. Ran SparkleShare.app\r\n15. Exception:\r\n\r\n```\r\nSystem.TypeInitializationException: An exception was thrown by the type initializer for \r\nSystem.Net.Sockets.Socket ---> System.Configuration.ConfigurationErrorsException: \r\nError Initializing the configuration system.\r\n```\r\n\r\nResult is as follows:\r\n\r\n```\r\nOct 26 08:34:30 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: Identity added: /Users/username/.config/sparkleshare/sparkleshare.sparkleshare@macsupport.org.key (/Users/username/.config/sparkleshare/sparkleshare.sparkleshare@domain.com.key)\r\nOct 26 08:34:30 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: 08:34:30 [Cmd] /opt/local/bin/git log -1 --format=%H\r\nOct 26 08:34:30 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: 08:34:30 [Cmd] /opt/local/bin/git rev-list --reverse HEAD\r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: 08:34:31 [ListenerFactory] Issued new listener for tcp://204.62.14.135:1986/\r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: 08:34:31 [ListenerTcp] Connecting to 204.62.14.135\r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Net.Sockets.Socket ---> System.Configuration.ConfigurationErrorsException: Error Initializing the configuration system. ---\r\n> System.MissingMethodException: Default constructor not found for type System.Configuration.ExeConfigurationHost.\r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at System.Activator.CreateInstance (System.Type type) [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at System.Configuration.InternalConfigurationSystem.Init (System.Type typeConfigHost, System.Object[] hostInitParams) [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at System.Configuration.InternalConfigurationFactory.Create (System.Type typeConfigHost, System.Object[] hostInitConfigurationParams) [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at System.Configuration.ConfigurationManager.OpenExeConfigurationInternal (ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly, System.String exePath) [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   --- End of inner exception stack trace ---\r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at System.Net.Sockets.Socket.CheckProtocolSupport () [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at System.Net.Sockets.Socket..cctor () [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   --- End of inner exception stack trace ---\r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at SparkleLib.SparkleListenerTcp.<Connect>m__7 () [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at System.Threading.Thread.StartUnsafe () [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]: [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for System.Net.Sockets.Socket ---> System.Configuration.ConfigurationErrorsException: Error Initializing the configurati\r\non system. ---> System.MissingMethodException: Default constructor not found for type System.Configuration.ExeConfigurationHost.\r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at System.Activator.CreateInstance (System.Type type) [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at System.Configuration.InternalConfigurationSystem.Init (System.Type typeConfigHost, System.Object[] hostInitParams) [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at System.Configuration.InternalConfigurationFactory.Create (System.Type typeConfigHost, System.Object[] hostInitConfigurationParams) [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at System.Configuration.ConfigurationManager.OpenExeConfigurationInternal (ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly, System.String exePath) [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   --- End of inner exception stack trace ---\r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at System.Net.Sockets.Socket.CheckProtocolSupport () [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at System.Net.Sockets.Socket..cctor () [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   --- End of inner exception stack trace ---\r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at SparkleLib.SparkleListenerTcp.<Connect>m__7 () [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 [0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]:   at System.Threading.Thread.StartUnsafe () [0x00000] in <filename unknown>:0 \r\nOct 26 08:34:31 dwarf13 com.apple.launchd.peruser.503[209] ([0x0-0xe20e2].org.sparkleshare.sparkleshare[20238]): Exited with code: 1\r\n```\r\n\r\nIf I run inside MonoDevelop using Run->Run it works fine.\r\n\r\nIt's been like this for the last week or so of code checkouts, apart from the compile bug that was fixed in the last couple of days.\r\n","html_url":"https://github.com/hbons/SparkleShare/issues/383","title":"Exception w/ System.Net.Sockets","number":383,"id":2050416,"created_at":"2011-10-25T21:48:31Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/3e8eee17a5d6c6a20b073af0d2b2b48b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"3e8eee17a5d6c6a20b073af0d2b2b48b","url":"https://api.github.com/users/hbons","login":"hbons","id":103326},"updated_at":"2011-11-11T23:08:27Z","url":"https://api.github.com/repos/hbons/SparkleShare/issues/comments/2714417","body":"@jtrott make sure to have a file selected that is in the SparkleShare project","id":2714417,"created_at":"2011-11-11T23:08:27Z"}}