Re: [viewvc-users] viewvc diff with privious version exception
"C. Michael Pilato" <[email protected]> Mon, 4 Jan 2016 08:41:02 -0500
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <CAFVDjdxZ5NMkDWay=a_oiLTVOL8ETM4f-R8ekUeehjBMeS4REQ__312.640789388929$1451914893$gmane$org@mail.gmail.com> |
------=_Part_4828_1420266617.1451914867123 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Glad to hear you solved your problem! Unfortunately, there's not such an XML/XSLT rendering feature such as you've described in ViewVC. On Mon, Jan 4, 2016 at 8:35 AM, Addam, Mustapha (VISUS) <[email protected]> wrote: > Hi, > > thanks for the feedback. > > I solved the problem before. > > With commenting out the diff path of gnu diff tools. > > According to your writing, if configured in $PATH, no need to configure n > viewvc.conf. > > Anyway it works, thanks. > > > > By the way, is there a plugin or a mechanism of rendering commited > xml-files in accordance with a given xslt-stylesheet in viewvc? > > What I want is a 2-way diff: > > 1. Diff on xml-code basis or switch to > > 2. Diff on human readable text without xml-tags (rendered through > xslt) > > > > This is because of some translating persons without programming know how. > > > > Best regards, > > M. Addam > > *Von:* C. Michael Pilato [mailto:[email protected]] > *Gesendet:* Montag, 4. Januar 2016 14:20 > *An:* Addam, Mustapha (VISUS) <[email protected]> > *Cc:* [email protected] > *Betreff:* Re: viewvc diff with privious version exception > > > > 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]= m> > 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= 153515 To unsubscribe from this discussion, e-mail: [[email protected]= is.org]. ------=_Part_4828_1420266617.1451914867123 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Glad to hear you solved your problem!<div><br></div><div>U= nfortunately, there's not such an XML/XSLT rendering feature such as yo= u've described in ViewVC.</div></div><div class=3D"gmail_extra"><br><di= v class=3D"gmail_quote">On Mon, Jan 4, 2016 at 8:35 AM, Addam, Mustapha (VI= SUS) <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_bl= ank">[email protected]</a>></span> wrote:<br><blockquote class=3D"gmail_qu= ote" 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:"Calibri",sans-serif;color:#1f497d">Hi,<u></u><u></u></spa= n></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-= family:"Calibri",sans-serif;color:#1f497d">thanks for the feedbac= k.<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-= family:"Calibri",sans-serif;color:#1f497d">I solved the problem b= efore. <u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-= family:"Calibri",sans-serif;color:#1f497d">With commenting out th= e diff path of gnu diff tools. <u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-= family:"Calibri",sans-serif;color:#1f497d">According to your writ= ing, if configured in $PATH, no need to configure n viewvc.conf.<u></u><u><= /u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-= family:"Calibri",sans-serif;color:#1f497d">Anyway it works, thank= s.<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-= family:"Calibri",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:"Calibri",sans-serif;color:#1f497d">By the way, is there a= plugin or a mechanism of rendering commited xml-files in accordance with a= given xslt-stylesheet in viewvc?<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-= family:"Calibri",sans-serif;color:#1f497d">What I want is a 2-way= diff:<u></u><u></u></span></p> <p><u></u><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-family:"= Calibri",sans-serif;color:#1f497d"><span>1.<span style=3D"font:7.0pt &= quot;Times New Roman"">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </span></span></span><u></u><span lang=3D"EN-US" style=3D"font-size:11.0pt;= font-family:"Calibri",sans-serif;color:#1f497d">Diff on xml-code = basis or switch to<u></u><u></u></span></p> <p><u></u><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-family:"= Calibri",sans-serif;color:#1f497d"><span>2.<span style=3D"font:7.0pt &= quot;Times New Roman"">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </span></span></span><u></u><span lang=3D"EN-US" style=3D"font-size:11.0pt;= font-family:"Calibri",sans-serif;color:#1f497d">Diff on human rea= dable text without xml-tags (rendered through xslt)<u></u><u></u></span></p= > <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-= family:"Calibri",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:"Calibri",sans-serif;color:#1f497d">This is because of som= e translating persons without programming know how.<u></u><u></u></span></p= > <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-= family:"Calibri",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:"Calibri",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:11.0pt;font-= family:"Calibri",sans-serif;color:#1f497d">M. Addam</span><span l= ang=3D"EN-US"><u></u><u></u></span></p> <p class=3D"MsoNormal"><b><span style=3D"font-size:11.0pt;font-family:"= ;Calibri",sans-serif">Von:</span></b><span style=3D"font-size:11.0pt;f= ont-family:"Calibri",sans-serif"> C. Michael Pilato [mailto:<a hr= ef=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>= ] <br> <b>Gesendet:</b> Montag, 4. Januar 2016 14:20<span class=3D""><br> <b>An:</b> Addam, Mustapha (VISUS) <<a href=3D"mailto:[email protected]" t= arget=3D"_blank">[email protected]</a>><br> <b>Cc:</b> <a href=3D"mailto:[email protected]" target=3D"_blank">use= [email protected]</a><br> </span><b>Betreff:</b> Re: viewvc diff with privious version exception<u></= u><u></u></span></p><span class=3D""> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <div> <p class=3D"MsoNormal">Addam,<u></u><u></u></p> <div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> </div> <div> <p class=3D"MsoNormal">You might consider making this change to that lib/vc= lib/__init__.py file:<u></u><u></u></p> </div> <div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> </div> <div> <div> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New"">= --- __init__.py=C2=A0=C2=A0=C2=A0 (revision 2980)</span><u></u><u></u></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New"">= +++ __init__.py=C2=A0=C2=A0=C2=A0 (working copy)</span><u></u><u></u></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New"">= @@ -391,6 +391,7 @@</span><u></u><u></u></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New"">= =C2=A0 =C2=A0 =C2=A0if info1 and info2:</span><u></u><u></u></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New"">= =C2=A0 =C2=A0 =C2=A0 =C2=A0args.extend(["-L", self._label(info1),= "-L", self._label(info2)])</span><u></u><u></u></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New"">= =C2=A0 =C2=A0 =C2=A0args.extend([temp1, temp2])</span><u></u><u></u></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New"">= + =C2=A0 =C2=A0raise Exception(str([diff_cmd, args]))</span><u></u><u></u><= /p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New"">= =C2=A0 =C2=A0 =C2=A0self.fp =3D popen.popen(diff_cmd, args, "r")<= /span><u></u><u></u></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New"">= =C2=A0</span><u></u><u></u></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New"">= =C2=A0 =C2=A0def read(self, bytes):</span><u></u><u></u></p> </div> </div> <div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> </div> <div> <p class=3D"MsoNormal">And then repeat the diff operation.=C2=A0 This shoul= d cause ViewVC to raise an exception that reports the diff command paramete= rs that it's handing off to CreateProcess.=C2=A0 For example, on my sys= tem I now see this exception:<u></u><u></u></p> </div> <div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New"">= 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/tmpl= Rc1uq']]</span><u></u><u></u></p> </div> <div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> </div> <div> <p class=3D"MsoNormal">So I know it's trying to invoke simply "dif= f" (which on my machine is found in the $PATH) using temporary files t= hat live in /tmp.<u></u><u></u></p> </div> <div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> </div> <div> <p class=3D"MsoNormal">-- Mike<u></u><u></u></p> </div> </div> </span><div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <div><span class=3D""> <p class=3D"MsoNormal">On Fri, Dec 18, 2015 at 11:16 AM, Addam, Mustapha (V= ISUS) <<a href=3D"mailto:[email protected]" target=3D"_blank">addam@visus.= com</a>> wrote:<u></u><u></u></p> </span><blockquote style=3D"border:none;border-left:solid #cccccc 1.0pt;pad= ding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"> <div> <div><span class=3D""> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-= family:"Calibri",sans-serif;color:#1f497d">Hello,</span><u></u><u= ></u></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-= family:"Calibri",sans-serif;color:#1f497d">I have a problem with = displaying diffing to a previous version within viewvc. </span><u></u><u></u></p> <p class=3D"MsoNormal"><u></u><u></u></p> </span><p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0p= t;font-family:"Calibri",sans-serif;color:#1f497d">After clicking = on the corresponding link, I get a Python Traceback exception as follows.</= span><u></u><u></u></p><div><div class=3D"h5"> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-= family:"Calibri",sans-serif;color:#1f497d">Do you have any sugges= tion for me?</span><u></u><u></u></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-= family:"Calibri",sans-serif;color:#1f497d">=C2=A0</span><u></u><u= ></u></p> <p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=3D"font-size:13.5pt">A= n Exception Has Occurred</span></b><u></u><u></u></p> <p class=3D"MsoNormal"><b><span lang=3D"EN-US">Python Traceback</span></b><= u></u><u></u></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):</span><u= ></u><u></u></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">=C2=A0 File "c:\viewvc\lib\viewvc.py&q= uot;, line 4855, 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:"Courier New"">=C2=A0=C2=A0=C2=A0 request.run_viewvc()</sp= an><u></u><u></u></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">=C2=A0 File "c:\viewvc\lib\viewvc.py&q= uot;, line 408, in run_viewvc</span><u></u><u></u></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 self.view_func(self)</sp= an><u></u><u></u></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">=C2=A0 File "c:\viewvc\lib\viewvc.py&q= uot;, line 3564, in view_diff</span><u></u><u></u></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 fp =3D request.repos.raw= diff(p1, rev1, p2, rev2, diff_type, diff_options)</span><u></u><u></u></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">=C2=A0 File "c:\viewvc\lib\vclib\svn\s= vn_repos.py", line 579, in rawdiff</span><u></u><u></u></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 return vclib._diff_fp(te= mp1, temp2, info1, info2, self.diff_cmd, args)</span><u></u><u></u></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">=C2=A0 File "c:\viewvc\lib\vclib\__ini= t__.py", line 394, 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:"Courier New"">=C2=A0=C2=A0=C2=A0 self.fp =3D popen.popen(= diff_cmd, args, "r")</span><u></u><u></u></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">=C2=A0 File "c:\viewvc\lib\popen.py&qu= ot;, line 71, in popen</span><u></u><u></u></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 phandle, pid, thandle, t= id =3D win32popen.CreateProcess(command, hStdIn, hStdOut, hStdErr)</span><u= ></u><u></u></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">=C2=A0 File "c:\viewvc\lib\win32popen.= py", line 84, in CreateProcess</span><u></u><u></u></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 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</span><u></u><u></u></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">error: (87, 'CreateProcess', 'F= alscher Parameter.')</span><u></u><u></u></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Courier New"">=C2=A0</span><u></u><u></u></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-= family:"Calibri",sans-serif;color:#1f497d">=C2=A0</span><u></u><u= ></u></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-= family:"Calibri",sans-serif;color:#1f497d">=C2=A0</span><u></u><u= ></u></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-= family:"Calibri",sans-serif;color:#1f497d">look forward for a fee= dback.</span><u></u><u></u></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-= family:"Calibri",sans-serif;color:#1f497d">=C2=A0</span><u></u><u= ></u></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-= family:"Arial",sans-serif;color:#1f497d">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:"Arial",sans-serif;color:#1f497d">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:"Arial",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:"Ari= al",sans-serif;color:#1f497d">........................................= .................. <br> <br> </span><span style=3D"font-size:10.0pt;font-family:"Arial",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:"Arial",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:"Arial",sans-s= erif;color:#1f497d">mobil <a href=3D"tel:%2B49%20173%202821398" target=3D"_blank">+49 173 2821398</a>= </span><span style=3D"color:#1f497d"><br> </span><span style=3D"font-size:10.0pt;font-family:"Arial",sans-s= erif;color:#1f497d">fax <a href=3D"tel:%2B49%20234%2093693-499" 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:"Arial",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:"Arial",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:"Arial",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:"Arial",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:"Arial",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:"Arial",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:"Arial",sans-s= erif;color:#1f497d">.......................................................= ... </span><u></u><u></u></p> <p class=3D"MsoNormal"><b><span style=3D"font-size:11.0pt;font-family:"= ;Calibri",sans-serif">Von:</span></b><span style=3D"font-size:11.0pt;f= ont-family:"Calibri",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) <<a href=3D"mailto:[email protected]" t= arget=3D"_blank">[email protected]</a>><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</span><u></u><u></u></p> <p class=3D"MsoNormal">=C2=A0<u></u><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 for Windows programs, configuring their location if necessar= y in viewvc.conf, and try the svndbadmin again.<u></u><u></u></p> </div> <div> <p class=3D"MsoNormal">=C2=A0<u></u><u></u></p> <div> <p class=3D"MsoNormal">On Thu, Oct 22, 2015 at 3:30 AM, Addam, Mustapha (VI= SUS) <<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]= om</a>> 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-top:5.0pt;margin-right:0cm;margin-= bottom:5.0pt"> <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'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'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:"Courier New"">C:\viewvc\bin>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:"Courier New"">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:"Courier New"">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:"Courier New"">=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:"Courier New"">Purging commit info for repository root `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:"Courier New"">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:"Courier New"">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:"Courier New"">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:"Courier New"">=C2=A0 File "svndbadmin", line 37= 6, in <module></span><u></u><u></u></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)</span><u></u><u></u></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</span><u></u><u></u></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)</span><u></u><u></u></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</span><u></u><u></u></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]</= span><u></u><u></u></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__</span><u></u><u></u></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= )</span><u></u><u></u></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__</span><u></u><u></u></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()</span><u></u><u></u></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</span><u></u><u></u></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")</span><u></u><u></u></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__</span><u></u><u></u></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)</span= ><u></u><u></u></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</span><u></u><u></u></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)</span><u></u><u></u></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</span><u></u><u></u></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">I'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:"Arial",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:"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"><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"><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"><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" 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:"Ari= al",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:"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"><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"><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"><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"><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"><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"><br> <br> </span><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:"Ari= al",sans-serif">......................................................= .... </span><u></u><u></u></p> </div> </div> </blockquote> </div> <p class=3D"MsoNormal">=C2=A0<u></u><u></u></p> </div> </div></div></div> </div> </blockquote> </div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> </div> </div> </div> </blockquote></div><br></div> ------=_Part_4828_1420266617.1451914867123--