PowerBuilder - All objects out-of-date after Tortoise merge

Get help with the installation and running of the Agent Git or Agent SVN plug-ins. This section can also be used for posting comments, suggestions or submitting feature requests. Please do not post bug reports here. When in doubt post your question here.
rdojr
Posts: 14
Joined: Tue Nov 19, 2013 6:18 pm

PowerBuilder - All objects out-of-date after Tortoise merge

Post by rdojr » Wed Nov 20, 2013 2:14 pm

We use TortoiseSVN's merge feature to port code changes between trunk and feature branch development tracks. This is done via the external source files created by PB. After merging, we open the target workspace in PB and execute Get Latest Version to update the .pbls with merged changes.

With Agent 2.34 installed (evaluation copy), the GLV reports ALL objects as out-of-date rather than just the merged ones. Right-clicking on any non-merged object and selecting "Show History.." reports no changes. Is there a setting in Agent to correct this behavior?

PowerBuilder 11.5
Agent 2.34
TortoiseSVN 1.8.4
Subversion 1.8.4

jussij
Site Admin
Posts: 2447
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij » Wed Nov 20, 2013 10:31 pm

With Agent 2.34 installed (evaluation copy), the GLV reports ALL objects as out-of-date rather than just the merged ones.
Agent SVN uses the SVN client to determine the state of the objects.

So if the objects are being reported as out-of-date then this is either correct or a bug in Agent SVN :?
Right-clicking on any non-merged object and selecting "Show History.." reports no changes.
Where it gets confusing is it is not necessarily the code that is out of date but rather the revision numbers.

Basically the code could be identical but the revision numbers in the repository and the working copy are different and hence the out of date status.

But it could also be a bug in Agent SVN :?
Is there a setting in Agent to correct this behavior?

In the Agent SVN configuration utility there is an option to turn on debugging and a ... button that can be used to locate the log file.

That log file will indicate why the file is being reported as out of date.

Could you replicate the issue an then send me the log file using the e-mail button below.

As mentioned before this will either be a bug or the actual case and the log file will identify this.

Cheers Jussi

rdojr
Posts: 14
Joined: Tue Nov 19, 2013 6:18 pm

Post by rdojr » Fri Nov 22, 2013 2:00 pm

After the merge, I opened Agent's configuration dialog, ticked 'Help debug the SVN setup with extra logging information' and exited. Opening PowerBuilder immediately results in a crash (Sybase Powerbuilder 11.5 has stopped working). Unticking this option allows PB to open normally.

If it helps, here is the log:

[Fri Nov 22 06:45:45 2013] >> Agent SVN Log File
.... Trimmed ....
[Fri Nov 22 06:57:52 2013] >>
[Fri Nov 22 06:57:52 2013] >> SccUninitialize

jussij
Site Admin
Posts: 2447
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij » Sat Nov 23, 2013 1:38 am

After the merge, I opened Agent's configuration dialog, ticked 'Help debug the SVN setup with extra logging information' and exited. Opening PowerBuilder immediately results in a crash (Sybase Powerbuilder 11.5 has stopped working). Unticking this option allows PB to open normally.

That is not good :(

I will try to replicate that issue at this end.

Just to confirm could you try this.

1) Make sure PB is not running
2) Use the Windows Start button
3) Find the Agent SVN install in the All Program option
4) Run the Agent SVN Configuration and turn on the debug
5) Start PB and confirm that it crashes
Powerbuilder 11.5 has stopped working
The debug option adds a lot of information to the log file so this stopped working might just be the logging slowing down PB.

You might have to let it sit for a few minutes.
If it helps, here is the log:

Thanks for that but unfortunately the command that I was after was not there (I trimmed your earlier post).

The command in the log file that I'm looking for will be the svn status command and it looks something like this (where the the file_that_is_out_of_date.pbt should be the name of the file that is shown as out of date):

Code: Select all

*   Command: svn.exe --non-interactive --trust-server-cert --show-updates --verbose status file_that_is_out_of_date.pbt
* Directory: c:\Develop\raise_it\Sourcen.KD\
Process started.
Process running....
                 4140     4136 user_id   file_that_is_out_of_date.pbt
   Status against revision:   4234
Process completed with exit code: 0
Result: 0  Status Code: 1 (0x1)
Cheers Jussi

rdojr
Posts: 14
Joined: Tue Nov 19, 2013 6:18 pm

Post by rdojr » Mon Nov 25, 2013 1:49 pm

Using the steps you suggested, I am able to repeat the crash every time. Waiting several minutes did not resolve the problem. Here are the details as reported by Windows 7 Pro x64:

Problem signature:
Problem Event Name: BEX
Application Name: PB115.EXE
Application Version: 11.5.0.2506
Application Timestamp: 489933bc
Fault Module Name: AgentSVN.dll
Fault Module Version: 2.34.0.0
Fault Module Timestamp: 5266470d
Exception Offset: 00038d23
Exception Code: c0000409
Exception Data: 00000000
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: d607
Additional Information 2: d60782b73f9be2ffe1cd7c22a47415f8
Additional Information 3: 3bc9
Additional Information 4: 3bc9a622f12926b90c952e95a57e0d1b

jussij
Site Admin
Posts: 2447
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij » Tue Nov 26, 2013 7:56 am

Could you try a replacement AgentSVN.dll found here: http://www.zeusedit.com/agent/bin/asvn-beta.zip

Just rename the AgentSVN.dll to AgentSVN.dll.old and replace it with the one from the link above.

Cheers Jussi

rdojr
Posts: 14
Joined: Tue Nov 19, 2013 6:18 pm

Post by rdojr » Tue Nov 26, 2013 1:56 pm

Unfortunately, behavior is the same after installing Agent 2.35 beta 3. We are using the evaluation version; could this be the problem?

Problem signature:
Problem Event Name: BEX
Application Name: PB115.EXE
Application Version: 11.5.0.2506
Application Timestamp: 489933bc
Fault Module Name: AgentSVN.dll
Fault Module Version: 2.35.0.0
Fault Module Timestamp: 52847648
Exception Offset: 00038f63
Exception Code: c0000409
Exception Data: 00000000
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: dcc2
Additional Information 2: dcc218a0437bcd35a59502b6ce1ea7a6
Additional Information 3: db27
Additional Information 4: db277fda63227c3cea91d48506fe8ac2

jussij
Site Admin
Posts: 2447
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij » Tue Nov 26, 2013 11:01 pm

Unfortunately, behavior is the same after installing Agent 2.35 beta 3.
:(
We are using the evaluation version; could this be the problem?
That should not be a problem. The fact that is crashes with the debug option on but runs without strongly suggest you have just found a bug :(

I will take some time over the next few days to try and replicate the bug at this end.

I will also see if I create a version that catches the exception as that will then provide a stack trace.

Could you do one more thing?

With the debug trace on could you replicate the crash one last time and then post the last page of the log file. That will hopefully narrow down what the software was doing just prior to the crash.

Thanks in advance.

Cheers Jussi

rdojr
Posts: 14
Joined: Tue Nov 19, 2013 6:18 pm

Post by rdojr » Wed Nov 27, 2013 1:40 pm

Thanks for looking into this. Here's the log file:

[Wed Nov 27 06:38:07 2013] >> * Command: svn.exe --non-interactive --trust-server-cert info -rHEAD svn://epaz-subversion
[Wed Nov 27 06:38:07 2013] >> * Directory:
[Wed Nov 27 06:38:07 2013] >> Process started.
[Wed Nov 27 06:38:07 2013] >> Process running....
[Wed Nov 27 06:38:07 2013] >> Path: .
[Wed Nov 27 06:38:07 2013] >> URL: svn://epaz-subversion
[Wed Nov 27 06:38:07 2013] >> Relative URL: ^/
[Wed Nov 27 06:38:07 2013] >> Repository Root: svn://epaz-subversion
[Wed Nov 27 06:38:07 2013] >> Repository UUID: bbd56032-b2cf-2c43-a63c-1d97e1cc6c76
[Wed Nov 27 06:38:07 2013] >> Revision: 34679
[Wed Nov 27 06:38:07 2013] >> Node Kind: directory
[Wed Nov 27 06:38:07 2013] >> Last Changed Author: dolliver
[Wed Nov 27 06:38:07 2013] >> Last Changed Rev: 34679
[Wed Nov 27 06:38:07 2013] >> Last Changed Date: 2013-11-22 06:45:18 -0700 (Fri, 22 Nov 2013)
[Wed Nov 27 06:38:07 2013] >>
[Wed Nov 27 06:38:07 2013] >> Process completed with exit code: 0
[Wed Nov 27 06:38:07 2013] >> Result: 0 Status Code: 1 (0x1)
[Wed Nov 27 06:38:07 2013] >>
[Wed Nov 27 06:38:07 2013] >> SccUninitialize
[Wed Nov 27 06:38:14 2013] >>
[Wed Nov 27 06:38:14 2013] >> SccInitialize: Caller = 'PowerBuilder'
[Wed Nov 27 06:38:14 2013] >> PATH: C:\Program Files (x86)\Sybase\Shared\PowerBuilder\jdk1.6.0_02\BIN;C:\Program Files (x86)\Sybase\Shared\PowerBuilder\jdk1.6.0_02\jre\bin\client;C:\Program Files (x86)\Sybase;C:\Program Files (x86)\Sybase\PowerBuilder 11.5;C:\Program Files (x86)\Sybase\Shared\PowerBuilder;C:\Program Files\SQL Anywhere 11\Bin32;C:\Users\Public\Documents\Sybase\PowerBuilder 11.5\Help;;C:\Program Files\CollabNet\Subversion Client;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\12.0\DLLShared\;C:\Program Files (x86)\Roxio\OEM\AudioCore\;C:\Program Files (x86)\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;C:\Program Files\SQL Anywhere 11\bin64;C:\Program Files\SQL Anywhere 11\bin32;C:\Program Files (x86)\Sybase\Shared\PowerBuilder;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Windows\Microsoft.NET\Framework\v2.0.50727;C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin;C:\Program Files\Microsoft Windows Performance Toolkit\;C:\Program Files (x86)\Sybase\PowerBuilder 12.5;C:\Program Files (x86)\Sybase\PowerBuilder 11.5;C:\Program Files\Sybase\SQL Anywhere 9\x64;C:\Program Files\Sybase\SQL Anywhere 9\win32;C:\Program Files\Sybase\Shared\win32;C:\Program Files\Sybase\Shared\Sybase Central 4.3\win32;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\temp\temp1\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit\;C:\Program Files\SourceGear\Common\DiffMerge\;C:\Program Files\TortoiseSVN\bin;C:\temp\temp1\;C:\temp\pb125_10.0\;C:\Program Files (x86)\IDM Computer Solutions\UltraCompare\;C:\Program Files (x86)\IDM Computer Solutions\UltraEdit\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\

jussij
Site Admin
Posts: 2447
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij » Thu Nov 28, 2013 12:23 am

Thanks for the log file.

The log file indicates it crashes very soon as it fails in the call to *SccInitialize*.

I will get back to you shortly with a new DLL that will hopefully get to the bottom of this.

Thanks for you help on this :)

Cheers Jussi

jussij
Site Admin
Posts: 2447
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij » Fri Nov 29, 2013 8:52 am

Could you try this version five, AgentSVN.dll found here: http://www.zeusedit.com/agent/bin/asvn-beta.zip

Just rename the AgentSVN.dll to AgentSVN.dll.old and replace it with the one from the link above.

This version should trap the exception in the SccInitialize call to allow to find out where the crash is occurring.

Cheers Jussi

rdojr
Posts: 14
Joined: Tue Nov 19, 2013 6:18 pm

Post by rdojr » Mon Dec 02, 2013 1:49 pm

Is this the correct install package? The timestamp on AgentSVN.dll is 11/14/2013, and the evaluation screen shows version 2.35 - beta3. Here is the log:

[Mon Dec 02 06:44:08 2013] >> * Command: svn.exe --non-interactive --trust-server-cert info -rHEAD svn://epaz-subversion
[Mon Dec 02 06:44:08 2013] >> * Directory:
[Mon Dec 02 06:44:08 2013] >> Process started.
[Mon Dec 02 06:44:08 2013] >> Process running....
[Mon Dec 02 06:44:08 2013] >> Path: .
[Mon Dec 02 06:44:08 2013] >> URL: svn://epaz-subversion
[Mon Dec 02 06:44:08 2013] >> Relative URL: ^/
[Mon Dec 02 06:44:08 2013] >> Repository Root: svn://epaz-subversion
[Mon Dec 02 06:44:08 2013] >> Repository UUID: bbd56032-b2cf-2c43-a63c-1d97e1cc6c76
[Mon Dec 02 06:44:08 2013] >> Revision: 34679
[Mon Dec 02 06:44:08 2013] >> Node Kind: directory
[Mon Dec 02 06:44:08 2013] >> Last Changed Author: dolliver
[Mon Dec 02 06:44:08 2013] >> Last Changed Rev: 34679
[Mon Dec 02 06:44:08 2013] >> Last Changed Date: 2013-11-22 06:45:18 -0700 (Fri, 22 Nov 2013)
[Mon Dec 02 06:44:08 2013] >>
[Mon Dec 02 06:44:08 2013] >> Process completed with exit code: 0
[Mon Dec 02 06:44:08 2013] >> Result: 0 Status Code: 1 (0x1)
[Mon Dec 02 06:44:08 2013] >>
[Mon Dec 02 06:44:08 2013] >> SccUninitialize
[Mon Dec 02 06:44:14 2013] >>
[Mon Dec 02 06:44:14 2013] >> SccInitialize: Caller = 'PowerBuilder'
[Mon Dec 02 06:44:14 2013] >> PATH: C:\Program Files (x86)\Sybase\Shared\PowerBuilder\jdk1.6.0_02\BIN;C:\Program Files (x86)\Sybase\Shared\PowerBuilder\jdk1.6.0_02\jre\bin\client;C:\Program Files (x86)\Sybase;C:\Program Files (x86)\Sybase\PowerBuilder 11.5;C:\Program Files (x86)\Sybase\Shared\PowerBuilder;C:\Program Files\SQL Anywhere 11\Bin32;C:\Users\Public\Documents\Sybase\PowerBuilder 11.5\Help;;C:\Program Files\CollabNet\Subversion Client;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\12.0\DLLShared\;C:\Program Files (x86)\Roxio\OEM\AudioCore\;C:\Program Files (x86)\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;C:\Program Files\SQL Anywhere 11\bin64;C:\Program Files\SQL Anywhere 11\bin32;C:\Program Files (x86)\Sybase\Shared\PowerBuilder;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Windows\Microsoft.NET\Framework\v2.0.50727;C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin;C:\Program Files\Microsoft Windows Performance Toolkit\;C:\Program Files (x86)\Sybase\PowerBuilder 12.5;C:\Program Files (x86)\Sybase\PowerBuilder 11.5;C:\Program Files\Sybase\SQL Anywhere 9\x64;C:\Program Files\Sybase\SQL Anywhere 9\win32;C:\Program Files\Sybase\Shared\win32;C:\Program Files\Sybase\Shared\Sybase Central 4.3\win32;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\temp\temp1\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit\;C:\Program Files\SourceGear\Common\DiffMerge\;C:\Program Files\TortoiseSVN\bin;C:\temp\temp1\;C:\temp\pb125_10.0\;C:\Program Files (x86)\IDM Computer Solutions\UltraCompare\;C:\Program Files (x86)\IDM Computer Solutions\UltraEdit\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\

jussij
Site Admin
Posts: 2447
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij » Tue Dec 03, 2013 4:31 am

Sorry for that :oops:

The correct link is: http://www.zeusedit.com/agent/bin/asvn-dll.zip

NOTE: The configuration utility will display version 3 when it starts, but if you click on the About button inside that utility you should see the newer version 5 indication.

Cheers Jussi

rdojr
Posts: 14
Joined: Tue Nov 19, 2013 6:18 pm

Post by rdojr » Tue Dec 03, 2013 1:50 pm

The configuration utility will not start with this DLL installed (1.2 MB, 9/10/2013). It does start with the current DLL (484.5 KB, 11/14/2013).

Thank you,
Don

jussij
Site Admin
Posts: 2447
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij » Tue Dec 03, 2013 10:11 pm

I have added the beta 5 version of the configuration utility to the zip file:

http://www.zeusedit.com/agent/bin/asvn-dll.zip

Cheers Jussi

Post Reply
kuchnie warszawa opinie

Who is online

Users browsing this forum: Bing [Bot] and 20 guests