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 
 

Re: Help to configure Review Board

2009-11-16 Thread lmar

dependency_error('Unable to
read settings_local.py.')

Русский:
Посмотри в каталожке где_лежит_ревьюборд/conf файлик settings_local.py - 
возможно там есть похожий, типа settings_local.py.orig - его надо поправить 
под себя и переименовать.

Eng:
It's seemed like a setup issue - after install we need to edit and rename 
configuration file from something like settings_local.py.orig to 
settings_local.py - I dont remember how it named exactly.


-Original Message-
From: Roman Prikhodchenko romcheg.pri...@gmail.com
To: reviewboard reviewboard@googlegroups.com
Date: Mon, 16 Nov 2009 05:41:06 -0800 (PST)
Subject: Help to configure Review Board

 
 Hi!
 
 My name is Roman, I'm a software developer in a small new company.
 Actually I'm not a system administrator but I was chosen to configure
 some services for project development because there is no system
 administrator in our company yet. One of these services is Review
 Board.
 
 I have a Debian Linux server with Apache 2 and Python 2.5 installed.
 I've configured the Review Board according to this manual
 http://www.reviewboard.org/docs/manual/dev/admin/installation/linux/
 and created a site according to this
 http://www.reviewboard.org/docs/manual/dev/admin/sites/creating-sites/#creatingsites.
 Then I've configured Apache using mod_python but when I'm trying to
 enter this site with browser I get an Internal Server Error message.
 
 You can read detailed information about my problem and configuration
 below. Thanks a lot!
 
 
 Site created at /srv/Reviews/Catalog/
 
 Logs:
 
 [Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] mod_python
 (pid=32745, interpreter='ourserver.address', phase='PythonHandler',
 handler='django.core.handlers.modpython'): Application error
 [Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] ServerName:
 'ourserver.address'
 [Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78]
 DocumentRoot: '/srv/Reviews/Catalog'
 [Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] URI: '/'
 [Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] Location:
 '/'
 [Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] Directory:
 None
 [Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] Filename: '/
 srv/Reviews/Catalog/'
 [Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] PathInfo: ''
 [Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] Traceback
 (most recent call last):
 [Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78]   File /usr/
 lib/python2.5/site-packages/mod_python/importer.py, line 1537, in
 HandlerDispatch\ndefault=default_handler, arg=req,
 silent=hlist.silent)
 [Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78]   File /usr/
 lib/python2.5/site-packages/mod_python/importer.py, line 1229, in
 _process_target\nresult = _execute_target(config, req, object,
 arg)
 [Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78]   File /usr/
 lib/python2.5/site-packages/mod_python/importer.py, line 1128, in
 _execute_target\nresult = object(arg)
 [Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78]   File /usr/
 lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/core/
 handlers/modpython.py, line 228, in handler\nreturn
 ModPythonHandler()(req)
 [Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78]   File /usr/
 lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/core/
 handlers/modpython.py, line 191, in __call__\nself.load_middleware
 ()
 [Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78]   File /usr/
 lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/core/
 handlers/base.py, line 33, in load_middleware\nfor
 middleware_path in settings.MIDDLEWARE_CLASSES:
 [Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78]   File /usr/
 lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/utils/
 functional.py, line 269, in __getattr__\nself._setup()
 [Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78]   File /usr/
 lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/conf/
 __init__.py, line 40, in _setup\nself._wrapped = Settings
 (settings_module)
 [Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78]   File /usr/
 lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/conf/
 __init__.py, line 73, in __init__\nmod = importlib.import_module
 (self.SETTINGS_MODULE)
 [Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78]   File /usr/
 lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/utils/
 importlib.py, line 35, in import_module\n__import__(name)
 [Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78]   File /usr/
 lib/python2.5/site-packages/ReviewBoard-1.0.5.1-py2.5.egg/reviewboard/
 settings.py, line 152, in module\ndependency_error('Unable to
 read settings_local.py.')
 [Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78]   File /usr/
 lib/python2.5/site-packages/ReviewBoard-1.0.5.1-py2.5.egg/reviewboard/
 settings.py, line 141, in dependency_error\n