Re: RB 1.6.7.1: can't add any repository

2012-06-10 Thread    

Hi Christian-

The new egg works for me, but now I'm back to the original problem: 

The file 'gitclone_test_env.sh' (red79ea28cb4d56c62e8d5ea50a965848bbca2420) 
could not be found in the repository


Oddly, note that the hash starts with r where the diff doesn't have that 
r:

diff --git a/gitclone_test_env.sh b/gitclone_test_env.sh
index 
*ed79ea28cb4d56c62e8d5ea50a965848bbca2420*..cfb87a34c493031157803e92182002fa61342732
 
100644
[...]


Could this be the issue why I can't post diffs? Any idea how I might debug 
this?

Thanks, as always!

-Tobias

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: RB 1.6.7.1: can't add any repository

2012-06-10 Thread Christian Hammond
Hi,

So that's no longer a Review Board issue. I bet that file really isn't in
the repository. If you look at that exact file and revision, is it
available on GitHub anywhere, or just your local repository?

Where are you committing your change, and what revision/branch are you
basing it on? Make sure it's one that's available upstream in your GitHub
repo.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Sun, Jun 10, 2012 at 12:08 PM, t...@fictive.com wrote:


 Hi Christian-

 The new egg works for me, but now I'm back to the original problem:

 The file 'gitclone_test_env.sh'
 (red79ea28cb4d56c62e8d5ea50a965848bbca2420) could not be found in the
 repository


 Oddly, note that the hash starts with r where the diff doesn't have that
 r:

 diff --git a/gitclone_test_env.sh b/gitclone_test_env.sh
 index 
 *ed79ea28cb4d56c62e8d5ea50a965848bbca2420*..cfb87a34c493031157803e92182002fa61342732
 100644
 [...]


 Could this be the issue why I can't post diffs? Any idea how I might debug
 this?

 Thanks, as always!

 -Tobias

  --
 Want to help the Review Board project? Donate today at
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to
 reviewboard+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/reviewboard?hl=en


-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

RB 1.6.7.1: can't add any repository

2012-06-09 Thread    
I am new to RB, so please bear with me if this is a stupid question.

I installed RB 1.6.6 as a PoC a week ago. It ran fine, albeit I never 
managed to upload a git diff --full-index --- it always complained about 
the first file in the diff, saying that said file with hash hash couldn't 
be found in the (github) repository. (The UI had a green check mark next to 
it, though, so I assume the repository setup was OK.)

Anyhow, reading about the github API upgrade this week, I assumed maybe 
that had something to do with it. So I installed 1.6.7.1 and upgraded the 
site as per the documentation (rb-site upgrade path). I don't recall 
fully whether this went smoothly, but ever since, I can't add a repository. 
I nuked the site, deinstalled 1.6.6, dropped the mysql database, 
reinstalled 1.6.7 and added the site from scratch. Same thing. I hit add 
and the request never returns. No response. I bounced apache, mysql and 
memcached, cleared my browser cache, to no avail.

Any idea how I might debug this? RB logging is enabled but the logs are 
empty.

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: RB 1.6.7.1: can't add any repository

2012-06-09 Thread Christian Hammond
Hi,

Do you get any errors at all when trying to add the repository?

Is the Review Board server behind a proxy at all? The lack of a response
makes me wonder if it can't reach GitHub.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Sat, Jun 9, 2012 at 11:33 AM, t...@fictive.com wrote:

 I am new to RB, so please bear with me if this is a stupid question.

 I installed RB 1.6.6 as a PoC a week ago. It ran fine, albeit I never
 managed to upload a git diff --full-index --- it always complained about
 the first file in the diff, saying that said file with hash hash couldn't
 be found in the (github) repository. (The UI had a green check mark next to
 it, though, so I assume the repository setup was OK.)

 Anyhow, reading about the github API upgrade this week, I assumed maybe
 that had something to do with it. So I installed 1.6.7.1 and upgraded the
 site as per the documentation (rb-site upgrade path). I don't recall
 fully whether this went smoothly, but ever since, I can't add a repository.
 I nuked the site, deinstalled 1.6.6, dropped the mysql database,
 reinstalled 1.6.7 and added the site from scratch. Same thing. I hit add
 and the request never returns. No response. I bounced apache, mysql and
 memcached, cleared my browser cache, to no avail.

 Any idea how I might debug this? RB logging is enabled but the logs are
 empty.

 --
 Want to help the Review Board project? Donate today at
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to
 reviewboard+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: RB 1.6.7.1: can't add any repository

2012-06-09 Thread    
Thanks for the quick reply!

No errors. I literally click the Add Repository button and nothing 
happens. This is with zero repositories configured yet, so RB has no 
knowledge of github yet. No proxy involved either. I ran ngrep on localhost 
to see whether perhaps it was blocked somehow on MySQL, but no packets 
showed up

-Tobias

On Saturday, June 9, 2012 1:51:59 PM UTC-7, Christian Hammond wrote:

 Hi,

 Do you get any errors at all when trying to add the repository?

 Is the Review Board server behind a proxy at all? The lack of a response 
 makes me wonder if it can't reach GitHub.

 Christian

 -- 
 Christian Hammond - chip...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Sat, Jun 9, 2012 at 11:33 AM,  wrote:

 I am new to RB, so please bear with me if this is a stupid question.

 I installed RB 1.6.6 as a PoC a week ago. It ran fine, albeit I never 
 managed to upload a git diff --full-index --- it always complained about 
 the first file in the diff, saying that said file with hash hash couldn't 
 be found in the (github) repository. (The UI had a green check mark next to 
 it, though, so I assume the repository setup was OK.)

 Anyhow, reading about the github API upgrade this week, I assumed maybe 
 that had something to do with it. So I installed 1.6.7.1 and upgraded the 
 site as per the documentation (rb-site upgrade path). I don't recall 
 fully whether this went smoothly, but ever since, I can't add a repository. 
 I nuked the site, deinstalled 1.6.6, dropped the mysql database, 
 reinstalled 1.6.7 and added the site from scratch. Same thing. I hit add 
 and the request never returns. No response. I bounced apache, mysql and 
 memcached, cleared my browser cache, to no avail.

 Any idea how I might debug this? RB logging is enabled but the logs are 
 empty.

 -- 
 Want to help the Review Board project? Donate today at 
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to 
 reviewboard+unsubscr...@googlegroups.com
 For more options, visit this group at 
 http://groups.google.com/group/reviewboard?hl=en




-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: RB 1.6.7.1: can't add any repository

2012-06-09 Thread    
Update: after having stepped away for a few hours, I was able to add a 
repository now. Weird.

However, now I am stuck at the next problem. I select Github, add account 
name and password and everything else, then click Save. The page returns 
with a notification saying

The authenticity of the host 'github.com (207.97.227.239)' couldn't be 
determined.

RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.

Do you trust this host, or do you want to go back and edit the repository 
information?
 

I click I trust this host, but then the page returns with 


   - This field is required.

Account password:

I input the password again, and the page returns with above notification. 
And so on, ad infinitum. What can I do here? Add a known_hosts file to 
the data/.ssh? Am I doing something wrong?

Thanks,

-Tobias

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: RB 1.6.7.1: can't add any repository

2012-06-09 Thread    
This command

ssh-keyscan -H github.com  data/.ssh/known_hosts  chown 
www-data:www-data

fixed the ssh issue. Now the next problem:


   - A repository was not found at the specified path.


Repository type is Git, plan is Private. What needs to go in the Name 
field? The repository I want to reach is one to which my account has rw 
access. The git URL is of the standard format 
g...@github.com:owner/name.git and I can read and edit the repository 
while logged into my account on github.com. I tried

name
name.git
owner/name
owner/name.git
g...@github.com:owner/name
g...@github.com:owner/name.git

none of which works for me. The documentation 
at http://www.reviewboard.org/docs/manual/1.6/admin/configuration/repositories/ 
doesn't appear to be up to date with 1.6.7.

Help very much appreciated!

-Tobias


-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: RB 1.6.7.1: can't add any repository

2012-06-09 Thread    
Update: had to choose Private Organization, then got owner and name 
fields.

Now back to my original problem, before running into the issue of this 
thread: I can't post a review. I created a diff via git diff --full-index 
and uploaded it via the web interface, only to get a 500:

Something broke! (Error 500)

It appears something broke when you tried to go to here. This is either a 
bug in Review Board or a server configuration error. Please report this to 
your administrator.

Well, being the admin myself, I looked in the logs ;)

2012-06-09 17:58:36,046 - ERROR - Internal Server Error: /r/new/

Traceback (most recent call last):

  File 
/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/cor

e/handlers/base.py, line 111, in get_response

response = callback(request, *callback_args, **callback_kwargs)

  File 
/usr/local/lib/python2.6/dist-packages/Djblets-0.6.18-py2.6.egg/djblets/

auth/util.py, line 46, in _checklogin

return view_func(request, *args, **kwargs)

  File 
/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/rev

iewboard/reviews/views.py, line 253, in new_review_request

local_site=local_site)

  File 
/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/reviews/forms.py,
 
line 234, in create

attach_to_history=True)

  File 
/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/reviews/forms.py,
 
line 286, in create

history)

  File 
/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/diffviewer/forms.py,
 
line 84, in create

diff_file, basedir, check_existance=(not parent_diff_file)))

  File 
/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/diffviewer/forms.py,
 
line 170, in _process_files

not self.repository.get_file_exists(filename, revision))):

  File 
/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/scmtools/models.py,
 
line 167, in get_file_exists

return hosting_service.get_file_exists(self, path, revision)

  File 
/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/hostingsvcs/github.py,
 
line 189, in get_file_exists

url = '%sgit/blobs/%s' % (self._get_repo_api_url(repository), revision)

  File 
/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/hostingsvcs/github.py,
 
line 203, in _get_repo_api_url

plan = repository.extra_data['repository_plan']

TypeError: string indices must be integers


Any idea what might have gone wrong? The diff looks just fine to me. 

-Tobias

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: RB 1.6.7.1: can't add any repository

2012-06-09 Thread Christian Hammond
Clearly some problems with the new change. I'm looking into each of them.
We'll probably put out another release soon. Thanks for reporting them, and
sorry, no immediate answers, but I may be able to get you an early build to
test with.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Sat, Jun 9, 2012 at 6:05 PM, t...@fictive.com wrote:

 Update: had to choose Private Organization, then got owner and name
 fields.

 Now back to my original problem, before running into the issue of this
 thread: I can't post a review. I created a diff via git diff --full-index
 and uploaded it via the web interface, only to get a 500:

 Something broke! (Error 500)

 It appears something broke when you tried to go to here. This is either a
 bug in Review Board or a server configuration error. Please report this to
 your administrator.

 Well, being the admin myself, I looked in the logs ;)

 2012-06-09 17:58:36,046 - ERROR - Internal Server Error: /r/new/

 Traceback (most recent call last):

   File
 /usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/cor

 e/handlers/base.py, line 111, in get_response

 response = callback(request, *callback_args, **callback_kwargs)

   File
 /usr/local/lib/python2.6/dist-packages/Djblets-0.6.18-py2.6.egg/djblets/

 auth/util.py, line 46, in _checklogin

 return view_func(request, *args, **kwargs)

   File
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/rev

 iewboard/reviews/views.py, line 253, in new_review_request

 local_site=local_site)

   File
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/reviews/forms.py,
 line 234, in create

 attach_to_history=True)

   File
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/reviews/forms.py,
 line 286, in create

 history)

   File
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/diffviewer/forms.py,
 line 84, in create

 diff_file, basedir, check_existance=(not parent_diff_file)))

   File
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/diffviewer/forms.py,
 line 170, in _process_files

 not self.repository.get_file_exists(filename, revision))):

   File
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/scmtools/models.py,
 line 167, in get_file_exists

 return hosting_service.get_file_exists(self, path, revision)

   File
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/hostingsvcs/github.py,
 line 189, in get_file_exists

 url = '%sgit/blobs/%s' % (self._get_repo_api_url(repository), revision)

   File
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/hostingsvcs/github.py,
 line 203, in _get_repo_api_url

 plan = repository.extra_data['repository_plan']

 TypeError: string indices must be integers


 Any idea what might have gone wrong? The diff looks just fine to me.

 -Tobias

 --
 Want to help the Review Board project? Donate today at
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to
 reviewboard+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/reviewboard?hl=en


-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: RB 1.6.7.1: can't add any repository

2012-06-09 Thread Christian Hammond
For what it's worth, the lack of a response was probably some networking
issue between you and GitHub. (It may have been GitHub's server failing to
respond and timing out).

I believe the required password issue is something I already have a fix
for, so I'll get you a build soon to test that.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Sat, Jun 9, 2012 at 7:49 PM, Christian Hammond chip...@chipx86.comwrote:

 Clearly some problems with the new change. I'm looking into each of them.
 We'll probably put out another release soon. Thanks for reporting them, and
 sorry, no immediate answers, but I may be able to get you an early build to
 test with.


 Christian

 --
 Christian Hammond - chip...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Sat, Jun 9, 2012 at 6:05 PM, t...@fictive.com wrote:

 Update: had to choose Private Organization, then got owner and name
 fields.

 Now back to my original problem, before running into the issue of this
 thread: I can't post a review. I created a diff via git diff --full-index
 and uploaded it via the web interface, only to get a 500:

 Something broke! (Error 500)

 It appears something broke when you tried to go to here. This is either a
 bug in Review Board or a server configuration error. Please report this to
 your administrator.

 Well, being the admin myself, I looked in the logs ;)

 2012-06-09 17:58:36,046 - ERROR - Internal Server Error: /r/new/

 Traceback (most recent call last):

   File
 /usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/cor

 e/handlers/base.py, line 111, in get_response

 response = callback(request, *callback_args, **callback_kwargs)

   File
 /usr/local/lib/python2.6/dist-packages/Djblets-0.6.18-py2.6.egg/djblets/

 auth/util.py, line 46, in _checklogin

 return view_func(request, *args, **kwargs)

   File
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/rev

 iewboard/reviews/views.py, line 253, in new_review_request

 local_site=local_site)

   File
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/reviews/forms.py,
 line 234, in create

 attach_to_history=True)

   File
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/reviews/forms.py,
 line 286, in create

 history)

   File
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/diffviewer/forms.py,
 line 84, in create

 diff_file, basedir, check_existance=(not parent_diff_file)))

   File
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/diffviewer/forms.py,
 line 170, in _process_files

 not self.repository.get_file_exists(filename, revision))):

   File
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/scmtools/models.py,
 line 167, in get_file_exists

 return hosting_service.get_file_exists(self, path, revision)

   File
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/hostingsvcs/github.py,
 line 189, in get_file_exists

 url = '%sgit/blobs/%s' % (self._get_repo_api_url(repository),
 revision)

   File
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/hostingsvcs/github.py,
 line 203, in _get_repo_api_url

 plan = repository.extra_data['repository_plan']

 TypeError: string indices must be integers


 Any idea what might have gone wrong? The diff looks just fine to me.

 -Tobias

 --
 Want to help the Review Board project? Donate today at
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to
 reviewboard+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/reviewboard?hl=en




-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: RB 1.6.7.1: can't add any repository

2012-06-09 Thread Christian Hammond
I'm realizing this doesn't make any sense at all. It's claiming that
repository.extra_data is a string, but it shouldn't be able to be one.

How familiar are you with Python? Would you mind trying something for me?

Run:

$ rb-site manage /path/to/site shell
 from reviewboard.scmtools.models import Repository
 repo = Repository.objects.get(name='your repo name')
 print repo.extra_data
 print type(repo.extra_data)

And paste the whole transcript.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Sat, Jun 9, 2012 at 6:05 PM, t...@fictive.com wrote:

 Update: had to choose Private Organization, then got owner and name
 fields.

 Now back to my original problem, before running into the issue of this
 thread: I can't post a review. I created a diff via git diff --full-index
 and uploaded it via the web interface, only to get a 500:

 Something broke! (Error 500)

 It appears something broke when you tried to go to here. This is either a
 bug in Review Board or a server configuration error. Please report this to
 your administrator.

 Well, being the admin myself, I looked in the logs ;)

 2012-06-09 17:58:36,046 - ERROR - Internal Server Error: /r/new/

 Traceback (most recent call last):

   File
 /usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/cor

 e/handlers/base.py, line 111, in get_response

 response = callback(request, *callback_args, **callback_kwargs)

   File
 /usr/local/lib/python2.6/dist-packages/Djblets-0.6.18-py2.6.egg/djblets/

 auth/util.py, line 46, in _checklogin

 return view_func(request, *args, **kwargs)

   File
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/rev

 iewboard/reviews/views.py, line 253, in new_review_request

 local_site=local_site)

   File
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/reviews/forms.py,
 line 234, in create

 attach_to_history=True)

   File
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/reviews/forms.py,
 line 286, in create

 history)

   File
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/diffviewer/forms.py,
 line 84, in create

 diff_file, basedir, check_existance=(not parent_diff_file)))

   File
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/diffviewer/forms.py,
 line 170, in _process_files

 not self.repository.get_file_exists(filename, revision))):

   File
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/scmtools/models.py,
 line 167, in get_file_exists

 return hosting_service.get_file_exists(self, path, revision)

   File
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/hostingsvcs/github.py,
 line 189, in get_file_exists

 url = '%sgit/blobs/%s' % (self._get_repo_api_url(repository), revision)

   File
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.7.1-py2.6.egg/reviewboard/hostingsvcs/github.py,
 line 203, in _get_repo_api_url

 plan = repository.extra_data['repository_plan']

 TypeError: string indices must be integers


 Any idea what might have gone wrong? The diff looks just fine to me.

 -Tobias

 --
 Want to help the Review Board project? Donate today at
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to
 reviewboard+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/reviewboard?hl=en


-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: RB 1.6.7.1: can't add any repository

2012-06-09 Thread    
I'ts been a couple of years since I wrote Python but I think I can still do 
it ;)

Here's the output. Org and repo names changed to myFoo (they happen to be 
the same):

 print repo.extra_data
{u'bug_tracker_use_hosting': False, u'github_private_org_name': u'myFoo', 
u'github_private_org_repo_name': u'myFoo', u'repository_plan': 
u'private-org'}
 print type(repo.extra_data)
type 'dict'

I'll be happy to help debug. 

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: RB 1.6.7.1: can't add any repository

2012-06-09 Thread    


 For what it's worth, the lack of a response was probably some networking 
 issue between you and GitHub. (It may have been GitHub's server failing to 
 respond and timing out).


I doubt it. Remember, this was a naked install, with zero data. Clicking 
the Add Repository button on the Dashboard gave me an endless wait, 100% 
reproducible for about 6-8 hours. All the while I was logged in via ssh, so 
it's unlikely it was the network... Odd.

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: RB 1.6.7.1: can't add any repository

2012-06-09 Thread Christian Hammond
It may not be your network, but possibly GitHub's SSH servers were the
problem? I've seen that happen before. There's certainly nothing on the RB
side that should block that long. Anyway, please let me know if that
happens again and we'll poke more at it.

I'll have a build for you soon to test with.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Sat, Jun 9, 2012 at 9:03 PM, t...@fictive.com wrote:

 For what it's worth, the lack of a response was probably some networking
 issue between you and GitHub. (It may have been GitHub's server failing to
 respond and timing out).


 I doubt it. Remember, this was a naked install, with zero data. Clicking
 the Add Repository button on the Dashboard gave me an endless wait, 100%
 reproducible for about 6-8 hours. All the while I was logged in via ssh, so
 it's unlikely it was the network... Odd.

 --
 Want to help the Review Board project? Donate today at
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to
 reviewboard+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/reviewboard?hl=en


-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en