Recent Posts

Pages: 1 ... 3 4 [5] 6 7 ... 10
SlickEdit® / Re: Linux vsdiff not working
« Last post by Clark on April 05, 2021, 02:16:50 pm »
As far as I can tell, with wrap length set to 8000, the diff output results are correct. They don't look as good as they could be but these files are extremely different. The file lengths are not even close (1400 lines vs 1339582 lines). If the files were closer with more matched lines, then the lines with partial matching would be detected.

Not sure why you got a hang. I have been creating tests that are modifications of these test files. One test I made the files were even more different and it took a really long time to produce the output (over 15 minutes but I wasn't timing them). Files that are extremely different like these can be really slow to diff.
SlickEdit® / SlickEdit Ubuntu x64
« Last post by regionalchamps on April 05, 2021, 01:58:41 pm »
Hi SlickEdit Community Forums,

I am receiving an error upon attempting to activate using a license file on a linux machine. I am attempting to activate the Professional version of SlickEdit.

Does anyone know what these values mean? They were contained in the license file, I am guessing STD stands for standard and not professional? Also, the ProductID, I am not sure what it stands for.

            <Property name="LicenseType" value="STD"/>
            <Property name="ProductID" value="VSVMX"/>

The error I am getting is:
Unable to obtain license using license file(s). File Code: -105
Description: Incorrect ProductID
Message: vsvlx vsee vswl vsvml

OS: Linux ubuntu 5.3.0-40-generic #32~18.04.1-Ubuntu SMP Mon Feb 3 14:05:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

SlickEdit® / Re: Linux vsdiff not working
« Last post by StephenW on April 05, 2021, 03:36:02 am »
No, I spoke too soon.  With wrap line length set to 8000, the second difference line displays as "('len(blk[2]=4066',)" on the right hand side (good.log), but the left hand side (bad.log) has no matching lines shown for a great many lines after that.  But there are matching, partial matching and non-matching lines in bad.log after that, they just not displayed.  At the end of the files it starts working properly again (at "Matching MHEG channels to MythTV channels using map file"), the matching lines there are shown in both files.

I also had Ubuntu vs lock up ("not responding") when I was examining the diff display at the point where the bad.log lines disappear.  I let it wait for a bit, but it did not start responding again so I let the system kill it and restarted it.

With the "Wrap line length" on Windows, the GUI prompted me to change the massive number there to 20000 after I switched away in my KVM to my Ubuntu box and came back later.  It did not prompt me immediately when I clicked on that setting.  So I have now set it to 8000 there also.
SlickEdit® / Re: Linux vsdiff not working
« Last post by Clark on April 05, 2021, 03:17:24 am »
Actually, there was a bug where Diff was setting the "Wrap line length" to a really large number. The GUI limits the "Wrap line length" to 20,000. It would fix this problem though.

We hope to enhance diff to handle longer lines in the future. Right now, the limit is 20,000.
SlickEdit® / Re: Linux vsdiff not working
« Last post by StephenW on April 05, 2021, 03:07:45 am »
Great, that fixes it.  And it also explains why it worked on Windows - at some time in the past I have set my wrap line length there to a massive number.
SlickEdit® / Re: Linux vsdiff not working
« Last post by Dan on April 04, 2021, 10:12:04 pm »
@Stephen:  We will be working on finding the best solution for this.

For the moment, the best workaround is to set Go to Tools>Options>Files and set "Wrap line length" to 8000.  The default is 4000, the longest line in these files are ~6500 bytes.  So 8k will handle these files for sure.

You will need to restart the editor after you change that value.  I am also putting in a change so that this will automatically prompt you to restart.
SlickEdit® / Re: Linux vsdiff not working
« Last post by Clark on April 04, 2021, 03:18:32 pm »
I can easily reproduce this problem on Windows and Linux with a default config. I can reproduce the problem with 25.0.1 vsdiff or 25.0.1 vs. Interestingly, I can't reproduce the problem with 24.0.2 vsdiff.

I noticed these files have slightly inconsistent new line endings but if I replace all 13 characters with an 'x', I still see the same diff problems with 25.0.1.
SlickEdit® / Re: Linux vsdiff not working
« Last post by StephenW on April 04, 2021, 07:27:54 am »
I have just created a new VirtualBox Ubuntu 20.04 to test this problem on, so that I have a clean install.  I installed from a 20.04.1 DVD image and then did all the latest updates.  I installed SAMBA and set up file sharing with my main Ubuntu 20.04 box.  As root I installed SlickEdit from se_25000100_linux64.tar.gz.  I got the usual problem where the dialog to install the license did not work (it was a blank window), so I copied the license file manually.  Then I added the SlickEdit path to /etc/environment and rebooted.  From my default user I opened a terminal and ran "vs".  In the setup screens I only changed the emulation to Brief and told it to tag the available libraries.  I ran vs as my default user and installed the latest hotfixes.  Then I ran vsdiff on the log files via SMB to the main Ubuntu 20.04 box.  The result was the same - vsdiff only showed differences from where the good.log file was longer than bad.log.
SlickEdit® / Re: Linux vsdiff not working
« Last post by StephenW on April 04, 2021, 05:32:14 am »
I have put the two log files on my web server:

I am comparing them using "vsdiff bad.log good.log"  When I do that and click on the "Options" button, "Source Diff" is the only option with a tick and all the other tickable options are off.  "Intra-line diff length limit" is 4 KB, "Diff timeout" is 60 Seconds, "Date and Size Optimization" is set to "Always assume match if date and size match".  I am running vsdiff as root, without specifying a configuration path.  It looks like vsdiff is only seeing a difference between the files where good.log is longer than bad.log.  It is not seeing non-matching lines before then.  The first non matching line is actually line 1.  Turning off the "Source Diff" option and re-diffing the files makes no difference.

I am running this on an Ubuntu 20.04 system that has been upgraded probably since 14.04 originally.  Similarly, SlickEdit has been upgraded through a number of versions on the box since I originally bought my extra license to use it on Linux.
SlickEdit® / Re: Linux vsdiff not working
« Last post by Dan on April 03, 2021, 11:59:24 pm »
Is there any chance you can send me the files?

Are you running vsdiff with the filenames, or running it and then filling in the dialog?

What are your diff options to when you launch vsdiff?

Is Source Diff on?

When you run vs.exe, do you specify a configuration path?
Pages: 1 ... 3 4 [5] 6 7 ... 10