RE: Error uploading diff: One or more fields had errors (105) - Errors during command execution( p4 login )

2010-07-14 Thread Dana Lacoste
Sorry, I was away for a few days, so I didn't reply right away

 

Here's your debug steps:

 

On the _SERVER_ side of ReviewBoard, run the command p4 info.  It
should connect to perforce and show you something like this:

User name: p4user

Client name: p4clientspecname

Client host: client-hostname

Client root: C:\Perforce\p4clientspecname

Current directory: C:\Perforce\p4clientspecname

Client address: 123.45.67.89

Server address: 98.76.54.32:1666

Server root: D:\Perforce

Server date: 2010/07/14 11:07:16 -0700 Pacific Daylight Time

Server uptime: 12:34:56

Server version: P4D/NTX86/2009.2/238357 (2010/03/15)

Server license: Company Name (Number of Users)

Server license-ip: 98.76.54.32:1666

 

This will verify that your connection is running.

 

Note that you MUST be in the EXACT same running conditions as
ReviewBoard: You must have the same username, the same environment, etc.

If you are running on Windows, for example, and running ReviewBoard
under Apache as a service, then you might have severe difficulty trying
to pretend to be the same username that the service runs as!

 

If you get an error about unable to connect to Perforce, then you are
missing or have incorrect P4PORT, etc environment variables.

 

If it does work, well, if you can do that part and let us know we can
maybe track down a more complete solution

 

Dana Lacoste

 

 

On Thu, Jul 8, 2010 at 10:37 PM, Chidambar Kulkarni
chidambar.sk http://chidambar.sk/ @gmail.com http://gmail.com/ 
wrote:
 Tried setting these variables but no luck. :(

 Please help!!!

 On Wed, Jul 7, 2010 at 12:19 AM, Dana Lacoste dlaco...@aperio.com
wrote:

 It looks like you're having a server-side Perforce issue.

 Basically, the review board server has to be able to talk to Perforce
 (not just the client-side) and it's having a login issue.

 So you can run p4 commands and it's working fine, but the server is
 unable to do so.

 You should be able to fix this by setting up P4PORT, P4USER,
P4PASSWD,
 and P4CLIENT variables on the server side.

 Dana Lacoste

 -Original Message-
 From: reviewboard@googlegroups.com
[mailto:reviewbo...@googlegroups.com]
 On Behalf Of Chidambar
 Sent: Tuesday, July 06, 2010 5:03 AM
 To: reviewboard
 Subject: Error uploading diff: One or more fields had errors (105) -
 Errors during command execution( p4 login )

 I am unable to post the review. PSB.

 ...

  HTTP POSTing to
http://ESMRB/api/json/reviewrequests/15/diff/new/:
 {}
 Error uploading diff: One or more fields had errors (105)
  {'fields': {'path': ['[P4#run] Errors during command execution(
p4
 login )
 \n\n\t[Error]: Password invalid.\n\n']}, 'stat': 'fail', 'err':
 {'msg': 'One or
 more fields had errors', 'code': 105}}
 Your review request still exists, but the diff is not attached.

 Any help would be greatly appreciated.

 --
 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
mailto:reviewboard%2bunsubscr...@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
mailto:reviewboard%2bunsubscr...@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
mailto:reviewboard%2bunsubscr...@googlegroups.com 
For more options, visit this group at
http://groups.google.com/group/reviewboard?hl=en




-- 
Chidambar Kulkarni

-- 
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

-- 
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

Re: Error uploading diff: One or more fields had errors (105) - Errors during command execution( p4 login )

2010-07-09 Thread Chidambar Kulkarni
Tried setting these variables but no luck. :(

Please help!!!

On Wed, Jul 7, 2010 at 12:19 AM, Dana Lacoste dlaco...@aperio.com wrote:

 It looks like you're having a server-side Perforce issue.

 Basically, the review board server has to be able to talk to Perforce
 (not just the client-side) and it's having a login issue.

 So you can run p4 commands and it's working fine, but the server is
 unable to do so.

 You should be able to fix this by setting up P4PORT, P4USER, P4PASSWD,
 and P4CLIENT variables on the server side.

 Dana Lacoste

 -Original Message-
 From: reviewboard@googlegroups.com [mailto:reviewbo...@googlegroups.com]
 On Behalf Of Chidambar
 Sent: Tuesday, July 06, 2010 5:03 AM
 To: reviewboard
 Subject: Error uploading diff: One or more fields had errors (105) -
 Errors during command execution( p4 login )

 I am unable to post the review. PSB.

 ...

  HTTP POSTing to 
  http://ESMRB/api/json/reviewrequests/15/diff/new/http://esmrb/api/json/reviewrequests/15/diff/new/
 :
 {}
 Error uploading diff: One or more fields had errors (105)
  {'fields': {'path': ['[P4#run] Errors during command execution( p4
 login )
 \n\n\t[Error]: Password invalid.\n\n']}, 'stat': 'fail', 'err':
 {'msg': 'One or
 more fields had errors', 'code': 105}}
 Your review request still exists, but the diff is not attached.

 Any help would be greatly appreciated.

 --
 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.comreviewboard%2bunsubscr...@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

Error uploading diff: One or more fields had errors (105) - Errors during command execution( p4 login )

2010-07-06 Thread Chidambar
I am unable to post the review. PSB.

D:\ReviewBoard\toolspython post-review -d 667521
 Repository info 'Path: perforce2.ges.symc.com:1666, Base path: None, Sup
ports changesets: True'
 Generating diff for changenum 667521
 p4 describe -s 667521
 Processing edit of 
 //depot/Enterprise_Security_Manager/core/ESMSULU/csrc/server/_nt.mak
 Writing 
 //depot/Enterprise_Security_Manager/core/ESMSULU/csrc/server/_nt.mak#1 to 
 c:\docume~1\admini~1\locals~1\temp\1\tmppremcg
 p4 print -q 
 //depot/Enterprise_Security_Manager/core/ESMSULU/csrc/server/_nt.mak#1
 p4 where 
 //depot/Enterprise_Security_Manager/core/ESMSULU/csrc/server/_nt.mak
 diff -urNp c:\docume~1\admini~1\locals~1\temp\1\tmppremcg 
 D:/P4\Enterprise_Security_Manager\core\ESMSULU\csrc\server\_nt.mak
 Processing edit of 
 //depot/Enterprise_Security_Manager/Docs/Dev/PuneDocs/Common/Dev Test 
 Machine Details.xls
 Writing //depot/Enterprise_Security_Manager/Docs/Dev/PuneDocs/Common/Dev 
 Test Machine Details.xls#656 to 
 c:\docume~1\admini~1\locals~1\temp\1\tmppremcg
 p4 print -q 
 //depot/Enterprise_Security_Manager/Docs/Dev/PuneDocs/Common/Dev Test 
 Machine Details.xls#656
 p4 where //depot/Enterprise_Security_Manager/Docs/Dev/PuneDocs/Common/Dev 
 Test Machine Details.xls
 diff -urNp c:\docume~1\admini~1\locals~1\temp\1\tmppremcg Machine
 Looking for 'ESMRB /' cookie in C:\Documents and 
 Settings\Administrator\Local Settings\Application 
 Data\.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://ESMRB/
Username: abc
Password: xyz
 Logging in with username abc
 HTTP POSTing to http://ESMRB/api/json/accounts/login/: {'username': 'abc', 
 'password': '**'}
 Logged in.
 Attempting to create review request for 667521
 HTTP POSTing to http://ESMRB/api/json/reviewrequests/new/: {'repository_path
': 'perforce2.ges.symc.com:1666', 'changenum': '667521'}
 Review request already exists. Updating it...
 HTTP POSTing to http://ESMRB/api/json/reviewrequests/15/update_from_changenu
m/: {}
 Review request created
 Uploading diff, size: 1115
 HTTP POSTing to http://ESMRB/api/json/reviewrequests/15/diff/new/: {}
Error uploading diff: One or more fields had errors (105)
 {'fields': {'path': ['[P4#run] Errors during command execution( p4 login )
\n\n\t[Error]: Password invalid.\n\n']}, 'stat': 'fail', 'err':
{'msg': 'One or
more fields had errors', 'code': 105}}
Your review request still exists, but the diff is not attached.

Any help would be greatly appreciated.

-- 
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


RE: Error uploading diff: One or more fields had errors (105) - Errors during command execution( p4 login )

2010-07-06 Thread Dana Lacoste
It looks like you're having a server-side Perforce issue.

Basically, the review board server has to be able to talk to Perforce
(not just the client-side) and it's having a login issue.

So you can run p4 commands and it's working fine, but the server is
unable to do so.

You should be able to fix this by setting up P4PORT, P4USER, P4PASSWD,
and P4CLIENT variables on the server side.

Dana Lacoste

-Original Message-
From: reviewboard@googlegroups.com [mailto:reviewbo...@googlegroups.com]
On Behalf Of Chidambar
Sent: Tuesday, July 06, 2010 5:03 AM
To: reviewboard
Subject: Error uploading diff: One or more fields had errors (105) -
Errors during command execution( p4 login )

I am unable to post the review. PSB.

...

 HTTP POSTing to http://ESMRB/api/json/reviewrequests/15/diff/new/:
{}
Error uploading diff: One or more fields had errors (105)
 {'fields': {'path': ['[P4#run] Errors during command execution( p4
login )
\n\n\t[Error]: Password invalid.\n\n']}, 'stat': 'fail', 'err':
{'msg': 'One or
more fields had errors', 'code': 105}}
Your review request still exists, but the diff is not attached.

Any help would be greatly appreciated.

-- 
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


Re: Error uploading diff: One or more fields had errors (105)

2009-11-16 Thread developer 236

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.comwrote:


 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.comreviewboard%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
-~--~~~~--~~--~--~---




Re: Error uploading diff: One or more fields had errors (105)

2009-11-16 Thread Christian Hammond
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.comwrote:


 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.comwrote:
 
 
  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.comreviewboard%2bunsubscr...@googlegroups.com
 reviewboard%2bunsubscr...@googlegroups.comreviewboard%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.comreviewboard%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.comreviewboard%2bunsubscr...@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
-~--~~~~--~~--~--~---



Re[2]: Error uploading diff: One or more fields had errors (105)

2009-11-16 Thread lmar

What about other types of repositaries ? Subversion for example? Is the p4 
needed for post diffs ?


-Original Message-
From: Christian Hammond chip...@chipx86.com
To: reviewboard@googlegroups.com
Date: Mon, 16 Nov 2009 00:37:11 -0800
Subject: Re: Error uploading diff: One or more fields had errors (105)

 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.comwrote:
 
 
  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.comwrote:
  
  
   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.comreviewboard%2bunsubscr...@googlegroups.com
  reviewboard%2bunsubscr...@googlegroups.comreviewboard%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.comreviewboard%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.comreviewboard%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

Re: Error uploading diff: One or more fields had errors (105)

2009-11-16 Thread developer 236

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.comwrote:


 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.comwrote:
 
 
  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

Re: Error uploading diff: One or more fields had errors (105)

2009-11-16 Thread developer 236

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.comwrote:


 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.comwrote:
 
 
  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.comwrote:
  
  
   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

Re: Error uploading diff: One or more fields had errors (105)

2009-11-16 Thread Thilo-Alexander Ginkel

On Monday 16 November 2009 11:50:36 developer 236 wrote:
 i installed p4 tool also @ the server m/c, but still getting the same
  error. The p4 is also in path environment variable.

Is the PATH modification also visible to the Apache process hosting Review 
Board? I don't know which OS you are running, but under Windows changing the 
System PATH in the Control Panel is required, but not sufficient to update the 
search path for a service. Typically at least a service (if not server) 
restart is needed to propagate the environment modification to the service 
process.

Regards,
Thilo

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Error uploading diff: One or more fields had errors (105)

2009-11-15 Thread developer 236

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.






--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---