PVCS to SVN Error

jameswhite
Posts: 2
Joined: Thu Dec 20, 2012 1:25 pm

PVCS to SVN Error

Postby jameswhite » Thu Dec 20, 2012 1:26 pm

I am new to this, and am getting the following error when trying to run the transfer. Can anyone help?

ERROR Main:96 - EXCEPTION CAUGHT: org.polarion.svnimporter.pvcsprovider.PvcsException: Expected revision but found: -----------------------------------
at org.polarion.svnimporter.pvcsprovider.internal.VlogParser.parseFile(VlogParser.java:256)
at org.polarion.svnimporter.pvcsprovider.internal.VlogParser.parse(VlogParser.java:101)
at org.polarion.svnimporter.pvcsprovider.PvcsProvider.buildPvcsModel(PvcsProvider.java:130)
at org.polarion.svnimporter.pvcsprovider.PvcsProvider.buildSvnModel(PvcsProvider.java:165)
at org.polarion.svnimporter.main.Main.buildFullSvnModel(Main.java:158)
at org.polarion.svnimporter.main.Main.run(Main.java:88)
at org.polarion.svnimporter.main.Main.main(Main.java:51)

pmariett
Posts: 1
Joined: Fri Jun 21, 2013 10:54 am

Re: PVCS to SVN Error

Postby pmariett » Fri Jun 21, 2013 10:58 am

I've got the same thing.

Any news ?

TJSampair
Posts: 6
Joined: Mon Aug 14, 2006 1:29 pm
Location: Raleigh, NC USA

Re: PVCS to SVN Error

Postby TJSampair » Tue Jul 02, 2013 3:05 pm

On the surface this error is telling me that it can't find version meta data while attempting to communicate with PVCS. This may be cause by a number of issues from bad path to PVCS pcli, bad project path, authentication configuration or misconfigured pvcs client. I would recommend verifying the pvcs.* configuration options match your environment and if that doesn't resolve your issue, please post back and attach your config.properties file and version of PVCS you are using as well as client Platform(windows 7, Linux).

mandrews_scm
Posts: 1
Joined: Thu Jan 29, 2015 8:49 pm

Re: PVCS to SVN Error

Postby mandrews_scm » Mon Mar 23, 2015 2:44 pm

I am seeing this error because of revisions in PVCS whose check-in dates are out of sequence.

The check-ins are typically a couple of months off. For example:
Revision 1.1 checked-in 10/15/2007
Revision 1.2 checked-in 08/23/2007
Revision 1.3 checked-in 10/17/2007

If I duplicate these check-ins as revisions 1.4 & 1.5 and then delete the original revisions 1.2 & 1.3, the creation of the dump file will proceed until the next out-of-sequence dates occur.

This "correction" process is full of problems, though, since it loses the identity and date of the original check-in along with the original check-in comments. Of course, the original check-in date was obviously wrong to begin with.

Another problem is that this is a large repository, so I can expect to have a lot of starts and stops as the migration uncovers even more out-of-sequence check-ins and I have to go back to PVCS and make further corrections.

I am using SVNImporter 1.2 with Serena's PVCS 8.1.3.

Any suggestions are welcome. Thanks.

achaahaa
Posts: 1
Joined: Mon Mar 30, 2015 9:42 am

Re: PVCS to SVN Error

Postby achaahaa » Mon Mar 30, 2015 10:21 am

configuration options match your environment and if that doesn't resolve your issue, please post back and attach your config.properties file and version of PVCS you are using as well as client Platform(windows 7, Linux).
watson

anil.india2020
Posts: 2
Joined: Fri May 15, 2015 10:03 pm

Re: PVCS to SVN Error

Postby anil.india2020 » Fri May 15, 2015 11:22 pm

Hi

I am getting this below error and i am pretty new to this. Got a big job of migrating code from PVCS to SVN.
pls help me if some one faced same issue.

16:19:05,673 [main] INFO MainConfig:84 - ****************************************************************************
16:19:05,673 [main] INFO MainConfig:84 - *** Global options ***
16:19:05,689 [main] INFO MainConfig:84 - Mode = create full dump
16:19:05,689 [main] INFO MainConfig:84 - Import dump into svn = "true"
16:19:05,689 [main] INFO MainConfig:84 - Import dump only if svn repository exist = "false"
16:19:05,689 [main] INFO MainConfig:84 - Full dump path = "full_dump_%date%.txt"
16:19:05,689 [main] INFO MainConfig:84 - Incremental dump path = "incr_dump_%date%.txt"
16:19:05,689 [main] INFO MainConfig:84 - Incremental history path = "incr_history.txt"
16:19:05,689 [main] INFO MainConfig:84 - Save files list to = "files_20150515_161905.txt"
16:19:05,689 [main] INFO MainConfig:84 - Source provider's class = "org.polarion.svnimporter.pvcsprovider.PvcsProvider"
16:19:05,689 [main] INFO MainConfig:84 - Size limit for dump files (in MB): 400
16:19:05,689 [main] INFO PvcsConfig:84 - *** PVCS provider configuration ***
16:19:05,689 [main] INFO PvcsConfig:84 - executable = "C:Program Files (x86)Serenavmwin32binpcli.exe"
16:19:05,689 [main] INFO PvcsConfig:84 - projectPath = "H:pvcs.subproject="
16:19:05,689 [main] INFO PvcsConfig:84 - subproject = "null"
16:19:05,689 [main] INFO PvcsConfig:84 - temp dir = "c:\temp\pvcs\pvcs.tempdir"
16:19:05,689 [main] INFO PvcsConfig:84 - log date format = "MMM dd yyyy HH:mm:ss"
16:19:05,689 [main] INFO PvcsConfig:84 - log date locale = "en"
16:19:05,689 [main] INFO PvcsConfig:84 - log date time zone = "null"
16:19:05,689 [main] INFO PvcsConfig:84 - log encoding = "Cp1251"
16:19:05,689 [main] INFO PvcsConfig:84 - verbose exec = "true"
16:19:05,689 [main] INFO PvcsConfig:84 - user name = ""
16:19:05,689 [main] INFO PvcsConfig:84 - password = ""
16:19:05,689 [main] INFO PvcsConfig:84 - import archive attributes = "false"
16:19:05,689 [main] INFO PvcsConfig:84 - keep vlog file = "false"
16:19:05,689 [main] INFO PvcsConfig:84 - validate checkouts = "true"
16:19:05,689 [main] INFO PvcsConfig:84 - checkouttempdir = "c:\temp\pvcs\pvcs.checkouttempdir"
16:19:05,689 [main] INFO ProviderConfig:84 - svnimporter_user_name = "SvnImporter"
16:19:05,689 [main] INFO ProviderConfig:84 - only_trunk = "false"
16:19:05,689 [main] INFO ProviderConfig:84 - trunk_path = "trunk"
16:19:05,689 [main] INFO ProviderConfig:84 - branches_path = "branches"
16:19:05,689 [main] INFO ProviderConfig:84 - tags_path = "tags"
16:19:05,689 [main] INFO ProviderConfig:84 - use_only_last_revision_content = "false"
16:19:05,689 [main] INFO ProviderConfig:84 - file_description_property_key = "description"
16:19:05,689 [main] INFO ProviderConfig:84 - use_file_copy = "false"
16:19:05,689 [main] INFO SvnAdminConfig:84 - *** SvnAdmin configuration ***
16:19:05,689 [main] INFO SvnAdminConfig:84 - svnadmin executable = "svnadmin.exe"
16:19:05,689 [main] INFO SvnAdminConfig:84 - svn executable = "svn.exe"
16:19:05,689 [main] INFO SvnAdminConfig:84 - repositoryPath = "c:\SVN"
16:19:05,689 [main] INFO SvnAdminConfig:84 - parent dir = "."
16:19:05,689 [main] INFO SvnAdminConfig:84 - temp dir = "c:\temp\local\svnadmin.tempdir"
16:19:05,689 [main] INFO SvnAdminConfig:84 - verbose exec = "true"
16:19:05,689 [main] INFO SvnAdminConfig:84 - path_not_exist signature = "non-existent in that revision"
16:19:05,689 [main] INFO MainConfig:84 - ****************************************************************************
16:19:05,689 [main] INFO historyLogger:84 - **********************************************************************
16:19:05,689 [main] INFO historyLogger:84 - date: May 15, 2015 4:19:05 PM
16:19:05,689 [main] INFO historyLogger:84 - mode: create full dump
16:19:05,689 [main] INFO historyLogger:84 - src provider: class org.polarion.svnimporter.pvcsprovider.PvcsProvider
16:19:05,689 [main] INFO historyLogger:84 - creating full svn model...
16:19:05,689 [main] INFO Exec:84 - exec C:Program Files (x86)Serenavmwin32binpcli.exe run ->c:/temp/pvcs/pvcs.tempdir/files.tmp -q listversionedfiles -prH:pvcs.subproject= -idaniln:ChangeMe123$ -l -z /
16:19:05,689 [main] ERROR Main:96 - EXCEPTION CAUGHT: org.polarion.svnimporter.pvcsprovider.PvcsException: error during execution command C:Program Files (x86)Serenavmwin32binpcli.exe run ->c:/temp/pvcs/pvcs.tempdir/files.tmp -q listversionedfiles -prH:pvcs.subproject= -idaniln:ChangeMe123$ -l -z /, exception caught
at org.polarion.svnimporter.pvcsprovider.PvcsProvider.executeCommand(PvcsProvider.java:494)
at org.polarion.svnimporter.pvcsprovider.PvcsProvider.getLogInformation(PvcsProvider.java:212)
at org.polarion.svnimporter.pvcsprovider.PvcsProvider.buildPvcsModel(PvcsProvider.java:128)
at org.polarion.svnimporter.pvcsprovider.PvcsProvider.buildSvnModel(PvcsProvider.java:165)
at org.polarion.svnimporter.main.Main.buildFullSvnModel(Main.java:158)
at org.polarion.svnimporter.main.Main.run(Main.java:88)
at org.polarion.svnimporter.main.Main.main(Main.java:51)
Caused by: java.io.IOException: Cannot run program "C:Program Files (x86)Serenavmwin32binpcli.exe" (in directory "c:\temp\pvcs\pvcs.tempdir"): CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041)
at java.lang.Runtime.exec(Runtime.java:617)
at org.polarion.svnimporter.common.Exec.exec(Exec.java:218)
at org.polarion.svnimporter.pvcsprovider.PvcsProvider.executeCommand(PvcsProvider.java:491)
at org.polarion.svnimporter.pvcsprovider.PvcsProvider.getLogInformation(PvcsProvider.java:212)
at org.polarion.svnimporter.pvcsprovider.PvcsProvider.buildPvcsModel(PvcsProvider.java:128)
at org.polarion.svnimporter.pvcsprovider.PvcsProvider.buildSvnModel(PvcsProvider.java:165)
at org.polarion.svnimporter.main.Main.buildFullSvnModel(Main.java:158)
at org.polarion.svnimporter.main.Main.run(Main.java:88)
at org.polarion.svnimporter.main.Main.main(Main.java:51)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:385)
at java.lang.ProcessImpl.start(ProcessImpl.java:136)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022)
at java.lang.Runtime.exec(Runtime.java:617)
at org.polarion.svnimporter.common.Exec.exec(Exec.java:218)
at org.polarion.svnimporter.pvcsprovider.PvcsProvider.executeCommand(PvcsProvider.java:491)
at org.polarion.svnimporter.pvcsprovider.PvcsProvider.getLogInformation(PvcsProvider.java:212)
at org.polarion.svnimporter.pvcsprovider.PvcsProvider.buildPvcsModel(PvcsProvider.java:128)
at org.polarion.svnimporter.pvcsprovider.PvcsProvider.buildSvnModel(PvcsProvider.java:165)
at org.polarion.svnimporter.main.Main.buildFullSvnModel(Main.java:158)
at org.polarion.svnimporter.main.Main.run(Main.java:88)
at org.polarion.svnimporter.main.Main.main(Main.java:51)

16:19:05,689 [main] DEBUG PvcsProvider:80 - cleanup
16:19:05,689 [main] DEBUG SvnAdmin:80 - cleanup
16:19:05,689 [main] INFO historyLogger:84 - duration: 0 seconds

mhudak69
Posts: 4
Joined: Thu Jul 02, 2015 1:42 pm

Re: PVCS to SVN Error

Postby mhudak69 » Thu Jul 02, 2015 1:48 pm

I'm betting your error is similar to mine...


Caused by: java.io.IOException: Cannot run program "C:Program Files (x86)Serenavmwin32binpcli.exe" (in directory "c:\temp\pvcs\pvcs.tempdir"): CreateProcess error=2, The system cannot find the file specified


You probably do not have your slashes/backslashes set correctly in your config file.

I was able to set my slashes/backslashes correctly, however I'm running into a problem with spaces in the project name....

Jens Nielsen
Posts: 2
Joined: Wed Oct 14, 2015 7:45 am

Re: PVCS to SVN Error

Postby Jens Nielsen » Wed Oct 14, 2015 8:48 am

The original problem from 2012 may be related to an error I've encountered when the word "Rev" is used in the PVCS file description. The script seems to (mis)take this word to be an internal token to be followed by an expected version number. I suggest you look for the text shown in the error dump in your PVCS meta data (description/comments).


Return to “Polarion SVN Importer (Repository Converter)”

Who is online

Users browsing this forum: No registered users and 2 guests