SlickEdit Community

Archived Read Only Forums => SlickEdit 2013 v18 beta => Topic started by: lambertia on May 01, 2013, 04:46:32 am

Title: BUG: 18.0.0.5: svn diff against latest doesn't work.
Post by: lambertia on May 01, 2013, 04:46:32 am
When I try to diff the buffer with the most up to date version SE always thinks that there are no changes.

--
SlickEdit 2013 (v18.0.0.5 32-bit)

Serial number: FE10194_BETA
License type: Beta License
License expiration: 2013-07-25 04:21:00
License file: /opt/slickedit-18.0.0.5/bin/slickedit.lic

Build Date: April 23, 2013
Emulation: Brief

OS: Linux
OS Version: Ubuntu 10.04.4 LTS
Kernel Level: 3.5.0-26-generic
Build Version: #42-Ubuntu SMP Fri Mar 8 23:18:20 UTC 2013
Processor Architecture: i686

X Server Vendor: The X.Org Foundation
Memory: 67% Load, 1949MB/2905MB Virtual
Shell Info: /opt/slickedit-18.0.0.5/bin/secsh -i
Screen Size: 1920 x 1080, 1920 x 1080

Project Type: Cpp
Language: .cpp (C/C++)

Installation Directory: /opt/slickedit-18.0.0.5/
Configuration Directory: /space/gbarron/work/se/mo-trunk/sc/18.0.0/

Title: Re: BUG: 18.0.0.5: svn diff against latest doesn't work.
Post by: Dan on May 01, 2013, 12:40:16 pm
Is it doing this for one file, or for all files?
Title: Re: BUG: 18.0.0.5: svn diff against latest doesn't work.
Post by: lambertia on May 01, 2013, 11:31:37 pm
Hi Dan,

It happens with every file. I've attached a couple of straces. One from v17 which works and the other from v18.

Cheers,
--
Greg.
Title: Re: BUG: 18.0.0.5: svn diff against latest doesn't work.
Post by: Dan on May 02, 2013, 11:11:03 am
Greg:

Can you set def_svc_logging to 1, then run a diff and send me the resulting (config)/logs/svc.log?  You should probably set it back to 0 when you are done, it generates a lot of information.

Thanks,

Dan
Title: Re: BUG: 18.0.0.5: svn diff against latest doesn't work.
Post by: lambertia on May 02, 2013, 10:36:44 pm
Not a lot of info in this case:

T=1734537655] diffLocalFile stdout
[T=1734537655]    diffLocalFile stdout:Index: /space/gbarron/work/mo-r3.1.1/software/modules/plugins/lightserver/thermostat/lsdbZoneThermostatStateQuery.cpp.tpl
[T=1734537655]    diffLocalFile stdout:===================================================================
[T=1734537655]    diffLocalFile stdout:
[T=1734537655] diffLocalFile stderr
[T=1734537655]    diffLocalFile stderr:kdiff3: symbol lookup error: /usr/lib/libQtSql.so.4: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv
Title: Re: BUG: 18.0.0.5: svn diff against latest doesn't work.
Post by: lambertia on May 02, 2013, 10:40:23 pm
gbarron@rd-gbarron:/space/gbarron/work/se/mo-r3.1.1/sc/18.0.0/logs$ dpkg -l | grep -i qt
ii  libattica0                           0.1.3-0ubuntu1                                  a Qt library that implements the Open Collab
ii  libdbusmenu-qt2                      0.3.2-0ubuntu1                                  a Qt library that implements the DBusMenu sp
ii  libpackagekit-qt-12                  0.5.7-0ubuntu2.2                                Library for accessing PackageKit using Qt.
ii  libphonon4                           4:4.6.2-0ubuntu5.6                              Qt 4 Phonon module
ii  libpolkit-qt-1-0                     0.95.1-1fakesync1                               PolicyKit-qt-1 library
ii  libqca2                              2.0.2-1ubuntu2                                  libraries for the Qt Cryptographic Architect
ii  libqt4-assistant                     4:4.6.2-0ubuntu5.6                              Qt 4 assistant module
ii  libqt4-dbus                          4:4.6.2-0ubuntu5.6                              Qt 4 D-Bus module
ii  libqt4-designer                      4:4.6.2-0ubuntu5.6                              Qt 4 designer module
ii  libqt4-help                          4:4.6.2-0ubuntu5.6                              Qt 4 help module
ii  libqt4-network                       4:4.6.2-0ubuntu5.6                              Qt 4 network module
ii  libqt4-opengl                        4:4.6.2-0ubuntu5.6                              Qt 4 OpenGL module
ii  libqt4-qt3support                    4:4.6.2-0ubuntu5.6                              Qt 3 compatibility library for Qt 4
ii  libqt4-script                        4:4.6.2-0ubuntu5.6                              Qt 4 script module
ii  libqt4-scripttools                   4:4.6.2-0ubuntu5.6                              Qt 4 script tools module
ii  libqt4-sql                           4:4.6.2-0ubuntu5.6                              Qt 4 SQL module
ii  libqt4-sql-mysql                     4:4.6.2-0ubuntu5.6                              Qt 4 MySQL database driver
ii  libqt4-svg                           4:4.6.2-0ubuntu5.6                              Qt 4 SVG module
ii  libqt4-test                          4:4.6.2-0ubuntu5.6                              Qt 4 test module
ii  libqt4-webkit                        4:4.6.2-0ubuntu5.6                              Qt 4 WebKit module
ii  libqt4-xml                           4:4.6.2-0ubuntu5.6                              Qt 4 XML module
ii  libqt4-xmlpatterns                   4:4.6.2-0ubuntu5.6                              Qt 4 XML patterns module
ii  libqtcore4                           4:4.6.2-0ubuntu5.6                              Qt 4 core module
ii  libqtgui4                            4:4.6.2-0ubuntu5.6                              Qt 4 GUI module
ii  phonon                               4:4.6.2-0ubuntu5.6                              Qt 4 Phonon module metapackage
ii  python-qt4                           4.7.2-0ubuntu1.1                                Python bindings for Qt4
Title: Re: BUG: 18.0.0.5: svn diff against latest doesn't work.
Post by: Dan on May 03, 2013, 02:22:25 am
Does SVN run from a command prompt?  It looks like it fails because of a dependancy.
Title: Re: BUG: 18.0.0.5: svn diff against latest doesn't work.
Post by: lambertia on May 03, 2013, 03:41:07 am
Hi,

It seems that the issue is that I have overridden the diff-cmd and diff3-cmd entries in my subversion config file. V17 didn't have an issue with this. It looks like SE is trying to launch kdiff3 instead of vsdiff?

Cheers,
--
Greg.
Title: Re: BUG: 18.0.0.5: svn diff against latest doesn't work.
Post by: lambertia on May 03, 2013, 03:49:43 am
From the v18 trace file attached earlier we see this:

27592 execve("/usr/bin/svn", ["/usr/bin/svn", "--non-interactive", "diff", "-r", "HEAD", "/space/gbarron/work/mo-trunk/sof"...], .......

Maybe you need to specify the diff command to ignore any user options?:

27592 execve("/usr/bin/svn", ["/usr/bin/svn", "--non-interactive", "diff", "--diff-cmd", "/usr/bin/diff" "-r", "HEAD", "/space/gbarron/work/mo-trunk/sof"...], .......
Title: Re: BUG: 18.0.0.5: svn diff against latest doesn't work.
Post by: Dan on May 03, 2013, 08:42:30 pm
I think we may need to specify our own config file.  v17 would cat the file and use our diff.  v18 runs Subversion's diff and then builds the server version of the file, then runs diff.  This has a number of advantages, I just have to figure out how to make it work in all cases.
Title: Re: BUG: 18.0.0.5: svn diff against latest doesn't work.
Post by: Dan on May 06, 2013, 01:44:35 pm
I have a possible fix for you.  Could you PM me an email address?
Title: Re: BUG: 18.0.0.5: svn diff against latest doesn't work.
Post by: Dan on May 07, 2013, 07:07:00 pm
I have a possible fix for you.  Could you PM me an email address?