Re: [viewvc-users] Python subprocess.py error in svndbadmin rebuild into viewvc database
"C. Michael Pilato" <[email protected]> Fri, 23 Oct 2015 08:29:33 -0400
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <CAFVDjdyydXbN7d57E_TCLW5sAK572Sfy04f7ojiw9UzqSe+iiw__2251.19402534819$1445603425$gmane$org@mail.gmail.com> |
------=_Part_15139_1482559521.1445603393188 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable ViewVC requires the presence of GNU diff (diff.exe) on the system. It appears that svndbadmin is trying to execute diff.exe and failing to find it on your system. Install the GNU diffutils for Windows programs, configuring their location if necessary in viewvc.conf, and try the svndbadmin again. On Thu, Oct 22, 2015 at 3:30 AM, Addam, Mustapha (VISUS) <[email protected]> wrote: > Dear Sirs, > > I'm actually testing viewvc together with svn and I=E2=80=99m trying to g= et viewvc > with VisualSVN running. In the issue to rebuild the svn history in the > MySQL 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: > the 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-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 > > 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= 143599 To unsubscribe from this discussion, e-mail: [[email protected]= is.org]. ------=_Part_15139_1482559521.1445603393188 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">ViewVC requires the presence of GNU diff (diff.exe) on the= system.=C2=A0 It appears that svndbadmin is trying to execute diff.exe and= failing to find it on your system.=C2=A0 Install the GNU diffutils for Win= dows programs, configuring their location if necessary in viewvc.conf, and = try the svndbadmin again.</div><div class=3D"gmail_extra"><br><div class=3D= "gmail_quote">On Thu, Oct 22, 2015 at 3:30 AM, Addam, Mustapha (VISUS) <spa= n dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_blank">adda= [email protected]</a>></span> wrote:<br><blockquote class=3D"gmail_quote" styl= e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div lang=3D"DE" link=3D"blue" vlink=3D"purple"> <div> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-= family:"Times New Roman",serif">Dear Sirs,<u></u><u></u></span></= p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-= family:"Times New Roman",serif">I'm actually testing viewvc t= ogether with svn and I=E2=80=99m 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:<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">C:\viewvc\bin>python svndbadmin -v rebui= ld D:\Repositories\svn-doku<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">C:\Python26\lib\site-packages\MySQLdb\__ini= t__.py:34: DeprecationWarning: the se<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">ts module is deprecated<u></u><u></u></span= ></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">=C2=A0 from sets import ImmutableSet<u></u>= <u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">Purging commit info for repository root `d:= \repositories\svn-doku'<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">Building commit info for revision 0... skip= ped (no changes).<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">Building commit info for revision 1... skip= ped (no changes).<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">Traceback (most recent call last):<u></u><u= ></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">=C2=A0 File "svndbadmin", line 37= 6, in <module><u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">=C2=A0=C2=A0=C2=A0 main(command, repository= , revs, verbose, force)<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">=C2=A0 File "svndbadmin", line 27= 7, in main<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">=C2=A0=C2=A0=C2=A0 handle_revision(db, comm= and, repo, rev, verbose)<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">=C2=A0 File "svndbadmin", line 20= 8, in handle_revision<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">=C2=A0=C2=A0=C2=A0 revision =3D repo[rev]<u= ></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">=C2=A0 File "svndbadmin", line 85= , in __getitem__<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">=C2=A0=C2=A0=C2=A0 rev =3D SvnRev(self, rev= )<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">=C2=A0 File "svndbadmin", line 19= 4, in __init__<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">=C2=A0 =C2=A0=C2=A0diff_fp =3D diffobj.get_= pipe()<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">=C2=A0 File "C:\Python26\lib\site-pack= ages\svn\fs.py", line 111, in get_pipe<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">=C2=A0=C2=A0=C2=A0 close_fds=3D_sys.platfor= m !=3D "win32")<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">=C2=A0 File "C:\Python26\lib\subproces= s.py", line 633, in __init__<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">=C2=A0=C2=A0=C2=A0 errread, errwrite)<u></u= ><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">=C2=A0 File "C:\Python26\lib\subproces= s.py", line 842, in _execute_child<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">=C2=A0=C2=A0=C2=A0 </span><span style=3D"font-size:10.0pt;font-family:"Courier New""= >startupinfo)<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Co= urier New"">WindowsError: [Error 2] Das System kann die angegebene Dat= ei nicht finden<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-= family:"Times New Roman",serif">I'm using: - Python 2.6.5 ins= talled - 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<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-= family:"Times New Roman",serif">The script starts rebuilding the = commits but ends with the shown error code. <u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-= family:"Times New Roman",serif">Can anyone help? Thanks a lot in = advance!<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Best regards,<u></u><u></u></sp= an></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Arial",sans-serif">Mustapha Addam</span><span lang=3D"EN-= US"><u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Arial",sans-serif"><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:"Time= s New Roman",serif"><br> </span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:"Ari= al",sans-serif">......................................................= .... <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:"Times New Roman",serif"><br> </span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:"Ari= al",sans-serif">Universit=C3=A4tsstr. 136 <br> 44799 Bochum, Germany <br> <br> fon +49 234 93693-0 </span><span lang=3D"EN-US" style=3D"font-size:12.0pt;f= ont-family:"Times New Roman",serif"><br> </span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:"Ari= al",sans-serif">mobil <a href=3D"tel:%2B49%20173%202821398" value=3D"+= 491732821398" target=3D"_blank">+49 173 2821398</a> </span><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-family:"Tim= es New Roman",serif"><br> </span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:"Ari= al",sans-serif">fax <a href=3D"tel:%2B49%20234%2093693-499" value=3D"+= 4923493693499" target=3D"_blank">+49 234 93693-499</a> </span><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-family:"Tim= es New Roman",serif"><br> </span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:"Ari= al",sans-serif"><a href=3D"mailto:[email protected]" target=3D"_blank">a= [email protected]</a> <b>=C2=A0 </b></span><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-fa= mily:"Times New Roman",serif"><br> </span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:"Ari= al",sans-serif"><a href=3D"http://www.visus.com" target=3D"_blank">www= .visus.com</a>=C2=A0 </span><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-family:"Tim= es New Roman",serif"><br> </span><b><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:"= Arial",sans-serif">=C2=A0 </span></b><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-family:"= ;Times New Roman",serif"><br> <br> </span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:"Ari= al",sans-serif">Commercial Register: Bochum HRB 6804 </span><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-family:"Tim= es New Roman",serif"><br> </span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:"Ari= al",sans-serif">Management Board: J=C3=B6rg Holstein, Klaus Kleber, Gu= ido B=C3=B6tticher </span><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-family:"Tim= es New Roman",serif"><br> </span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:"Ari= al",sans-serif">VAT-No.: DE 209 458 324, Tax-No.: 350/5716/1721 </span><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-family:"Tim= es New Roman",serif"><br> <br> </span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:"Ari= al",sans-serif">......................................................= .... </span><span lang=3D"EN-US"><u></u><u></u></span></p> </div> </div> </blockquote></div><br></div> ------=_Part_15139_1482559521.1445603393188--