ScriptUO

Scripting Resources & Utilities => ScriptUO Application => ScriptUO Questions and Answers => Topic started by: b@ndito on March 06, 2010, 01:43:06 PM

Title: Diff. tool issue
Post by: b@ndito on March 06, 2010, 01:43:06 PM
first of all thanks for publishing this great program, i used a couple of text editor in the past but nothing suited my tastes as SUO.

Now my little question, using the Diff... tool in the Edit menu i see that SUO auto-detects my tortoiseSVN installed (and that's good), but if i give the two paths of files needed and press execute it opens the tortoisemerge program asking again for the paths, this losing all the advantages of it. Now i'm asking: is that a tortoise issue and if, there's a way to fix it?

some tech info, maybe the version i'm using is not fully supported:

TortoiseMerge 1.6.5, Build 16974 - 32 Bit , 2009/08/20 08:13:46
libsvn_diff 1.6.5,
apr 1.3.8
apr-utils 1.3.9

OS: M.soft Vista - sp2
Title: Re: Diff. tool issue
Post by: TrailMyx on March 06, 2010, 06:31:47 PM
Be sure that you have the files saved somewhere.  There is a pathing issue that people like 12X have found, and frankly I haven't figured it out yet because it never happens to me.  Also try moving the scripts to the same directory, or a different directory all together.  For me, I never have a problem, even in Win7.  If I could ever replicate the issues of others, then perhaps I could fix it.  Other than that, all I do is come up with two paths and throw the information over to TortoiseMerge.  I really don't do much otherwise.
Title: Re: Diff. tool issue
Post by: Superslayer on March 06, 2010, 11:49:35 PM
Ah, so it's not just me. I'm using XP Pro sp3 and have the same 'double asking' of what files to compare.  I'll give the folder change a try.
Title: Re: Diff. tool issue
Post by: 12TimesOver on March 07, 2010, 04:53:24 AM
Nah you're definitely not the only one. I've actually never gotten it to work, not sure why. I gave up on it a long time ago and just run diff's directly with Tortoise or with Notepad++. I figured one of these days I would give it another shot.

X
Title: Re: Diff. tool issue
Post by: Scrripty on March 07, 2010, 09:09:53 AM
I get the double ask with a THIRD INPUT....
Title: Re: Diff. tool issue
Post by: TrailMyx on March 07, 2010, 10:56:51 AM
Now if someone could actually tell me what they are doing differently....

I have Win2000, Win2003, WinXP and Win7 and it all works great for me.  I only use AVG for virus scanning. 
Title: Re: Diff. tool issue
Post by: Superslayer on March 07, 2010, 12:35:33 PM
Would the location of the SUO executable be an issue? As it stands, my Tort path is:

c:\program files\tortoise

My SUO.exe is as follows:

c:\my docs\uo stuff\uo programs\suo.exe
*note, the first folder is 'my docs' and not 'my documents' or 'documents and settings'.*

I run SUO.exe from a shortcut I created in my Quick Launch toolbar.  The actual shortcut is in a folder in the Quick Launch toolbar that contains my other UO exe's, ...euo, razor, uo, uocart, map yadda yadda.
Title: Re: Diff. tool issue
Post by: TrailMyx on March 07, 2010, 12:54:18 PM
It's gotta be something like that.  I run SUO from the desktop, a network drive, a sub directory on the main drive, on a USB dongle for goodness sake!  No problems.  I use the TSVN default directory.  No problems.
Title: Re: Diff. tool issue
Post by: TrailMyx on March 07, 2010, 12:58:37 PM
Actually, I think I may have found a clue.  Try putting two scripts you want to compare right at your c:\ root.  Might be a path length issue when args are passed to Tortoise.
Title: Re: Diff. tool issue
Post by: Superslayer on March 07, 2010, 01:07:37 PM
I'll definitely give that a try once I can actually run SUO.exe again.  I'm having issues running ANYTHING right now.  Anything using the .NET framework is giving me an "application failed to start...." error 0xc000007b.

Otherwise, I too had wondered if it was a path issue, specifically related to Tort. I didn't see much that I could change in the TSVN options/config, but I'll look there again.
Title: Re: Diff. tool issue
Post by: TrailMyx on March 07, 2010, 01:10:10 PM
Aww bummer.  That's happened to me before.  I just had to uninstall-reinstall the frameworks.
Title: Re: Diff. tool issue
Post by: 12TimesOver on March 07, 2010, 01:48:22 PM
Actually, I think I may have found a clue.  Try putting two scripts you want to compare right at your c:\ root.  Might be a path length issue when args are passed to Tortoise.
Interesting, I was thinking about this myself. I use the default folder for Tortoise. My script paths are usually along the lines of:

x:\easyuo\development\XIIxOveR's .....\filename1.txt and filename2.txt
Title: Re: Diff. tool issue
Post by: TrailMyx on March 07, 2010, 01:53:23 PM
I dragged two files to my desktop which normally a pretty large path.  No go, but when I dragged those files to c:\, it worked fine.

Always has worked for me because my scripts are kept on my server at z:\scripts
Title: Re: Diff. tool issue
Post by: b@ndito on March 12, 2010, 01:30:00 AM
thank you trailmyx you are always the best :D it's working now
Title: Re: Diff. tool issue
Post by: TrailMyx on March 12, 2010, 07:57:48 AM
Ah cool, I was hoping that was the issue.  Unfortunately there's really nothing I can do to fix that since I'm just passing those parameters via command line to the TortoiseMerge program.  Stupid Windows!