Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NBug] Illegal characters in path. #7862

Closed
nbhuy89 opened this issue Mar 11, 2020 · 3 comments · Fixed by #8575
Closed

[NBug] Illegal characters in path. #7862

nbhuy89 opened this issue Mar 11, 2020 · 3 comments · Fixed by #8575

Comments

@nbhuy89
Copy link

nbhuy89 commented Mar 11, 2020

⚠️ The sections below must be filled in and this text must be removed or the issue will be closed.

Current behaviour

Expected behaviour

Steps to reproduce

Error Details

System.ArgumentException: Illegal characters in path.
   at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
   at System.IO.Path.IsPathRooted(String path)
   at GitCommands.FullPathResolver.Resolve(String path)
   at GitUI.Editor.FileViewer.ViewItemAsync(String fileName, Func`1 getImage, Func`1 getFileText, Func`1 getSubmoduleText, Action openWithDifftool)
   at GitUI.Editor.FileViewer.<>c__DisplayClass92_0.<ViewFileAsync>b__0()
   at GitUI.Editor.FileViewer.ShowOrDeferAsync(Int64 contentLength, Func`1 showFunc)
   at GitUI.Editor.FileViewer.ViewFileAsync(String fileName, Action openWithDifftool)
   at GitUI.CommandsDialogs.FormCommit.<SetSelectedDiffAsync>d__137.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GitUI.CommandsDialogs.FormCommit.<>c__DisplayClass136_0.<<ShowChanges>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GitUI.ThreadHelper.<>c__DisplayClass13_0.<<FileAndForget>b__0>d.MoveNext()

Additional information

cannot open file with illegal characters in path

Environment

  • Git Extensions 3.3.1.7897
  • Build 5a97671
  • Git 2.23.0.windows.1
  • Microsoft Windows NT 10.0.18363.0
  • .NET Framework 4.8.4150.0
  • DPI 96dpi (no scaling)
@archivarius-bot
Copy link

Thank you for the bug report 👍

Sadly, it appears some important information is still missing, which you may have overlooked while submitting the bug.
Without this information we may not be able to assist you in resolving the issue.

Please review your submission, fill the missing information in and post a new comment to ping us back to re-open the issue.
Thanks again

@duplicates-detector-bot
Copy link

Potential duplicates:

  • #6981
  • #6982
  • #7528
  • #7592
  • #7601
  • #7608
  • #7643
  • #7722
  • #7799
  • #7860

@gerhardol
Copy link
Member

This was partially handled by #7690

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants