Re: View diff is failing

2009-07-03 Thread Henrike Coelho
Humm, i made it :)

Basically the problem was the apache server not recognize the patch in the
path. O i copied directly to the bin folder of apache and it started to work
correclty.
And i tried generating the diff file with tortoise and it worked fine too...

Thanks guys for your help.


On Fri, Jul 3, 2009 at 7:42 AM, Christian Hammond wrote:

> Tortoise SVN doesn't generate compatible diffs. Try svn diff.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.review-board.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Thu, Jul 2, 2009 at 3:48 PM, Henrike Coelho 
> wrote:
>
>> Hi Roman, doesn't work for me.
>>
>> -I've created a patch with tortoise svn and created a new review request
>> -I've moved the diff file to bin directory in apache folder (and restarted
>> the server just in case)
>> -The same error still happens.
>>
>> suggestions? I don't understand which is the really issue related with
>> output...
>>
>> On Thu, Jul 2, 2009 at 7:25 PM, roman  wrote:
>>
>>>
>>> Hi Guy,
>>>  Inspite of having the patch included in my path, I had to copy the
>>> patch to the apache bin directory. This is not an elegant solutions,
>>> but it works :).
>>>
>>>
>>>
>>> On 30 jun, 19:32, Henrike Coelho  wrote:
>>> > Hi Christian,
>>> >
>>> > humm I've tried to do that, however without success :( the error still
>>> > happens. patch-2.5.9-7-setup I've installed this version, do you know
>>> any
>>> > issue with this version (python 2.5)? Can you give me an idea how can i
>>> > generate diff files compatible with review board?
>>> >
>>> > On Tue, Jun 30, 2009 at 1:20 AM, Christian Hammond <
>>> chip...@chipx86.com>wrote:
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > > Yeah, TortoiseSVN definitely won't work. They generate slightly
>>> > > incompatible diffs. We might be able to work around it at some point,
>>> but
>>> > > someone would probably have to contribute a patch for that.
>>> >
>>> > > However, the "the system cannot find the file specified" error is
>>> > > definitely Apache not finding patch.exe.
>>> >
>>> > > Maybe try rebooting? :)
>>> >
>>> > > Christian
>>> >
>>> > > --
>>> > > Christian Hammond - chip...@chipx86.com
>>> > > Review Board -http://www.review-board.org
>>> > > VMware, Inc. -http://www.vmware.com
>>> >
>>> > > On Mon, Jun 29, 2009 at 4:52 PM, henriquecoelho <
>>> henrike.coe...@gmail.com>wrote:
>>> >
>>> > >> I should add that the diff file was generated with tortoisesvn,
>>> > >> creating a patch... Is there any known issue creating the diff in
>>> this
>>> > >> way?
>>> >
>>> > >> On 30 Jun, 00:37, Christian Hammond  wrote:
>>> > >> > GNU patch.exe must be in the path for this to work. It appears
>>> that it's
>>> > >> not
>>> > >> > able to find this.
>>> >
>>> > >> > Christian
>>> >
>>> > >> > --
>>> > >> > Christian Hammond - chip...@chipx86.com
>>> > >> > Review Board -http://www.review-board.org
>>> > >> > VMware, Inc. -http://www.vmware.com
>>> >
>>> > >> > On Mon, Jun 29, 2009 at 4:33 PM, henriquecoelho <
>>> > >> henrike.coe...@gmail.com>wrote:
>>> >
>>> > >> > > Hi all,
>>> >
>>> > >> > > I'm having a problem viewing the diff file that i've upload in
>>> new
>>> > >> > > review request. I've activated the debug level for reviewboard
>>> and i'm
>>> > >> > > getting the following output when i access to view diff in right
>>> top
>>> > >> > > corner:
>>> >
>>> > >> > > [Error 2] The system cannot find the file specified
>>> >
>>> > >> > > Traceback (most recent call last):
>>> > >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
>>> > >> > > \reviewboard\diffviewer\views.py", line 152, in view_diff
>>> > >> > >interdiffset, highlighting, True)
>>> > >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
>>> > >> > > \reviewboard\diffviewer\diffutils.py", line 623, in
>>> get_diff_files
>>> > >> > >large_data=True)
>>> > >> > >  File
>>> "c:\python25\lib\site-packages\Djblets-0.5-py2.5.egg\djblets
>>> > >> > > \util\misc.py", line 143, in cache_memoize
>>> > >> > >data = lookup_callable()
>>> > >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
>>> > >> > > \reviewboard\diffviewer\diffutils.py", line 622, in 
>>> > >> > >enable_syntax_highlighting),
>>> > >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
>>> > >> > > \reviewboard\diffviewer\diffutils.py", line 345, in get_chunks
>>> > >> > >new = get_patched_file(old, filediff)
>>> > >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
>>> > >> > > \reviewboard\diffviewer\diffutils.py", line 261, in
>>> get_patched_file
>>> > >> > >return patch(filediff.diff, buffer, filediff.dest_file)
>>> > >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
>>> > >> > > \reviewboard\diffviewer\diffutils.py", line 109, in patch
>>> > >> > >stderr=subprocess.STDOUT)
>>> > >> > >  File "C:\Python25\Lib\subprocess.py", line 594, in __init__
>>> > >> > >errread, errwrite)
>>> > >> 

Re: View diff is failing

2009-07-02 Thread Christian Hammond
Tortoise SVN doesn't generate compatible diffs. Try svn diff.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.review-board.org
VMware, Inc. - http://www.vmware.com


On Thu, Jul 2, 2009 at 3:48 PM, Henrike Coelho wrote:

> Hi Roman, doesn't work for me.
>
> -I've created a patch with tortoise svn and created a new review request
> -I've moved the diff file to bin directory in apache folder (and restarted
> the server just in case)
> -The same error still happens.
>
> suggestions? I don't understand which is the really issue related with
> output...
>
> On Thu, Jul 2, 2009 at 7:25 PM, roman  wrote:
>
>>
>> Hi Guy,
>>  Inspite of having the patch included in my path, I had to copy the
>> patch to the apache bin directory. This is not an elegant solutions,
>> but it works :).
>>
>>
>>
>> On 30 jun, 19:32, Henrike Coelho  wrote:
>> > Hi Christian,
>> >
>> > humm I've tried to do that, however without success :( the error still
>> > happens. patch-2.5.9-7-setup I've installed this version, do you know
>> any
>> > issue with this version (python 2.5)? Can you give me an idea how can i
>> > generate diff files compatible with review board?
>> >
>> > On Tue, Jun 30, 2009 at 1:20 AM, Christian Hammond > >wrote:
>> >
>> >
>> >
>> >
>> >
>> > > Yeah, TortoiseSVN definitely won't work. They generate slightly
>> > > incompatible diffs. We might be able to work around it at some point,
>> but
>> > > someone would probably have to contribute a patch for that.
>> >
>> > > However, the "the system cannot find the file specified" error is
>> > > definitely Apache not finding patch.exe.
>> >
>> > > Maybe try rebooting? :)
>> >
>> > > Christian
>> >
>> > > --
>> > > Christian Hammond - chip...@chipx86.com
>> > > Review Board -http://www.review-board.org
>> > > VMware, Inc. -http://www.vmware.com
>> >
>> > > On Mon, Jun 29, 2009 at 4:52 PM, henriquecoelho <
>> henrike.coe...@gmail.com>wrote:
>> >
>> > >> I should add that the diff file was generated with tortoisesvn,
>> > >> creating a patch... Is there any known issue creating the diff in
>> this
>> > >> way?
>> >
>> > >> On 30 Jun, 00:37, Christian Hammond  wrote:
>> > >> > GNU patch.exe must be in the path for this to work. It appears that
>> it's
>> > >> not
>> > >> > able to find this.
>> >
>> > >> > Christian
>> >
>> > >> > --
>> > >> > Christian Hammond - chip...@chipx86.com
>> > >> > Review Board -http://www.review-board.org
>> > >> > VMware, Inc. -http://www.vmware.com
>> >
>> > >> > On Mon, Jun 29, 2009 at 4:33 PM, henriquecoelho <
>> > >> henrike.coe...@gmail.com>wrote:
>> >
>> > >> > > Hi all,
>> >
>> > >> > > I'm having a problem viewing the diff file that i've upload in
>> new
>> > >> > > review request. I've activated the debug level for reviewboard
>> and i'm
>> > >> > > getting the following output when i access to view diff in right
>> top
>> > >> > > corner:
>> >
>> > >> > > [Error 2] The system cannot find the file specified
>> >
>> > >> > > Traceback (most recent call last):
>> > >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
>> > >> > > \reviewboard\diffviewer\views.py", line 152, in view_diff
>> > >> > >interdiffset, highlighting, True)
>> > >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
>> > >> > > \reviewboard\diffviewer\diffutils.py", line 623, in
>> get_diff_files
>> > >> > >large_data=True)
>> > >> > >  File
>> "c:\python25\lib\site-packages\Djblets-0.5-py2.5.egg\djblets
>> > >> > > \util\misc.py", line 143, in cache_memoize
>> > >> > >data = lookup_callable()
>> > >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
>> > >> > > \reviewboard\diffviewer\diffutils.py", line 622, in 
>> > >> > >enable_syntax_highlighting),
>> > >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
>> > >> > > \reviewboard\diffviewer\diffutils.py", line 345, in get_chunks
>> > >> > >new = get_patched_file(old, filediff)
>> > >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
>> > >> > > \reviewboard\diffviewer\diffutils.py", line 261, in
>> get_patched_file
>> > >> > >return patch(filediff.diff, buffer, filediff.dest_file)
>> > >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
>> > >> > > \reviewboard\diffviewer\diffutils.py", line 109, in patch
>> > >> > >stderr=subprocess.STDOUT)
>> > >> > >  File "C:\Python25\Lib\subprocess.py", line 594, in __init__
>> > >> > >errread, errwrite)
>> > >> > >  File "C:\Python25\Lib\subprocess.py", line 822, in
>> _execute_child
>> > >> > >startupinfo)
>> > >> > > WindowsError: [Error 2] The system cannot find the file specified
>> >
>> > >> > > I'm not sure if this is sufficiently clear to you but if someone
>> havy
>> > >> > > an ideia about this please let me know how to workaround this. I
>> think
>> > >> > > that this could be due the problem with diff file so the steps
>> that i
>> > >> > > made to upload the new review diff file were:
>> >
>> >

Re: View diff is failing

2009-07-02 Thread Mario Roman
Hi Henrike,
  I've created the diff with Eclipse (team/create patch). Try that or with
some another tool.

Bye.


On Thu, Jul 2, 2009 at 7:48 PM, Henrike Coelho wrote:

> Hi Roman, doesn't work for me.
>
> -I've created a patch with tortoise svn and created a new review request
> -I've moved the diff file to bin directory in apache folder (and restarted
> the server just in case)
> -The same error still happens.
>
> suggestions? I don't understand which is the really issue related with
> output...
>
> On Thu, Jul 2, 2009 at 7:25 PM, roman  wrote:
>
>>
>> Hi Guy,
>>  Inspite of having the patch included in my path, I had to copy the
>> patch to the apache bin directory. This is not an elegant solutions,
>> but it works :).
>>
>>
>>
>> On 30 jun, 19:32, Henrike Coelho  wrote:
>> > Hi Christian,
>> >
>> > humm I've tried to do that, however without success :( the error still
>> > happens. patch-2.5.9-7-setup I've installed this version, do you know
>> any
>> > issue with this version (python 2.5)? Can you give me an idea how can i
>> > generate diff files compatible with review board?
>> >
>> > On Tue, Jun 30, 2009 at 1:20 AM, Christian Hammond > >wrote:
>> >
>> >
>> >
>> >
>> >
>> > > Yeah, TortoiseSVN definitely won't work. They generate slightly
>> > > incompatible diffs. We might be able to work around it at some point,
>> but
>> > > someone would probably have to contribute a patch for that.
>> >
>> > > However, the "the system cannot find the file specified" error is
>> > > definitely Apache not finding patch.exe.
>> >
>> > > Maybe try rebooting? :)
>> >
>> > > Christian
>> >
>> > > --
>> > > Christian Hammond - chip...@chipx86.com
>> > > Review Board -http://www.review-board.org
>> > > VMware, Inc. -http://www.vmware.com
>> >
>> > > On Mon, Jun 29, 2009 at 4:52 PM, henriquecoelho <
>> henrike.coe...@gmail.com>wrote:
>> >
>> > >> I should add that the diff file was generated with tortoisesvn,
>> > >> creating a patch... Is there any known issue creating the diff in
>> this
>> > >> way?
>> >
>> > >> On 30 Jun, 00:37, Christian Hammond  wrote:
>> > >> > GNU patch.exe must be in the path for this to work. It appears that
>> it's
>> > >> not
>> > >> > able to find this.
>> >
>> > >> > Christian
>> >
>> > >> > --
>> > >> > Christian Hammond - chip...@chipx86.com
>> > >> > Review Board -http://www.review-board.org
>> > >> > VMware, Inc. -http://www.vmware.com
>> >
>> > >> > On Mon, Jun 29, 2009 at 4:33 PM, henriquecoelho <
>> > >> henrike.coe...@gmail.com>wrote:
>> >
>> > >> > > Hi all,
>> >
>> > >> > > I'm having a problem viewing the diff file that i've upload in
>> new
>> > >> > > review request. I've activated the debug level for reviewboard
>> and i'm
>> > >> > > getting the following output when i access to view diff in right
>> top
>> > >> > > corner:
>> >
>> > >> > > [Error 2] The system cannot find the file specified
>> >
>> > >> > > Traceback (most recent call last):
>> > >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
>> > >> > > \reviewboard\diffviewer\views.py", line 152, in view_diff
>> > >> > >interdiffset, highlighting, True)
>> > >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
>> > >> > > \reviewboard\diffviewer\diffutils.py", line 623, in
>> get_diff_files
>> > >> > >large_data=True)
>> > >> > >  File
>> "c:\python25\lib\site-packages\Djblets-0.5-py2.5.egg\djblets
>> > >> > > \util\misc.py", line 143, in cache_memoize
>> > >> > >data = lookup_callable()
>> > >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
>> > >> > > \reviewboard\diffviewer\diffutils.py", line 622, in 
>> > >> > >enable_syntax_highlighting),
>> > >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
>> > >> > > \reviewboard\diffviewer\diffutils.py", line 345, in get_chunks
>> > >> > >new = get_patched_file(old, filediff)
>> > >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
>> > >> > > \reviewboard\diffviewer\diffutils.py", line 261, in
>> get_patched_file
>> > >> > >return patch(filediff.diff, buffer, filediff.dest_file)
>> > >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
>> > >> > > \reviewboard\diffviewer\diffutils.py", line 109, in patch
>> > >> > >stderr=subprocess.STDOUT)
>> > >> > >  File "C:\Python25\Lib\subprocess.py", line 594, in __init__
>> > >> > >errread, errwrite)
>> > >> > >  File "C:\Python25\Lib\subprocess.py", line 822, in
>> _execute_child
>> > >> > >startupinfo)
>> > >> > > WindowsError: [Error 2] The system cannot find the file specified
>> >
>> > >> > > I'm not sure if this is sufficiently clear to you but if someone
>> havy
>> > >> > > an ideia about this please let me know how to workaround this. I
>> think
>> > >> > > that this could be due the problem with diff file so the steps
>> that i
>> > >> > > made to upload the new review diff file were:
>> >
>> > >> > > -New review request
>> > >> > > -choose the repository (example in my case)
>>

Re: View diff is failing

2009-07-02 Thread Henrike Coelho
Hi Roman, doesn't work for me.

-I've created a patch with tortoise svn and created a new review request
-I've moved the diff file to bin directory in apache folder (and restarted
the server just in case)
-The same error still happens.

suggestions? I don't understand which is the really issue related with
output...

On Thu, Jul 2, 2009 at 7:25 PM, roman  wrote:

>
> Hi Guy,
>  Inspite of having the patch included in my path, I had to copy the
> patch to the apache bin directory. This is not an elegant solutions,
> but it works :).
>
>
>
> On 30 jun, 19:32, Henrike Coelho  wrote:
> > Hi Christian,
> >
> > humm I've tried to do that, however without success :( the error still
> > happens. patch-2.5.9-7-setup I've installed this version, do you know any
> > issue with this version (python 2.5)? Can you give me an idea how can i
> > generate diff files compatible with review board?
> >
> > On Tue, Jun 30, 2009 at 1:20 AM, Christian Hammond  >wrote:
> >
> >
> >
> >
> >
> > > Yeah, TortoiseSVN definitely won't work. They generate slightly
> > > incompatible diffs. We might be able to work around it at some point,
> but
> > > someone would probably have to contribute a patch for that.
> >
> > > However, the "the system cannot find the file specified" error is
> > > definitely Apache not finding patch.exe.
> >
> > > Maybe try rebooting? :)
> >
> > > Christian
> >
> > > --
> > > Christian Hammond - chip...@chipx86.com
> > > Review Board -http://www.review-board.org
> > > VMware, Inc. -http://www.vmware.com
> >
> > > On Mon, Jun 29, 2009 at 4:52 PM, henriquecoelho <
> henrike.coe...@gmail.com>wrote:
> >
> > >> I should add that the diff file was generated with tortoisesvn,
> > >> creating a patch... Is there any known issue creating the diff in this
> > >> way?
> >
> > >> On 30 Jun, 00:37, Christian Hammond  wrote:
> > >> > GNU patch.exe must be in the path for this to work. It appears that
> it's
> > >> not
> > >> > able to find this.
> >
> > >> > Christian
> >
> > >> > --
> > >> > Christian Hammond - chip...@chipx86.com
> > >> > Review Board -http://www.review-board.org
> > >> > VMware, Inc. -http://www.vmware.com
> >
> > >> > On Mon, Jun 29, 2009 at 4:33 PM, henriquecoelho <
> > >> henrike.coe...@gmail.com>wrote:
> >
> > >> > > Hi all,
> >
> > >> > > I'm having a problem viewing the diff file that i've upload in new
> > >> > > review request. I've activated the debug level for reviewboard and
> i'm
> > >> > > getting the following output when i access to view diff in right
> top
> > >> > > corner:
> >
> > >> > > [Error 2] The system cannot find the file specified
> >
> > >> > > Traceback (most recent call last):
> > >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > >> > > \reviewboard\diffviewer\views.py", line 152, in view_diff
> > >> > >interdiffset, highlighting, True)
> > >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > >> > > \reviewboard\diffviewer\diffutils.py", line 623, in get_diff_files
> > >> > >large_data=True)
> > >> > >  File "c:\python25\lib\site-packages\Djblets-0.5-py2.5.egg\djblets
> > >> > > \util\misc.py", line 143, in cache_memoize
> > >> > >data = lookup_callable()
> > >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > >> > > \reviewboard\diffviewer\diffutils.py", line 622, in 
> > >> > >enable_syntax_highlighting),
> > >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > >> > > \reviewboard\diffviewer\diffutils.py", line 345, in get_chunks
> > >> > >new = get_patched_file(old, filediff)
> > >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > >> > > \reviewboard\diffviewer\diffutils.py", line 261, in
> get_patched_file
> > >> > >return patch(filediff.diff, buffer, filediff.dest_file)
> > >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > >> > > \reviewboard\diffviewer\diffutils.py", line 109, in patch
> > >> > >stderr=subprocess.STDOUT)
> > >> > >  File "C:\Python25\Lib\subprocess.py", line 594, in __init__
> > >> > >errread, errwrite)
> > >> > >  File "C:\Python25\Lib\subprocess.py", line 822, in _execute_child
> > >> > >startupinfo)
> > >> > > WindowsError: [Error 2] The system cannot find the file specified
> >
> > >> > > I'm not sure if this is sufficiently clear to you but if someone
> havy
> > >> > > an ideia about this please let me know how to workaround this. I
> think
> > >> > > that this could be due the problem with diff file so the steps
> that i
> > >> > > made to upload the new review diff file were:
> >
> > >> > > -New review request
> > >> > > -choose the repository (example in my case)
> > >> > > -base diff path : /
> > >> > > -diff: c:\example\
> >
> > >> > > The diff file:
> >
> > >> > > Index: Apache2/conf/httpd.conf
> > >> > >
> ===
> > >> > > --- Apache2/conf/httpd.conf (revision 3)
> > >> > > +++ Apache2/conf/httpd.conf (work

Re: View diff is failing

2009-07-02 Thread roman

Hi All,
  I'm having the same problme. patch.exe is included in the path but
the error is still there.
Any suggestions. Here is the stack trace:

Traceback (most recent call last):
  File "c:\dev\python25\lib\site-packages\ReviewBoard-1.0alpha1-
py2.5.egg\reviewboard\diffviewer\views.py", line 86, in view_diff
files = get_diff_files(diffset, None, interdiffset, highlighting)
  File "c:\dev\python25\lib\site-packages\ReviewBoard-1.0alpha1-
py2.5.egg\reviewboard\diffviewer\diffutils.py", line 660, in
get_diff_files
enable_syntax_highlighting)
  File "c:\dev\python25\lib\site-packages\ReviewBoard-1.0alpha1-
py2.5.egg\reviewboard\diffviewer\diffutils.py", line 579, in
generate_files
large_data=True)
  File "c:\dev\python25\lib\site-packages\Djblets-0.5alpha1-py2.5.egg
\djblets\util\misc.py", line 142, in cache_memoize
data = lookup_callable()
  File "c:\dev\python25\lib\site-packages\ReviewBoard-1.0alpha1-
py2.5.egg\reviewboard\diffviewer\diffutils.py", line 578, in 
enable_syntax_highlighting),
  File "c:\dev\python25\lib\site-packages\ReviewBoard-1.0alpha1-
py2.5.egg\reviewboard\diffviewer\diffutils.py", line 340, in
get_chunks
new = get_patched_file(old, filediff)
  File "c:\dev\python25\lib\site-packages\ReviewBoard-1.0alpha1-
py2.5.egg\reviewboard\diffviewer\diffutils.py", line 256, in
get_patched_file
return patch(filediff.diff, buffer, filediff.dest_file)
  File "c:\dev\python25\lib\site-packages\ReviewBoard-1.0alpha1-
py2.5.egg\reviewboard\diffviewer\diffutils.py", line 105, in patch
stderr=subprocess.STDOUT)
  File "C:\dev\python25\Lib\subprocess.py", line 594, in __init__
errread, errwrite)
  File "C:\dev\python25\Lib\subprocess.py", line 822, in
_execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified


On 30 jun, 19:32, Henrike Coelho  wrote:
> Hi Christian,
>
> humm I've tried to do that, however without success :( the error still
> happens. patch-2.5.9-7-setup I've installed this version, do you know any
> issue with this version (python 2.5)? Can you give me an idea how can i
> generate diff files compatible with review board?
>
> On Tue, Jun 30, 2009 at 1:20 AM, Christian Hammond wrote:
>
>
>
>
>
> > Yeah, TortoiseSVN definitely won't work. They generate slightly
> > incompatible diffs. We might be able to work around it at some point, but
> > someone would probably have to contribute a patch for that.
>
> > However, the "the system cannot find the file specified" error is
> > definitely Apache not finding patch.exe.
>
> > Maybe try rebooting? :)
>
> > Christian
>
> > --
> > Christian Hammond - chip...@chipx86.com
> > Review Board -http://www.review-board.org
> > VMware, Inc. -http://www.vmware.com
>
> > On Mon, Jun 29, 2009 at 4:52 PM, henriquecoelho 
> > wrote:
>
> >> I should add that the diff file was generated with tortoisesvn,
> >> creating a patch... Is there any known issue creating the diff in this
> >> way?
>
> >> On 30 Jun, 00:37, Christian Hammond  wrote:
> >> > GNU patch.exe must be in the path for this to work. It appears that it's
> >> not
> >> > able to find this.
>
> >> > Christian
>
> >> > --
> >> > Christian Hammond - chip...@chipx86.com
> >> > Review Board -http://www.review-board.org
> >> > VMware, Inc. -http://www.vmware.com
>
> >> > On Mon, Jun 29, 2009 at 4:33 PM, henriquecoelho <
> >> henrike.coe...@gmail.com>wrote:
>
> >> > > Hi all,
>
> >> > > I'm having a problem viewing the diff file that i've upload in new
> >> > > review request. I've activated the debug level for reviewboard and i'm
> >> > > getting the following output when i access to view diff in right top
> >> > > corner:
>
> >> > > [Error 2] The system cannot find the file specified
>
> >> > > Traceback (most recent call last):
> >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> >> > > \reviewboard\diffviewer\views.py", line 152, in view_diff
> >> > >    interdiffset, highlighting, True)
> >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> >> > > \reviewboard\diffviewer\diffutils.py", line 623, in get_diff_files
> >> > >    large_data=True)
> >> > >  File "c:\python25\lib\site-packages\Djblets-0.5-py2.5.egg\djblets
> >> > > \util\misc.py", line 143, in cache_memoize
> >> > >    data = lookup_callable()
> >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> >> > > \reviewboard\diffviewer\diffutils.py", line 622, in 
> >> > >    enable_syntax_highlighting),
> >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> >> > > \reviewboard\diffviewer\diffutils.py", line 345, in get_chunks
> >> > >    new = get_patched_file(old, filediff)
> >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> >> > > \reviewboard\diffviewer\diffutils.py", line 261, in get_patched_file
> >> > >    return patch(filediff.diff, buffer, filediff.dest_file)
> >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> >> > > \reviewboard\diffviewer\diffutil

Re: View diff is failing

2009-07-02 Thread roman

Hi Guy,
  Inspite of having the patch included in my path, I had to copy the
patch to the apache bin directory. This is not an elegant solutions,
but it works :).



On 30 jun, 19:32, Henrike Coelho  wrote:
> Hi Christian,
>
> humm I've tried to do that, however without success :( the error still
> happens. patch-2.5.9-7-setup I've installed this version, do you know any
> issue with this version (python 2.5)? Can you give me an idea how can i
> generate diff files compatible with review board?
>
> On Tue, Jun 30, 2009 at 1:20 AM, Christian Hammond wrote:
>
>
>
>
>
> > Yeah, TortoiseSVN definitely won't work. They generate slightly
> > incompatible diffs. We might be able to work around it at some point, but
> > someone would probably have to contribute a patch for that.
>
> > However, the "the system cannot find the file specified" error is
> > definitely Apache not finding patch.exe.
>
> > Maybe try rebooting? :)
>
> > Christian
>
> > --
> > Christian Hammond - chip...@chipx86.com
> > Review Board -http://www.review-board.org
> > VMware, Inc. -http://www.vmware.com
>
> > On Mon, Jun 29, 2009 at 4:52 PM, henriquecoelho 
> > wrote:
>
> >> I should add that the diff file was generated with tortoisesvn,
> >> creating a patch... Is there any known issue creating the diff in this
> >> way?
>
> >> On 30 Jun, 00:37, Christian Hammond  wrote:
> >> > GNU patch.exe must be in the path for this to work. It appears that it's
> >> not
> >> > able to find this.
>
> >> > Christian
>
> >> > --
> >> > Christian Hammond - chip...@chipx86.com
> >> > Review Board -http://www.review-board.org
> >> > VMware, Inc. -http://www.vmware.com
>
> >> > On Mon, Jun 29, 2009 at 4:33 PM, henriquecoelho <
> >> henrike.coe...@gmail.com>wrote:
>
> >> > > Hi all,
>
> >> > > I'm having a problem viewing the diff file that i've upload in new
> >> > > review request. I've activated the debug level for reviewboard and i'm
> >> > > getting the following output when i access to view diff in right top
> >> > > corner:
>
> >> > > [Error 2] The system cannot find the file specified
>
> >> > > Traceback (most recent call last):
> >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> >> > > \reviewboard\diffviewer\views.py", line 152, in view_diff
> >> > >    interdiffset, highlighting, True)
> >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> >> > > \reviewboard\diffviewer\diffutils.py", line 623, in get_diff_files
> >> > >    large_data=True)
> >> > >  File "c:\python25\lib\site-packages\Djblets-0.5-py2.5.egg\djblets
> >> > > \util\misc.py", line 143, in cache_memoize
> >> > >    data = lookup_callable()
> >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> >> > > \reviewboard\diffviewer\diffutils.py", line 622, in 
> >> > >    enable_syntax_highlighting),
> >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> >> > > \reviewboard\diffviewer\diffutils.py", line 345, in get_chunks
> >> > >    new = get_patched_file(old, filediff)
> >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> >> > > \reviewboard\diffviewer\diffutils.py", line 261, in get_patched_file
> >> > >    return patch(filediff.diff, buffer, filediff.dest_file)
> >> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> >> > > \reviewboard\diffviewer\diffutils.py", line 109, in patch
> >> > >    stderr=subprocess.STDOUT)
> >> > >  File "C:\Python25\Lib\subprocess.py", line 594, in __init__
> >> > >    errread, errwrite)
> >> > >  File "C:\Python25\Lib\subprocess.py", line 822, in _execute_child
> >> > >    startupinfo)
> >> > > WindowsError: [Error 2] The system cannot find the file specified
>
> >> > > I'm not sure if this is sufficiently clear to you but if someone havy
> >> > > an ideia about this please let me know how to workaround this. I think
> >> > > that this could be due the problem with diff file so the steps that i
> >> > > made to upload the new review diff file were:
>
> >> > > -New review request
> >> > > -choose the repository (example in my case)
> >> > > -base diff path : /
> >> > > -diff: c:\example\
>
> >> > > The diff file:
>
> >> > > Index: Apache2/conf/httpd.conf
> >> > > ===
> >> > > --- Apache2/conf/httpd.conf     (revision 3)
> >> > > +++ Apache2/conf/httpd.conf     (working copy)
> >> > > @@ -467,4 +467,29 @@
> >> > >        AllowOverride All
> >> > >  
>
> >> > > +<<< .mine
> >> > > +#
> >> > > +#  Order deny,allow
> >> > > +#  Allow from all
> >> > > +#
> >> > > +
> >> > > +#Alias /moopion "C:\example\source\example\web"
> >> > > +
> >> > > +#
> >> > > +#  AllowOverride All
> >> > > +#
> >> > > +
> >> > > +
> >> > > +  Order deny,allow
> >> > > +  Allow from all
> >> > > +
> >> > > +
> >> > > +Alias /sso "C:\example\source\sso\webdir"
> >> > > +
> >> > > +
> >> > > +  AllowOverride All
> >> > > +
> >> > > +
> >> > > +===
> >> > > +>>> .r3
> >> > >  AllowEncodedSlashes On
>

Re: View diff is failing

2009-06-30 Thread Henrike Coelho
Hi Christian,

humm I've tried to do that, however without success :( the error still
happens. patch-2.5.9-7-setup I've installed this version, do you know any
issue with this version (python 2.5)? Can you give me an idea how can i
generate diff files compatible with review board?

On Tue, Jun 30, 2009 at 1:20 AM, Christian Hammond wrote:

> Yeah, TortoiseSVN definitely won't work. They generate slightly
> incompatible diffs. We might be able to work around it at some point, but
> someone would probably have to contribute a patch for that.
>
> However, the "the system cannot find the file specified" error is
> definitely Apache not finding patch.exe.
>
> Maybe try rebooting? :)
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.review-board.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Mon, Jun 29, 2009 at 4:52 PM, henriquecoelho 
> wrote:
>
>>
>> I should add that the diff file was generated with tortoisesvn,
>> creating a patch... Is there any known issue creating the diff in this
>> way?
>>
>> On 30 Jun, 00:37, Christian Hammond  wrote:
>> > GNU patch.exe must be in the path for this to work. It appears that it's
>> not
>> > able to find this.
>> >
>> > Christian
>> >
>> > --
>> > Christian Hammond - chip...@chipx86.com
>> > Review Board -http://www.review-board.org
>> > VMware, Inc. -http://www.vmware.com
>> >
>> > On Mon, Jun 29, 2009 at 4:33 PM, henriquecoelho <
>> henrike.coe...@gmail.com>wrote:
>> >
>> >
>> >
>> > > Hi all,
>> >
>> > > I'm having a problem viewing the diff file that i've upload in new
>> > > review request. I've activated the debug level for reviewboard and i'm
>> > > getting the following output when i access to view diff in right top
>> > > corner:
>> >
>> > > [Error 2] The system cannot find the file specified
>> >
>> > > Traceback (most recent call last):
>> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
>> > > \reviewboard\diffviewer\views.py", line 152, in view_diff
>> > >interdiffset, highlighting, True)
>> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
>> > > \reviewboard\diffviewer\diffutils.py", line 623, in get_diff_files
>> > >large_data=True)
>> > >  File "c:\python25\lib\site-packages\Djblets-0.5-py2.5.egg\djblets
>> > > \util\misc.py", line 143, in cache_memoize
>> > >data = lookup_callable()
>> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
>> > > \reviewboard\diffviewer\diffutils.py", line 622, in 
>> > >enable_syntax_highlighting),
>> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
>> > > \reviewboard\diffviewer\diffutils.py", line 345, in get_chunks
>> > >new = get_patched_file(old, filediff)
>> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
>> > > \reviewboard\diffviewer\diffutils.py", line 261, in get_patched_file
>> > >return patch(filediff.diff, buffer, filediff.dest_file)
>> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
>> > > \reviewboard\diffviewer\diffutils.py", line 109, in patch
>> > >stderr=subprocess.STDOUT)
>> > >  File "C:\Python25\Lib\subprocess.py", line 594, in __init__
>> > >errread, errwrite)
>> > >  File "C:\Python25\Lib\subprocess.py", line 822, in _execute_child
>> > >startupinfo)
>> > > WindowsError: [Error 2] The system cannot find the file specified
>> >
>> > > I'm not sure if this is sufficiently clear to you but if someone havy
>> > > an ideia about this please let me know how to workaround this. I think
>> > > that this could be due the problem with diff file so the steps that i
>> > > made to upload the new review diff file were:
>> >
>> > > -New review request
>> > > -choose the repository (example in my case)
>> > > -base diff path : /
>> > > -diff: c:\example\
>> >
>> > > The diff file:
>> >
>> > > Index: Apache2/conf/httpd.conf
>> > > ===
>> > > --- Apache2/conf/httpd.conf (revision 3)
>> > > +++ Apache2/conf/httpd.conf (working copy)
>> > > @@ -467,4 +467,29 @@
>> > >AllowOverride All
>> > >  
>> >
>> > > +<<< .mine
>> > > +#
>> > > +#  Order deny,allow
>> > > +#  Allow from all
>> > > +#
>> > > +
>> > > +#Alias /moopion "C:\example\source\example\web"
>> > > +
>> > > +#
>> > > +#  AllowOverride All
>> > > +#
>> > > +
>> > > +
>> > > +  Order deny,allow
>> > > +  Allow from all
>> > > +
>> > > +
>> > > +Alias /sso "C:\example\source\sso\webdir"
>> > > +
>> > > +
>> > > +  AllowOverride All
>> > > +
>> > > +
>> > > +===
>> > > +>>> .r3
>> > >  AllowEncodedSlashes On
>> >
>> > > Thanks in advance. Please if you need some specific further
>> > > information, let me know.
>>
>>
>>
>
> >
>


-- 
Cumprimentos

Henrike Coelho
mail:henrike.coe...@gmail.com 
 a40...@alunos.uminho.pt
site: http://hcc.wedevso.com
Universidade Minho

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo

Re: View diff is failing

2009-06-29 Thread Christian Hammond
Yeah, TortoiseSVN definitely won't work. They generate slightly incompatible
diffs. We might be able to work around it at some point, but someone would
probably have to contribute a patch for that.

However, the "the system cannot find the file specified" error is definitely
Apache not finding patch.exe.

Maybe try rebooting? :)

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.review-board.org
VMware, Inc. - http://www.vmware.com


On Mon, Jun 29, 2009 at 4:52 PM, henriquecoelho wrote:

>
> I should add that the diff file was generated with tortoisesvn,
> creating a patch... Is there any known issue creating the diff in this
> way?
>
> On 30 Jun, 00:37, Christian Hammond  wrote:
> > GNU patch.exe must be in the path for this to work. It appears that it's
> not
> > able to find this.
> >
> > Christian
> >
> > --
> > Christian Hammond - chip...@chipx86.com
> > Review Board -http://www.review-board.org
> > VMware, Inc. -http://www.vmware.com
> >
> > On Mon, Jun 29, 2009 at 4:33 PM, henriquecoelho <
> henrike.coe...@gmail.com>wrote:
> >
> >
> >
> > > Hi all,
> >
> > > I'm having a problem viewing the diff file that i've upload in new
> > > review request. I've activated the debug level for reviewboard and i'm
> > > getting the following output when i access to view diff in right top
> > > corner:
> >
> > > [Error 2] The system cannot find the file specified
> >
> > > Traceback (most recent call last):
> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > > \reviewboard\diffviewer\views.py", line 152, in view_diff
> > >interdiffset, highlighting, True)
> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > > \reviewboard\diffviewer\diffutils.py", line 623, in get_diff_files
> > >large_data=True)
> > >  File "c:\python25\lib\site-packages\Djblets-0.5-py2.5.egg\djblets
> > > \util\misc.py", line 143, in cache_memoize
> > >data = lookup_callable()
> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > > \reviewboard\diffviewer\diffutils.py", line 622, in 
> > >enable_syntax_highlighting),
> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > > \reviewboard\diffviewer\diffutils.py", line 345, in get_chunks
> > >new = get_patched_file(old, filediff)
> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > > \reviewboard\diffviewer\diffutils.py", line 261, in get_patched_file
> > >return patch(filediff.diff, buffer, filediff.dest_file)
> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > > \reviewboard\diffviewer\diffutils.py", line 109, in patch
> > >stderr=subprocess.STDOUT)
> > >  File "C:\Python25\Lib\subprocess.py", line 594, in __init__
> > >errread, errwrite)
> > >  File "C:\Python25\Lib\subprocess.py", line 822, in _execute_child
> > >startupinfo)
> > > WindowsError: [Error 2] The system cannot find the file specified
> >
> > > I'm not sure if this is sufficiently clear to you but if someone havy
> > > an ideia about this please let me know how to workaround this. I think
> > > that this could be due the problem with diff file so the steps that i
> > > made to upload the new review diff file were:
> >
> > > -New review request
> > > -choose the repository (example in my case)
> > > -base diff path : /
> > > -diff: c:\example\
> >
> > > The diff file:
> >
> > > Index: Apache2/conf/httpd.conf
> > > ===
> > > --- Apache2/conf/httpd.conf (revision 3)
> > > +++ Apache2/conf/httpd.conf (working copy)
> > > @@ -467,4 +467,29 @@
> > >AllowOverride All
> > >  
> >
> > > +<<< .mine
> > > +#
> > > +#  Order deny,allow
> > > +#  Allow from all
> > > +#
> > > +
> > > +#Alias /moopion "C:\example\source\example\web"
> > > +
> > > +#
> > > +#  AllowOverride All
> > > +#
> > > +
> > > +
> > > +  Order deny,allow
> > > +  Allow from all
> > > +
> > > +
> > > +Alias /sso "C:\example\source\sso\webdir"
> > > +
> > > +
> > > +  AllowOverride All
> > > +
> > > +
> > > +===
> > > +>>> .r3
> > >  AllowEncodedSlashes On
> >
> > > Thanks in advance. Please if you need some specific further
> > > information, let me know.
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: View diff is failing

2009-06-29 Thread henriquecoelho

I should add that the diff file was generated with tortoisesvn,
creating a patch... Is there any known issue creating the diff in this
way?

On 30 Jun, 00:37, Christian Hammond  wrote:
> GNU patch.exe must be in the path for this to work. It appears that it's not
> able to find this.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.review-board.org
> VMware, Inc. -http://www.vmware.com
>
> On Mon, Jun 29, 2009 at 4:33 PM, henriquecoelho 
> wrote:
>
>
>
> > Hi all,
>
> > I'm having a problem viewing the diff file that i've upload in new
> > review request. I've activated the debug level for reviewboard and i'm
> > getting the following output when i access to view diff in right top
> > corner:
>
> > [Error 2] The system cannot find the file specified
>
> > Traceback (most recent call last):
> >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > \reviewboard\diffviewer\views.py", line 152, in view_diff
> >    interdiffset, highlighting, True)
> >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > \reviewboard\diffviewer\diffutils.py", line 623, in get_diff_files
> >    large_data=True)
> >  File "c:\python25\lib\site-packages\Djblets-0.5-py2.5.egg\djblets
> > \util\misc.py", line 143, in cache_memoize
> >    data = lookup_callable()
> >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > \reviewboard\diffviewer\diffutils.py", line 622, in 
> >    enable_syntax_highlighting),
> >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > \reviewboard\diffviewer\diffutils.py", line 345, in get_chunks
> >    new = get_patched_file(old, filediff)
> >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > \reviewboard\diffviewer\diffutils.py", line 261, in get_patched_file
> >    return patch(filediff.diff, buffer, filediff.dest_file)
> >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > \reviewboard\diffviewer\diffutils.py", line 109, in patch
> >    stderr=subprocess.STDOUT)
> >  File "C:\Python25\Lib\subprocess.py", line 594, in __init__
> >    errread, errwrite)
> >  File "C:\Python25\Lib\subprocess.py", line 822, in _execute_child
> >    startupinfo)
> > WindowsError: [Error 2] The system cannot find the file specified
>
> > I'm not sure if this is sufficiently clear to you but if someone havy
> > an ideia about this please let me know how to workaround this. I think
> > that this could be due the problem with diff file so the steps that i
> > made to upload the new review diff file were:
>
> > -New review request
> > -choose the repository (example in my case)
> > -base diff path : /
> > -diff: c:\example\
>
> > The diff file:
>
> > Index: Apache2/conf/httpd.conf
> > ===
> > --- Apache2/conf/httpd.conf     (revision 3)
> > +++ Apache2/conf/httpd.conf     (working copy)
> > @@ -467,4 +467,29 @@
> >        AllowOverride All
> >  
>
> > +<<< .mine
> > +#
> > +#  Order deny,allow
> > +#  Allow from all
> > +#
> > +
> > +#Alias /moopion "C:\example\source\example\web"
> > +
> > +#
> > +#  AllowOverride All
> > +#
> > +
> > +
> > +  Order deny,allow
> > +  Allow from all
> > +
> > +
> > +Alias /sso "C:\example\source\sso\webdir"
> > +
> > +
> > +  AllowOverride All
> > +
> > +
> > +===
> > +>>> .r3
> >  AllowEncodedSlashes On
>
> > Thanks in advance. Please if you need some specific further
> > information, let me know.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: View diff is failing

2009-06-29 Thread henriquecoelho

Thanks for the quick review :)

In fact i had already the GNU patch.exe installed but not in the path.
I've set the C:\Program Files\GnuWin32\bin\ in the path and the
patch.exe is already defined in the environment vars, however the
error still appears. I'm using apache, so after set in environment the
previous path i've restarted the server but without success. Any other
suggestion?

On 30 Jun, 00:37, Christian Hammond  wrote:
> GNU patch.exe must be in the path for this to work. It appears that it's not
> able to find this.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.review-board.org
> VMware, Inc. -http://www.vmware.com
>
> On Mon, Jun 29, 2009 at 4:33 PM, henriquecoelho 
> wrote:
>
>
>
> > Hi all,
>
> > I'm having a problem viewing the diff file that i've upload in new
> > review request. I've activated the debug level for reviewboard and i'm
> > getting the following output when i access to view diff in right top
> > corner:
>
> > [Error 2] The system cannot find the file specified
>
> > Traceback (most recent call last):
> >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > \reviewboard\diffviewer\views.py", line 152, in view_diff
> >    interdiffset, highlighting, True)
> >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > \reviewboard\diffviewer\diffutils.py", line 623, in get_diff_files
> >    large_data=True)
> >  File "c:\python25\lib\site-packages\Djblets-0.5-py2.5.egg\djblets
> > \util\misc.py", line 143, in cache_memoize
> >    data = lookup_callable()
> >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > \reviewboard\diffviewer\diffutils.py", line 622, in 
> >    enable_syntax_highlighting),
> >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > \reviewboard\diffviewer\diffutils.py", line 345, in get_chunks
> >    new = get_patched_file(old, filediff)
> >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > \reviewboard\diffviewer\diffutils.py", line 261, in get_patched_file
> >    return patch(filediff.diff, buffer, filediff.dest_file)
> >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > \reviewboard\diffviewer\diffutils.py", line 109, in patch
> >    stderr=subprocess.STDOUT)
> >  File "C:\Python25\Lib\subprocess.py", line 594, in __init__
> >    errread, errwrite)
> >  File "C:\Python25\Lib\subprocess.py", line 822, in _execute_child
> >    startupinfo)
> > WindowsError: [Error 2] The system cannot find the file specified
>
> > I'm not sure if this is sufficiently clear to you but if someone havy
> > an ideia about this please let me know how to workaround this. I think
> > that this could be due the problem with diff file so the steps that i
> > made to upload the new review diff file were:
>
> > -New review request
> > -choose the repository (example in my case)
> > -base diff path : /
> > -diff: c:\example\
>
> > The diff file:
>
> > Index: Apache2/conf/httpd.conf
> > ===
> > --- Apache2/conf/httpd.conf     (revision 3)
> > +++ Apache2/conf/httpd.conf     (working copy)
> > @@ -467,4 +467,29 @@
> >        AllowOverride All
> >  
>
> > +<<< .mine
> > +#
> > +#  Order deny,allow
> > +#  Allow from all
> > +#
> > +
> > +#Alias /moopion "C:\example\source\example\web"
> > +
> > +#
> > +#  AllowOverride All
> > +#
> > +
> > +
> > +  Order deny,allow
> > +  Allow from all
> > +
> > +
> > +Alias /sso "C:\example\source\sso\webdir"
> > +
> > +
> > +  AllowOverride All
> > +
> > +
> > +===
> > +>>> .r3
> >  AllowEncodedSlashes On
>
> > Thanks in advance. Please if you need some specific further
> > information, let me know.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: View diff is failing

2009-06-29 Thread Christian Hammond
GNU patch.exe must be in the path for this to work. It appears that it's not
able to find this.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.review-board.org
VMware, Inc. - http://www.vmware.com


On Mon, Jun 29, 2009 at 4:33 PM, henriquecoelho wrote:

>
> Hi all,
>
> I'm having a problem viewing the diff file that i've upload in new
> review request. I've activated the debug level for reviewboard and i'm
> getting the following output when i access to view diff in right top
> corner:
>
> [Error 2] The system cannot find the file specified
>
> Traceback (most recent call last):
>  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> \reviewboard\diffviewer\views.py", line 152, in view_diff
>interdiffset, highlighting, True)
>  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> \reviewboard\diffviewer\diffutils.py", line 623, in get_diff_files
>large_data=True)
>  File "c:\python25\lib\site-packages\Djblets-0.5-py2.5.egg\djblets
> \util\misc.py", line 143, in cache_memoize
>data = lookup_callable()
>  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> \reviewboard\diffviewer\diffutils.py", line 622, in 
>enable_syntax_highlighting),
>  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> \reviewboard\diffviewer\diffutils.py", line 345, in get_chunks
>new = get_patched_file(old, filediff)
>  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> \reviewboard\diffviewer\diffutils.py", line 261, in get_patched_file
>return patch(filediff.diff, buffer, filediff.dest_file)
>  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> \reviewboard\diffviewer\diffutils.py", line 109, in patch
>stderr=subprocess.STDOUT)
>  File "C:\Python25\Lib\subprocess.py", line 594, in __init__
>errread, errwrite)
>  File "C:\Python25\Lib\subprocess.py", line 822, in _execute_child
>startupinfo)
> WindowsError: [Error 2] The system cannot find the file specified
>
> I'm not sure if this is sufficiently clear to you but if someone havy
> an ideia about this please let me know how to workaround this. I think
> that this could be due the problem with diff file so the steps that i
> made to upload the new review diff file were:
>
> -New review request
> -choose the repository (example in my case)
> -base diff path : /
> -diff: c:\example\
>
> The diff file:
>
> Index: Apache2/conf/httpd.conf
> ===
> --- Apache2/conf/httpd.conf (revision 3)
> +++ Apache2/conf/httpd.conf (working copy)
> @@ -467,4 +467,29 @@
>AllowOverride All
>  
>
> +<<< .mine
> +#
> +#  Order deny,allow
> +#  Allow from all
> +#
> +
> +#Alias /moopion "C:\example\source\example\web"
> +
> +#
> +#  AllowOverride All
> +#
> +
> +
> +  Order deny,allow
> +  Allow from all
> +
> +
> +Alias /sso "C:\example\source\sso\webdir"
> +
> +
> +  AllowOverride All
> +
> +
> +===
> +>>> .r3
>  AllowEncodedSlashes On
>
> Thanks in advance. Please if you need some specific further
> information, let me know.
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



View diff is failing

2009-06-29 Thread henriquecoelho

Hi all,

I'm having a problem viewing the diff file that i've upload in new
review request. I've activated the debug level for reviewboard and i'm
getting the following output when i access to view diff in right top
corner:

[Error 2] The system cannot find the file specified

Traceback (most recent call last):
  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
\reviewboard\diffviewer\views.py", line 152, in view_diff
interdiffset, highlighting, True)
  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
\reviewboard\diffviewer\diffutils.py", line 623, in get_diff_files
large_data=True)
  File "c:\python25\lib\site-packages\Djblets-0.5-py2.5.egg\djblets
\util\misc.py", line 143, in cache_memoize
data = lookup_callable()
  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
\reviewboard\diffviewer\diffutils.py", line 622, in 
enable_syntax_highlighting),
  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
\reviewboard\diffviewer\diffutils.py", line 345, in get_chunks
new = get_patched_file(old, filediff)
  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
\reviewboard\diffviewer\diffutils.py", line 261, in get_patched_file
return patch(filediff.diff, buffer, filediff.dest_file)
  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
\reviewboard\diffviewer\diffutils.py", line 109, in patch
stderr=subprocess.STDOUT)
  File "C:\Python25\Lib\subprocess.py", line 594, in __init__
errread, errwrite)
  File "C:\Python25\Lib\subprocess.py", line 822, in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified

I'm not sure if this is sufficiently clear to you but if someone havy
an ideia about this please let me know how to workaround this. I think
that this could be due the problem with diff file so the steps that i
made to upload the new review diff file were:

-New review request
-choose the repository (example in my case)
-base diff path : /
-diff: c:\example\

The diff file:

Index: Apache2/conf/httpd.conf
===
--- Apache2/conf/httpd.conf (revision 3)
+++ Apache2/conf/httpd.conf (working copy)
@@ -467,4 +467,29 @@
AllowOverride All
 

+<<< .mine
+#
+#  Order deny,allow
+#  Allow from all
+#
+
+#Alias /moopion "C:\example\source\example\web"
+
+#
+#  AllowOverride All
+#
+
+
+  Order deny,allow
+  Allow from all
+
+
+Alias /sso "C:\example\source\sso\webdir"
+
+
+  AllowOverride All
+
+
+===
+>>> .r3
 AllowEncodedSlashes On

Thanks in advance. Please if you need some specific further
information, let me know.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---