Error executing SVNImporter

Former SVN Browser
guest

Error executing SVNImporter

Postby guest » Mon May 23, 2005 7:25 pm

When I ran "run full config.properties" on my PVCS system, I kept getting the following errors in svnimporter.log. Any ideas? Thanks.
main] INFO MainConfig:84 - ****************************************************************************
15:21:22,631 [main] INFO MainConfig:84 - *** Global options ***
15:21:22,631 [main] INFO MainConfig:84 - Mode = create full dump
15:21:22,631 [main] INFO MainConfig:84 - Import dump into svn = "true"
15:21:22,631 [main] INFO MainConfig:84 - Import dump only if svn repository exist = "false"
15:21:22,631 [main] INFO MainConfig:84 - Full dump path = "full_dump_20050523_152122.txt"
15:21:22,647 [main] INFO MainConfig:84 - Incremental dump path = "incr_dump_20050523_152122.txt"
15:21:22,647 [main] INFO MainConfig:84 - Incremental history path = "incr_history.txt"
15:21:22,647 [main] INFO MainConfig:84 - Save files list to = "files_20050523_152122.txt"
15:21:22,647 [main] INFO MainConfig:84 - Source provider's class = "org.polarion.svnimporter.pvcsprovider.PvcsProvider"
15:21:22,647 [main] INFO PvcsConfig:84 - *** PVCS provider configuration ***
15:21:22,647 [main] INFO PvcsConfig:84 - executable = "pcli.exe"
15:21:22,647 [main] INFO PvcsConfig:84 - projectPath = "s:/sw/gcs"
15:21:22,647 [main] INFO PvcsConfig:84 - subproject = "Projects/Tools/Quotes/res"
15:21:22,647 [main] INFO PvcsConfig:84 - temp dir = "c:\temp\local\pvcs.tempdir"
15:21:22,647 [main] INFO PvcsConfig:84 - log date format = "MMM dd yyyy HH:mm:ss"
15:21:22,647 [main] INFO PvcsConfig:84 - log date locale = "en"
15:21:22,647 [main] INFO PvcsConfig:84 - log encoding = "Cp1251"
15:21:22,647 [main] INFO PvcsConfig:84 - verbose exec = "true"
15:21:22,662 [main] INFO ProviderConfig:84 - svnimprterUsername = "SvnImporter"
15:21:22,662 [main] INFO ProviderConfig:84 - only_trunk = "false"
15:21:22,662 [main] INFO ProviderConfig:84 - trunk_path = "trunk"
15:21:22,662 [main] INFO ProviderConfig:84 - branches_path = "branches"
15:21:22,662 [main] INFO ProviderConfig:84 - tags_path = "tags"
15:21:22,662 [main] INFO ProviderConfig:84 - useOnlyLastRevisionContent = "false"
15:21:22,662 [main] INFO SvnAdminConfig:84 - *** SvnAdmin configuration ***
15:21:22,662 [main] INFO SvnAdminConfig:84 - svnadmin executable = "svnadmin.exe"
15:21:22,662 [main] INFO SvnAdminConfig:84 - svn executable = "svn.exe"
15:21:22,662 [main] INFO SvnAdminConfig:84 - repositoryPath = "C:\Sw\Projects\SVNImporter\gcs"
15:21:22,662 [main] INFO SvnAdminConfig:84 - parent dir = "."
15:21:22,662 [main] INFO SvnAdminConfig:84 - temp dir = "c:\temp\local\svnadmin.tempdir"
15:21:22,662 [main] INFO SvnAdminConfig:84 - verbose exec = "true"
15:21:22,662 [main] INFO MainConfig:84 - ****************************************************************************
15:21:22,662 [main] INFO historyLogger:84 - **********************************************************************
15:21:22,678 [main] INFO historyLogger:84 - date: May 23, 2005 3:21:22 PM
15:21:22,678 [main] INFO historyLogger:84 - mode: create full dump
15:21:22,678 [main] INFO historyLogger:84 - src provider: class org.polarion.svnimporter.pvcsprovider.PvcsProvider
15:21:22,678 [main] INFO historyLogger:84 - creating full svn model...
15:21:22,693 [main] INFO Exec:84 - exec pcli.exe run -sc:\temp\local\pvcs.tempdir\instr.tmp
15:21:22,709 [main] DEBUG Exec:80 - wait for thread: Thread[stdout pumper,5,main]
15:21:23,194 [stderr pumper] ERROR Exec:96 - PVCS Version Manager (VMGUI) v6.7.11 (Build 915.12) for Windows NT/80x86
15:21:23,194 [stderr pumper] ERROR Exec:96 - Copyright 1985-2001 MERANT. All rights reserved.
15:21:24,256 [stderr pumper] ERROR Exec:96 - PVCS Version Manager (vlog) v6.7.11 (Build 915.12) for Windows NT/80x86
15:21:24,256 [stderr pumper] ERROR Exec:96 - Copyright 1985-2001 MERANT. All rights reserved.
15:21:24,428 [main] INFO PvcsProvider:84 - PVCS model has been created.
15:21:24,428 [main] INFO Model:84 - Model summary:
15:21:24,428 [main] INFO Model:84 - Total files in model: 4
15:21:24,428 [main] INFO Model:84 - Total revisions in model: 4
15:21:24,428 [main] INFO Model:84 - Total commits: 1
15:21:24,444 [main] DEBUG SvnModel:80 - create new revision
15:21:24,460 [main] DEBUG SvnModel:80 - add action: [add dir] trunk
15:21:24,460 [main] DEBUG SvnModel:80 - add action: [add dir] branches
15:21:24,460 [main] DEBUG SvnModel:80 - add action: [add dir] tags
15:21:24,460 [main] DEBUG SvnModel:80 - create new revision
15:21:24,460 [main] DEBUG SvnModel:80 - add action: [add file] trunk/Toolbar.bmp
15:21:24,460 [main] DEBUG SvnModel:80 - add action: [add file] trunk/Quotes.ico
15:21:24,460 [main] DEBUG SvnModel:80 - add action: [add file] trunk/Quotes.rc2
15:21:24,460 [main] DEBUG SvnModel:80 - add action: [add file] trunk/QuotesDoc.ico
15:21:24,460 [main] DEBUG SvnModel:80 - create tag Quotes_v1.6
15:21:24,460 [main] DEBUG SvnModel:80 - create new revision
15:21:24,475 [main] DEBUG SvnModel:80 - add action: [add dir] tags/Quotes_v1.6
15:21:24,475 [main] DEBUG SvnModel:80 - add action: [add file] tags/Quotes_v1.6/Toolbar.bmp
15:21:24,475 [main] DEBUG SvnModel:80 - add action: [add file] tags/Quotes_v1.6/Quotes.ico
15:21:24,475 [main] DEBUG SvnModel:80 - add action: [add file] tags/Quotes_v1.6/Quotes.rc2
15:21:24,475 [main] DEBUG SvnModel:80 - add action: [add file] tags/Quotes_v1.6/QuotesDoc.ico
15:21:24,475 [main] INFO PvcsProvider:84 - Svn model has been created
15:21:24,475 [main] INFO PvcsProvider:84 - total number of revisions in svn model: 3
15:21:24,475 [main] DEBUG PvcsProvider:80 - get all contents
15:21:24,491 [main] INFO Exec:84 - exec pcli.exe run -sc:\temp\local\pvcs.tempdir\instr.tmp
15:21:24,491 [main] DEBUG Exec:80 - wait for thread: Thread[stdout pumper,5,main]
15:21:24,975 [stderr pumper] ERROR Exec:96 - PVCS Version Manager (VMGUI) v6.7.11 (Build 915.12) for Windows NT/80x86
15:21:24,991 [stderr pumper] ERROR Exec:96 - Copyright 1985-2001 MERANT. All rights reserved.
15:21:26,007 [stdout pumper] INFO Exec:84 - C:\temp\local\pvcs.tempdir\Toolbar.bmp_rev1_0 <- /Projects/Tools/Quotes/res/Toolbar.bmp Checked out revision 1.0.
15:21:26,038 [stdout pumper] INFO Exec:84 - C:\temp\local\pvcs.tempdir\Quotes.rc2_rev1_0 <- /Projects/Tools/Quotes/res/Quotes.rc2 Checked out revision 1.0.
15:21:26,054 [stdout pumper] INFO Exec:84 - C:\temp\local\pvcs.tempdir\QuotesDoc.ico_rev1_0 <- /Projects/Tools/Quotes/res/QuotesDoc.ico Checked out revision 1.0.
15:21:26,085 [stdout pumper] INFO Exec:84 - C:\temp\local\pvcs.tempdir\Quotes.ico_rev1_0 <- /Projects/Tools/Quotes/res/Quotes.ico Checked out revision 1.0.
15:21:26,085 [main] INFO historyLogger:84 - saving svn model to file...
15:21:26,163 [main] INFO historyLogger:84 - check repository...
15:21:26,179 [main] INFO Exec:84 - exec svn.exe co --non-recursive --non-interactive file:///C:/Sw/Projects/SVNImporter/gcs
15:21:26,179 [main] DEBUG Exec:80 - wait for thread: Thread[stdout pumper,5,main]
15:21:27,101 [stdout pumper] INFO Exec:84 - Checked out revision 0.
15:21:27,101 [main] INFO historyLogger:84 - repository is exist
15:21:27,101 [main] INFO historyLogger:84 - check parent dir in repository...
15:21:27,117 [main] INFO Exec:84 - exec svn.exe ls --non-interactive file:///C:/Sw/Projects/SVNImporter/gcs/.
15:21:27,117 [main] DEBUG Exec:80 - wait for thread: Thread[stdout pumper,5,main]
15:21:27,226 [main] INFO historyLogger:84 - parent dir is exist
15:21:27,226 [main] INFO historyLogger:84 - import dump into svn...
15:21:27,242 [main] INFO Exec:84 - exec svnadmin.exe load -q --parent-dir . C:\Sw\Projects\SVNImporter\gcs
15:21:27,242 [main] DEBUG Exec:80 - wait for thread: Thread[stdout pumper,5,main]
15:21:27,351 [stderr pumper] ERROR Exec:96 - svnadmin: Unrecognized record type in stream
15:21:27,367 [main] DEBUG Exec:80 - wait for thread: Thread[stderr pumper,5,main]
15:21:27,367 [main] DEBUG Exec:80 - wait for thread: Thread[Thread-12,5,main]
15:21:27,367 [Thread-12] ERROR SvnAdminImportExec:100 - can't copy dump file to svnadmin stdin:
java.io.IOException: The pipe has been ended
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(Unknown Source)
at java.io.BufferedOutputStream.write(Unknown Source)
at org.polarion.svnimporter.common.Util.copy(Util.java:384)
at org.polarion.svnimporter.svnprovider.internal.svnadmin.SvnAdminImportExec$1.run(SvnAdminImportExec.java:58)
15:21:27,367 [Thread-15] ERROR Exec:96 - process exit code: 1
15:21:27,367 [main] INFO historyLogger:84 - svnadmin import dump finished
15:21:27,382 [main] INFO historyLogger:84 - successfully finished
15:21:27,382 [main] DEBUG PvcsProvider:80 - cleanup
15:21:27,398 [main] DEBUG SvnAdmin:80 - cleanup
15:21:27,414 [main] INFO historyLogger:84 - duration: 4 seconds

dobisekm
Posts: 118
Joined: Wed Mar 23, 2005 3:29 pm
Location: Prague, Czech Republic

Postby dobisekm » Mon May 30, 2005 7:20 am

Hi Guest,

it looks like you have an old SVN version. SVNImporter requires 1.0.x. Do you have such? (run svn --version to get your version number).

Is this the case?

Michal Dobisek, Polarion Team


Return to “Polarion SVN Web Client”

Who is online

Users browsing this forum: No registered users and 5 guests