i installed p4 tool also @ the server m/c, but still getting the same error.
The p4 is also in path environment variable.

On 11/16/09, Christian Hammond <chip...@chipx86.com> wrote:
> fields should be empty. That's okay.
>
> p4python25.exe just installs the Python modules. You still need p4.exe on
> the server in the path. The Python support uses both the tool and the API.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Mon, Nov 16, 2009 at 12:52 AM, developer 236
> <developer...@gmail.com>wrote:
>
>>
>> i have installed 'p4python25.exe' (python binding to perforce API) on
>> server.
>>
>> Also i put some print statements in upload_diff(...) in script file.
>> before calling self.api_post('api/json/reviewrequests/%s/diff/new/' %
>>                     review_request['id'], fields, files)
>>
>>  and the o/p was
>> ---------------------------------------------------------------
>> >>> p4 info
>> >>> repository info: Path: repo_path, Base path: None, supports
>> >>> changesets:
>> True
>> ..............
>> >>> Uploading diff, size: 280
>> fields :: {}
>> files :: {'path': {'content': '---
>>
>> //depot/rel/orion1/CBO/Core/BoUtils/BoUtils.cpp\t//depot/rel/orion1/CBO/Core/BoUtils/
>> BoUtils.cpp#4\n+++
>> //depot/rel/orion1/CBO/Core/BoUtils/BoUtils.cpp\t2009-11-16
>> 12:37:45\n@@ -1,3 +1,4 @@\r\n+// RB test\
>> r\n // BoUtils.cpp : Defines the initialization routines for the
>> DLL.\r\n //\r\n \r\n', 'filename': 'diff'}}
>> >>> HTTP POSTing to
>> http://xyz:80/reviewboard/api/json/reviewrequests/3/diff/new/: {}
>> Error uploading diff: One or more fields had errors (105)
>> >>> {'fields': {'path': ['[Error 2] The system cannot find the file
>> specified']}, 'stat': 'fail', 'err': {'msg': 'One or
>>  more fields had errors', 'code': 105}}
>> Your review request still exists, but the diff is not attached.
>> ---------------------------------------------------------------
>>
>> the above o/p shows that when it tries to post the diff, get the
>> 'fields' as empty. Also as per the 2nd line of o/p the base path is
>> also None. Is that gives any idea...
>>
>> On 11/16/09, Christian Hammond <chip...@chipx86.com> wrote:
>> > Yeah, it's on the server side. When you post a diff, Review Board will
>> > verify the existence of each file. For Perforce repositories, it does
>> this
>> > using the p4 command line tool.
>> >
>> > There's instructions in the documentation for installing this.
>> >
>> > Christian
>> >
>> > --
>> > Christian Hammond - chip...@chipx86.com
>> > Review Board - http://www.reviewboard.org
>> > VMware, Inc. - http://www.vmware.com
>> >
>> >
>> > On Mon, Nov 16, 2009 at 12:34 AM, developer 236
>> > <developer...@gmail.com>wrote:
>> >
>> >>
>> >> i have ReviewBoard 1.0.5.1 on server.
>> >> I am not clear with ' adding P4 in web server's path'. Shall i check @
>> >> server side??
>> >>
>> >> On 11/16/09, Christian Hammond <chip...@chipx86.com> wrote:
>> >> > I can't tell which version of Review Board you're using, but it
>> >> > sounds
>> >> like
>> >> > you're missing a dependency on the server. Make sure that p4 is in
>> >> > the
>> >> web
>> >> > server's path.
>> >> >
>> >> > Christian
>> >> >
>> >> > --
>> >> > Christian Hammond - chip...@chipx86.com
>> >> > Review Board - http://www.reviewboard.org
>> >> > VMware, Inc. - http://www.vmware.com
>> >> >
>> >> >
>> >> > On Sun, Nov 15, 2009 at 11:28 PM, developer 236
>> >> > <developer...@gmail.com>wrote:
>> >> >
>> >> >>
>> >> >> Hi,
>> >> >>
>> >> >> I have setup RB server on windows 2003  and making my m/c win-xp as
>> >> >> client. when m trying to create review request from perforce getting
>> >> >> following error:
>> >> >>
>> >> >> C:\>python C:\Python25\Scripts\post-review.orig.py --debug -p -d
>> >> >> 512792
>> >> >> >>> p4 info
>> >> >> >>> repository info: Path: repo_path, Base path: None, Supports
>> >> >> >>> changesets:
>> >> >> True
>> >> >> >>> Generating diff for changenum 512792
>> >> >> >>> p4 describe -s 512792
>> >> >> >>> Processing edit of
>> //depot/rel/orion1/CBO/Core/BoUtils/BoUtils.cpp
>> >> >> >>> Writing "//depot/rel/orion1/CBO/Core/BoUtils/BoUtils.cpp#4" to
>> >> >> "c:\docume~1\abcd\locals~1\temp\tmpbx1phh"
>> >> >> >>> p4 print -o c:\docume~1\abcd\locals~1\temp\tmpbx1phh -q
>> >> >> //depot/rel/orion1/CBO/Core/BoUtils/BoUtils.cpp#4
>> >> >> >>> diff -urNp c:\docume~1\abcd\locals~1\temp\tmpbx1phh
>> >> >> C:\abcd\Perforce\depot\rel\orion1\CBO\Core\BoUtils\BoUtils
>> >> >> .cpp
>> >> >> >>> Looking for 'xyz /reviewboard/' cookie in C:\Documents and
>> >> >> Settings\abcd\Local Settings\Application Dat
>> >> >> a\.post-review-cookies.txt
>> >> >> >>> Cookie file loaded, but no cookie for this server
>> >> >> ==> Review Board Login Required
>> >> >> Enter username and password for Review Board at
>> >> http://xyz:80/reviewboard/
>> >> >> Username :
>> >> >>  abcd
>> >> >> Password :
>> >> >>  abcd
>> >> >> >>> Logging in with username "abcd"
>> >> >> >>> HTTP POSTing to
>> http://xyz:80/reviewboard/api/json/accounts/login/:
>> >> >> {'username': 'abcd', 'password': '*
>> >> >> *************'}
>> >> >> >>> Logged in.
>> >> >> >>> Attempting to create review request for 512792
>> >> >> >>> HTTP POSTing to
>> >> >> >>> http://xyz:80/reviewboard/api/json/reviewrequests/new/:
>> >> >> {'repository_path': 'repo path', 'changenum': '512792'}
>> >> >> >>> Review request already exists. Updating it...
>> >> >> >>> HTTP POSTing to
>> >> >>
>> >>
>> http://xyz:80/reviewboard/api/json/reviewrequests/3/update_from_changenum/
>> >> :
>> >> >> {}
>> >> >> >>> Review request created
>> >> >> >>> Uploading diff, size: 280
>> >> >> >>> HTTP POSTing to
>> >> >> http://xyz:80/reviewboard/api/json/reviewrequests/3/diff/new/: {}
>> >> >> Error uploading diff: One or more fields had errors (105)
>> >> >> >>> {'fields': {'path': ['[Error 2] The system cannot find the file
>> >> >> specified']}, 'stat': 'fail', 'err': {'msg': 'One or
>> >> >>  more fields had errors', 'code': 105}}
>> >> >> Your review request still exists, but the diff is not attached.
>> >> >>
>> >> >>
>> >>
>> --------------------------------------------------------------------------------------------------------------------------------------
>> >> >>
>> >> >> i have invested around 5 hrs but could not find the solution. Have i
>> >> >> made any mistake in adding repository??
>> >> >> Kindly suggest.
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> > To unsubscribe from this group, send email to
>> >> >> reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
>> <reviewboard%2bunsubscr...@googlegroups.com<reviewboard%252bunsubscr...@googlegroups.com>
>> >
>> >> <reviewboard%2bunsubscr...@googlegroups.com<reviewboard%252bunsubscr...@googlegroups.com>
>> <reviewboard%252bunsubscr...@googlegroups.com<reviewboard%25252bunsubscr...@googlegroups.com>
>> >
>> >> >
>> >> >> For more options, visit this group at
>> >> >> http://groups.google.com/group/reviewboard?hl=en
>> >> >> -~----------~----~----~----~------~----~------~--~---
>> >> >>
>> >> >>
>> >> >
>> >> > > To unsubscribe from this group, send email to
>> >> > reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
>> <reviewboard%2bunsubscr...@googlegroups.com<reviewboard%252bunsubscr...@googlegroups.com>
>> >
>> >> > For more options, visit this group at
>> >> > http://groups.google.com/group/reviewboard?hl=en
>> >> > -~----------~----~----~----~------~----~------~--~---
>> >> >
>> >> >
>> >>
>> >> > To unsubscribe from this group, send email to
>> >> reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
>> <reviewboard%2bunsubscr...@googlegroups.com<reviewboard%252bunsubscr...@googlegroups.com>
>> >
>> >> For more options, visit this group at
>> >> http://groups.google.com/group/reviewboard?hl=en
>> >> -~----------~----~----~----~------~----~------~--~---
>> >>
>> >>
>> >
>> > > To unsubscribe from this group, send email to
>> > reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
>> > For more options, visit this group at
>> > http://groups.google.com/group/reviewboard?hl=en
>> > -~----------~----~----~----~------~----~------~--~---
>> >
>> >
>>
>> > To unsubscribe from this group, send email to
>> reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
>> For more options, visit this group at
>> http://groups.google.com/group/reviewboard?hl=en
>> -~----------~----~----~----~------~----~------~--~---
>>
>>
>
> > 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
> -~----------~----~----~----~------~----~------~--~---
>
>

--~--~---------~--~----~------------~-------~--~----~
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to