Re: loaddb fails

2017-08-17 Thread Sebastian Unger
I have raised 4575  and 4576 
.

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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.


Review Board Ticket #4576: RB crashes when trying to create new review request from a subversion repository

2017-08-17 Thread Sebastian Unger
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4576/
--

New ticket #4576 by seb
For Beanbag, Inc. > Review Board

Status: New
Tags: Priority:Medium, Type:Defect

File attachments:

 * trace.txt
   



--
RB crashes when trying to create new review request from a subversion repository
==

# What version are you running?
2.5.15

# What's the URL of the page containing the problem?
http://reviewboard.taitradio.net/r/new/

# What steps will reproduce the problem?
1. Select a subversion repository
2. Select one of the recent commits in the list

# What is the expected output? What do you see instead?
I expected a new review request to be created.
Instead a message box opened saying that there was an "Internal server error 
500".

# What operating system are you using? What browser?
Ubuntu 16.04.3 LTS
Chrome 60.0.3112.101-1

# Please provide any additional information below.
I get the attached stack trace emailed.

--

-- 
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 https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Review Board Ticket #4575: RB crash when trying to raise new review request on small mercurial repository

2017-08-17 Thread Sebastian Unger
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4575/
--

New update by seb
For Beanbag, Inc. > Review Board > Ticket #4575


Reply:

Blimey, I forgot to mention the most important bit: The repository has only 
3 commits in it. That is the only thing that sets it apart from a number of 
others we have on the same server that all work fine.

-- 
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 https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Review Board Ticket #4575: RB crash when trying to raise new review request on small mercurial repository

2017-08-17 Thread Sebastian Unger
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4575/
--

New ticket #4575 by seb
For Beanbag, Inc. > Review Board

Status: New
Tags: Priority:Medium, Type:Defect

File attachments:

 * trace.txt
   



--
RB crash when trying to raise new review request on small mercurial repository
==

# What version are you running?
2.5.15

# What's the URL of the page containing the problem?
http://reviewboard.taitradio.net/r/new/

# What steps will reproduce the problem?
1. Go to the above URL
2. Select repository


# What is the expected output? What do you see instead?
I expect to be presented with a list of recent commits in that repository.
Instead I get the following message where normally the list is displayed:

> There was an error loading information from this repository:
> HTTP 500 Internal Server Error
> This may be a temporary failure. Try again

# What operating system are you using? What browser?
Ubuntu 16.04.3 LTS
Chrome 60.0.3112.101-1

# Please provide any additional information below.
I also get the attached stack trace sent via email.

--

-- 
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 https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


LDAP and AD errors. ReviewBoard v2.5

2017-08-17 Thread JD K
Hello,

When I attempt to setup AD or LDAP authentication I receive errors. I am 
pretty sure I have all the parameters configured correctly in ReviewBoard. 
I am pretty sure to some extent it is working because if I intentionally 
use a bad password, RB will tell me failed login, but when I enter the 
correct AD password it redirects me to a 500 error. This is a RHEL 7 server 
using Review Board 2.5, and I installed python-ldap.


[Wed Aug 16 18:35:16.316259 2017] [:error] [pid 11779] 
> ERROR:djblets.log.middleware:Exception thrown for user AnonymousUser at 
> http://my_reviewboard_url/account/login/
>
> [Wed Aug 16 18:35:16.316285 2017] [:error] [pid 11779]
>
> [Wed Aug 16 18:35:16.316288 2017] [:error] [pid 11779] {'info': 
> 'Referral:\\nldap://abc/dc=abc', 'desc': 'Referral'}
>
> [Wed Aug 16 18:35:16.316290 2017] [:error] [pid 11779] Traceback (most 
> recent call last):
>
> [Wed Aug 16 18:35:16.316292 2017] [:error] [pid 11779]   File 
> "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 112, 
> in get_response
>
> [Wed Aug 16 18:35:16.316294 2017] [:error] [pid 11779] response = 
> wrapped_callback(request, *callback_args, **callback_kwargs)
>
> [Wed Aug 16 18:35:16.316296 2017] [:error] [pid 11779]   File 
> "/usr/lib/python2.7/site-packages/django/views/decorators/debug.py", line 
> 75, in sensitive_post_parameters_wrapper
>
> [Wed Aug 16 18:35:16.316298 2017] [:error] [pid 11779] return 
> view(request, *args, **kwargs)
>
> [Wed Aug 16 18:35:16.316300 2017] [:error] [pid 11779]   File 
> "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 99, in 
> _wrapped_view
>
> [Wed Aug 16 18:35:16.316302 2017] [:error] [pid 11779] response = 
> view_func(request, *args, **kwargs)
>
> [Wed Aug 16 18:35:16.316303 2017] [:error] [pid 11779]   File 
> "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", line 
> 52, in _wrapped_view_func
>
> [Wed Aug 16 18:35:16.316318 2017] [:error] [pid 11779] response = 
> view_func(request, *args, **kwargs)
>
> [Wed Aug 16 18:35:16.316320 2017] [:error] [pid 11779]   File 
> "/usr/lib/python2.7/site-packages/django/contrib/auth/views.py", line 36, 
> in login
>
> [Wed Aug 16 18:35:16.316322 2017] [:error] [pid 11779] if 
> form.is_valid():
>
> [Wed Aug 16 18:35:16.316323 2017] [:error] [pid 11779]   File 
> "/usr/lib/python2.7/site-packages/django/forms/forms.py", line 129, in 
> is_valid
>
> [Wed Aug 16 18:35:16.316325 2017] [:error] [pid 11779] return 
> self.is_bound and not bool(self.errors)
>
> [Wed Aug 16 18:35:16.316327 2017] [:error] [pid 11779]   File 
> "/usr/lib/python2.7/site-packages/django/forms/forms.py", line 121, in 
> errors
>
> [Wed Aug 16 18:35:16.316328 2017] [:error] [pid 11779] 
> self.full_clean()
>
> [Wed Aug 16 18:35:16.316330 2017] [:error] [pid 11779]   File 
> "/usr/lib/python2.7/site-packages/django/forms/forms.py", line 274, in 
> full_clean
>
> [Wed Aug 16 18:35:16.316331 2017] [:error] [pid 11779] 
> self._clean_form()
>
> [Wed Aug 16 18:35:16.316333 2017] [:error] [pid 11779]   File 
> "/usr/lib/python2.7/site-packages/django/forms/forms.py", line 300, in 
> _clean_form
>
> [Wed Aug 16 18:35:16.316334 2017] [:error] [pid 11779] 
> self.cleaned_data = self.clean()
>
> [Wed Aug 16 18:35:16.316336 2017] [:error] [pid 11779]   File 
> "/usr/lib/python2.7/site-packages/django/contrib/auth/forms.py", line 189, 
> in clean
>
> [Wed Aug 16 18:35:16.316338 2017] [:error] [pid 11779] 
> password=password)
>
> [Wed Aug 16 18:35:16.316339 2017] [:error] [pid 11779]   File 
> "/usr/lib/python2.7/site-packages/django/contrib/auth/__init__.py", line 
> 49, in authenticate
>
> [Wed Aug 16 18:35:16.316341 2017] [:error] [pid 11779] user = 
> backend.authenticate(**credentials)
>
> [Wed Aug 16 18:35:16.316342 2017] [:error] [pid 11779]   File 
> "/usr/lib/python2.7/site-packages/reviewboard/accounts/backends.py", line 
> 988, in authenticate
>
> [Wed Aug 16 18:35:16.316344 2017] [:error] [pid 11779] userdomain)
>
> [Wed Aug 16 18:35:16.316345 2017] [:error] [pid 11779]   File 
> "/usr/lib/python2.7/site-packages/reviewboard/accounts/backends.py", line 
> 840, in search_ad
>
> [Wed Aug 16 18:35:16.316347 2017] [:error] [pid 11779] 
> filterstr=filterstr)
>
> [Wed Aug 16 18:35:16.316349 2017] [:error] [pid 11779]   File 
> "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 552, in 
> search_s
>
> [Wed Aug 16 18:35:16.316350 2017] [:error] [pid 11779] return 
> self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout)
>
> [Wed Aug 16 18:35:16.316352 2017] [:error] [pid 11779]   File 
> "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 546, in 
> search_ext_s
>
> [Wed Aug 16 18:35:16.316353 2017] [:error] [pid 11779] return 
> self.result(msgid,all=1,timeout=timeout)[1]
>
> [Wed Aug 16 18:35:16.316355 2017] [:error] [pid 11779]   File 
> "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 

Error when integrating with local Gitlab respository

2017-08-17 Thread 魏冠雄
Hi All

I'm trying to integrate with self hosted Gitlab repository but getting this 
error, 

raceback (most recent call last):, referer: 
http://10.240.136.44/admin/db/scmtools/repository/add/
 11 [Thu Aug 17 09:14:26.667632 2017] [wsgi:error] [pid 11489:tid 
140333140629248] [client 10.240.136.44:40234]   File 
"/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/gitlab.py", 
line 245, in authorize, referer: 
http://10.240.136.44/admin/db/scmtools/repository/add/
 12 [Thu Aug 17 09:14:26.667634 2017] [wsgi:error] [pid 11489:tid 
140333140629248] [client 10.240.136.44:40234] 'password': password,, 
referer: http://10.240.136.44/admin/db/scmtools/repository/add/
 13 [Thu Aug 17 09:14:26.667636 2017] [wsgi:error] [pid 11489:tid 
140333140629248] [client 10.240.136.44:40234]   File 
"/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py", 
line 383, in json_post, referer: 
http://10.240.136.44/admin/db/scmtools/repository/add/
 14 [Thu Aug 17 09:14:26.667638 2017] [wsgi:error] [pid 11489:tid 
140333140629248] [client 10.240.136.44:40234] return 
self._do_json_method(self.http_post, *args, **kwargs), referer: 
http://10.240.136.44/admin/db/scmtools/repository/add/
 15 [Thu Aug 17 09:14:26.667640 2017] [wsgi:error] [pid 11489:tid 
140333140629248] [client 10.240.136.44:40234]   File 
"/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py", 
line 412, in _do_json_method, referer: 
http://10.240.136.44/admin/db/scmtools/repository/add/
 16 [Thu Aug 17 09:14:26.667642 2017] [wsgi:error] [pid 11489:tid 
140333140629248] [client 10.240.136.44:40234] data, headers = 
method(*args, **kwargs), referer: 
http://10.240.136.44/admin/db/scmtools/repository/add/
 17 [Thu Aug 17 09:14:26.667644 2017] [wsgi:error] [pid 11489:tid 
140333140629248] [client 10.240.136.44:40234]   File 
"/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py", 
line 245, in http_post, referer: 
http://10.240.136.44/admin/db/scmtools/repository/add/
 18 [Thu Aug 17 09:14:26.667646 2017] [wsgi:error] [pid 11489:tid 
140333140629248] [client 10.240.136.44:40234] method='POST', **kwargs), 
referer: http://10.240.136.44/admin/db/scmtools/repository/add/
 19 [Thu Aug 17 09:14:26.667648 2017] [wsgi:error] [pid 11489:tid 
140333140629248] [client 10.240.136.44:40234]   File 
"/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py", 
line 293, in http_request, referer: 
http://10.240.136.44/admin/db/scmtools/repository/add/
 20 [Thu Aug 17 09:14:26.667650 2017] [wsgi:error] [pid 11489:tid 
140333140629248] [client 10.240.136.44:40234] response = 
urlopen(request), referer: 
http://10.240.136.44/admin/db/scmtools/repository/add/
 21 [Thu Aug 17 09:14:26.667658 2017] [wsgi:error] [pid 11489:tid 
140333140629248] [client 10.240.136.44:40234]   File 
"/usr/lib/python2.7/urllib2.py", line 154, in urlopen, referer: 
http://10.240.136.44/admin/db/scmtools/repository/add/
 22 [Thu Aug 17 09:14:26.667660 2017] [wsgi:error] [pid 11489:tid 
140333140629248] [client 10.240.136.44:40234] return opener.open(url, 
data, timeout), referer: 
http://10.240.136.44/admin/db/scmtools/repository/add/
 23 [Thu Aug 17 09:14:26.667662 2017] [wsgi:error] [pid 11489:tid 
140333140629248] [client 10.240.136.44:40234]   File 
"/usr/lib/python2.7/urllib2.py", line 435, in open, referer: 
http://10.240.136.44/admin/db/scmtools/repository/add/
 24 [Thu Aug 17 09:14:26.667663 2017] [wsgi:error] [pid 11489:tid 
140333140629248] [client 10.240.136.44:40234] response = meth(req, 
response), referer: http://10.240.136.44/admin/db/scmtools/repository/add/ 
 25 [Thu Aug 17 09:14:26.667665 2017] [wsgi:error] [pid 11489:tid 
140333140629248] [client 10.240.136.44:40234]   File 
"/usr/lib/python2.7/urllib2.py", line 548, in http_response, referer: 
http://10.240.136.44/admin/db/scmtools/repository/add/
 26 [Thu Aug 17 09:14:26.667666 2017] [wsgi:error] [pid 11489:tid 
140333140629248] [client 10.240.136.44:40234] 'http', request, 
response, code, msg, hdrs), referer: 
http://10.240.136.44/admin/db/scmtools/repository/add/
 27 [Thu Aug 17 09:14:26.667684 2017] [wsgi:error] [pid 11489:tid 
140333140629248] [client 10.240.136.44:40234]   File 
"/usr/lib/python2.7/urllib2.py", line 473, in error, referer: 
http://10.240.136.44/admin/db/scmtools/repository/add/
 28 [Thu Aug 17 09:14:26.667689 2017] [wsgi:error] [pid 11489:tid 
140333140629248] [client 10.240.136.44:40234] return 
self._call_chain(*args), referer: 
http://10.240.136.44/admin/db/scmtools/repository/add/ 
 29 [Thu Aug 17 09:14:26.667690 2017] [wsgi:error] [pid 11489:tid 
140333140629248] [client 10.240.136.44:40234]   File 
"/usr/lib/python2.7/urllib2.py", line 407, in _call_chain, referer: 
http://10.240.136.44/admin/db/scmtools/repository/add/
 30 [Thu Aug 17 09:14:26.667692 2017] [wsgi:error] [pid 11489:tid 
140333140629248] 

Re: UnicodeDecodeError in "rb-site install"

2017-08-17 Thread Christian Hammond
Hi Marc,

Where are you seeing this error, and what happens before it appears?

Can you also let me know what version of Review Board you're using?

Christian

On Thu, Aug 17, 2017 at 12:36 AM, Marc Richter 
wrote:

> Hi everyone,
> I tried to setup RB with the help of several different Docker containers;
> I even started a new one from scratch myself. And I *always* end up with
> the following error:
>
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 34
>
>
> I have tried the following Docker containers:
>
> ducatel/reviewboard
> ikatson/reviewboard
> derjudge/reviewboard
>
> with this values:
> DB_HOST=172.17.0.1
> DB_USER=reviewboard
> DB_NAME=reviewboard
> DB_PASSWORD=not-shown-here
> DOMAIN=www.somewhere.com
> SITE_ROOT=/review/
> RB_PASSWORD=mypass
> RB_ADMIN_EMAIL=someth...@somewhere.com
>
> I connect to a PostgreSQL 9.6 DB with UTF-8 encoding.
> I have absolutely no idea where this comes from; do all people out there
> have these issues with RB currently?
>
> Thanks for your ideas!
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://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.
>



-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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.


UnicodeDecodeError in "rb-site install"

2017-08-17 Thread Marc Richter
Hi everyone,
I tried to setup RB with the help of several different Docker containers; I 
even started a new one from scratch myself. And I *always* end up with the 
following error:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 34


I have tried the following Docker containers:

ducatel/reviewboard
ikatson/reviewboard
derjudge/reviewboard

with this values:
DB_HOST=172.17.0.1
DB_USER=reviewboard
DB_NAME=reviewboard
DB_PASSWORD=not-shown-here
DOMAIN=www.somewhere.com
SITE_ROOT=/review/
RB_PASSWORD=mypass
RB_ADMIN_EMAIL=someth...@somewhere.com

I connect to a PostgreSQL 9.6 DB with UTF-8 encoding.
I have absolutely no idea where this comes from; do all people out there 
have these issues with RB currently?

Thanks for your ideas!

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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: rbtools error

2017-08-17 Thread David Trowbridge
Can you run with --debug and send us the full output?

Also note that you're running a pre-release of 0.7.5. It might be worth
upgrading to 0.7.10 and seeing if your bug is already fixed.


-David

On Wed, Aug 16, 2017 at 11:05 PM eran meiri  wrote:

> Hello, I am having some trouble with using rbtools with windows
>
> this is the error :
> C:\Program Files
> (x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.5alpha0-py2.7.egg\rbtools\commands\main.py:101:
> UnicodeWarning: Unicode equal comparison failed to convert both arguments
> to Unicode -
>
> interpreting them as being unequal
>
>   elif opt.help or '--help' in args or '-h' in args:
>
> CRITICAL: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not
> in range(128)
>
>
>
> any help would be appreciated
>
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://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.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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.


rbtools error

2017-08-17 Thread eran meiri
Hello, I am having some trouble with using rbtools with windows

this is the error :
C:\Program Files 
(x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.5alpha0-py2.7.egg\rbtools\commands\main.py:101:
 
UnicodeWarning: Unicode equal comparison failed to convert both arguments 
to Unicode - 

interpreting them as being unequal

  elif opt.help or '--help' in args or '-h' in args:

CRITICAL: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not 
in range(128)



any help would be appreciated


-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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.