Re: Active Directory - Can't Assign New User to Review

2014-07-17 Thread Jason Batchkoff
*bump bump*

Anyone?  Still haven't figured out how to get a local change to the py
scripts to reflect correctly in the running copy.


On Wed, Jul 2, 2014 at 9:58 AM, fireworm firewor...@gmail.com wrote:

 *bump*

 Anyone have any ideas?


 On Thursday, June 26, 2014 11:53:46 AM UTC-7, fireworm wrote:

 Removed the pyc file (review_request.pyc).
 Set myself as the owner (not www-data or admin or whatever).
 Restarted apache.
 Refreshed the review webpage.
 Page loaded just fine, no pyc next to review_request.py.

 Seems super suspicious.

 On Thursday, June 26, 2014 11:47:41 AM UTC-7, Christian Hammond wrote:

 Yeah, it does sound like it’s not executing.

 Try removing the .pyc file, just to check.

 Christian
 --
 Christian Hammond - chri...@beanbaginc.com
 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com

 On June 26, 2014 at 10:12:41 AM, fireworm (firew...@gmail.com) wrote:

 Ok, adding garbage text to the python is not causing the server to go
 down, I'm thinking my updates aren't taking effect.

 More sanity checking: I don't have any of the developer code installed
 and am modifying the install itself, right?  I don't need to update an
 executable somewhere forcibly?

 The folder which I'm updating the python is in:

  /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-
 py2.7.egg/reviewboard

 I see the pyc get updated, but again, it just runs happily, which seems
 very suspicious to me.

 I even put logging in webapi/resources/review_request.py, in
 _find_user(), which didn't update.

 Does any of this make sense?

 On Thursday, June 26, 2014 9:46:30 AM UTC-7, fireworm wrote:

 ...I get the feeling my changes to the python are somehow not being
 actually run.

 Is there a place I can put a logging.debug() call that absolutely gets
 hit 100% of the time to make sure i can see it?

 On Thursday, June 26, 2014 9:19:22 AM UTC-7, fireworm wrote:

 Local Site: Not that I'm aware. (I don't know what it is...)

 Yep, Authentication Settings are Active Directory.  (New Users can
 login via AD just fine.)

 On Thursday, June 26, 2014 12:49:57 AM UTC-7, Christian Hammond wrote:

  Hmm, it should be called under those conditions.

  Just to check, are you using the Local Sites feature? (If you don’t
 know what that is, then no.)

  Can you also just verify in Authentication Settings that it’s Active
 Directory and not LDAP?

  Christian

   --
  Christian Hammond - chri...@beanbaginc.com
  Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com

 On June 25, 2014 at 9:21:24 AM, fireworm (firew...@gmail.com) wrote:

  Christian:

 Open an existing review open in the RB website.
 Click the pencil under 'People' (which brings up a text box that is
 empty (no one is currently on the review)).
 Type in a name in our domain that doesn't have an account yet.
  (Other accounts show up in the 'intellisense'.)
 Hit Enter.
 Message in red says User 'the name I typed in' does not exist.

 Bruce:

 Yes, looking at the server log I even see other logs at DEBUG and
 INFO level.

18:08:32 WARNING

  - 
 /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/http/response.py:327:
  DeprecationWarning: Using mimetype keyword argument is deprecated, use 
 content_type instead
   super(HttpResponse, self).__init__(*args, **kwargs)

   18:52:28 DEBUG

  - DiffParser.parse: Beginning parse of diff, size = 16150


 On Wednesday, June 25, 2014 7:41:39 AM UTC-7, Bruce Cran wrote:

  Have you bumped the logging level to DEBUG in the admin settings?

 --
 Bruce


 On Tue, Jun 24, 2014 at 7:02 PM, fireworm firew...@gmail.com
 wrote:

 I modified the one in /usr/local/lib/python2.7/
 dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/accounts/backend.py


 Then I restarted Apache, and reloaded the page, and tried to add a
 user who doesn't have an RB account.

 (I see an updated pyc in that folder as well)

 But I don't see anything in reviewboard.log or the apache error.log.

 --
 Get the Review Board Power Pack at http://www.reviewboard.org/
 powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google
 Groups reviewboard group.
 To unsubscribe from this group and stop receiving emails from it,
 send an email to reviewboard...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

  --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google
 Groups reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to reviewboard...@googlegroups.com.
 For more options, visit 

Re: Active Directory - Can't Assign New User to Review

2014-07-17 Thread Bruce Cran
Do you also need to restart memcached?

-- 
Bruce


On Thu, Jul 17, 2014 at 9:51 AM, Jason Batchkoff firewor...@gmail.com
wrote:

 *bump bump*

 Anyone?  Still haven't figured out how to get a local change to the py
 scripts to reflect correctly in the running copy.


-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Formatting errors in description field

2014-07-17 Thread David Trowbridge
Can you show what the source markdown looks like? (Click the pencil and
then copy/paste/redact)

-David


On Thu, Jul 17, 2014 at 2:34 AM, Philip Schiffer 
philip.schif...@sprylab.com wrote:

 Hello everyone,
 I have upgraded our reviewboard installation from 1.7.x to 2.0.3.
 Unfortunately we have some issues with the formatting of the description
 field. We are using the post-review tool in our scripts to post our
 reviews. Inside the description field we put the git commit log entries.
 As you can see in the attachment, there are problems displaying the links.

 I've searched the bug tracker but unfortunately I'm getting http 500
 errors from google code for this issue:
 https://code.google.com/p/reviewboard/issues/detail?id=3377

 --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google Groups
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to reviewboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unable to installing Extensions on RB 2.0.3

2014-07-17 Thread Sara Rayburn
I am getting the same errors as MoonWalker.

On Tuesday, July 15, 2014 6:29:14 PM UTC-5, MoonWalker wrote:

 I am using RB 2.0.3 and I tried to install the following extensions but 
 seems like they are not available (easy_install is not able to find them) , 
 am I missing something here?

 https://www.reviewboard.org/store/products/6/

 https://www.reviewboard.org/store/products/2/



-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adding a new diff to existent review Loops on loading

2014-07-17 Thread David Trowbridge
Can you use the Network tab to find the contents of the response (the one
returning HTTP 400)?

-David


On Wed, Jul 16, 2014 at 7:44 PM, MoonWalker daniel.cabrera...@gmail.com
wrote:

 sorry, this is the full one


1. POST http://codereview.devneta.local/api/review-requests/559/diffs/
400 (BAD REQUEST) jquery-1.8.2.min.js:2
   1. sendjquery-1.8.2.min.js:2
   2. p.extend.ajaxjquery-1.8.2.min.js:2
   3. fileUploadXhr3rdparty.min.js:4
   4. $.fn.ajaxSubmit3rdparty.min.js:4
   5. doCallbase.min.js:1
   6. nextjquery.gravy.min.js:1
   7. startjquery.gravy.min.js:1
   8. RB.apiCallbase.min.js:1
   9. Backbone.ajaxbase.min.js:1
   10. a.sync3rdparty.min.js:4
   11. RB.BaseResource.Backbone.Model.extend.syncbase.min.js:1
   12. h.extend.save3rdparty.min.js:3
   13. RB.BaseResource.Backbone.Model.extend._saveObjectbase.min.js:1
   14. ready.readybase.min.js:1
   15. RB.BaseResource.Backbone.Model.extend.readybase.min.js:1
   16. RB.BaseResource.Backbone.Model.extend.ensureCreatedbase.min.js:1
   17. ready.readybase.min.js:1
   18. RB.BaseResource.Backbone.Model.extend.readybase.min.js:1
   19. RB.BaseResource.Backbone.Model.extend.readybase.min.js:1
   20. RB.BaseResource.Backbone.Model.extend.savebase.min.js:1
   21. sendbase.min.js:1
   22. (anonymous function)base.min.js:1
   23. p.event.dispatchjquery-1.8.2.min.js:2
   24. g.handle.hjquery-1.8.2.min.js:2
   25. p.event.triggerjquery-1.8.2.min.js:2
   26. (anonymous function)jquery-1.8.2.min.js:2
   27. p.extend.eachjquery-1.8.2.min.js:2
   28. p.fn.p.eachjquery-1.8.2.min.js:2
   29. p.fn.extend.triggerjquery-1.8.2.min.js:2
   30. p.fn.(anonymous function)jquery-1.8.2.min.js:2
   31. (anonymous function)base.min.js:1
   32. p.event.dispatchjquery-1.8.2.min.js:2
   33. g.handle.hjquery-1.8.2.min.js:2


1. Uncaught TypeError: Cannot read property 'msg' of undefined
base.min.js:1
   1. displayErrorsbase.min.js:1
   2. options.dataStoreObject.save.errorbase.min.js:1
   3. (anonymous function)base.min.js:1
   4. e.error3rdparty.min.js:4
   5. (anonymous function)base.min.js:1
   6. kjquery-1.8.2.min.js:2
   7. l.fireWithjquery-1.8.2.min.js:2
   8. yjquery-1.8.2.min.js:2
   9. d


 On Thursday, July 17, 2014 12:42:21 PM UTC+10, MoonWalker wrote:

 I noticed this issue several times, and I enabled all the logs and some
 how there is zero information on them about this issue. I enabled
 JavaScript console in my browser (chrome latest version under Windows 7)
 and this is what  I get.


1. Uncaught TypeError: Cannot read property 'msg' of undefined
base.min.js:1
   1. displayErrorsbase.min.js:1
   2. options.dataStoreObject.save.errorbase.min.js:1
   3. (anonymous function)base.min.js:1
   4. e.error3rdparty.min.js:4
   5. (anonymous function)base.min.js:1
   6. kjquery-1.8.2.min.js:2
   7. l.fireWithjquery-1.8.2.min.js:2
   8. yjquery-1.8.2.min.js:2
   9. d
   2.

  --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google Groups
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to reviewboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Active Directory - Can't Assign New User to Review

2014-07-17 Thread David Trowbridge
You probably need to delete the .pyc file and reload the web server.

-David


On Thu, Jul 17, 2014 at 11:32 AM, Bruce Cran bruce.c...@gmail.com wrote:

 Do you also need to restart memcached?

 --
 Bruce



 On Thu, Jul 17, 2014 at 9:51 AM, Jason Batchkoff firewor...@gmail.com
 wrote:

 *bump bump*

 Anyone?  Still haven't figured out how to get a local change to the py
 scripts to reflect correctly in the running copy.

  --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google Groups
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to reviewboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Diff creation problem occuring while creating review request

2014-07-17 Thread David Trowbridge
Can you try running 'svn up' and retrying the 'rbt post' command? SVN
sometimes has issues with partially-synced trees after certain types of
operations.

-David


On Wed, Jul 16, 2014 at 3:37 AM, Shahadat Hossain s.hossain1...@gmail.com
wrote:

 Dear Concern,

 I am using Reviewboard server 1.7.26 and RBTtools 0.5.7 for creating
 review-request in reviewboard server with post-review support.But i am
 currently having problem while creating diff on files in reviewboard
 server. Please check the below log while creating the diff in reviewboard
 server.

 post-review --debug
 The post-review tool is deprecated in favor of therbt suite of
 commands. post-review will go away in RBTools 0.6.x.


  RBTools 0.5.7
  Python 2.7.3 (default, Feb 27 2014, 20:00:17)
 [GCC 4.6.3]
  Running on Linux-3.2.0-65-generic-pae-i686-with-Ubuntu-12.04-precise
  Home = /home/sbrc
  Current Directory = /home/sbrc/svn/new/newRepository/newRepo
  Checking the repository type. Errors shown below are mostly harmless.
 DEBUG:root:Checking for a Subversion repository...
 DEBUG:root:Running: svn info --non-interactive
 DEBUG:root:Running: diff --version
 DEBUG:root:repository info: Path:
 https://s-12510870.sbrcdomain.com/svn/newRepo, Base path: /, Supports
 changesets: False
  Finished checking the repository type.
  HTTP GETting api/info/
 DEBUG:root:Running: svn st
 DEBUG:root:Running: svn diff --diff-cmd=diff
 DEBUG:root:Running: svn info postreview.py
 DEBUG:root:Running: svn info postreview.py
 DEBUG:root:Running: svn info postreview.py
 DEBUG:root:Running: svn info postreview.py
  HTTP GETting api/
  HTTP GETting http://107.109.6.236/api/info/
  Using the new web API
  HTTP GETting http://107.109.6.236/api/repositories/
  HTTP GETting http://107.109.6.236/api/repositories/1/
  HTTP GETting http://107.109.6.236/api/repositories/1/info/
  HTTP GETting http://107.109.6.236/api/repositories/2/
  HTTP GETting http://107.109.6.236/api/repositories/2/info/
  HTTP GETting http://107.109.6.236/api/repositories/3/
  HTTP GETting http://107.109.6.236/api/repositories/3/info/
  HTTP GETting http://107.109.6.236/api/repositories/4/
  HTTP GETting http://107.109.6.236/api/repositories/4/info/
 DEBUG:root:repository info: Path:
 https://s-12510870.sbrcdomain.com/svn/newRepo, Base path: /, Supports
 changesets: False
  Attempting to create review request on svn for None
  HTTP POSTing to http://107.109.6.236/api/review-requests/:
 {'repository': 'svn'}
  Review request created
  Uploading diff, size: 764
  HTTP POSTing to http://107.109.6.236/api/review-requests/82/diffs/:
 {'basedir': '/'}
  Got API Error 207 (HTTP code 400): The file was not found in the
 repository
  Error data: {u'stat': u'fail', u'file': u'/postreview.py', u'err':
 {u'msg': u'The file was not found in the repository', u'code': 207},
 u'revision': u'4'}

 Error uploading diff

 Your review request still exists, but the diff is not attached.

  --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google Groups
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to reviewboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to stop new reviews being created on 1.6.16 from RBTools?

2014-07-17 Thread David Trowbridge
Stephen,

There's no good way to do this short of going in and modifying the code. Is
there a reason that you're not just migrating everything over to the new
server?

-David


On Thu, Jul 17, 2014 at 7:04 AM, Stephen srma...@gmail.com wrote:


 I'm in the middle of switching over to a new ReviewBoard server instance
 and I would like at some future point to prevent existing users from
 creating new reviews on the old RB instance.

 I'd like the active reviews on the old RB instance to continue to be
 accessed so they can be finalised and closed in due course. Is there a way
 to disable the web API RBTools uses? I'd also like the New review
 link/page to also not function.

 Any suggestions on how best to achieve this?

 Cheers,
 Stephen.

 --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google Groups
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to reviewboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Active Directory - Can't Assign New User to Review

2014-07-17 Thread David Trowbridge
That's pretty mysterious. Are you sure that the logging you added is in the
correct places?

-David


On Thu, Jul 17, 2014 at 2:01 PM, fireworm firewor...@gmail.com wrote:

 Yep, that's what I did.  But it refuses to acknowledge I changed the
 actual execution logic...  Or it's just super smart?

 For reference, here's what I'm doing:

 $ sudo chown -R [me]
 /usr/locla/lib/python2.7/dist-packages/reviewboard-2.0.1-py2.7.egg/
  [delete review_request.pyc and backends.pyc]
 $ sudo chown -R www-data
 /usr/locla/lib/python2.7/dist-packages/reviewboard-2.0.1-py2.7.egg/
 $ sudo service apache2 restart
 $ sudo service memcached restart
  [reload webpage, try to add a user to the review]
  [see that both request_review.pyc and backends.pyc are updated]
 $ cat /bar/www/[rbsite]/logs/reviewboard.log
  [no prints in there from my new logging.debug()]
 $ sudo cat /var/log/apache2/error.log
  [no prints in there from 'bad python code']

 I think I'm going insane...

 I've even just restarted the computer itself too, but that doesn't do
 anything either...

 On Thursday, July 17, 2014 1:49:48 PM UTC-7, David Trowbridge wrote:

 You probably need to delete the .pyc file and reload the web server.

 -David


 On Thu, Jul 17, 2014 at 11:32 AM, Bruce Cran bruce...@gmail.com wrote:

 Do you also need to restart memcached?

 --
  Bruce



 On Thu, Jul 17, 2014 at 9:51 AM, Jason Batchkoff firew...@gmail.com
 wrote:

 *bump bump*

 Anyone?  Still haven't figured out how to get a local change to the py
 scripts to reflect correctly in the running copy.

  --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google
 Groups reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to reviewboard...@googlegroups.com.

 For more options, visit https://groups.google.com/d/optout.


  --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google Groups
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to reviewboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: SCMError: OPTIONS of 'http://IP_ADDR:PORT/svn': could not connect to server (http://IP_ADDR:PORT)

2014-07-17 Thread Jamie Gruener
It turns out that my Review Board VM didn't like the SSL certificate of my 
SVN VM. Once I resolved that, everything worked as expected.

To answer your question, no, there was no proxy involved. Thanks for 
responding!

--Jamie

On Monday, June 16, 2014 11:52:02 AM UTC-4, Jamie Gruener wrote:

 Folks,

 I'm an IT guy setting up Review Board for our developers but I can't seem 
 to get Review Board to talk to our SVN servers.

 Environment Notes:
 * Review Board 2.0.2 via easy_install -U ReviewBoard
 * Package pysvn-1.7.6-1.el6.x86_64 already installed and latest version
 * CentOS 6.5 (Final)
 * Package subversion-1.6.11-10.el6_5.x86_64 already installed and latest 
 version

 I've successfully connected to a public Git repo, so something is working, 
 but that doesn't get me where I need to go, which is accessing our own 
 internal SVN server.

 See the log below. I can't connect to any of 3 separate SVN servers 
 through Review Board. I can connect successfully if I just use svn from the 
 command line, but while that confirms that the port is open, it doesn't 
 tell me much about Review Board.

 15:27:11INFO

  - Using reviewboard.scmtools.svn.pysvn backend for SVN

 15:27:11ERROR

  - Exception thrown for user admin at 
 https://Internal_ReviewBoard_host_name/api/repositories/1/branches/?api_format=json

 OPTIONS of 'http://IP_ADDR:PORT/svn': could not connect to server 
 (IP_ADDR:PORT)
 Traceback (most recent call last):
   File 
 /usr/lib/python2.6/site-packages/Django-1.6.5-py2.6.egg/django/core/handlers/base.py,
  line 112, in get_response
 response = wrapped_callback(request, *callback_args, **callback_kwargs)
   File 
 /usr/lib/python2.6/site-packages/Django-1.6.5-py2.6.egg/django/views/decorators/cache.py,
  line 52, in _wrapped_view_func
 response = view_func(request, *args, **kwargs)
   File 
 /usr/lib/python2.6/site-packages/Django-1.6.5-py2.6.egg/django/views/decorators/vary.py,
  line 19, in inner_func
 response = func(*args, **kwargs)
   File 
 /usr/lib/python2.6/site-packages/Djblets-0.8.4-py2.6.egg/djblets/webapi/resources.py,
  line 493, in __call__
 result = view(request, api_format=api_format, *args, **kwargs)
   File 
 /usr/lib/python2.6/site-packages/Djblets-0.8.4-py2.6.egg/djblets/webapi/decorators.py,
  line 117, in _call
 return view_func(*args, **kwargs)
   File 
 /usr/lib/python2.6/site-packages/ReviewBoard-2.0.2-py2.6.egg/reviewboard/webapi/decorators.py,
  line 110, in _check
 return view_func(*args, **kwargs)
   File 
 /usr/lib/python2.6/site-packages/Djblets-0.8.4-py2.6.egg/djblets/webapi/decorators.py,
  line 117, in _call
 return view_func(*args, **kwargs)
   File 
 /usr/lib/python2.6/site-packages/ReviewBoard-2.0.2-py2.6.egg/reviewboard/webapi/decorators.py,
  line 31, in _check
 return webapi_login_required(view_func)(*args, **kwargs)
   File 
 /usr/lib/python2.6/site-packages/Djblets-0.8.4-py2.6.egg/djblets/webapi/decorators.py,
  line 117, in _call
 return view_func(*args, **kwargs)
   File 
 /usr/lib/python2.6/site-packages/Djblets-0.8.4-py2.6.egg/djblets/webapi/decorators.py,
  line 138, in _checklogin
 return view_func(*args, **kwargs)
   File 
 /usr/lib/python2.6/site-packages/Djblets-0.8.4-py2.6.egg/djblets/webapi/decorators.py,
  line 117, in _call
 return view_func(*args, **kwargs)
   File 
 /usr/lib/python2.6/site-packages/ReviewBoard-2.0.2-py2.6.egg/reviewboard/webapi/resources/repository_branches.py,
  line 53, in get
 for branch in repository.get_branches():
   File 
 /usr/lib/python2.6/site-packages/ReviewBoard-2.0.2-py2.6.egg/reviewboard/scmtools/models.py,
  line 257, in get_branches
 self.BRANCHES_CACHE_PERIOD)
   File 
 /usr/lib/python2.6/site-packages/Djblets-0.8.4-py2.6.egg/djblets/cache/backend.py,
  line 118, in cache_memoize
 data = lookup_callable()
   File 
 /usr/lib/python2.6/site-packages/ReviewBoard-2.0.2-py2.6.egg/reviewboard/scmtools/svn/__init__.py,
  line 132, in get_branches
 raise SCMError(e)
 SCMError: OPTIONS of 'http://IP_ADDR:PORT/svn': could not connect to 
 server (IP_ADDR:PORT)

 15:27:18DEBUG

  - Cache miss for key jsi18n-djangojs-reviewboard_djblets-en-1402932361.


 This patch is present: 
 https://code.google.com/p/reviewboard/issues/detail?id=3303

 What am I missing?

 Thanks,

 --jamie


-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


unable to easy_install rbnotefield from Beanbag, Inc.

2014-07-17 Thread Jamie Gruener
If I try to install rbnotefield I get an error about a hostname mismatch:

[root@reviews ~]# easy_install -U rbnotefield
 Searching for rbnotefield
 Reading https://pypi.python.org/simple/rbnotefield/
 Reading http://www.reviewboard.org/
 Download error on http://www.reviewboard.org/: hostname 
 'www.reviewboard.org' doesn't match either of 'beanbaginc.com', 
 'www.beanbaginc.com' -- Some packages may not be found!
 No local packages or download links found for rbnotefield
 error: Could not find suitable distribution for 
 Requirement.parse('rbnotefield')


If I try to install rbseverity, that works, but I get the same error and 
the package downloads from another location:

[root@reviews ~]# easy_install -U rbseverity
 Searching for rbseverity
 Reading https://pypi.python.org/simple/rbseverity/
 Reading http://downloads.reviewboard.org/releases/rbseverity/0.5/
 Reading http://www.reviewboard.org/
 Download error on http://www.reviewboard.org/: hostname 
 'www.reviewboard.org' doesn't match either of 'beanbaginc.com', 
 'www.beanbaginc.com' -- Some packages may not be found!
 Best match: rbseverity 0.5
 Downloading 
 http://downloads.reviewboard.org/releases/rbseverity/0.5/rbseverity-0.5-py2.6.egg
 Processing rbseverity-0.5-py2.6.egg
 creating /usr/lib/python2.6/site-packages/rbseverity-0.5-py2.6.egg
 Extracting rbseverity-0.5-py2.6.egg to /usr/lib/python2.6/site-packages
 Adding rbseverity 0.5 to easy-install.pth file
 Installed /usr/lib/python2.6/site-packages/rbseverity-0.5-py2.6.egg
 Processing dependencies for rbseverity
 Finished processing dependencies for rbseverity



FYI, I'm not a developer, I'm a sysadmin setting this up for developers.

Any input helpful.

Thanks,

--Jamie

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: unable to easy_install rbnotefield from Beanbag, Inc.

2014-07-17 Thread David Trowbridge
Jamie,

It looks like we had a snag in our release process, and the download URL
wasn't registered in PyPI. I've fixed this, and you should be able to
easy_install rbnotefield now.

-David


On Thu, Jul 17, 2014 at 2:21 PM, Jamie Gruener ja...@nortonstreet.biz
wrote:

 If I try to install rbnotefield I get an error about a hostname mismatch:

 [root@reviews ~]# easy_install -U rbnotefield
 Searching for rbnotefield
 Reading https://pypi.python.org/simple/rbnotefield/
 Reading http://www.reviewboard.org/
 Download error on http://www.reviewboard.org/: hostname '
 www.reviewboard.org' doesn't match either of 'beanbaginc.com', '
 www.beanbaginc.com' -- Some packages may not be found!
 No local packages or download links found for rbnotefield
 error: Could not find suitable distribution for
 Requirement.parse('rbnotefield')


 If I try to install rbseverity, that works, but I get the same error and
 the package downloads from another location:

 [root@reviews ~]# easy_install -U rbseverity
 Searching for rbseverity
 Reading https://pypi.python.org/simple/rbseverity/
 Reading http://downloads.reviewboard.org/releases/rbseverity/0.5/
 Reading http://www.reviewboard.org/
 Download error on http://www.reviewboard.org/: hostname '
 www.reviewboard.org' doesn't match either of 'beanbaginc.com', '
 www.beanbaginc.com' -- Some packages may not be found!
 Best match: rbseverity 0.5
 Downloading
 http://downloads.reviewboard.org/releases/rbseverity/0.5/rbseverity-0.5-py2.6.egg
 Processing rbseverity-0.5-py2.6.egg
 creating /usr/lib/python2.6/site-packages/rbseverity-0.5-py2.6.egg
 Extracting rbseverity-0.5-py2.6.egg to /usr/lib/python2.6/site-packages
 Adding rbseverity 0.5 to easy-install.pth file
 Installed /usr/lib/python2.6/site-packages/rbseverity-0.5-py2.6.egg
 Processing dependencies for rbseverity
 Finished processing dependencies for rbseverity



 FYI, I'm not a developer, I'm a sysadmin setting this up for developers.

 Any input helpful.

 Thanks,

 --Jamie

 --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google Groups
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to reviewboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: unable to easy_install rbnotefield from Beanbag, Inc.

2014-07-17 Thread Jamie Gruener
Thanks for the quick response! Works as expected now.

--Jamie

On Thursday, July 17, 2014 5:36:11 PM UTC-4, David Trowbridge wrote:

 Jamie,

 It looks like we had a snag in our release process, and the download URL 
 wasn't registered in PyPI. I've fixed this, and you should be able to 
 easy_install rbnotefield now.

 -David


 On Thu, Jul 17, 2014 at 2:21 PM, Jamie Gruener ja...@nortonstreet.biz 
 javascript: wrote:

 If I try to install rbnotefield I get an error about a hostname mismatch:

 [root@reviews ~]# easy_install -U rbnotefield
 Searching for rbnotefield
 Reading https://pypi.python.org/simple/rbnotefield/
 Reading http://www.reviewboard.org/
 Download error on http://www.reviewboard.org/: hostname '
 www.reviewboard.org' doesn't match either of 'beanbaginc.com', '
 www.beanbaginc.com' -- Some packages may not be found!
 No local packages or download links found for rbnotefield
 error: Could not find suitable distribution for 
 Requirement.parse('rbnotefield')


 If I try to install rbseverity, that works, but I get the same error and 
 the package downloads from another location:

 [root@reviews ~]# easy_install -U rbseverity
 Searching for rbseverity
 Reading https://pypi.python.org/simple/rbseverity/
 Reading http://downloads.reviewboard.org/releases/rbseverity/0.5/
 Reading http://www.reviewboard.org/
 Download error on http://www.reviewboard.org/: hostname '
 www.reviewboard.org' doesn't match either of 'beanbaginc.com', '
 www.beanbaginc.com' -- Some packages may not be found!
 Best match: rbseverity 0.5
 Downloading 
 http://downloads.reviewboard.org/releases/rbseverity/0.5/rbseverity-0.5-py2.6.egg
 Processing rbseverity-0.5-py2.6.egg
 creating /usr/lib/python2.6/site-packages/rbseverity-0.5-py2.6.egg
 Extracting rbseverity-0.5-py2.6.egg to /usr/lib/python2.6/site-packages
 Adding rbseverity 0.5 to easy-install.pth file
 Installed /usr/lib/python2.6/site-packages/rbseverity-0.5-py2.6.egg
 Processing dependencies for rbseverity
 Finished processing dependencies for rbseverity



 FYI, I'm not a developer, I'm a sysadmin setting this up for developers.

 Any input helpful.

 Thanks,

 --Jamie

 -- 
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 --- 
 You received this message because you are subscribed to the Google Groups 
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to reviewboard...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adding a new diff to existent review Loops on loading

2014-07-17 Thread MoonWalker



Hi David,

I attached the snapshot. 


https://lh6.googleusercontent.com/-2OjZUJa4wCw/U8hUR39W9VI/Bu0/CIoMzjQrqOg/s1600/Network.PNG


On Friday, July 18, 2014 6:49:04 AM UTC+10, David Trowbridge wrote:

 Can you use the Network tab to find the contents of the response (the 
 one returning HTTP 400)?

 -David


 On Wed, Jul 16, 2014 at 7:44 PM, MoonWalker daniel.c...@gmail.com 
 javascript: wrote:

 sorry, this is the full one


1. POST http://codereview.devneta.local/api/review-requests/559/diffs/ 
400 (BAD REQUEST) jquery-1.8.2.min.js:2 
   1. sendjquery-1.8.2.min.js:2
   2. p.extend.ajaxjquery-1.8.2.min.js:2
   3. fileUploadXhr3rdparty.min.js:4
   4. $.fn.ajaxSubmit3rdparty.min.js:4
   5. doCallbase.min.js:1
   6. nextjquery.gravy.min.js:1
   7. startjquery.gravy.min.js:1
   8. RB.apiCallbase.min.js:1
   9. Backbone.ajaxbase.min.js:1
   10. a.sync3rdparty.min.js:4
   11. RB.BaseResource.Backbone.Model.extend.syncbase.min.js:1
   12. h.extend.save3rdparty.min.js:3
   13. RB.BaseResource.Backbone.Model.extend._saveObjectbase.min.js:1
   14. ready.readybase.min.js:1
   15. RB.BaseResource.Backbone.Model.extend.readybase.min.js:1
   16. RB.BaseResource.Backbone.Model.extend.ensureCreated
   base.min.js:1
   17. ready.readybase.min.js:1
   18. RB.BaseResource.Backbone.Model.extend.readybase.min.js:1
   19. RB.BaseResource.Backbone.Model.extend.readybase.min.js:1
   20. RB.BaseResource.Backbone.Model.extend.savebase.min.js:1
   21. sendbase.min.js:1
   22. (anonymous function)base.min.js:1
   23. p.event.dispatchjquery-1.8.2.min.js:2
   24. g.handle.hjquery-1.8.2.min.js:2
   25. p.event.triggerjquery-1.8.2.min.js:2
   26. (anonymous function)jquery-1.8.2.min.js:2
   27. p.extend.eachjquery-1.8.2.min.js:2
   28. p.fn.p.eachjquery-1.8.2.min.js:2
   29. p.fn.extend.triggerjquery-1.8.2.min.js:2
   30. p.fn.(anonymous function)jquery-1.8.2.min.js:2
   31. (anonymous function)base.min.js:1
   32. p.event.dispatchjquery-1.8.2.min.js:2
   33. g.handle.hjquery-1.8.2.min.js:2
   

1. Uncaught TypeError: Cannot read property 'msg' of undefined 
base.min.js:1 
   1. displayErrorsbase.min.js:1
   2. options.dataStoreObject.save.errorbase.min.js:1
   3. (anonymous function)base.min.js:1
   4. e.error3rdparty.min.js:4
   5. (anonymous function)base.min.js:1
   6. kjquery-1.8.2.min.js:2
   7. l.fireWithjquery-1.8.2.min.js:2
   8. yjquery-1.8.2.min.js:2
   9. d
   

 On Thursday, July 17, 2014 12:42:21 PM UTC+10, MoonWalker wrote:

 I noticed this issue several times, and I enabled all the logs and some 
 how there is zero information on them about this issue. I enabled 
 JavaScript console in my browser (chrome latest version under Windows 7) 
 and this is what  I get.


1. Uncaught TypeError: Cannot read property 'msg' of undefined 
base.min.js:1 
   1. displayErrorsbase.min.js:1
   2. options.dataStoreObject.save.errorbase.min.js:1
   3. (anonymous function)base.min.js:1
   4. e.error3rdparty.min.js:4
   5. (anonymous function)base.min.js:1
   6. kjquery-1.8.2.min.js:2
   7. l.fireWithjquery-1.8.2.min.js:2
   8. yjquery-1.8.2.min.js:2
   9. d
   2. 

  -- 
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 --- 
 You received this message because you are subscribed to the Google Groups 
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to reviewboard...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error when diff files on ReviewBoard site

2014-07-17 Thread hoàng tuấn
Hi, 
Anyone can help me please?

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Diff creation problem occuring while creating review request

2014-07-17 Thread Shahadat Hossain
Hi david 

I observer another thing. When i remove the postreview.py file and use 
hello.txt as file and make changes.It is creating the diff but i can't view 
the diff in view diff button in reviewboard server. Is there any extension 
and file size restriction i am facing? i am attaching the log. Please help 
me on that.

E:\svn\newReporbt post --debug
DEBUG:root:Checking for a Subversion repository...
DEBUG:root:Running: svn info --non-interactive
DEBUG:root:Running: diff --version
DEBUG:root:repository info: Path: 
https://s-12510870.sbrcdomain.com/svn/newRepo, Base path: /, Supports 
changesets: False
DEBUG:root:Making HTTP GET request to http://107.109.6.236/api/
DEBUG:root:Making HTTP GET request to http://107.109.6.236/api/info/
DEBUG:root:Running: svn st
DEBUG:root:Running: svn diff --diff-cmd=diff
DEBUG:root:Running: svn info hello.txt
DEBUG:root:Running: svn info hello.txt
DEBUG:root:Running: svn info hello.txt
DEBUG:root:Running: svn info hello.txt
DEBUG:root:Making HTTP GET request to 
http://107.109.6.236/api/review-requests/
DEBUG:root:Making HTTP POST request to 
http://107.109.6.236/api/review-requests/
DEBUG:root:Making HTTP GET request to 
http://107.109.6.236/api/review-requests/95/diffs/
DEBUG:root:Making HTTP POST request to 
http://107.109.6.236/api/review-requests/95/diffs/
DEBUG:root:Making HTTP GET request to 
http://107.109.6.236/api/review-requests/95/draft/
Review request #95 posted.

http://107.109.6.236/r/95/

Thanks
Shahadat 

On Friday, July 18, 2014 2:54:23 AM UTC+6, David Trowbridge wrote:

 Can you try running 'svn up' and retrying the 'rbt post' command? SVN 
 sometimes has issues with partially-synced trees after certain types of 
 operations.

 -David


 On Wed, Jul 16, 2014 at 3:37 AM, Shahadat Hossain s.hoss...@gmail.com 
 javascript: wrote:

 Dear Concern,

 I am using Reviewboard server 1.7.26 and RBTtools 0.5.7 for creating 
 review-request in reviewboard server with post-review support.But i am 
 currently having problem while creating diff on files in reviewboard 
 server. Please check the below log while creating the diff in reviewboard 
 server.

 post-review --debug
 The post-review tool is deprecated in favor of therbt suite of 
 commands. post-review will go away in RBTools 0.6.x.


  RBTools 0.5.7
  Python 2.7.3 (default, Feb 27 2014, 20:00:17) 
 [GCC 4.6.3]
  Running on Linux-3.2.0-65-generic-pae-i686-with-Ubuntu-12.04-precise
  Home = /home/sbrc
  Current Directory = /home/sbrc/svn/new/newRepository/newRepo
  Checking the repository type. Errors shown below are mostly harmless.
 DEBUG:root:Checking for a Subversion repository...
 DEBUG:root:Running: svn info --non-interactive
 DEBUG:root:Running: diff --version
 DEBUG:root:repository info: Path: 
 https://s-12510870.sbrcdomain.com/svn/newRepo, Base path: /, Supports 
 changesets: False
  Finished checking the repository type.
  HTTP GETting api/info/
 DEBUG:root:Running: svn st
 DEBUG:root:Running: svn diff --diff-cmd=diff
 DEBUG:root:Running: svn info postreview.py
 DEBUG:root:Running: svn info postreview.py
 DEBUG:root:Running: svn info postreview.py
 DEBUG:root:Running: svn info postreview.py
  HTTP GETting api/
  HTTP GETting http://107.109.6.236/api/info/
  Using the new web API
  HTTP GETting http://107.109.6.236/api/repositories/
  HTTP GETting http://107.109.6.236/api/repositories/1/
  HTTP GETting http://107.109.6.236/api/repositories/1/info/
  HTTP GETting http://107.109.6.236/api/repositories/2/
  HTTP GETting http://107.109.6.236/api/repositories/2/info/
  HTTP GETting http://107.109.6.236/api/repositories/3/
  HTTP GETting http://107.109.6.236/api/repositories/3/info/
  HTTP GETting http://107.109.6.236/api/repositories/4/
  HTTP GETting http://107.109.6.236/api/repositories/4/info/
 DEBUG:root:repository info: Path: 
 https://s-12510870.sbrcdomain.com/svn/newRepo, Base path: /, Supports 
 changesets: False
  Attempting to create review request on svn for None
  HTTP POSTing to http://107.109.6.236/api/review-requests/: 
 {'repository': 'svn'}
  Review request created
  Uploading diff, size: 764
  HTTP POSTing to http://107.109.6.236/api/review-requests/82/diffs/: 
 {'basedir': '/'}
  Got API Error 207 (HTTP code 400): The file was not found in the 
 repository
  Error data: {u'stat': u'fail', u'file': u'/postreview.py', u'err': 
 {u'msg': u'The file was not found in the repository', u'code': 207}, 
 u'revision': u'4'}

 Error uploading diff

 Your review request still exists, but the diff is not attached.

  -- 
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 --- 
 You received this message because you are subscribed to the Google Groups 
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to reviewboard...@googlegroups.com javascript:.
 For more options, visit 

Re: Diff creation problem occuring while creating review request

2014-07-17 Thread Shahadat Hossain
Also i am getting the below error in the reviewboard server while i try to 
view the diff from view diff button.


Diff currently unavailable.  *Error:* The patch to '/hello.txt' didn't 
apply cleanly. The temporary files have been left in 
'/tmp/reviewboard.2r0DmL' for debugging purposes. `patch` returned: 
patching file /tmp/reviewboard.2r0DmL/tmp8IOq8N Hunk #1 FAILED at 1. 1 out 
of 1 hunk FAILED -- saving rejects to file 
/tmp/reviewboard.2r0DmL/tmp8IOq8N-new.rej   Details 
http://107.109.6.236/r/92/diff/#   

Traceback (most recent call last):
  File 
/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.26-py2.7.egg/reviewboard/diffviewer/views.py,
 line 251, in view_diff_fragment
diff_file = get_requested_diff_file()
  File 
/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.26-py2.7.egg/reviewboard/diffviewer/views.py,
 line 171, in get_requested_diff_file
populate_diff_chunks(files, highlighting, request=request)
  File 
/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.26-py2.7.egg/reviewboard/diffviewer/diffutils.py,
 line 344, in populate_diff_chunks
chunks = generator.get_chunks()
  File 
/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.26-py2.7.egg/reviewboard/diffviewer/chunk_generator.py,
 line 137, in get_chunks
large_data=True)
  File 
/usr/local/lib/python2.7/dist-packages/Djblets-0.7.30-py2.7.egg/djblets/util/misc.py,
 line 157, in cache_memoize
data = lookup_callable()
  File 
/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.26-py2.7.egg/reviewboard/diffviewer/chunk_generator.py,
 line 136, in lambda
lambda: list(self._get_chunks_uncached()),
  File 
/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.26-py2.7.egg/reviewboard/diffviewer/chunk_generator.py,
 line 142, in _get_chunks_uncached
new = get_patched_file(old, self.filediff, self.request)
  File 
/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.26-py2.7.egg/reviewboard/diffviewer/diffutils.py,
 line 152, in get_patched_file
return patch(diff, buffer, filediff.dest_file, request)
  File 
/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.26-py2.7.egg/reviewboard/diffviewer/diffutils.py,
 line 96, in patch
(filename, tempdir, patch_output))
Exception: The patch to '/hello.txt' didn't apply cleanly. The temporary files 
have been left in '/tmp/reviewboard.2r0DmL' for debugging purposes.
`patch` returned: patching file /tmp/reviewboard.2r0DmL/tmp8IOq8N
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file 
/tmp/reviewboard.2r0DmL/tmp8IOq8N-new.rej


Thanks 
Shahadat

On Friday, July 18, 2014 9:32:57 AM UTC+6, Shahadat Hossain wrote:

 Hi david 

 I observer another thing. When i remove the postreview.py file and use 
 hello.txt as file and make changes.It is creating the diff but i can't view 
 the diff in view diff button in reviewboard server. Is there any extension 
 and file size restriction i am facing? i am attaching the log. Please help 
 me on that.

 E:\svn\newReporbt post --debug
 DEBUG:root:Checking for a Subversion repository...
 DEBUG:root:Running: svn info --non-interactive
 DEBUG:root:Running: diff --version
 DEBUG:root:repository info: Path: 
 https://s-12510870.sbrcdomain.com/svn/newRepo, Base path: /, Supports 
 changesets: False
 DEBUG:root:Making HTTP GET request to http://107.109.6.236/api/
 DEBUG:root:Making HTTP GET request to http://107.109.6.236/api/info/
 DEBUG:root:Running: svn st
 DEBUG:root:Running: svn diff --diff-cmd=diff
 DEBUG:root:Running: svn info hello.txt
 DEBUG:root:Running: svn info hello.txt
 DEBUG:root:Running: svn info hello.txt
 DEBUG:root:Running: svn info hello.txt
 DEBUG:root:Making HTTP GET request to 
 http://107.109.6.236/api/review-requests/
 DEBUG:root:Making HTTP POST request to 
 http://107.109.6.236/api/review-requests/
 DEBUG:root:Making HTTP GET request to 
 http://107.109.6.236/api/review-requests/95/diffs/
 DEBUG:root:Making HTTP POST request to 
 http://107.109.6.236/api/review-requests/95/diffs/
 DEBUG:root:Making HTTP GET request to 
 http://107.109.6.236/api/review-requests/95/draft/
 Review request #95 posted.

 http://107.109.6.236/r/95/

 Thanks
 Shahadat 

 On Friday, July 18, 2014 2:54:23 AM UTC+6, David Trowbridge wrote:

 Can you try running 'svn up' and retrying the 'rbt post' command? SVN 
 sometimes has issues with partially-synced trees after certain types of 
 operations.

 -David


 On Wed, Jul 16, 2014 at 3:37 AM, Shahadat Hossain s.hoss...@gmail.com 
 wrote:

 Dear Concern,

 I am using Reviewboard server 1.7.26 and RBTtools 0.5.7 for creating 
 review-request in reviewboard server with post-review support.But i am 
 currently having problem while creating diff on files in reviewboard 
 server. Please check the below log while creating the diff in reviewboard 
 server.

 post-review --debug
 The post-review tool is deprecated in favor of therbt suite of 
 commands. post-review will go away in RBTools 0.6.x.


  RBTools 0.5.7
  Python 2.7.3 (default, Feb 27 2014, 

Re: Error when diff files on ReviewBoard site

2014-07-17 Thread David Trowbridge
A couple questions:

- Can you check the contents of the new   2.txt.diff file and see if it's
what you expect?
- Can you check the contents of the tmpeeeSkZ file and see if it's what
you expect?
- What revision control system?
- What version of GNU patch?

-David


On Thu, Jun 26, 2014 at 2:56 AM, hoàng tuấn hoangnt00...@gmail.com wrote:

 After reinstall, I make a new request  i face the same problem

 *Exception: The patch to '//depot/P4Test/new  2.txt' didn't apply cleanly. 
 The temporary files have been left in '/tmp/reviewboard.GPEAUp' for 
 debugging purposes.
 `patch` returned: patch:  Only garbage was found in the patch input.*




 https://lh4.googleusercontent.com/-z8Pdw27H_xU/U6vuG4PlmoI/ABo/orDlIsC4yRM/s1600/Capture.PNGAnd
 this is the result when i enter the /tmp.reviewboard.GPEAUp
 https://lh4.googleusercontent.com/-z8Pdw27H_xU/U6vuG4PlmoI/ABo/orDlIsC4yRM/s1600/Capture.PNG


 --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google Groups
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to reviewboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Diff creation problem occuring while creating review request

2014-07-17 Thread David Trowbridge
Can you check the contents of the tmp file and the patch file and verify
that they're what you expect?

-David


On Thu, Jul 17, 2014 at 8:36 PM, Shahadat Hossain s.hossain1...@gmail.com
wrote:

 Also i am getting the below error in the reviewboard server while i try to
 view the diff from view diff button.


 Diff currently unavailable.  *Error:* The patch to '/hello.txt' didn't
 apply cleanly. The temporary files have been left in
 '/tmp/reviewboard.2r0DmL' for debugging purposes. `patch` returned:
 patching file /tmp/reviewboard.2r0DmL/tmp8IOq8N Hunk #1 FAILED at 1. 1 out
 of 1 hunk FAILED -- saving rejects to file
 /tmp/reviewboard.2r0DmL/tmp8IOq8N-new.rej   Details
 http://107.109.6.236/r/92/diff/#

 Traceback (most recent call last):
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.26-py2.7.egg/reviewboard/diffviewer/views.py,
  line 251, in view_diff_fragment
 diff_file = get_requested_diff_file()
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.26-py2.7.egg/reviewboard/diffviewer/views.py,
  line 171, in get_requested_diff_file
 populate_diff_chunks(files, highlighting, request=request)
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.26-py2.7.egg/reviewboard/diffviewer/diffutils.py,
  line 344, in populate_diff_chunks
 chunks = generator.get_chunks()
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.26-py2.7.egg/reviewboard/diffviewer/chunk_generator.py,
  line 137, in get_chunks
 large_data=True)
   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.7.30-py2.7.egg/djblets/util/misc.py,
  line 157, in cache_memoize
 data = lookup_callable()
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.26-py2.7.egg/reviewboard/diffviewer/chunk_generator.py,
  line 136, in lambda
 lambda: list(self._get_chunks_uncached()),
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.26-py2.7.egg/reviewboard/diffviewer/chunk_generator.py,
  line 142, in _get_chunks_uncached
 new = get_patched_file(old, self.filediff, self.request)
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.26-py2.7.egg/reviewboard/diffviewer/diffutils.py,
  line 152, in get_patched_file
 return patch(diff, buffer, filediff.dest_file, request)
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.26-py2.7.egg/reviewboard/diffviewer/diffutils.py,
  line 96, in patch
 (filename, tempdir, patch_output))
 Exception: The patch to '/hello.txt' didn't apply cleanly. The temporary 
 files have been left in '/tmp/reviewboard.2r0DmL' for debugging purposes.
 `patch` returned: patching file /tmp/reviewboard.2r0DmL/tmp8IOq8N
 Hunk #1 FAILED at 1.
 1 out of 1 hunk FAILED -- saving rejects to file 
 /tmp/reviewboard.2r0DmL/tmp8IOq8N-new.rej


 Thanks
 Shahadat


 On Friday, July 18, 2014 9:32:57 AM UTC+6, Shahadat Hossain wrote:

 Hi david

 I observer another thing. When i remove the postreview.py file and use
 hello.txt as file and make changes.It is creating the diff but i can't view
 the diff in view diff button in reviewboard server. Is there any extension
 and file size restriction i am facing? i am attaching the log. Please help
 me on that.

 E:\svn\newReporbt post --debug
 DEBUG:root:Checking for a Subversion repository...
 DEBUG:root:Running: svn info --non-interactive
 DEBUG:root:Running: diff --version
 DEBUG:root:repository info: Path: https://s-12510870.sbrcdomain.
 com/svn/newRepo, Base path: /, Supports changesets: False
 DEBUG:root:Making HTTP GET request to http://107.109.6.236/api/
 DEBUG:root:Making HTTP GET request to http://107.109.6.236/api/info/
 DEBUG:root:Running: svn st
 DEBUG:root:Running: svn diff --diff-cmd=diff
 DEBUG:root:Running: svn info hello.txt
 DEBUG:root:Running: svn info hello.txt
 DEBUG:root:Running: svn info hello.txt
 DEBUG:root:Running: svn info hello.txt
 DEBUG:root:Making HTTP GET request to http://107.109.6.236/api/
 review-requests/
 DEBUG:root:Making HTTP POST request to http://107.109.6.236/api/
 review-requests/
 DEBUG:root:Making HTTP GET request to http://107.109.6.236/api/
 review-requests/95/diffs/
 DEBUG:root:Making HTTP POST request to http://107.109.6.236/api/
 review-requests/95/diffs/
 DEBUG:root:Making HTTP GET request to http://107.109.6.236/api/
 review-requests/95/draft/
 Review request #95 posted.

 http://107.109.6.236/r/95/

 Thanks
 Shahadat

 On Friday, July 18, 2014 2:54:23 AM UTC+6, David Trowbridge wrote:

 Can you try running 'svn up' and retrying the 'rbt post' command? SVN
 sometimes has issues with partially-synced trees after certain types of
 operations.

 -David


 On Wed, Jul 16, 2014 at 3:37 AM, Shahadat Hossain s.hoss...@gmail.com
 wrote:

 Dear Concern,

 I am using Reviewboard server 1.7.26 and RBTtools 0.5.7 for creating
 review-request in reviewboard server with post-review support.But i am
 currently having problem while creating diff on files in reviewboard
 server. Please check the below log while creating the diff in 

Issue 3486 in reviewboard: Upgrade 2.0 to 2.0.3 fails

2014-07-17 Thread reviewboard

Status: New
Owner: 
Labels: Type-Defect Priority-Medium

New issue 3486 by drzo...@gmail.com: Upgrade 2.0 to 2.0.3 fails
http://code.google.com/p/reviewboard/issues/detail?id=3486

What version are you running?
2.0

What's the URL of the page containing the problem?
All, unable to access after upgrade. See log below.

What steps will reproduce the problem?
1. easy_install --index-url=https://pypi.mycopany.com -U ReviewBoard
2.  rb-site upgrade /srv/reviewboard-env/reviewboard.mycompany/
3.

What is the expected output? What do you see instead?
Expect: no error.

Actual: output of running rb-site upgrade:
Rebuilding directory structure
Updating database. This may take a while.

The log output below, including warnings and errors,
can be ignored unless upgrade fails.

-- begin log output --
Creating tables ...
Upgrading Review Board from 2.0 to 2.0.3
There are unapplied evolutions for accounts.
There are unapplied evolutions for scmtools.
Project signature has changed - an evolution is required
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
CommandError: Error applying evolution:  
constraint scmtools_repository_df00fa5c of relation scmtools_repository  
does not exist



When Accessing review board I get this:
Traceback (most recent call last):

   
File /usr/lib/python2.6/site-packages/Django-1.6.5-py2.6.egg/django/core/handlers/base.py,  
line 88, in get_response

response = middleware_method(request)

   
File /srv/reviewboard-env/lib/python2.6/site-packages/ReviewBoard-2.0.3-py2.6.egg/reviewboard/accounts/middleware.py,  
line 14, in process_request

user = request.user.get_profile()

   
File /srv/reviewboard-env/lib/python2.6/site-packages/ReviewBoard-2.0.3-py2.6.egg/reviewboard/accounts/models.py,  
line 284, in _get_profile

self._profile = Profile.objects.get(user=self)

   
File /usr/lib/python2.6/site-packages/Django-1.6.5-py2.6.egg/django/db/models/manager.py,  
line 151, in get

return self.get_queryset().get(*args, **kwargs)

   
File /usr/lib/python2.6/site-packages/Django-1.6.5-py2.6.egg/django/db/models/query.py,  
line 304, in get

num = len(clone)

   
File /usr/lib/python2.6/site-packages/Django-1.6.5-py2.6.egg/django/db/models/query.py,  
line 77, in __len__

self._fetch_all()

   
File /usr/lib/python2.6/site-packages/Django-1.6.5-py2.6.egg/django/db/models/query.py,  
line 857, in _fetch_all

self._result_cache = list(self.iterator())

   
File /usr/lib/python2.6/site-packages/Django-1.6.5-py2.6.egg/django/db/models/query.py,  
line 220, in iterator

for row in compiler.results_iter():

   
File /usr/lib/python2.6/site-packages/Django-1.6.5-py2.6.egg/django/db/models/sql/compiler.py,  
line 713, in results_iter

for rows in self.execute_sql(MULTI):

   
File /usr/lib/python2.6/site-packages/Django-1.6.5-py2.6.egg/django/db/models/sql/compiler.py,  
line 786, in execute_sql

cursor.execute(sql, params)

   
File /usr/lib/python2.6/site-packages/Django-1.6.5-py2.6.egg/django/db/backends/util.py,  
line 53, in execute

return self.cursor.execute(sql, params)

   
File /usr/lib/python2.6/site-packages/Django-1.6.5-py2.6.egg/django/db/utils.py,  
line 99, in __exit__

six.reraise(dj_exc_type, dj_exc_value, traceback)

   
File /usr/lib/python2.6/site-packages/Django-1.6.5-py2.6.egg/django/db/backends/util.py,  
line 53, in execute

return self.cursor.execute(sql, params)

ProgrammingError: column accounts_profile.should_send_email does not exist
LINE 1: ..._id, accounts_profile.first_time_setup_done, accounts_...

What operating system are you using? What browser?


Please provide any additional information below.
Some info from our reviewdatabase. The  scmtools_repository_df00fa5c  
constrain is an index, and it seems to exist:



reviewboard= \dS+ scmtools_repository

Table public.scmtools_repository
   Column   |  Type  | 
Modifiers | Storage  | Stats target |  
Description

++--+--+--+-
 id | integer| not null default  
nextval('scmtools_repository_id_seq'::regclass) | plain|  |
 name   | character varying(64)  | not  
null | extended  
|  |
 path   | character varying(255) | not  
null | extended  
|  |
 mirror_path| character varying(255) | not  
null | extended  
|  |
 raw_file_url   | character varying(255) | not  
null | extended  
|   

Re: Issue 3404 in reviewboard: A list of users should be presented when choosing reviewers

2014-07-17 Thread reviewboard

Updates:
Status: WontFix

Comment #1 on issue 3404 by trowb...@gmail.com: A list of users should be  
presented when choosing reviewers

http://code.google.com/p/reviewboard/issues/detail?id=3404

This isn't feasible. Most Review Board installations have at least 50  
users, and a large number have hundreds or thousands of users.


Both usernames and real names will show up as suggestions when you start  
typing, which should make it plenty easy to find the person you're looking  
for.


--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.