Comments (7)
Hi @studentutu, is that top window (the one with "Select a file to view the diff") vscode? Perhaps it is confused by custom diff formats (I'm surprised it crashes though). I'll take a look at installing vscode and replicating. Thanks for reporting the problem.
from daff.
@paulfitz sorry for not giving more info about the issue - top window is just a SourceTree window, but yes, I'm using VSCode as my default viewer, though sourcetree has it's own view on the diffs
from daff.
@paulfitz HI, have you tried to reproduce the issue?
from daff.
@studentutu I did install VSCode, and poked around, but I see now that was the wrong program. Is "SourceTree" this application? https://www.sourcetreeapp.com/
from daff.
@paulfitz yes, Sourcetree - better GUI for large projects if you are using Unity/Unreal game engine or similarly larged projects,sorry I should have posted it in the issue(
from daff.
If it can help a way to avoid the problem for me was to remove the integration of daff into git and add the following to my .gitconfig
[alias]
diff-csv = !git -c diff.external=\"daff diff --git\" diff *.csv
With that you can run git diff-csv
when you want to see the diff of all the csv in your repository, but external tools like Sourcetree are not affected.
from daff.
I have the same issue.
SourceTree logs report:
ERROR [2023-06-16 14:08:39,551] [1] [SourceTree.App] [Log] - Object reference not set to an instance of an object. The application is terminating.
System.NullReferenceException: Object reference not set to an instance of an object.
at SourceTree.Utils.DvcsHelper.ParseDiffToModel(String diff, Int32 maxFiles, DiffEnvironment diffEnvironment, IConfigurationManager configurationManager, Int32 lineLimit)
at SourceTree.ViewModel.DiffViewModel.<ProcessDiffForStatus>d__191.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 System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at SourceTree.ViewModel.DiffViewModel.<LaunchDiffProcessing>d__194.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
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)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(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)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at SourceTree.App.Main()
from daff.
Related Issues (20)
- Error in daff.js for when running in Deno JavaScript runtime instead of NodeJS HOT 2
- Is it possible to set daff git diff output format? HOT 1
- diff record based on primary key doesn't work HOT 1
- Error: global leaks detected: $haxeUID, f, SqliteDatabase
- [bug] conlict with delta
- windows-1250 encoding csv
- Publish a new package to npm HOT 4
- Missing values
- Document CSV serialization format (RFC 4180?)
- Version published to bower is very old (1.3.16) HOT 2
- Show row number or fixed column in diff HOT 4
- CPU Parallelization for daff ?
- this case looks wrong?
- npm install error
- daff on same file and highlight
- Are you considering upgrading dependencies?
- Uncaught ReferenceError: f is not defined
- TableDiff.col_rename not updated when show_unchanged_columns = true
- Github releases? HOT 1
- Update Pypi?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from daff.