LibGit2Sharp.LibGit2SharpException: failed to parse input as a boolean value
3
Hi! I have this fail when opening a project: Does anyone how to solve? LibGit2Sharp.LibGit2SharpException: failed to parse 'input' as a boolean value at LibGit2Sharp.Core.Ensure.HandleError(Int32 result) in /_/LibGit2Sharp/Core/Ensure.cs:line 155 at LibGit2Sharp.Core.Proxy.git_config_parse_bool(String value) in /_/LibGit2Sharp/Core/Proxy.cs:line 559 at LibGit2Sharp.Core.Proxy.<>c.<.cctor>b__347_2(String value) in /_/LibGit2Sharp/Core/Proxy.cs:line 3823 at LibGit2Sharp.Core.Proxy.git_config_get_entry[T](ConfigurationHandle config, String key) in /_/LibGit2Sharp/Core/Proxy.cs:line 522 at LibGit2Sharp.Configuration.Get[T](String key) in /_/LibGit2Sharp/Configuration.cs:line 381 at LibGit2Sharp.Configuration.GetValueOrDefault[T](String key) in /_/LibGit2Sharp/Configuration.cs:line 430 at Mendix.Modeler.VersionControl.Operations.Git.GitCheckoutOperation.FetchAndUpdateConfig(CheckoutRequest request, IVersionControlAnalyticsScope analyticScope) in Mendix.Modeler.VersionControl.Git\Operations\GitCheckoutOperation.cs:line 75 at Mendix.Modeler.VersionControl.Operations.Git.GitCheckoutOperation.Execute(CheckoutRequest request) in Mendix.Modeler.VersionControl.Git\Operations\GitCheckoutOperation.cs:line 57 at Mendix.Modeler.ProjectHandling.View.Checkout.ProjectCheckouterUI.<>c__DisplayClass13_0.<AddCheckoutStep>b__0(IProgressInfo info) in Mendix.Modeler.ProjectHandling.View\Checkout\ProjectCheckouterUI.cs:line 125 at Mendix.Modeler.Utility.Progress.StepBase`1.Run(TProgressInfo info) in Mendix.Modeler.Utility\Progress\Step.cs:line 31 at Mendix.Modeler.Utility.Progress.StepBase`1.Mendix.Modeler.Utility.Progress.IStep.Run(Object progressInfo) in Mendix.Modeler.Utility\Progress\Step.cs:line 36 at Mendix.Modeler.UIFramework.Progress.ProcessRunner.RunStep(IStep step) in Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 170 at Mendix.Modeler.UIFramework.Progress.ProcessRunner.OnDoWork(Object sender, DoWorkEventArgs e) in Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 81 at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)--- End of stack trace from previous location --- at Mendix.Modeler.UIFramework.Progress.ProcessRunner.Run() in Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 57 at Mendix.Modeler.UIFramework.Progress.ProgressUtil.Run(IProcess process) in Mendix.Modeler.UIFramework\Progress\ProgressUtil.cs:line 15 at Mendix.Modeler.ProjectHandling.View.Checkout.ProjectCheckouterUI.GetCheckoutDirectory(Checkout projectCheckoutData) in Mendix.Modeler.ProjectHandling.View\Checkout\ProjectCheckouterUI.cs:line 105 at Mendix.Modeler.ProjectHandling.View.Checkout.ProjectCheckouterUI.CheckoutBranch(IRemoteRepository remoteRepository, IRevLine branchToCheckout) in Mendix.Modeler.ProjectHandling.View\Checkout\ProjectCheckouterUI.cs:line 76 at Mendix.Modeler.ProjectHandling.View.AppSelector.AppSelectorUI.OnBranchCheckout(IRemoteRepository remoteRepository, BranchViewModel branchViewModel) in Mendix.Modeler.ProjectHandling.View\AppSelector\AppSelectorUI.cs:line 344 at Mendix.Modeler.ProjectHandling.View.AppSelector.Views.BranchSelectorControl.<OpenBranch>b__26_0(IRemoteRepository repository) in Mendix.Modeler.ProjectHandling.View\AppSelector\Views\BranchSelectorControl.cs:line 92 at Mendix.Common.OptionUtil.Do[T](Option`1 option, Action`1 action, Action noneAction) in Mendix.Common\Util\OptionUtil.cs:line 95 at Mendix.Modeler.ProjectHandling.View.AppSelector.Views.BranchSelectorControl.OpenBranch() in Mendix.Modeler.ProjectHandling.View\AppSelector\Views\BranchSelectorControl.cs:line 91 at Mendix.Modeler.ProjectHandling.View.AppSelector.Views.BranchSelectorControl.<InitializeComponent>b__25_1(Object _, EventArgs _) in Mendix.Modeler.ProjectHandling.View\AppSelector\Views\BranchSelectorControl.cs:line 75 at Eto.PropertyStore.TriggerEvent[T](Object key, Object sender, T args) at Eto.Forms.Button.OnClick(EventArgs e) at Eto.Forms.Button.Callback.OnClick(Button widget, EventArgs e) at Eto.Wpf.Forms.Controls.ButtonHandler`3.<Initialize>b__14_0(Object sender, RoutedEventArgs e) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.Controls.Primitives.ButtonBase.OnClick() at System.Windows.Controls.Button.OnClick() at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
asked
Jose Vicente Contel
3 answers
0
Hi Ronald, I still having same issue. Let me know if you find something. Thanks!
answered
Jose Vicente Contel
0
Hi Jose, I am facing the same issue, please share if you have managed to find a fix already. Thank you in advance!
answered
Muralikrishna Prodduturi
0
You must set the core.autocrlf setting in git configuration to true or false. (Though input is a correct value, in certain Mendix versions it won't work).