Re: [viewvc-users] viewvc diff with privious version exception

"C. Michael Pilato" <[email protected]> Mon, 4 Jan 2016 08:20:20 -0500
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <CAFVDjdzm3Qgi4d+USX5Q+cLX+zXO=i9vq8XYa_JwoeV13kAizg__27305.8850005784$1451913654$gmane$org@mail.gmail.com>
------=_Part_4761_1307159872.1451913625811
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Addam,

You might consider making this change to that lib/vclib/__init__.py file:

--- __init__.py (revision 2980)
+++ __init__.py (working copy)
@@ -391,6 +391,7 @@
     if info1 and info2:
       args.extend(["-L", self._label(info1), "-L", self._label(info2)])
     args.extend([temp1, temp2])
+    raise Exception(str([diff_cmd, args]))
     self.fp =3D popen.popen(diff_cmd, args, "r")

   def read(self, bytes):

And then repeat the diff operation.  This should cause ViewVC to raise an
exception that reports the diff command parameters that it's handing off to
CreateProcess.  For example, on my system I now see this exception:

Exception: ['diff', ['-u', '-p', '-L', 'trunk/BUGS\t2004/12/04
22:03:35\t12154', '-L', 'trunk/BUGS\t2005/07/21 21:08:23\t15382',
'/tmp/tmpIQSszv', '/tmp/tmplRc1uq']]

So I know it's trying to invoke simply "diff" (which on my machine is found
in the $PATH) using temporary files that live in /tmp.

-- Mike

On Fri, Dec 18, 2015 at 11:16 AM, Addam, Mustapha (VISUS) <[email protected]>
wrote:

> Hello,
>
> I have a problem with displaying diffing to a previous version within
> viewvc.
>
> After clicking on the corresponding link, I get a Python Traceback
> exception as follows.
>
> Do you have any suggestion for me?
>
>
>
> *An Exception Has Occurred*
>
> *Python Traceback*
>
> Traceback (most recent call last):
>
>   File "c:\viewvc\lib\viewvc.py", line 4855, in main
>
>     request.run_viewvc()
>
>   File "c:\viewvc\lib\viewvc.py", line 408, in run_viewvc
>
>     self.view_func(self)
>
>   File "c:\viewvc\lib\viewvc.py", line 3564, in view_diff
>
>     fp =3D request.repos.rawdiff(p1, rev1, p2, rev2, diff_type, diff_opti=
ons)
>
>   File "c:\viewvc\lib\vclib\svn\svn_repos.py", line 579, in rawdiff
>
>     return vclib._diff_fp(temp1, temp2, info1, info2, self.diff_cmd, args=
)
>
>   File "c:\viewvc\lib\vclib\__init__.py", line 394, in __init__
>
>     self.fp =3D popen.popen(diff_cmd, args, "r")
>
>   File "c:\viewvc\lib\popen.py", line 71, in popen
>
>     phandle, pid, thandle, tid =3D win32popen.CreateProcess(command, hStd=
In,
> hStdOut, hStdErr)
>
>   File "c:\viewvc\lib\win32popen.py", line 84, in CreateProcess
>
>     si                               # startupinfo
>
> error: (87, 'CreateProcess', 'Falscher Parameter.')
>
>
>
>
>
>
>
> look forward for a feedback.
>
>
>
> Best regards,
>
> Mustapha Addam
>
>
> VISUS Technology Transfer GmbH
>
> ..........................................................
>
> 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
>
> ..........................................................
>
> *Von:* C. Michael Pilato [mailto:[email protected]]
> *Gesendet:* Freitag, 23. Oktober 2015 14:30
> *An:* Addam, Mustapha (VISUS) <[email protected]>
> *Cc:* [email protected]
> *Betreff:* Re: [viewvc-users] Python subprocess.py error in svndbadmin
> rebuild into viewvc database
>
>
>
> 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=
153502

To unsubscribe from this discussion, e-mail: [[email protected]=
is.org].
------=_Part_4761_1307159872.1451913625811
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Addam,<div><br></div><div>You might consider making this c=
hange to that lib/vclib/__init__.py file:</div><div><br></div><div><div><fo=
nt face=3D"monospace, monospace">--- __init__.py<span class=3D"" style=3D"w=
hite-space:pre">=09</span>(revision 2980)</font></div><div><font face=3D"mo=
nospace, monospace">+++ __init__.py<span class=3D"" style=3D"white-space:pr=
e">=09</span>(working copy)</font></div><div><font face=3D"monospace, monos=
pace">@@ -391,6 +391,7 @@</font></div><div><font face=3D"monospace, monospa=
ce">=C2=A0 =C2=A0 =C2=A0if info1 and info2:</font></div><div><font face=3D"=
monospace, monospace">=C2=A0 =C2=A0 =C2=A0 =C2=A0args.extend([&quot;-L&quot=
;, self._label(info1), &quot;-L&quot;, self._label(info2)])</font></div><di=
v><font face=3D"monospace, monospace">=C2=A0 =C2=A0 =C2=A0args.extend([temp=
1, temp2])</font></div><div><font face=3D"monospace, monospace">+ =C2=A0 =
=C2=A0raise Exception(str([diff_cmd, args]))</font></div><div><font face=3D=
"monospace, monospace">=C2=A0 =C2=A0 =C2=A0self.fp =3D popen.popen(diff_cmd=
, args, &quot;r&quot;)</font></div><div><font face=3D"monospace, monospace"=
>=C2=A0</font></div><div><font face=3D"monospace, monospace">=C2=A0 =C2=A0d=
ef read(self, bytes):</font></div></div><div><br></div><div>And then repeat=
 the diff operation.=C2=A0 This should cause ViewVC to raise an exception t=
hat reports the diff command parameters that it&#39;s handing off to Create=
Process.=C2=A0 For example, on my system I now see this exception:</div><di=
v><br></div><div><font face=3D"monospace, monospace">Exception: [&#39;diff&=
#39;, [&#39;-u&#39;, &#39;-p&#39;, &#39;-L&#39;, &#39;trunk/BUGS\t2004/12/0=
4 22:03:35\t12154&#39;, &#39;-L&#39;, &#39;trunk/BUGS\t2005/07/21 21:08:23\=
t15382&#39;, &#39;/tmp/tmpIQSszv&#39;, &#39;/tmp/tmplRc1uq&#39;]]</font><br=
></div><div><br></div><div>So I know it&#39;s trying to invoke simply &quot=
;diff&quot; (which on my machine is found in the $PATH) using temporary fil=
es that live in /tmp.</div><div><br></div><div>-- Mike</div></div><div clas=
s=3D"gmail_extra"><br><div class=3D"gmail_quote">On Fri, Dec 18, 2015 at 11=
:16 AM, Addam, Mustapha (VISUS) <span dir=3D"ltr">&lt;<a href=3D"mailto:add=
[email protected]" target=3D"_blank">[email protected]</a>&gt;</span> wrote:<br><b=
lockquote class=3D"gmail_quote" style=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:11.0pt;font-=
family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Hello,<u></u><u></u></=
span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,sans-serif;color:#1f497d">I have a problem with =
displaying diffing to a previous version within viewvc.
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><img width=3D"392" height=3D"88"><span lang=3D"EN-US=
" style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;colo=
r:#1f497d"><u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,sans-serif;color:#1f497d">After clicking on the =
corresponding link, I get a Python Traceback exception as follows.<u></u><u=
></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Do you have any sugges=
tion for me?<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u>=C2=A0<u></u></=
span></p>
<p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=3D"font-size:13.5pt">A=
n Exception Has Occurred<u></u><u></u></span></b></p>
<p class=3D"MsoNormal"><b><span lang=3D"EN-US">Python Traceback<u></u><u></=
u></span></b></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">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:&quot;Courier New&quot;">=C2=A0 File &quot;c:\viewvc\lib\viewvc.py&q=
uot;, line 4855, 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:&quot;Courier New&quot;">=C2=A0=C2=A0=C2=A0 request.run_viewvc()<u><=
/u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0 File &quot;c:\viewvc\lib\viewvc.py&q=
uot;, line 408, in run_viewvc<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0=C2=A0=C2=A0 self.view_func(self)<u><=
/u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0 File &quot;c:\viewvc\lib\viewvc.py&q=
uot;, line 3564, in view_diff<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0=C2=A0=C2=A0 fp =3D request.repos.raw=
diff(p1, rev1, p2, rev2, diff_type, diff_options)<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0 File &quot;c:\viewvc\lib\vclib\svn\s=
vn_repos.py&quot;, line 579, in rawdiff<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0=C2=A0=C2=A0 return vclib._diff_fp(te=
mp1, temp2, info1, info2, self.diff_cmd, args)<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0 File &quot;c:\viewvc\lib\vclib\__ini=
t__.py&quot;, line 394, 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:&quot;Courier New&quot;">=C2=A0=C2=A0=C2=A0 self.fp =3D popen.popen(=
diff_cmd, args, &quot;r&quot;)<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0 File &quot;c:\viewvc\lib\popen.py&qu=
ot;, line 71, in popen<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0=C2=A0=C2=A0 phandle, pid, thandle, t=
id =3D win32popen.CreateProcess(command, hStdIn, hStdOut, hStdErr)<u></u><u=
></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0 File &quot;c:\viewvc\lib\win32popen.=
py&quot;, line 84, in CreateProcess<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0=C2=A0=C2=A0 si=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0 # startupinfo<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">error: (87, &#39;CreateProcess&#39;, &#39;F=
alscher Parameter.&#39;)<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u>=C2=A0<u></u></=
span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u>=C2=A0<u></u></=
span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,sans-serif;color:#1f497d">look forward for a fee=
dback.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u>=C2=A0<u></u></=
span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Arial&quot;,sans-serif;color:#1f497d">Best regards,<u></u><u><=
/u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Arial&quot;,sans-serif;color:#1f497d">Mustapha Addam<u></u><u>=
</u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Arial&quot;,sans-serif;color:#1f497d"><br>
VISUS Technology Transfer GmbH <br>
</span><span lang=3D"EN-US" style=3D"font-size:7.5pt;color:#1f497d"><br>
</span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:&quot;Ari=
al&quot;,sans-serif;color:#1f497d">........................................=
..................
<br>
<br>
</span><span style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,sans-s=
erif;color:#1f497d">JiveX - PACS and beyond
<br>
<br>
.......................................................... <br>
<br>
VISUS Technology Transfer GmbH <br>
Mustapha Addam <br>
Anforderungsmanagement / <br>
Specification Management </span><span style=3D"color:#1f497d"><br>
</span><span style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,sans-s=
erif;color:#1f497d">Universit=C3=A4tsstr. 136
<br>
44799 Bochum, Germany <br>
<br>
fon +49 234 93693-0 </span><span style=3D"color:#1f497d"><br>
</span><span style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,sans-s=
erif;color:#1f497d">mobil <a href=3D"tel:%2B49%20173%202821398" value=3D"+4=
91732821398" target=3D"_blank">+49 173 2821398</a>
</span><span style=3D"color:#1f497d"><br>
</span><span style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,sans-s=
erif;color:#1f497d">fax <a href=3D"tel:%2B49%20234%2093693-499" value=3D"+4=
923493693499" target=3D"_blank">+49 234 93693-499</a>
</span><span style=3D"color:#1f497d"><br>
</span><span style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,sans-s=
erif;color:#1f497d"><a href=3D"mailto:[email protected]" target=3D"_blank">ad=
[email protected]</a>
<b>=C2=A0 </b></span><span style=3D"color:#1f497d"><br>
</span><span style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,sans-s=
erif;color:#1f497d"><a href=3D"http://www.visus.com" target=3D"_blank">www.=
visus.com</a>=C2=A0
</span><span style=3D"color:#1f497d"><br>
</span><b><span style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,san=
s-serif;color:#1f497d">=C2=A0
</span></b><span style=3D"color:#1f497d"><br>
<br>
</span><span style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,sans-s=
erif;color:#1f497d">Commercial Register: Bochum HRB 6804
</span><span style=3D"color:#1f497d"><br>
</span><span style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,sans-s=
erif;color:#1f497d">Management Board: J=C3=B6rg Holstein, Klaus Kleber, Gui=
do B=C3=B6tticher
</span><span style=3D"color:#1f497d"><br>
</span><span style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,sans-s=
erif;color:#1f497d">VAT-No.: DE 209 458 324, Tax-No.: 350/5716/1721
</span><span style=3D"color:#1f497d"><br>
<br>
</span><span style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,sans-s=
erif;color:#1f497d">.......................................................=
...
</span><span><u></u><u></u></span></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:11.0pt;font-family:&quot=
;Calibri&quot;,sans-serif">Von:</span></b><span style=3D"font-size:11.0pt;f=
ont-family:&quot;Calibri&quot;,sans-serif"> C. Michael Pilato [mailto:<a hr=
ef=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>=
]
<br>
<b>Gesendet:</b> Freitag, 23. Oktober 2015 14:30<br>
<b>An:</b> Addam, Mustapha (VISUS) &lt;<a href=3D"mailto:[email protected]" t=
arget=3D"_blank">[email protected]</a>&gt;<br>
<b>Cc:</b> <a href=3D"mailto:[email protected]" target=3D"_blank">use=
[email protected]</a><br>
<b>Betreff:</b> Re: [viewvc-users] Python subprocess.py error in svndbadmin=
 rebuild into viewvc database<u></u><u></u></span></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<p class=3D"MsoNormal">ViewVC requires the presence of GNU diff (diff.exe) =
on the system.=C2=A0 It appears that svndbadmin is trying to execute diff.e=
xe and failing to find it on your system.=C2=A0 Install the GNU diffutils f=
or Windows programs, configuring their location
 if necessary in viewvc.conf, and try the svndbadmin again.<u></u><u></u></=
p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<p class=3D"MsoNormal">On Thu, Oct 22, 2015 at 3:30 AM, Addam, Mustapha (VI=
SUS) &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]=
om</a>&gt; wrote:<u></u><u></u></p>
<blockquote style=3D"border:none;border-left:solid #cccccc 1.0pt;padding:0c=
m 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Dear Sirs,</span><u></u><u></u>=
</p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">I&#39;m actually testing viewvc=
 together with svn and I=E2=80=99m trying to get viewvc with VisualSVN runn=
ing. In the issue to rebuild the svn history in the MySQL database
 I&#39;m getting the following error:</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">C:\viewvc\bin&gt;python svndbadmin -v rebui=
ld D:\Repositories\svn-doku</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">C:\Python26\lib\site-packages\MySQLdb\__ini=
t__.py:34: DeprecationWarning: the se</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">ts module is deprecated</span><u></u><u></u=
></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0 from sets import ImmutableSet</span>=
<u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">Purging commit info for repository root `d:=
\repositories\svn-doku&#39;</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">Building commit info for revision 0... skip=
ped (no changes).</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">Building commit info for revision 1... skip=
ped (no changes).</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">Traceback (most recent call last):</span><u=
></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0 File &quot;svndbadmin&quot;, line 37=
6, in &lt;module&gt;</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0=C2=A0=C2=A0 main(command, repository=
, revs, verbose, force)</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0 File &quot;svndbadmin&quot;, line 27=
7, in main</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0=C2=A0=C2=A0 handle_revision(db, comm=
and, repo, rev, verbose)</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0 File &quot;svndbadmin&quot;, line 20=
8, in handle_revision</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0=C2=A0=C2=A0 revision =3D repo[rev]</=
span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0 File &quot;svndbadmin&quot;, line 85=
, in __getitem__</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0=C2=A0=C2=A0 rev =3D SvnRev(self, rev=
)</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0 File &quot;svndbadmin&quot;, line 19=
4, in __init__</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0 =C2=A0=C2=A0diff_fp =3D diffobj.get_=
pipe()</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0 File &quot;C:\Python26\lib\site-pack=
ages\svn\fs.py&quot;, line 111, in get_pipe</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0=C2=A0=C2=A0 close_fds=3D_sys.platfor=
m !=3D &quot;win32&quot;)</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0 File &quot;C:\Python26\lib\subproces=
s.py&quot;, line 633, in __init__</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0=C2=A0=C2=A0 errread, errwrite)</span=
><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0 File &quot;C:\Python26\lib\subproces=
s.py&quot;, line 842, in _execute_child</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">=C2=A0=C2=A0=C2=A0
</span><span style=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;"=
>startupinfo)</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;">WindowsError: [Error 2] Das System kann die angegebene Dat=
ei nicht finden</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">I&#39;m using: - Python 2.6.5 i=
nstalled - pywin32-219.win32-py2.6.exe - MySQL-python-1.2.3c1.win32-py2.6.e=
xe - MySQL 5.6 - viewvc-1.1.24 - VisualSVN Server 3.3.2
 - pyserial-2.7.win32.exe - OS is Windows 7 64 Bit</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">The script starts rebuilding th=
e commits but ends with the shown error code.
</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Can anyone help? Thanks a lot i=
n advance!</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Best regards,</span><u></u><u><=
/u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Arial&quot;,sans-serif">Mustapha Addam</span><u></u><u></u></p=
>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-=
family:&quot;Arial&quot;,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"><br>
</span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:&quot;Ari=
al&quot;,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"><br>
</span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:&quot;Ari=
al&quot;,sans-serif">Universit=C3=A4tsstr. 136
<br>
44799 Bochum, Germany <br>
<br>
fon +49 234 93693-0 </span><span lang=3D"EN-US"><br>
</span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:&quot;Ari=
al&quot;,sans-serif">mobil
<a href=3D"tel:%2B49%20173%202821398" target=3D"_blank">+49 173 2821398</a>=
 </span><span lang=3D"EN-US"><br>
</span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:&quot;Ari=
al&quot;,sans-serif">fax
<a href=3D"tel:%2B49%20234%2093693-499" target=3D"_blank">+49 234 93693-499=
</a> </span>
<span lang=3D"EN-US"><br>
</span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:&quot;Ari=
al&quot;,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"><br>
</span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:&quot;Ari=
al&quot;,sans-serif"><a href=3D"http://www.visus.com" target=3D"_blank">www=
.visus.com</a>=C2=A0
</span><span lang=3D"EN-US"><br>
</span><b><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:&quot;=
Arial&quot;,sans-serif">=C2=A0
</span></b><span lang=3D"EN-US"><br>
<br>
</span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:&quot;Ari=
al&quot;,sans-serif">Commercial Register: Bochum HRB 6804
</span><span lang=3D"EN-US"><br>
</span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:&quot;Ari=
al&quot;,sans-serif">Management Board: J=C3=B6rg Holstein, Klaus Kleber, Gu=
ido B=C3=B6tticher
</span><span lang=3D"EN-US"><br>
</span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:&quot;Ari=
al&quot;,sans-serif">VAT-No.: DE 209 458 324, Tax-No.: 350/5716/1721
</span><span lang=3D"EN-US"><br>
<br>
</span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:&quot;Ari=
al&quot;,sans-serif">......................................................=
....
</span><u></u><u></u></p>
</div>
</div>
</blockquote>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>
</div>

</blockquote></div><br></div>

------=_Part_4761_1307159872.1451913625811--