Directory error while committing the changes

0
I tried committing my changes and while committing the changes it is showing the directory is wrong ..how can we resolve this error ? 
asked
4 answers
0

Hi

 

Could you elaborate what the error is or paste a screenshot for it?

 

answered
0

Are you using a tool like Microsoft OneDrive? That can sometimes cause problems when saving, committing, and building your Mendix application as it tries to backup and restore files.

If not, can you share the error message you are seeing?

answered
0

Hi Nithish,

 

May be you got some conflict either in project folder or in .scss file. Please try to resolve it manually.

Then synchronize app directory and clean deployment directory. 

Hope this will help.

answered
0

Yes ! my issue is with directory path I think so..but I dont how and where should I go and resolve it..guide me through that...and for your Ref I’m pasting the found error below

 

 

LibGit2Sharp.LibGit2SharpException: invalid path: 'pdr-dp/'
   at LibGit2Sharp.Core.Ensure.HandleError(Int32 result) in /_/LibGit2Sharp/Core/Ensure.cs:line 154
   at LibGit2Sharp.Core.Proxy.git_index_add_bypath(IndexHandle index, FilePath path) in /_/LibGit2Sharp/Core/Proxy.cs:line 1035
   at LibGit2Sharp.Index.Add(String pathInTheWorkdir) in /_/LibGit2Sharp/Index.cs:line 185
   at LibGit2Sharp.Commands.Stage(IRepository repository, IEnumerable`1 paths, StageOptions stageOptions) in /_/LibGit2Sharp/Commands/Stage.cs:line 123
   at LibGit2Sharp.Commands.Stage(IRepository repository, String path) in /_/LibGit2Sharp/Commands/Stage.cs:line 25
   at Mendix.Modeler.VersionControl.Operations.Git.GitCommitOperation.Execute(CommitRequest request, Boolean silent) in Mendix.Modeler.VersionControl\Operations\Git\GitCommitOperation.cs:line 51
   at Mendix.Modeler.VersionControl.CommitWorker.DoCommit(IProject project, String message, IRevisionMetadata metadata) in Mendix.Modeler.VersionControl.View\Commit\CommitWorker.cs:line 153
   at Mendix.Modeler.VersionControl.CommitWorker.CommitToRepositorySilent(IProject project, CommitState state) in Mendix.Modeler.VersionControl.View\Commit\CommitWorker.cs:line 60
   at Mendix.Modeler.VersionControl.ProcessRunners.CommitSteps.CommitProcessStep.<>c__DisplayClass0_0.<AddCommitStep>b__0(IProject _project, CommitState _state, IProgressInfo _info) in Mendix.Modeler.VersionControl.View\ProcessRunners\Commit\CommitSteps\CommitProcessStep.cs:line 13
   at Mendix.Modeler.VersionControl.ProcessRunners.CommitSteps.CommitProcessStep.<>c__DisplayClass2_0.<AddCommitStep>b__0(IProgressInfo info) in Mendix.Modeler.VersionControl.View\ProcessRunners\Commit\CommitSteps\CommitProcessStep.cs:line 30
   at Mendix.Modeler.UIFramework.Progress.ProcessRunner.RunStep(IStep step) in Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 160
   at Mendix.Modeler.UIFramework.Progress.ProcessRunner.OnDoWork(Object sender, DoWorkEventArgs e) in Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 81
   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.VersionControl.RevCommitter.RunProcess(IProcessRunner processRunner, IProject project, CommitState state, Boolean silent) in Mendix.Modeler.VersionControl.View\Commit\RevCommitter.cs:line 185
   at Mendix.Modeler.VersionControl.RevCommitter.LaunchCommitProcess(IProject project, CommitState state, Boolean silent) in Mendix.Modeler.VersionControl.View\Commit\RevCommitter.cs:line 175
   at Mendix.Modeler.VersionControl.RevCommitter.CommitInternal(IProject project, Boolean silent, String initialMessage, RevOperationSource source) in Mendix.Modeler.VersionControl.View\Commit\RevCommitter.cs:line 159
   at Mendix.Modeler.VersionControl.RevCommitter.Commit(IProject project, String initialMessage, RevOperationSource source) in Mendix.Modeler.VersionControl.View\Commit\RevCommitter.cs:line 72
   at Mendix.Modeler.ProjectHandling.View.Commands.VersionControl.CommitCommand.Call(IFeatureCommandContext context) in Mendix.Modeler.ProjectHandling.View\Commands\VersionControl\CommitCommand.cs:line 26
   at Mendix.Modeler.Core.Commands.FeatureCommand.Execute(IFeatureCommandContext context) in Mendix.Modeler.Core\Commands\FeatureCommand.cs:line 88
   at Mendix.Modeler.MainWindow.Menus.VersionControlMenuItemsProvider.<>c__DisplayClass4_0.<MakeCommandHandler>b__0() in Mendix.Modeler.ProjectHandling.View\Menus\VersionControlMenuItemsProvider.cs:line 56
   at Eto.Forms.MenuItem.Callback.OnClick(MenuItem widget, EventArgs e)
   at Eto.Wpf.Forms.Menu.MenuItemHandler`3.OnClick()
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   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)

answered