[viewvc-users] Python subprocess.py error in svndbadmin rebuild into viewvc database

"Addam, Mustapha (VISUS)" <[email protected]> Thu, 22 Oct 2015 07:30:04 +0000
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <75323FD8EB944149801E8F662CBFD8A1A91F0887__21576.5862762511$1445602932$gmane$org@srv-mail-chm01.visus-tt.com>
------=_Part_15093_1773072517.1445602915274
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-WatchGuard-AntiVirus: part scanned. clean action=allow

Dear Sirs,
I'm actually testing viewvc together with svn and I'm trying to get viewvc =
with VisualSVN running. In the issue to rebuild the svn history in the MySQ=
L database I'm getting the following error:
C:\viewvc\bin>python svndbadmin -v rebuild D:\Repositories\svn-doku
C:\Python26\lib\site-packages\MySQLdb\__init__.py:34: DeprecationWarning: t=
he se
ts module is deprecated
  from sets import ImmutableSet
Purging commit info for repository root `d:\repositories\svn-doku'
Building commit info for revision 0... skipped (no changes).
Building commit info for revision 1... skipped (no changes).
Traceback (most recent call last):
  File "svndbadmin", line 376, in <module>
    main(command, repository, revs, verbose, force)
  File "svndbadmin", line 277, in main
    handle_revision(db, command, repo, rev, verbose)
  File "svndbadmin", line 208, in handle_revision
    revision =3D repo[rev]
  File "svndbadmin", line 85, in __getitem__
    rev =3D SvnRev(self, rev)
  File "svndbadmin", line 194, in __init__
    diff_fp =3D diffobj.get_pipe()
  File "C:\Python26\lib\site-packages\svn\fs.py", line 111, in get_pipe
    close_fds=3D_sys.platform !=3D "win32")
  File "C:\Python26\lib\subprocess.py", line 633, in __init__
    errread, errwrite)
  File "C:\Python26\lib\subprocess.py", line 842, in _execute_child
    startupinfo)
WindowsError: [Error 2] Das System kann die angegebene Datei nicht finden
I'm using: - Python 2.6.5 installed - pywin32-219.win32-py2.6.exe - MySQL-p=
ython-1.2.3c1.win32-py2.6.exe - MySQL 5.6 - viewvc-1.1.24 - VisualSVN Serve=
r 3.3.2 - pyserial-2.7.win32.exe - OS is Windows 7 64 Bit
The script starts rebuilding the commits but ends with the shown error code=
.
Can anyone help? Thanks a lot in advance!
Best regards,
Mustapha Addam

VISUS Technology Transfer GmbH
i. A. Mustapha Addam

..........................................................

JiveX - PACS and beyond

..........................................................

VISUS Technology Transfer GmbH
Mustapha Addam
Anforderungsmanagement /
Specification Management
Universit=C3=A4tsstr. 136
44799 Bochum, Germany

fon +49 234 93693-0
mobil +49 173 2821398
fax +49 234 93693-499
[email protected]
www.visus.com


Commercial Register: Bochum HRB 6804
Management Board: J=C3=B6rg Holstein, Klaus Kleber, Guido B=C3=B6tticher
VAT-No.: DE 209 458 324, Tax-No.: 350/5716/1721

..........................................................

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=3D4255&dsMessageId=3D3=
143433

To unsubscribe from this discussion, e-mail: [[email protected]=
is.org].
------=_Part_15093_1773072517.1445602915274
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-WatchGuard-AntiVirus: part scanned. clean action=allow

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
=09{font-family:"Cambria Math";
=09panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
=09{font-family:Calibri;
=09panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
=09{margin:0cm;
=09margin-bottom:.0001pt;
=09font-size:11.0pt;
=09font-family:"Calibri",sans-serif;
=09mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
=09{mso-style-priority:99;
=09color:blue;
=09text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
=09{mso-style-priority:99;
=09color:purple;
=09text-decoration:underline;}
p
=09{mso-style-priority:99;
=09mso-margin-top-alt:auto;
=09margin-right:0cm;
=09mso-margin-bottom-alt:auto;
=09margin-left:0cm;
=09font-size:12.0pt;
=09font-family:"Times New Roman",serif;}
pre
=09{mso-style-priority:99;
=09mso-style-link:"HTML Vorformatiert Zchn";
=09margin:0cm;
=09margin-bottom:.0001pt;
=09font-size:10.0pt;
=09font-family:"Courier New";}
span.E-MailFormatvorlage17
=09{mso-style-type:personal-compose;
=09font-family:"Calibri",sans-serif;
=09color:windowtext;}
span.HTMLVorformatiertZchn
=09{mso-style-name:"HTML Vorformatiert Zchn";
=09mso-style-priority:99;
=09mso-style-link:"HTML Vorformatiert";
=09font-family:"Courier New";
=09mso-fareast-language:DE;}
span.pln
=09{mso-style-name:pln;}
span.pun
=09{mso-style-name:pun;}
span.kwd
=09{mso-style-name:kwd;}
span.lit
=09{mso-style-name:lit;}
span.typ
=09{mso-style-name:typ;}
span.str
=09{mso-style-name:str;}
.MsoChpDefault
=09{mso-style-type:export-only;
=09font-family:"Calibri",sans-serif;
=09mso-fareast-language:EN-US;}
@page WordSection1
=09{size:612.0pt 792.0pt;
=09margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
=09{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"DE" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-family:&quot;T=
imes New Roman&quot;,serif;mso-fareast-language:DE">Dear Sirs,<o:p></o:p></=
span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-family:&quot;T=
imes New Roman&quot;,serif;mso-fareast-language:DE">I'm actually testing vi=
ewvc together with svn and I&#8217;m trying to get viewvc
 with VisualSVN running. In the issue to rebuild the svn history in the MyS=
QL database I'm getting the following error:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;;mso-fareast-language:DE">C:\viewvc\bin&gt;py=
thon svndbadmin -v rebuild D:\Repositories\svn-doku<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;;mso-fareast-language:DE">C:\Python26\lib\sit=
e-packages\MySQLdb\__init__.py:34: DeprecationWarning: the se<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;;mso-fareast-language:DE">ts module is deprec=
ated<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;;mso-fareast-language:DE">&nbsp; from sets im=
port ImmutableSet<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;;mso-fareast-language:DE">Purging commit info=
 for repository root `d:\repositories\svn-doku'<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;;mso-fareast-language:DE">Building commit inf=
o for revision 0... skipped (no changes).<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;;mso-fareast-language:DE">Building commit inf=
o for revision 1... skipped (no changes).<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;;mso-fareast-language:DE">Traceback (most rec=
ent call last):<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;;mso-fareast-language:DE">&nbsp; File &quot;s=
vndbadmin&quot;, line 376, in &lt;module&gt;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;;mso-fareast-language:DE">&nbsp;&nbsp;&nbsp; =
main(command, repository, revs, verbose, force)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;;mso-fareast-language:DE">&nbsp; File &quot;s=
vndbadmin&quot;, line 277, in main<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;;mso-fareast-language:DE">&nbsp;&nbsp;&nbsp; =
handle_revision(db, command, repo, rev, verbose)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;;mso-fareast-language:DE">&nbsp; File &quot;s=
vndbadmin&quot;, line 208, in handle_revision<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;;mso-fareast-language:DE">&nbsp;&nbsp;&nbsp; =
revision =3D repo[rev]<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;;mso-fareast-language:DE">&nbsp; File &quot;s=
vndbadmin&quot;, line 85, in __getitem__<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;;mso-fareast-language:DE">&nbsp;&nbsp;&nbsp; =
rev =3D SvnRev(self, rev)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;;mso-fareast-language:DE">&nbsp; File &quot;s=
vndbadmin&quot;, line 194, in __init__<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;;mso-fareast-language:DE">&nbsp; &nbsp;&nbsp;=
diff_fp =3D diffobj.get_pipe()<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;;mso-fareast-language:DE">&nbsp; File &quot;C=
:\Python26\lib\site-packages\svn\fs.py&quot;, line 111, in get_pipe<o:p></o=
:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;;mso-fareast-language:DE">&nbsp;&nbsp;&nbsp; =
close_fds=3D_sys.platform !=3D &quot;win32&quot;)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;;mso-fareast-language:DE">&nbsp; File &quot;C=
:\Python26\lib\subprocess.py&quot;, line 633, in __init__<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;;mso-fareast-language:DE">&nbsp;&nbsp;&nbsp; =
errread, errwrite)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;;mso-fareast-language:DE">&nbsp; File &quot;C=
:\Python26\lib\subprocess.py&quot;, line 842, in _execute_child<o:p></o:p><=
/span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;;mso-fareast-language:DE">&nbsp;&nbsp;&nbsp;
</span><span style=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;=
mso-fareast-language:DE">startupinfo)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;;mso-fareast-language:DE">WindowsError: [Error 2] Das System=
 kann die angegebene Datei nicht finden<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-family:&quot;T=
imes New Roman&quot;,serif;mso-fareast-language:DE">I'm using: - Python 2.6=
.5 installed - pywin32-219.win32-py2.6.exe - MySQL-python-1.2.3c1.win32-py2=
.6.exe
 - MySQL 5.6 - viewvc-1.1.24 - VisualSVN Server 3.3.2 - pyserial-2.7.win32.=
exe - OS is Windows 7 64 Bit<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-family:&quot;T=
imes New Roman&quot;,serif;mso-fareast-language:DE">The script starts rebui=
lding the commits but ends with the shown error code.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-family:&quot;T=
imes New Roman&quot;,serif;mso-fareast-language:DE">Can anyone help? Thanks=
 a lot in advance!<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Best regards,<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Arial&quot;,sans-serif;mso-fareast-language:DE">Mustapha Addam=
</span><span lang=3D"EN-US"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Arial&quot;,sans-serif;mso-fareast-language:DE"><br>
VISUS Technology Transfer GmbH <br>
i. A. Mustapha Addam <br>
</span><span lang=3D"EN-US" style=3D"font-size:7.5pt;font-family:&quot;Time=
s New Roman&quot;,serif;mso-fareast-language:DE"><br>
</span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:&quot;Ari=
al&quot;,sans-serif;mso-fareast-language:DE">..............................=
............................
<br>
<br>
JiveX - PACS and beyond <br>
<br>
.......................................................... <br>
<br>
VISUS Technology Transfer GmbH <br>
Mustapha Addam <br>
Anforderungsmanagement / <br>
Specification Management </span><span lang=3D"EN-US" style=3D"font-size:12.=
0pt;font-family:&quot;Times New Roman&quot;,serif;mso-fareast-language:DE">=
<br>
</span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:&quot;Ari=
al&quot;,sans-serif;mso-fareast-language:DE">Universit=E4tsstr. 136
<br>
44799 Bochum, Germany <br>
<br>
fon &#43;49 234 93693-0 </span><span lang=3D"EN-US" style=3D"font-size:12.0=
pt;font-family:&quot;Times New Roman&quot;,serif;mso-fareast-language:DE"><=
br>
</span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:&quot;Ari=
al&quot;,sans-serif;mso-fareast-language:DE">mobil &#43;49 173 2821398
</span><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-family:&quot;Tim=
es New Roman&quot;,serif;mso-fareast-language:DE"><br>
</span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:&quot;Ari=
al&quot;,sans-serif;mso-fareast-language:DE">fax &#43;49 234 93693-499
</span><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-family:&quot;Tim=
es New Roman&quot;,serif;mso-fareast-language:DE"><br>
</span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:&quot;Ari=
al&quot;,sans-serif;mso-fareast-language:DE">[email protected]
<b>&nbsp; </b></span><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-fa=
mily:&quot;Times New Roman&quot;,serif;mso-fareast-language:DE"><br>
</span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:&quot;Ari=
al&quot;,sans-serif;mso-fareast-language:DE">www.visus.com&nbsp;
</span><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-family:&quot;Tim=
es New Roman&quot;,serif;mso-fareast-language:DE"><br>
</span><b><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:&quot;=
Arial&quot;,sans-serif;mso-fareast-language:DE">&nbsp;
</span></b><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-family:&quot=
;Times New Roman&quot;,serif;mso-fareast-language:DE"><br>
<br>
</span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:&quot;Ari=
al&quot;,sans-serif;mso-fareast-language:DE">Commercial Register: Bochum HR=
B 6804
</span><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-family:&quot;Tim=
es New Roman&quot;,serif;mso-fareast-language:DE"><br>
</span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:&quot;Ari=
al&quot;,sans-serif;mso-fareast-language:DE">Management Board: J=F6rg Holst=
ein, Klaus Kleber, Guido B=F6tticher
</span><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-family:&quot;Tim=
es New Roman&quot;,serif;mso-fareast-language:DE"><br>
</span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:&quot;Ari=
al&quot;,sans-serif;mso-fareast-language:DE">VAT-No.: DE 209 458 324, Tax-N=
o.: 350/5716/1721
</span><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-family:&quot;Tim=
es New Roman&quot;,serif;mso-fareast-language:DE"><br>
<br>
</span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:&quot;Ari=
al&quot;,sans-serif;mso-fareast-language:DE">..............................=
............................
</span><span lang=3D"EN-US"><o:p></o:p></span></p>
</div>
</body>
</html>

------=_Part_15093_1773072517.1445602915274--