Something broke! (Error 500) when trying to access

2024-08-24 Thread Albert Tseng
Hello, All:

Recently I was trying to access General>, I got the 
following errors.
"

*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.*
"

I restarted APACHE2 service and it didn't help.

After accessing , I didn't see anything new from 
/var/log/apache2/error.log but see one line update from 
toher_vhosts_acess.log, which is "review.peta.lan:80 10.0.5.4 - - 
[24/Aug/2024:02:49:01 +] "GET /admin/settings/general/" 500 680 
"http://review.peta.lan/admin/cache/"; "Mozilla/5.0 (Windows NT 10.0; Win64; 
x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36"

In /var/log/apache2/error.log, I did see one admin cache related errors as 
shown in below highlighted red. 
[Fri Aug 23 06:25:01.726895 2024] [wsgi:warn] [pid 569] mod_wsgi: Compiled 
for Python/2.7.11.
[Fri Aug 23 06:25:01.726916 2024] [wsgi:warn] [pid 569] mod_wsgi: Runtime 
using Python/2.7.12.
[Fri Aug 23 06:25:01.726999 2024] [mpm_prefork:notice] [pid 569] AH00163: 
Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 mod_wsgi/4.3.0 Python/2.7.12 
mod_perl/2.0.9 Perl/v5.22.1 configured -- resuming normal operations
[Fri Aug 23 06:25:01.727009 2024] [core:notice] [pid 569] AH00094: Command 
line: '/usr/sbin/apache2'
[Fri Aug 23 11:27:56.383319 2024] [mpm_prefork:notice] [pid 569] AH00169: 
caught SIGTERM, shutting down
[Fri Aug 23 11:30:00.981054 2024] [wsgi:warn] [pid 583] mod_wsgi: Compiled 
for Python/2.7.11.
[Fri Aug 23 11:30:00.981182 2024] [wsgi:warn] [pid 583] mod_wsgi: Runtime 
using Python/2.7.12.
[Fri Aug 23 11:30:00.982623 2024] [mpm_prefork:notice] [pid 583] AH00163: 
Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 mod_wsgi/4.3.0 Python/2.7.12 
mod_perl/2.0.9 Perl/v5.22.1 configured -- resuming normal operations
[Fri Aug 23 11:30:00.982642 2024] [core:notice] [pid 583] AH00094: Command 
line: '/usr/sbin/apache2'
[Fri Aug 23 18:14:40.095691 2024] [mpm_prefork:notice] [pid 583] AH00169: 
caught SIGTERM, shutting down
[Fri Aug 23 18:14:40.868140 2024] [wsgi:warn] [pid 14762] mod_wsgi: 
Compiled for Python/2.7.11.
[Fri Aug 23 18:14:40.868162 2024] [wsgi:warn] [pid 14762] mod_wsgi: Runtime 
using Python/2.7.12.
[Fri Aug 23 18:14:40.869624 2024] [mpm_prefork:notice] [pid 14762] AH00163: 
Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 mod_wsgi/4.3.0 Python/2.7.12 
mod_perl/2.0.9 Perl/v5.22.1 configured -- resuming normal operations
[Fri Aug 23 18:14:40.869655 2024] [core:notice] [pid 14762] AH00094: 
Command line: '/usr/sbin/apache2'
[Fri Aug 23 18:26:21.870520 2024] [mpm_prefork:notice] [pid 14762] AH00169: 
caught SIGTERM, shutting down
[Fri Aug 23 18:26:43.482361 2024] [wsgi:warn] [pid 15258] mod_wsgi: 
Compiled for Python/2.7.11.
[Fri Aug 23 18:26:43.482382 2024] [wsgi:warn] [pid 15258] mod_wsgi: Runtime 
using Python/2.7.12.
[Fri Aug 23 18:26:43.483739 2024] [mpm_prefork:notice] [pid 15258] AH00163: 
Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 mod_wsgi/4.3.0 Python/2.7.12 
mod_perl/2.0.9 Perl/v5.22.1 configured -- resuming normal operations
[Fri Aug 23 18:26:43.483767 2024] [core:notice] [pid 15258] AH00094: 
Command line: '/usr/sbin/apache2'
[Sat Aug 24 02:09:02.322534 2024] [wsgi:error] [pid 15266] [client 
10.0.5.4:53754] mod_wsgi (pid=15266): Exception occurred processing WSGI 
script '/var/www/reviewboard/htdocs/reviewboard.wsgi'., referer: 
http://review.peta.lan/admin/cache/
[Sat Aug 24 02:09:02.322617 2024] [wsgi:error] [pid 15266] [client 
10.0.5.4:53754] IOError: failed to write data, referer: 
http://review.peta.lan/admin/cache/
[Sat Aug 24 02:09:20.025073 2024] [wsgi:error] [pid 15267] [client 
10.0.5.4:53757] mod_wsgi (pid=15267): Exception occurred processing WSGI 
script '/var/www/reviewboard/htdocs/reviewboard.wsgi'., referer: 
http://review.peta.lan/admin/cache/
[Sat Aug 24 02:09:20.025164 2024] [wsgi:error] [pid 15267] [client 
10.0.5.4:53757] IOError: failed to write data, referer: 
http://review.peta.lan/admin/cache/
[Sat Aug 24 02:50:40.720063 2024] [wsgi:error] [pid 15265] [client 
10.0.5.4:54048] mod_wsgi (pid=15265): Exception occurred processing WSGI 
script '/var/www/reviewboard/htdocs/reviewboard.wsgi'., referer: 
http://review.peta.lan/admin/cache/
[Sat Aug 24 02:50:40.720139 2024] [wsgi:error] [pid 15265] [client 
10.0.5.4:54048] IOError: failed to write data, referer: 
http://review.peta.lan/admin/cache/

The version of Review Board I am using is old, 2.5. Please let me know if 
there is anything I can do to solve the problem. Thanks.

Best Regards,
Albert



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

Re: Something broke! (Error 500) when adding Perforce

2021-02-10 Thread Glen Banyard
Thank you David,

I installed the helix cli base to the server and now added the repo.


On Tuesday, 9 February 2021 at 16:35:36 UTC David Trowbridge wrote:

> It looks like your web server is unable to find the "p4" executable. We've 
> mostly moved away from requiring that but it seems like accepting 
> certificates still uses it.
>
> David
>
> On Tue, Feb 9, 2021 at 9:16 AM Glen Banyard  wrote:
>
>> Hi,
>>
>> So I have set up Perforce on Ubuntu 18.04 LTS and installed as per the 
>> documentation, however running into an error when trying to add the 
>> Perforce repo
>>
>> The traceback email
>> [Review Board] ERROR (EXTERNAL IP): Internal Server Error: 
>> /admin/db/scmtools/repository/add/
>>
>> Traceback (most recent call last):
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 
>> 112, in get_response
>>
>> response = wrapped_callback(request, *callback_args, 
>> **callback_kwargs)
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/options.py", 
>> line 465, in wrapper
>>
>> return self.admin_site.admin_view(view)(*args, **kwargs)
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line 
>> 99, in _wrapped_view
>>
>> response = view_func(request, *args, **kwargs)
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/django/views/decorators/cache.py", 
>> line 52, in _wrapped_view_func
>>
>> response = view_func(request, *args, **kwargs)
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/sites.py", 
>> line 198, in inner
>>
>> return view(request, *args, **kwargs)
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line 
>> 29, in _wrapper
>>
>> return bound_func(*args, **kwargs)
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line 
>> 99, in _wrapped_view
>>
>> response = view_func(request, *args, **kwargs)
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line 
>> 25, in bound_func
>>
>> return func(self, *args2, **kwargs2)
>>
>>  
>>
>>   File "/usr/local/lib/python2.7/dist-packages/django/db/transaction.py", 
>> line 371, in inner
>>
>> return func(*args, **kwargs)
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/options.py", 
>> line 1146, in add_view
>>
>> if form.is_valid():
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/forms.py", 
>> line 2043, in is_valid
>>
>> return (super(RepositoryForm, self).is_valid() and
>>
>>  
>>
>>   File "/usr/local/lib/python2.7/dist-packages/django/forms/forms.py", 
>> line 129, in is_valid
>>
>> return self.is_bound and not bool(self.errors)
>>
>>  
>>
>>   File "/usr/local/lib/python2.7/dist-packages/django/forms/forms.py", 
>> line 121, in errors
>>
>> self.full_clean()
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/forms.py", 
>> line 1778, in full_clean
>>
>> super(RepositoryForm, self).full_clean(*args, **kwargs)
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/site/mixins.py", line 
>> 282, in full_clean
>>
>> return super(LocalSiteAwareModelFormMixin, self).full_clean()
>>
>>  
>>
>>   File "/usr/local/lib/python2.7/dist-packages/django/forms/forms.py", 
>> line 274, in full_clean
>>
>> self._clean_form()
>>
>>  
>>
>>   File "/usr/local/lib/python2.7/dist-packages/django/forms/forms.py", 
>> line 300, in _clean_form
>>
>> self.cleaned_data = self.clean()
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/forms.py", 
>> line 1823, in clean
>>
>> self._verify_repository_path()
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/forms.py", 
>> line 2316, in _verify_repository_path
>>
>> certificate=e.certificate)
>>
>>  
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/perforce.py", 
>> line 936, in accept_certificate
>>
>> stderr=subprocess.PIPE)
>>
>>  
>>
>>   File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
>>
>> errread, errwrite)
>>
>>  
>>
>>   File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
>>
>> raise child_exception
>>
>>  
>> OSError: [Errno 2] No such file or directory
>>
>>
>> Any guidance on where to start, very new to 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 
>> "Review Board Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>>

Re: Something broke! (Error 500) when adding Perforce

2021-02-09 Thread David Trowbridge
It looks like your web server is unable to find the "p4" executable. We've
mostly moved away from requiring that but it seems like accepting
certificates still uses it.

David

On Tue, Feb 9, 2021 at 9:16 AM Glen Banyard  wrote:

> Hi,
>
> So I have set up Perforce on Ubuntu 18.04 LTS and installed as per the
> documentation, however running into an error when trying to add the
> Perforce repo
>
> The traceback email
> [Review Board] ERROR (EXTERNAL IP): Internal Server Error:
> /admin/db/scmtools/repository/add/
>
> Traceback (most recent call last):
>
>
>
>   File
> "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line
> 112, in get_response
>
> response = wrapped_callback(request, *callback_args, **callback_kwargs)
>
>
>
>   File
> "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/options.py",
> line 465, in wrapper
>
> return self.admin_site.admin_view(view)(*args, **kwargs)
>
>
>
>   File
> "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line
> 99, in _wrapped_view
>
> response = view_func(request, *args, **kwargs)
>
>
>
>   File
> "/usr/local/lib/python2.7/dist-packages/django/views/decorators/cache.py",
> line 52, in _wrapped_view_func
>
> response = view_func(request, *args, **kwargs)
>
>
>
>   File
> "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/sites.py",
> line 198, in inner
>
> return view(request, *args, **kwargs)
>
>
>
>   File
> "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line
> 29, in _wrapper
>
> return bound_func(*args, **kwargs)
>
>
>
>   File
> "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line
> 99, in _wrapped_view
>
> response = view_func(request, *args, **kwargs)
>
>
>
>   File
> "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line
> 25, in bound_func
>
> return func(self, *args2, **kwargs2)
>
>
>
>   File "/usr/local/lib/python2.7/dist-packages/django/db/transaction.py",
> line 371, in inner
>
> return func(*args, **kwargs)
>
>
>
>   File
> "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/options.py",
> line 1146, in add_view
>
> if form.is_valid():
>
>
>
>   File
> "/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/forms.py",
> line 2043, in is_valid
>
> return (super(RepositoryForm, self).is_valid() and
>
>
>
>   File "/usr/local/lib/python2.7/dist-packages/django/forms/forms.py",
> line 129, in is_valid
>
> return self.is_bound and not bool(self.errors)
>
>
>
>   File "/usr/local/lib/python2.7/dist-packages/django/forms/forms.py",
> line 121, in errors
>
> self.full_clean()
>
>
>
>   File
> "/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/forms.py",
> line 1778, in full_clean
>
> super(RepositoryForm, self).full_clean(*args, **kwargs)
>
>
>
>   File
> "/usr/local/lib/python2.7/dist-packages/reviewboard/site/mixins.py", line
> 282, in full_clean
>
> return super(LocalSiteAwareModelFormMixin, self).full_clean()
>
>
>
>   File "/usr/local/lib/python2.7/dist-packages/django/forms/forms.py",
> line 274, in full_clean
>
> self._clean_form()
>
>
>
>   File "/usr/local/lib/python2.7/dist-packages/django/forms/forms.py",
> line 300, in _clean_form
>
> self.cleaned_data = self.clean()
>
>
>
>   File
> "/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/forms.py",
> line 1823, in clean
>
> self._verify_repository_path()
>
>
>
>   File
> "/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/forms.py",
> line 2316, in _verify_repository_path
>
> certificate=e.certificate)
>
>
>
>   File
> "/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/perforce.py",
> line 936, in accept_certificate
>
> stderr=subprocess.PIPE)
>
>
>
>   File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
>
> errread, errwrite)
>
>
>
>   File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
>
> raise child_exception
>
>
> OSError: [Errno 2] No such file or directory
>
>
> Any guidance on where to start, very new to 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
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/47e020e9-05f7-4e67-a5f2-b3e59bf27799n%40googlegroups.com
> 
> .
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review B

Something broke! (Error 500) when adding Perforce

2021-02-09 Thread Glen Banyard
Hi,

So I have set up Perforce on Ubuntu 18.04 LTS and installed as per the 
documentation, however running into an error when trying to add the 
Perforce repo

The traceback email
[Review Board] ERROR (EXTERNAL IP): Internal Server Error: 
/admin/db/scmtools/repository/add/

Traceback (most recent call last):

 

  File 
"/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 
112, in get_response

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

 

  File 
"/usr/local/lib/python2.7/dist-packages/django/contrib/admin/options.py", 
line 465, in wrapper

return self.admin_site.admin_view(view)(*args, **kwargs)

 

  File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", 
line 99, in _wrapped_view

response = view_func(request, *args, **kwargs)

 

  File 
"/usr/local/lib/python2.7/dist-packages/django/views/decorators/cache.py", 
line 52, in _wrapped_view_func

response = view_func(request, *args, **kwargs)

 

  File 
"/usr/local/lib/python2.7/dist-packages/django/contrib/admin/sites.py", 
line 198, in inner

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

 

  File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", 
line 29, in _wrapper

return bound_func(*args, **kwargs)

 

  File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", 
line 99, in _wrapped_view

response = view_func(request, *args, **kwargs)

 

  File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", 
line 25, in bound_func

return func(self, *args2, **kwargs2)

 

  File "/usr/local/lib/python2.7/dist-packages/django/db/transaction.py", 
line 371, in inner

return func(*args, **kwargs)

 

  File 
"/usr/local/lib/python2.7/dist-packages/django/contrib/admin/options.py", 
line 1146, in add_view

if form.is_valid():

 

  File 
"/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/forms.py", 
line 2043, in is_valid

return (super(RepositoryForm, self).is_valid() and

 

  File "/usr/local/lib/python2.7/dist-packages/django/forms/forms.py", line 
129, in is_valid

return self.is_bound and not bool(self.errors)

 

  File "/usr/local/lib/python2.7/dist-packages/django/forms/forms.py", line 
121, in errors

self.full_clean()

 

  File 
"/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/forms.py", 
line 1778, in full_clean

super(RepositoryForm, self).full_clean(*args, **kwargs)

 

  File "/usr/local/lib/python2.7/dist-packages/reviewboard/site/mixins.py", 
line 282, in full_clean

return super(LocalSiteAwareModelFormMixin, self).full_clean()

 

  File "/usr/local/lib/python2.7/dist-packages/django/forms/forms.py", line 
274, in full_clean

self._clean_form()

 

  File "/usr/local/lib/python2.7/dist-packages/django/forms/forms.py", line 
300, in _clean_form

self.cleaned_data = self.clean()

 

  File 
"/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/forms.py", 
line 1823, in clean

self._verify_repository_path()

 

  File 
"/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/forms.py", 
line 2316, in _verify_repository_path

certificate=e.certificate)

 

  File 
"/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/perforce.py", 
line 936, in accept_certificate

stderr=subprocess.PIPE)

 

  File "/usr/lib/python2.7/subprocess.py", line 394, in __init__

errread, errwrite)

 

  File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child

raise child_exception

 
OSError: [Errno 2] No such file or directory


Any guidance on where to start, very new to 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 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/47e020e9-05f7-4e67-a5f2-b3e59bf27799n%40googlegroups.com.


Re: Something broke! (Error 500) Trouble copying reviewboard 3.0.15 to another server

2019-09-18 Thread Ron T
Thanks Christian. I think it was a secret key problem. The default
installation was working with an empty database but when the old database
was imported it broke.

On Tue, Sep 3, 2019, 12:46 Christian Hammond 
wrote:

> Gah I’m sorry, Ron. Can I blame autocorrect?
>
> Christian
>
>
> On Tue, Sep 3, 2019 at 12:46 Christian Hammond 
> wrote:
>
>> Hi Rob,
>>
>> Looks like your mod_wsgi setup isn’t enabled or working correctly, or you
>> have a default Apache vhost that’s conflicting with the Review Board one.
>> It shouldn’t be serving any files directly from our htdocs.
>>
>> Judging by the first error, you may also need to re-run `rb-site upgrade`
>> on the Review Board site directory in order to fix media links.
>>
>> Also, make sure you’re using the same SECRET_KEY in
>> conf/settings_local.py.
>>
>> Christian
>>
>>
>> On Mon, Sep 2, 2019 at 23:53 Ron T  wrote:
>>
>>> In addition this error is in the error log
>>> [autoindex:error] [pid 19085] [client 10.101.0.0:55445] AH01276: Cannot
>>> serve directory /www/reviewboard/htdocs/: No matching DirectoryIndex
>>> (index.html) found, and server-generated directory index forbidden by
>>> Options directive
>>>
>>> On Mon, Sep 2, 2019 at 11:42 PM Ron A  wrote:
>>>
 I have a reviewboard 3.0.15 installation working on centos 7 and mysql.
 I install a fresh installation of Reviewboard 3.0.15 on another server, it
 works and I am able to login.  But when I import the mysql data into the
 new reviewboard installation I receive all the errors below.
 Any clues? Thanks!

 The website produces this error and the other errors are received from
 email.
 "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."


 Traceback (most recent call last):
 ..

   File
 "/usr/lib/python2.7/site-packages/django/contrib/staticfiles/storage.py",
 line 96, in hashed_name
 (clean_name, self))

 ValueError: The file 'djblets/js/jquery.gravy.min.j
 s' could not be found with >>> object at 0x7efc06ec7390>.


 >>> path:/reviewboard/account/login/,
 GET:,
 POST:,
 COOKIES:{'collapsediffs': 'True',
  'csrftoken': 'Yu0qELEBn2aS0RaS93B9hPrERECnxqzg',
  'rbsessionid': '9etqxl8xc5wnyl0y8wh0051z6b30p8si'},
 META:{'CONTEXT_DOCUMENT_ROOT': '/www/reviewboard/htdocs',
  'CONTEXT_PREFIX': '',
  u'CSRF_COOKIE': u'Yu0qELEBn2aS0RaS93B9hPrERECnxqzg',
  u'CSRF_COOKIE_USED': True,
  'DOCUMENT_ROOT': '/www/reviewboard/htdocs',
  'GATEWAY_INTERFACE': 'CGI/1.1',
  'HTTP_ACCEPT':
 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  'HTTP_ACCEPT_ENCODING': 'gzip, deflate, br',
  'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
  'HTTP_CONNECTION': 'keep-alive',
  'HTTP_COOKIE': 'rbsessionid=9etqxl8xc5wnyl0y8wh0051z6b30p8si;
 csrftoken=Yu0qELEBn2aS0RaS93B9hPrERECnxqzg; collapsediffs=True',
  'HTTP_HOST': 'newhost,
  'HTTP_UPGRADE_INSECURE_REQUESTS': '1',
  'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14;
 rv:68.0) Gecko/20100101 Firefox/68.0',
  'PATH_INFO': u'/reviewboard/account/login/',
  'PATH_TRANSLATED':
 '/www/reviewboard/htdocs/reviewboard.wsgi/reviewboard/account/login/',
  'QUERY_STRING': 'next=/reviewboard/',
  'REMOTE_ADDR': '192.168.16.10',
  'REMOTE_PORT': '55458',
  'REQUEST_METHOD': 'GET',
  'REQUEST_SCHEME': 'https',
  'REQUEST_URI': '/reviewboard/account/login/?next=/reviewboard/',
  'SCRIPT_FILENAME': '/www/reviewboard/htdocs/reviewboard.wsgi',
  'SCRIPT_NAME': u'',
  'SERVER_ADDR': '192.168.16.5',
  'SERVER_ADMIN': 'root@localhost',
  'SERVER_NAME': 'newhost.com ',
  'SERVER_PROTOCOL': 'HTTP/1.1',
  'SERVER_SIGNATURE': '',
  'SERVER_SOFTWARE': 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips
 mod_wsgi/3.4 Python/2.7.5 SVN/1.11.0',
  'SSL_TLS_SNI': 'newhost.com ',
  'UNIQUE_ID': 'XW3-w1j3wDZ4c9vjfZWO7AE',
  'mod_wsgi.application_group': newhost.com|',
  'mod_wsgi.callable_object': 'application',
  'mod_wsgi.enable_sendfile': '0',
  'mod_wsgi.handler_script': '',
  'mod_wsgi.input_chunked': '0',
  'mod_wsgi.listener_host': '0.0.0.0',
  'mod_wsgi.process_group': '',
  'mod_wsgi.queue_start': '1567489987154458',
  'mod_wsgi.request_handler': 'wsgi-script',
  'mod_wsgi.script_reloading': '1',
  'mod_wsgi.version': (3, 4),
  'wsgi.errors': ,
  'wsgi.file_wrapper': >>> object at 0x7efc06eab7b0>,
  'wsgi.input': ,

  'wsgi.multiprocess': True,
  'wsgi.multithread': False,
  'wsgi.run_once': False,
  'wsgi.url_scheme': u'https',
  'wsgi.version': (1, 0)}>

 --
 Supercharge your Review Board with Power Pack:
 https://www.reviewboard.org/powerpack/
 

Re: Something broke! (Error 500) Trouble copying reviewboard 3.0.15 to another server

2019-09-03 Thread Christian Hammond
Gah I’m sorry, Ron. Can I blame autocorrect?

Christian


On Tue, Sep 3, 2019 at 12:46 Christian Hammond 
wrote:

> Hi Rob,
>
> Looks like your mod_wsgi setup isn’t enabled or working correctly, or you
> have a default Apache vhost that’s conflicting with the Review Board one.
> It shouldn’t be serving any files directly from our htdocs.
>
> Judging by the first error, you may also need to re-run `rb-site upgrade`
> on the Review Board site directory in order to fix media links.
>
> Also, make sure you’re using the same SECRET_KEY in conf/settings_local.py.
>
> Christian
>
>
> On Mon, Sep 2, 2019 at 23:53 Ron T  wrote:
>
>> In addition this error is in the error log
>> [autoindex:error] [pid 19085] [client 10.101.0.0:55445] AH01276: Cannot
>> serve directory /www/reviewboard/htdocs/: No matching DirectoryIndex
>> (index.html) found, and server-generated directory index forbidden by
>> Options directive
>>
>> On Mon, Sep 2, 2019 at 11:42 PM Ron A  wrote:
>>
>>> I have a reviewboard 3.0.15 installation working on centos 7 and mysql.
>>> I install a fresh installation of Reviewboard 3.0.15 on another server, it
>>> works and I am able to login.  But when I import the mysql data into the
>>> new reviewboard installation I receive all the errors below.
>>> Any clues? Thanks!
>>>
>>> The website produces this error and the other errors are received from
>>> email.
>>> "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."
>>>
>>>
>>> Traceback (most recent call last):
>>> ..
>>>
>>>   File
>>> "/usr/lib/python2.7/site-packages/django/contrib/staticfiles/storage.py",
>>> line 96, in hashed_name
>>> (clean_name, self))
>>>
>>> ValueError: The file 'djblets/js/jquery.gravy.min.j
>>> s' could not be found with >> object at 0x7efc06ec7390>.
>>>
>>>
>>> >> path:/reviewboard/account/login/,
>>> GET:,
>>> POST:,
>>> COOKIES:{'collapsediffs': 'True',
>>>  'csrftoken': 'Yu0qELEBn2aS0RaS93B9hPrERECnxqzg',
>>>  'rbsessionid': '9etqxl8xc5wnyl0y8wh0051z6b30p8si'},
>>> META:{'CONTEXT_DOCUMENT_ROOT': '/www/reviewboard/htdocs',
>>>  'CONTEXT_PREFIX': '',
>>>  u'CSRF_COOKIE': u'Yu0qELEBn2aS0RaS93B9hPrERECnxqzg',
>>>  u'CSRF_COOKIE_USED': True,
>>>  'DOCUMENT_ROOT': '/www/reviewboard/htdocs',
>>>  'GATEWAY_INTERFACE': 'CGI/1.1',
>>>  'HTTP_ACCEPT':
>>> 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
>>>  'HTTP_ACCEPT_ENCODING': 'gzip, deflate, br',
>>>  'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
>>>  'HTTP_CONNECTION': 'keep-alive',
>>>  'HTTP_COOKIE': 'rbsessionid=9etqxl8xc5wnyl0y8wh0051z6b30p8si;
>>> csrftoken=Yu0qELEBn2aS0RaS93B9hPrERECnxqzg; collapsediffs=True',
>>>  'HTTP_HOST': 'newhost,
>>>  'HTTP_UPGRADE_INSECURE_REQUESTS': '1',
>>>  'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14;
>>> rv:68.0) Gecko/20100101 Firefox/68.0',
>>>  'PATH_INFO': u'/reviewboard/account/login/',
>>>  'PATH_TRANSLATED':
>>> '/www/reviewboard/htdocs/reviewboard.wsgi/reviewboard/account/login/',
>>>  'QUERY_STRING': 'next=/reviewboard/',
>>>  'REMOTE_ADDR': '192.168.16.10',
>>>  'REMOTE_PORT': '55458',
>>>  'REQUEST_METHOD': 'GET',
>>>  'REQUEST_SCHEME': 'https',
>>>  'REQUEST_URI': '/reviewboard/account/login/?next=/reviewboard/',
>>>  'SCRIPT_FILENAME': '/www/reviewboard/htdocs/reviewboard.wsgi',
>>>  'SCRIPT_NAME': u'',
>>>  'SERVER_ADDR': '192.168.16.5',
>>>  'SERVER_ADMIN': 'root@localhost',
>>>  'SERVER_NAME': 'newhost.com ',
>>>  'SERVER_PROTOCOL': 'HTTP/1.1',
>>>  'SERVER_SIGNATURE': '',
>>>  'SERVER_SOFTWARE': 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips
>>> mod_wsgi/3.4 Python/2.7.5 SVN/1.11.0',
>>>  'SSL_TLS_SNI': 'newhost.com ',
>>>  'UNIQUE_ID': 'XW3-w1j3wDZ4c9vjfZWO7AE',
>>>  'mod_wsgi.application_group': newhost.com|',
>>>  'mod_wsgi.callable_object': 'application',
>>>  'mod_wsgi.enable_sendfile': '0',
>>>  'mod_wsgi.handler_script': '',
>>>  'mod_wsgi.input_chunked': '0',
>>>  'mod_wsgi.listener_host': '0.0.0.0',
>>>  'mod_wsgi.process_group': '',
>>>  'mod_wsgi.queue_start': '1567489987154458',
>>>  'mod_wsgi.request_handler': 'wsgi-script',
>>>  'mod_wsgi.script_reloading': '1',
>>>  'mod_wsgi.version': (3, 4),
>>>  'wsgi.errors': ,
>>>  'wsgi.file_wrapper': >> object at 0x7efc06eab7b0>,
>>>  'wsgi.input': ,
>>>
>>>  'wsgi.multiprocess': True,
>>>  'wsgi.multithread': False,
>>>  'wsgi.run_once': False,
>>>  'wsgi.url_scheme': u'https',
>>>  'wsgi.version': (1, 0)}>
>>>
>>> --
>>> 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 a topic in the
>>> Google Groups "Review Board Community" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.

Re: Something broke! (Error 500) Trouble copying reviewboard 3.0.15 to another server

2019-09-03 Thread Christian Hammond
Hi Rob,

Looks like your mod_wsgi setup isn’t enabled or working correctly, or you
have a default Apache vhost that’s conflicting with the Review Board one.
It shouldn’t be serving any files directly from our htdocs.

Judging by the first error, you may also need to re-run `rb-site upgrade`
on the Review Board site directory in order to fix media links.

Also, make sure you’re using the same SECRET_KEY in conf/settings_local.py.

Christian


On Mon, Sep 2, 2019 at 23:53 Ron T  wrote:

> In addition this error is in the error log
> [autoindex:error] [pid 19085] [client 10.101.0.0:55445] AH01276: Cannot
> serve directory /www/reviewboard/htdocs/: No matching DirectoryIndex
> (index.html) found, and server-generated directory index forbidden by
> Options directive
>
> On Mon, Sep 2, 2019 at 11:42 PM Ron A  wrote:
>
>> I have a reviewboard 3.0.15 installation working on centos 7 and mysql. I
>> install a fresh installation of Reviewboard 3.0.15 on another server, it
>> works and I am able to login.  But when I import the mysql data into the
>> new reviewboard installation I receive all the errors below.
>> Any clues? Thanks!
>>
>> The website produces this error and the other errors are received from
>> email.
>> "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."
>>
>>
>> Traceback (most recent call last):
>> ..
>>
>>   File
>> "/usr/lib/python2.7/site-packages/django/contrib/staticfiles/storage.py",
>> line 96, in hashed_name
>> (clean_name, self))
>>
>> ValueError: The file 'djblets/js/jquery.gravy.min.j
>> s' could not be found with > at 0x7efc06ec7390>.
>>
>>
>> > path:/reviewboard/account/login/,
>> GET:,
>> POST:,
>> COOKIES:{'collapsediffs': 'True',
>>  'csrftoken': 'Yu0qELEBn2aS0RaS93B9hPrERECnxqzg',
>>  'rbsessionid': '9etqxl8xc5wnyl0y8wh0051z6b30p8si'},
>> META:{'CONTEXT_DOCUMENT_ROOT': '/www/reviewboard/htdocs',
>>  'CONTEXT_PREFIX': '',
>>  u'CSRF_COOKIE': u'Yu0qELEBn2aS0RaS93B9hPrERECnxqzg',
>>  u'CSRF_COOKIE_USED': True,
>>  'DOCUMENT_ROOT': '/www/reviewboard/htdocs',
>>  'GATEWAY_INTERFACE': 'CGI/1.1',
>>  'HTTP_ACCEPT':
>> 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
>>  'HTTP_ACCEPT_ENCODING': 'gzip, deflate, br',
>>  'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
>>  'HTTP_CONNECTION': 'keep-alive',
>>  'HTTP_COOKIE': 'rbsessionid=9etqxl8xc5wnyl0y8wh0051z6b30p8si;
>> csrftoken=Yu0qELEBn2aS0RaS93B9hPrERECnxqzg; collapsediffs=True',
>>  'HTTP_HOST': 'newhost,
>>  'HTTP_UPGRADE_INSECURE_REQUESTS': '1',
>>  'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14;
>> rv:68.0) Gecko/20100101 Firefox/68.0',
>>  'PATH_INFO': u'/reviewboard/account/login/',
>>  'PATH_TRANSLATED':
>> '/www/reviewboard/htdocs/reviewboard.wsgi/reviewboard/account/login/',
>>  'QUERY_STRING': 'next=/reviewboard/',
>>  'REMOTE_ADDR': '192.168.16.10',
>>  'REMOTE_PORT': '55458',
>>  'REQUEST_METHOD': 'GET',
>>  'REQUEST_SCHEME': 'https',
>>  'REQUEST_URI': '/reviewboard/account/login/?next=/reviewboard/',
>>  'SCRIPT_FILENAME': '/www/reviewboard/htdocs/reviewboard.wsgi',
>>  'SCRIPT_NAME': u'',
>>  'SERVER_ADDR': '192.168.16.5',
>>  'SERVER_ADMIN': 'root@localhost',
>>  'SERVER_NAME': 'newhost.com ',
>>  'SERVER_PROTOCOL': 'HTTP/1.1',
>>  'SERVER_SIGNATURE': '',
>>  'SERVER_SOFTWARE': 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips
>> mod_wsgi/3.4 Python/2.7.5 SVN/1.11.0',
>>  'SSL_TLS_SNI': 'newhost.com ',
>>  'UNIQUE_ID': 'XW3-w1j3wDZ4c9vjfZWO7AE',
>>  'mod_wsgi.application_group': newhost.com|',
>>  'mod_wsgi.callable_object': 'application',
>>  'mod_wsgi.enable_sendfile': '0',
>>  'mod_wsgi.handler_script': '',
>>  'mod_wsgi.input_chunked': '0',
>>  'mod_wsgi.listener_host': '0.0.0.0',
>>  'mod_wsgi.process_group': '',
>>  'mod_wsgi.queue_start': '1567489987154458',
>>  'mod_wsgi.request_handler': 'wsgi-script',
>>  'mod_wsgi.script_reloading': '1',
>>  'mod_wsgi.version': (3, 4),
>>  'wsgi.errors': ,
>>  'wsgi.file_wrapper': > object at 0x7efc06eab7b0>,
>>  'wsgi.input': ,
>>
>>  'wsgi.multiprocess': True,
>>  'wsgi.multithread': False,
>>  'wsgi.run_once': False,
>>  'wsgi.url_scheme': u'https',
>>  'wsgi.version': (1, 0)}>
>>
>> --
>> 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 a topic in the
>> Google Groups "Review Board Community" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/reviewboard/gaBZsnb24e8/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> reviewboard+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/reviewboard/

Re: Something broke! (Error 500) Trouble copying reviewboard 3.0.15 to another server

2019-09-02 Thread Ron T
In addition this error is in the error log
[autoindex:error] [pid 19085] [client 10.101.0.0:55445] AH01276: Cannot
serve directory /www/reviewboard/htdocs/: No matching DirectoryIndex
(index.html) found, and server-generated directory index forbidden by
Options directive

On Mon, Sep 2, 2019 at 11:42 PM Ron A  wrote:

> I have a reviewboard 3.0.15 installation working on centos 7 and mysql. I
> install a fresh installation of Reviewboard 3.0.15 on another server, it
> works and I am able to login.  But when I import the mysql data into the
> new reviewboard installation I receive all the errors below.
> Any clues? Thanks!
>
> The website produces this error and the other errors are received from
> email.
> "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."
>
>
> Traceback (most recent call last):
> ..
>
>   File
> "/usr/lib/python2.7/site-packages/django/contrib/staticfiles/storage.py",
> line 96, in hashed_name
> (clean_name, self))
>
> ValueError: The file 'djblets/js/jquery.gravy.min.j
> s' could not be found with  at 0x7efc06ec7390>.
>
>
>  path:/reviewboard/account/login/,
> GET:,
> POST:,
> COOKIES:{'collapsediffs': 'True',
>  'csrftoken': 'Yu0qELEBn2aS0RaS93B9hPrERECnxqzg',
>  'rbsessionid': '9etqxl8xc5wnyl0y8wh0051z6b30p8si'},
> META:{'CONTEXT_DOCUMENT_ROOT': '/www/reviewboard/htdocs',
>  'CONTEXT_PREFIX': '',
>  u'CSRF_COOKIE': u'Yu0qELEBn2aS0RaS93B9hPrERECnxqzg',
>  u'CSRF_COOKIE_USED': True,
>  'DOCUMENT_ROOT': '/www/reviewboard/htdocs',
>  'GATEWAY_INTERFACE': 'CGI/1.1',
>  'HTTP_ACCEPT':
> 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
>  'HTTP_ACCEPT_ENCODING': 'gzip, deflate, br',
>  'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
>  'HTTP_CONNECTION': 'keep-alive',
>  'HTTP_COOKIE': 'rbsessionid=9etqxl8xc5wnyl0y8wh0051z6b30p8si;
> csrftoken=Yu0qELEBn2aS0RaS93B9hPrERECnxqzg; collapsediffs=True',
>  'HTTP_HOST': 'newhost,
>  'HTTP_UPGRADE_INSECURE_REQUESTS': '1',
>  'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14;
> rv:68.0) Gecko/20100101 Firefox/68.0',
>  'PATH_INFO': u'/reviewboard/account/login/',
>  'PATH_TRANSLATED':
> '/www/reviewboard/htdocs/reviewboard.wsgi/reviewboard/account/login/',
>  'QUERY_STRING': 'next=/reviewboard/',
>  'REMOTE_ADDR': '192.168.16.10',
>  'REMOTE_PORT': '55458',
>  'REQUEST_METHOD': 'GET',
>  'REQUEST_SCHEME': 'https',
>  'REQUEST_URI': '/reviewboard/account/login/?next=/reviewboard/',
>  'SCRIPT_FILENAME': '/www/reviewboard/htdocs/reviewboard.wsgi',
>  'SCRIPT_NAME': u'',
>  'SERVER_ADDR': '192.168.16.5',
>  'SERVER_ADMIN': 'root@localhost',
>  'SERVER_NAME': 'newhost.com ',
>  'SERVER_PROTOCOL': 'HTTP/1.1',
>  'SERVER_SIGNATURE': '',
>  'SERVER_SOFTWARE': 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips
> mod_wsgi/3.4 Python/2.7.5 SVN/1.11.0',
>  'SSL_TLS_SNI': 'newhost.com ',
>  'UNIQUE_ID': 'XW3-w1j3wDZ4c9vjfZWO7AE',
>  'mod_wsgi.application_group': newhost.com|',
>  'mod_wsgi.callable_object': 'application',
>  'mod_wsgi.enable_sendfile': '0',
>  'mod_wsgi.handler_script': '',
>  'mod_wsgi.input_chunked': '0',
>  'mod_wsgi.listener_host': '0.0.0.0',
>  'mod_wsgi.process_group': '',
>  'mod_wsgi.queue_start': '1567489987154458',
>  'mod_wsgi.request_handler': 'wsgi-script',
>  'mod_wsgi.script_reloading': '1',
>  'mod_wsgi.version': (3, 4),
>  'wsgi.errors': ,
>  'wsgi.file_wrapper':  object at 0x7efc06eab7b0>,
>  'wsgi.input': ,
>
>  'wsgi.multiprocess': True,
>  'wsgi.multithread': False,
>  'wsgi.run_once': False,
>  'wsgi.url_scheme': u'https',
>  'wsgi.version': (1, 0)}>
>
> --
> 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 a topic in the
> Google Groups "Review Board Community" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/reviewboard/gaBZsnb24e8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> reviewboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/1ecbeb5d-f8b4-4392-9670-633a9ee82801%40googlegroups.com
> 
> .
>

-- 
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 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from i

Something broke! (Error 500) Trouble copying reviewboard 3.0.15 to another server

2019-09-02 Thread Ron A
I have a reviewboard 3.0.15 installation working on centos 7 and mysql. I 
install a fresh installation of Reviewboard 3.0.15 on another server, it 
works and I am able to login.  But when I import the mysql data into the 
new reviewboard installation I receive all the errors below.
Any clues? Thanks!

The website produces this error and the other errors are received from 
email.
"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."


Traceback (most recent call last):
..

  File 
"/usr/lib/python2.7/site-packages/django/contrib/staticfiles/storage.py", 
line 96, in hashed_name
(clean_name, self))

ValueError: The file 'djblets/js/jquery.gravy.min.j
s' could not be found with .


,
POST:,
COOKIES:{'collapsediffs': 'True',
 'csrftoken': 'Yu0qELEBn2aS0RaS93B9hPrERECnxqzg',
 'rbsessionid': '9etqxl8xc5wnyl0y8wh0051z6b30p8si'},
META:{'CONTEXT_DOCUMENT_ROOT': '/www/reviewboard/htdocs',
 'CONTEXT_PREFIX': '',
 u'CSRF_COOKIE': u'Yu0qELEBn2aS0RaS93B9hPrERECnxqzg',
 u'CSRF_COOKIE_USED': True,
 'DOCUMENT_ROOT': '/www/reviewboard/htdocs',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT': 
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, br',
 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'rbsessionid=9etqxl8xc5wnyl0y8wh0051z6b30p8si; 
csrftoken=Yu0qELEBn2aS0RaS93B9hPrERECnxqzg; collapsediffs=True',
 'HTTP_HOST': 'newhost,
 'HTTP_UPGRADE_INSECURE_REQUESTS': '1',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) 
Gecko/20100101 Firefox/68.0',
 'PATH_INFO': u'/reviewboard/account/login/',
 'PATH_TRANSLATED': 
'/www/reviewboard/htdocs/reviewboard.wsgi/reviewboard/account/login/',
 'QUERY_STRING': 'next=/reviewboard/',
 'REMOTE_ADDR': '192.168.16.10',
 'REMOTE_PORT': '55458',
 'REQUEST_METHOD': 'GET',
 'REQUEST_SCHEME': 'https',
 'REQUEST_URI': '/reviewboard/account/login/?next=/reviewboard/',
 'SCRIPT_FILENAME': '/www/reviewboard/htdocs/reviewboard.wsgi',
 'SCRIPT_NAME': u'',
 'SERVER_ADDR': '192.168.16.5',
 'SERVER_ADMIN': 'root@localhost',
 'SERVER_NAME': 'newhost.com ',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': '',
 'SERVER_SOFTWARE': 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_wsgi/3.4 
Python/2.7.5 SVN/1.11.0',
 'SSL_TLS_SNI': 'newhost.com ',
 'UNIQUE_ID': 'XW3-w1j3wDZ4c9vjfZWO7AE',
 'mod_wsgi.application_group': newhost.com|',
 'mod_wsgi.callable_object': 'application',
 'mod_wsgi.enable_sendfile': '0',
 'mod_wsgi.handler_script': '',
 'mod_wsgi.input_chunked': '0',
 'mod_wsgi.listener_host': '0.0.0.0',
 'mod_wsgi.process_group': '',
 'mod_wsgi.queue_start': '1567489987154458',
 'mod_wsgi.request_handler': 'wsgi-script',
 'mod_wsgi.script_reloading': '1',
 'mod_wsgi.version': (3, 4),
 'wsgi.errors': ,
 'wsgi.file_wrapper': ,
 'wsgi.input': ,

 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': u'https',
 'wsgi.version': (1, 0)}>

-- 
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 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/1ecbeb5d-f8b4-4392-9670-633a9ee82801%40googlegroups.com.


Re: HELP: Upgrade to 3.0.7 results in all reviews returning a Something broke! (Error 500)

2019-05-30 Thread 'Eric Johnson' via Review Board Community
Hi Alfred,

Were you ever able to resolve this issue? I'm now seeing an roughly 
identical problem with my install of 3.0.14...
I'm running Djblets 1.0.11, but looks to be the only substantive 
difference

Eric.

On Thursday, June 7, 2018 at 11:41:48 AM UTC-7, Alfred von Campe wrote:
>
>
> > On Jun 7, 2018, at 14:24, Alfred von Campe  > wrote: 
> > 
> > I’m not sure what is going on:  the initial “easy_install -U 
> ReviewBoard” did return an error, but after forcing the install of version 
> 3.0.3 where I was upgrading from, another easy_install -U ReviewBoard 
> succeeded, as did the rb-site upgrade.  I can add users again to review 
> groups (which is the reason I updated in the first place), but I can’t 
> access any reviews! 
>
>
> Here is an error from the log file which I hope will track down the issue: 
>
> 2018-06-07 18:32:56,590 - ERROR -  - 
> djblets.extensions.templatetags.djblets_extensions - Unable to load CSS 
> bundle "fields" for extension "Review Board Integrations" 
> (rbintegrations.extension.RBIntegrationsExtension) 
> Traceback (most recent call last): 
>   File 
> "/usr/lib/python2.7/site-packages/Djblets-1.0.6-py2.7.egg/djblets/extensions/templatetags/djblets_extensions.py",
>  
> line 117, in _render_bundle 
> return node_cls('"%s"' % 
> extension.get_bundle_id(name)).render(context) 
>   File 
> "/usr/lib/python2.7/site-packages/django_pipeline-1.6.14-py2.7.egg/pipeline/templatetags/pipeline.py",
>  
> line 140, in render 
> return self.render_compressed(package, package_name, 'css') 
>   File 
> "/usr/lib/python2.7/site-packages/Djblets-1.0.6-py2.7.egg/djblets/extensions/templatetags/djblets_extensions.py",
>  
> line 54, in render_compressed 
> rendered = self.render_compressed_output(*args, **kwargs) 
>   File 
> "/usr/lib/python2.7/site-packages/django_pipeline-1.6.14-py2.7.egg/pipeline/templatetags/pipeline.py",
>  
> line 82, in render_compressed_output 
> return method(package, package.output_filename) 
>   File 
> "/usr/lib/python2.7/site-packages/django_pipeline-1.6.14-py2.7.egg/pipeline/templatetags/pipeline.py",
>  
> line 147, in render_css 
> 'url': mark_safe(staticfiles_storage.url(path)) 
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/contrib/staticfiles/storage.py",
>  
> line 139, in url 
> hashed_name = self.hashed_name(clean_name).replace('\\', '/') 
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/contrib/staticfiles/storage.py",
>  
> line 96, in hashed_name 
> (clean_name, self)) 
> ValueError: The file 
> 'ext/rbintegrations.extension.RBIntegrationsExtension/css/fields.min.css' 
> could not be found with  0x55c9409c4fd0>. 
>
>
>

-- 
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 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/4933f7da-a83e-4246-a0d4-ddb670617c6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: HELP: Upgrade to 3.0.7 results in all reviews returning a Something broke! (Error 500)

2018-06-07 Thread Alfred von Campe


> On Jun 7, 2018, at 14:24, Alfred von Campe  wrote:
> 
> I’m not sure what is going on:  the initial “easy_install -U ReviewBoard” did 
> return an error, but after forcing the install of version 3.0.3 where I was 
> upgrading from, another easy_install -U ReviewBoard succeeded, as did the 
> rb-site upgrade.  I can add users again to review groups (which is the reason 
> I updated in the first place), but I can’t access any reviews!


Here is an error from the log file which I hope will track down the issue:

2018-06-07 18:32:56,590 - ERROR -  - 
djblets.extensions.templatetags.djblets_extensions - Unable to load CSS bundle 
"fields" for extension "Review Board Integrations" 
(rbintegrations.extension.RBIntegrationsExtension)
Traceback (most recent call last):
  File 
"/usr/lib/python2.7/site-packages/Djblets-1.0.6-py2.7.egg/djblets/extensions/templatetags/djblets_extensions.py",
 line 117, in _render_bundle
return node_cls('"%s"' % extension.get_bundle_id(name)).render(context)
  File 
"/usr/lib/python2.7/site-packages/django_pipeline-1.6.14-py2.7.egg/pipeline/templatetags/pipeline.py",
 line 140, in render
return self.render_compressed(package, package_name, 'css')
  File 
"/usr/lib/python2.7/site-packages/Djblets-1.0.6-py2.7.egg/djblets/extensions/templatetags/djblets_extensions.py",
 line 54, in render_compressed
rendered = self.render_compressed_output(*args, **kwargs)
  File 
"/usr/lib/python2.7/site-packages/django_pipeline-1.6.14-py2.7.egg/pipeline/templatetags/pipeline.py",
 line 82, in render_compressed_output
return method(package, package.output_filename)
  File 
"/usr/lib/python2.7/site-packages/django_pipeline-1.6.14-py2.7.egg/pipeline/templatetags/pipeline.py",
 line 147, in render_css
'url': mark_safe(staticfiles_storage.url(path))
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/contrib/staticfiles/storage.py",
 line 139, in url
hashed_name = self.hashed_name(clean_name).replace('\\', '/')
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/contrib/staticfiles/storage.py",
 line 96, in hashed_name
(clean_name, self))
ValueError: The file 
'ext/rbintegrations.extension.RBIntegrationsExtension/css/fields.min.css' could 
not be found with .


-- 
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 
"Review Board Community" 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.


HELP: Upgrade to 3.0.7 results in all reviews returning a Something broke! (Error 500)

2018-06-07 Thread Alfred von Campe
I’m not sure what is going on:  the initial “easy_install -U ReviewBoard” did 
return an error, but after forcing the install of version 3.0.3 where I was 
upgrading from, another easy_install -U ReviewBoard succeeded, as did the 
rb-site upgrade.  I can add users again to review groups (which is the reason I 
updated in the first place), but I can’t access any reviews!

Please help!

Alfred

-- 
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 
"Review Board Community" 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: Something broke! (Error 500)

2017-09-23 Thread Christian Hammond
Sounds like there may also be some dependency issues, perhaps a too-new
version of Django installed.

1.7 is no longer supported, and its dependency list isn't adequately
covering the range of versions needed for some dependencies. Why are you
looking to upgrade to 1.7? Can you use 2.5.x instead?

Christian


On Sat, Sep 23, 2017 at 12:52 David Trowbridge  wrote:

> You should not be running with DEBUG=True with Review Board 1.7. Doing so
> will definitely break your site.
>
> Run without that, and then check the review board log file to see if there
> are any errors. You may need to use rb-site manage /path/to/site
> set-siteconfig to enable logging if it was not set up already.
>
> -David
>
> On Sat, Sep 23, 2017 at 3:51 PM Praveen 
> wrote:
>
>> Hi,
>>
>> I am trying to migrate review board (1v+ to 1.7v) from one host to
>> another (EL6 x86_64).
>> I was able to install and get running a fresh review board site.
>>
>> To migrate the content from old instance, followed below steps:
>> 1) Installed a new reviewboard site (rb-site install /var/www/reviews)
>> 2) Took mysql dump of reivewboard database from source instance
>> 3) Dropped the database created newly for #1
>> 4) Created databsae. Imported the mysql dump and granted permissions to
>> database user.
>> 5) Restored SECRET_KEY from old instance into
>> /var/www/reviews/conf/settings_local.py
>> 6) Ran upgrade (rb-site upgrade /var/www/reviews) and restarted apache.
>>
>> For a brief time, the server was listing the old review requests *although
>> I was not able to create a new review request* (uploading patch was not
>> taking me to the review page, instead it stayed on same "New review
>> request" page itself).
>>
>> Now I am noticing "Something broke! (Error 500)" when try to reach the
>> server. I have enabled Debug=True in
>> /var/www/reviews/conf/settings_local.py but does not help.
>>
>> Apache logs from /etc/httpd/logs/error_log:
>>
>> [Sat Sep 23 18:16:22 2017] [warn] module wsgi_module is already loaded,
>> skipping
>> [Sat Sep 23 18:16:22 2017] [notice] Digest: generating secret for digest
>> authentication ...
>> [Sat Sep 23 18:16:22 2017] [notice] Digest: done
>> [Sat Sep 23 18:16:22 2017] [notice] Apache/2.2.15 (Unix) DAV/2
>> mod_wsgi/4.5.18 Python/2.6 configured -- resuming normal operations
>> [Sat Sep 23 18:19:17 2017] [error] [client 10.191.196.61]
>> /usr/lib/python2.6/site-packages/django/views/generic/list_detail.py:10:
>> DeprecationWarning: Function-based generic views have been deprecated; use
>> class-based views instead.
>> [Sat Sep 23 18:19:17 2017] [error] [client 10.191.196.61]
>> DeprecationWarning
>> [Sat Sep 23 19:10:34 2017] [error] [client 10.191.196.61]
>> */usr/lib/python2.6/site-packages/django/views/generic/list_detail.py:10:
>> DeprecationWarning: Function-based generic views have been deprecated; use
>> class-based views instead.*
>> I don't see any other exception or errors. Where will be reviewboard log?
>>
>> Kindly shed some light what could be the issue and how to debug this.
>>
>> Thanks,
>> Praveen
>>
>> --
>> 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.
>
-- 
-- 
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.


Re: Something broke! (Error 500)

2017-09-23 Thread David Trowbridge
You should not be running with DEBUG=True with Review Board 1.7. Doing so
will definitely break your site.

Run without that, and then check the review board log file to see if there
are any errors. You may need to use rb-site manage /path/to/site
set-siteconfig to enable logging if it was not set up already.

-David

On Sat, Sep 23, 2017 at 3:51 PM Praveen 
wrote:

> Hi,
>
> I am trying to migrate review board (1v+ to 1.7v) from one host to another
> (EL6 x86_64).
> I was able to install and get running a fresh review board site.
>
> To migrate the content from old instance, followed below steps:
> 1) Installed a new reviewboard site (rb-site install /var/www/reviews)
> 2) Took mysql dump of reivewboard database from source instance
> 3) Dropped the database created newly for #1
> 4) Created databsae. Imported the mysql dump and granted permissions to
> database user.
> 5) Restored SECRET_KEY from old instance into
> /var/www/reviews/conf/settings_local.py
> 6) Ran upgrade (rb-site upgrade /var/www/reviews) and restarted apache.
>
> For a brief time, the server was listing the old review requests *although
> I was not able to create a new review request* (uploading patch was not
> taking me to the review page, instead it stayed on same "New review
> request" page itself).
>
> Now I am noticing "Something broke! (Error 500)" when try to reach the
> server. I have enabled Debug=True in
> /var/www/reviews/conf/settings_local.py but does not help.
>
> Apache logs from /etc/httpd/logs/error_log:
>
> [Sat Sep 23 18:16:22 2017] [warn] module wsgi_module is already loaded,
> skipping
> [Sat Sep 23 18:16:22 2017] [notice] Digest: generating secret for digest
> authentication ...
> [Sat Sep 23 18:16:22 2017] [notice] Digest: done
> [Sat Sep 23 18:16:22 2017] [notice] Apache/2.2.15 (Unix) DAV/2
> mod_wsgi/4.5.18 Python/2.6 configured -- resuming normal operations
> [Sat Sep 23 18:19:17 2017] [error] [client 10.191.196.61]
> /usr/lib/python2.6/site-packages/django/views/generic/list_detail.py:10:
> DeprecationWarning: Function-based generic views have been deprecated; use
> class-based views instead.
> [Sat Sep 23 18:19:17 2017] [error] [client 10.191.196.61]
> DeprecationWarning
> [Sat Sep 23 19:10:34 2017] [error] [client 10.191.196.61]
> */usr/lib/python2.6/site-packages/django/views/generic/list_detail.py:10:
> DeprecationWarning: Function-based generic views have been deprecated; use
> class-based views instead.*
> I don't see any other exception or errors. Where will be reviewboard log?
>
> Kindly shed some light what could be the issue and how to debug this.
>
> Thanks,
> Praveen
>
> --
> 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.


Something broke! (Error 500)

2017-09-23 Thread Praveen
Hi,

I am trying to migrate review board (1v+ to 1.7v) from one host to another 
(EL6 x86_64).
I was able to install and get running a fresh review board site.

To migrate the content from old instance, followed below steps:
1) Installed a new reviewboard site (rb-site install /var/www/reviews)
2) Took mysql dump of reivewboard database from source instance
3) Dropped the database created newly for #1
4) Created databsae. Imported the mysql dump and granted permissions to 
database user.
5) Restored SECRET_KEY from old instance into 
/var/www/reviews/conf/settings_local.py
6) Ran upgrade (rb-site upgrade /var/www/reviews) and restarted apache.

For a brief time, the server was listing the old review requests *although 
I was not able to create a new review request* (uploading patch was not 
taking me to the review page, instead it stayed on same "New review 
request" page itself).

Now I am noticing "Something broke! (Error 500)" when try to reach the 
server. I have enabled Debug=True in 
/var/www/reviews/conf/settings_local.py but does not help.

Apache logs from /etc/httpd/logs/error_log:

[Sat Sep 23 18:16:22 2017] [warn] module wsgi_module is already loaded, 
skipping
[Sat Sep 23 18:16:22 2017] [notice] Digest: generating secret for digest 
authentication ...
[Sat Sep 23 18:16:22 2017] [notice] Digest: done
[Sat Sep 23 18:16:22 2017] [notice] Apache/2.2.15 (Unix) DAV/2 
mod_wsgi/4.5.18 Python/2.6 configured -- resuming normal operations
[Sat Sep 23 18:19:17 2017] [error] [client 10.191.196.61] 
/usr/lib/python2.6/site-packages/django/views/generic/list_detail.py:10: 
DeprecationWarning: Function-based generic views have been deprecated; use 
class-based views instead.
[Sat Sep 23 18:19:17 2017] [error] [client 10.191.196.61]   
DeprecationWarning
[Sat Sep 23 19:10:34 2017] [error] [client 10.191.196.61] 
*/usr/lib/python2.6/site-packages/django/views/generic/list_detail.py:10: 
DeprecationWarning: Function-based generic views have been deprecated; use 
class-based views instead.*
I don't see any other exception or errors. Where will be reviewboard log?

Kindly shed some light what could be the issue and how to debug this. 

Thanks,
Praveen

-- 
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: Mercurial repository access error post rb-site upgrade "Something broke! (Error 500)"

2017-06-26 Thread nick . nghiem
Thank you for the solution with the SECRET_KEY, this resolved my issue 
migrating ReviewBoard from FreeBSD to CentOS.

On Saturday, July 30, 2016 at 9:32:37 PM UTC-4, harish varadarajan wrote:
>
> Hi Christian,
>
> Thanks for the inputs .
>
> As updated in the other thread, copying over the SECRET_KEY from older 
> instance to newer instance helped solve the problem, though the server logs 
> & the error in itself were misleading.
>
> --
> Harish
>
> On Sunday, 31 July 2016 01:50:16 UTC+5:30, Christian Hammond wrote:
>>
>> Hi Harish,
>>
>> Can you show me the entire stack trace from the reviewboard.log file?
>>
>> The database may have been set for UTF-8, but that doesn't mean the 
>> tables or data was converted for that. If you look at the MySQL dump, 
>> you'll see that each table specifies its encoding. By default for some 
>> installs, this is latin1.
>>
>> It's not sufficient to simply change that in the database dump or set 
>> character_set_database. You'll actually need to convert each table:
>>
>> ALTER TABLE  CONVERT TO CHARACTER SET utf8 COLLATE 
>> utf8_unicode_ci;
>>
>> That may not address this particular issue, though. I'll need a lot more 
>> information to know what's breaking and how, and how your repro steps.
>>
>> Christian
>>
>> -- 
>> Christian Hammond
>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>> Makers of Review Board <https://www.reviewboard.org/>
>>
>> On Fri, Jul 29, 2016 at 7:12 PM, harish varadarajan <
>> harish.va...@gmail.com> wrote:
>>
>>> Further, the reviewboard database was created with UTF8 character set.
>>>
>>> MariaDB [reviewboard]> show variables like "character_set_database";
>>> ++---+
>>> | Variable_name  | Value |
>>> ++---+
>>> | character_set_database | utf8  |
>>>
>>> The specific error from the server log seems to be
>>>
>>> DjangoUnicodeDecodeError: 'utf8' codec can't decode byte 0x8b in 
>>> position 0: invalid start byte. You passed in 
>>>  (>> 'django.forms.forms.BoundField'>)
>>>
>>>
>>>
>>> On Friday, 29 July 2016 20:26:38 UTC+5:30, harish varadarajan wrote:
>>>>
>>>> Hi,
>>>>
>>>  
>>>
>>>>
>>>> I am pretty new to reviewboard and have attempted to migrate 
>>>> reviewboard instance across hosts and versions.
>>>> Our older RB version was and the upgrade was to 2.5.6.1
>>>>
>>>> Steps followed for the upgrade were
>>>> (1) Dump data on the older server (mysql)
>>>> (2) Drop the previously created reviewboard database, created by 
>>>> rb-site install
>>>> (3) Manually create a database named reviewboard with UTF8
>>>> (4) load the data from the mysql dump
>>>> (5) Run rb-site upgrade.
>>>>
>>>> Post the upgrade which completed successfully, the dashboard, contents 
>>>> and other information came up properly, including the repository listing.
>>>> But, the issue is that neither the properties of repositories are 
>>>> editable in newer instance nor or the older diff's from reviews accessible 
>>>> . The creation of newer reviews for the repositories, which get imported 
>>>> are as well not happening due to this..
>>>>
>>>> While trying to access the repository from Manage -> Repositories -> 
>>>> Select repository to change is as below.
>>>> 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.
>>>>
>>>>
>>>> Please note that the creation of newer repositories and using them for 
>>>> review requests.
>>>>
>>>>
>>>> The errors in the server error log are similar to the ones below.
>>>>
>>>> Can someone please throw light on what the issue is and how it could be 
>>>> fixed.
>>>>
>>>>
>>>> Unexpected error fetching file from $"http path of the file": 'ascii' 
>>>> codec can't decode byte 0xfe in position 3: ordinal not in range(128)
>>>>
>>>>
>>>

Re: Something broke! (Error 500) (1055, "'reviewboard.diffviewer_diffset.name' isn't in GROUP BY")

2016-10-24 Thread Cui Fisher
mysqld  Ver 5.6.31 for Linux on x86_64 (MySQL Community Server (GPL))
It's need to disable sqlmod 'ONLY_FULL_GROUP_BY '.  

在 2016年10月24日星期一 UTC+8下午6:42:19,Cui Fisher写道:
>
> Review Board 2.5.6.1
>
> 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.
>
>
>
> - Exception thrown for user liuzhenhua at http://192.168.5.35/r/1117/
>
> (1055, "'reviewboard.diffviewer_diffset.name' isn't in GROUP BY")
> Traceback (most recent call last):
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/core/handlers/base.py",
>  line 112, in get_response
> response = wrapped_callback(request, *callback_args, **callback_kwargs)
>   File 
> "/usr/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg/reviewboard/accounts/decorators.py",
>  line 25, in _check
> return view_func(*args, **kwargs)
>   File 
> "/usr/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg/reviewboard/site/decorators.py",
>  line 35, in _check
> return view_func(request, local_site=local_site, *args, **kwargs)
>   File 
> "/usr/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg/reviewboard/reviews/views.py",
>  line 459, in review_detail
> diffsets = review_request.get_diffsets()
>   File 
> "/usr/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg/reviewboard/reviews/models/review_request.py",
>  line 595, in get_diffsets
> .prefetch_related('files'))
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/models/query.py",
>  line 96, in __iter__
> self._fetch_all()
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/models/query.py",
>  line 857, in _fetch_all
> self._result_cache = list(self.iterator())
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/models/query.py",
>  line 220, in iterator
> for row in compiler.results_iter():
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/models/sql/compiler.py",
>  line 713, in results_iter
> for rows in self.execute_sql(MULTI):
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/models/sql/compiler.py",
>  line 786, in execute_sql
> cursor.execute(sql, params)
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/backends/util.py",
>  line 53, in execute
> return self.cursor.execute(sql, params)
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/utils.py",
>  line 99, in __exit__
> six.reraise(dj_exc_type, dj_exc_value, traceback)
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/backends/util.py",
>  line 53, in execute
> return self.cursor.execute(sql, params)
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/backends/mysql/base.py",
>  line 124, in execute
> return self.cursor.execute(query, args)
>   File "/usr/lib64/python2.7/site-packages/MySQLdb/cursors.py", line 174, in 
> execute
> self.errorhandler(self, exc, value)
>   File "/usr/lib64/python2.7/site-packages/MySQLdb/connections.py", line 36, 
> in defaulterrorhandler
> raise errorclass, errorvalue
> OperationalError: (1055, "'reviewboard.diffviewer_diffset.name' isn't in 
> GROUP BY")
>
>

-- 
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: Something broke! (Error 500) (1055, "'reviewboard.diffviewer_diffset.name' isn't in GROUP BY")

2016-10-24 Thread Christian Hammond
Hi,

Can you give me more context around this error?

1) What triggered it? What page, and what action?
2) When did you upgrade to this release?
3) What version of MySQL are you using, and what type of database format
(MyISAM or InnoDB)?

Christian

-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

On Mon, Oct 24, 2016 at 3:42 AM, Cui Fisher  wrote:

> Review Board 2.5.6.1
>
> 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.
>
>
>
> - Exception thrown for user liuzhenhua at http://192.168.5.35/r/1117/
>
> (1055, "'reviewboard.diffviewer_diffset.name' isn't in GROUP BY")
> Traceback (most recent call last):
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/core/handlers/base.py",
>  line 112, in get_response
> response = wrapped_callback(request, *callback_args, **callback_kwargs)
>   File 
> "/usr/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg/reviewboard/accounts/decorators.py",
>  line 25, in _check
> return view_func(*args, **kwargs)
>   File 
> "/usr/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg/reviewboard/site/decorators.py",
>  line 35, in _check
> return view_func(request, local_site=local_site, *args, **kwargs)
>   File 
> "/usr/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg/reviewboard/reviews/views.py",
>  line 459, in review_detail
> diffsets = review_request.get_diffsets()
>   File 
> "/usr/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg/reviewboard/reviews/models/review_request.py",
>  line 595, in get_diffsets
> .prefetch_related('files'))
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/models/query.py",
>  line 96, in __iter__
> self._fetch_all()
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/models/query.py",
>  line 857, in _fetch_all
> self._result_cache = list(self.iterator())
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/models/query.py",
>  line 220, in iterator
> for row in compiler.results_iter():
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/models/sql/compiler.py",
>  line 713, in results_iter
> for rows in self.execute_sql(MULTI):
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/models/sql/compiler.py",
>  line 786, in execute_sql
> cursor.execute(sql, params)
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/backends/util.py",
>  line 53, in execute
> return self.cursor.execute(sql, params)
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/utils.py",
>  line 99, in __exit__
> six.reraise(dj_exc_type, dj_exc_value, traceback)
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/backends/util.py",
>  line 53, in execute
> return self.cursor.execute(sql, params)
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/backends/mysql/base.py",
>  line 124, in execute
> return self.cursor.execute(query, args)
>   File "/usr/lib64/python2.7/site-packages/MySQLdb/cursors.py", line 174, in 
> execute
> self.errorhandler(self, exc, value)
>   File "/usr/lib64/python2.7/site-packages/MySQLdb/connections.py", line 36, 
> in defaulterrorhandler
> raise errorclass, errorvalue
> OperationalError: (1055, "'reviewboard.diffviewer_diffset.name' isn't in 
> GROUP BY")
>
> --
> 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.


Something broke! (Error 500) (1055, "'reviewboard.diffviewer_diffset.name' isn't in GROUP BY")

2016-10-24 Thread Cui Fisher
Review Board 2.5.6.1

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.



- Exception thrown for user liuzhenhua at http://192.168.5.35/r/1117/

(1055, "'reviewboard.diffviewer_diffset.name' isn't in GROUP BY")
Traceback (most recent call last):
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/core/handlers/base.py",
 line 112, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg/reviewboard/accounts/decorators.py",
 line 25, in _check
return view_func(*args, **kwargs)
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg/reviewboard/site/decorators.py",
 line 35, in _check
return view_func(request, local_site=local_site, *args, **kwargs)
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg/reviewboard/reviews/views.py",
 line 459, in review_detail
diffsets = review_request.get_diffsets()
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg/reviewboard/reviews/models/review_request.py",
 line 595, in get_diffsets
.prefetch_related('files'))
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/models/query.py",
 line 96, in __iter__
self._fetch_all()
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/models/query.py",
 line 857, in _fetch_all
self._result_cache = list(self.iterator())
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/models/query.py",
 line 220, in iterator
for row in compiler.results_iter():
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/models/sql/compiler.py",
 line 713, in results_iter
for rows in self.execute_sql(MULTI):
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/models/sql/compiler.py",
 line 786, in execute_sql
cursor.execute(sql, params)
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/backends/util.py",
 line 53, in execute
return self.cursor.execute(sql, params)
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/utils.py", 
line 99, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/backends/util.py",
 line 53, in execute
return self.cursor.execute(sql, params)
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/backends/mysql/base.py",
 line 124, in execute
return self.cursor.execute(query, args)
  File "/usr/lib64/python2.7/site-packages/MySQLdb/cursors.py", line 174, in 
execute
self.errorhandler(self, exc, value)
  File "/usr/lib64/python2.7/site-packages/MySQLdb/connections.py", line 36, in 
defaulterrorhandler
raise errorclass, errorvalue
OperationalError: (1055, "'reviewboard.diffviewer_diffset.name' isn't in GROUP 
BY")

-- 
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: Mercurial repository access error post rb-site upgrade "Something broke! (Error 500)"

2016-07-30 Thread harish varadarajan
Hi Christian,

Thanks for the inputs .

As updated in the other thread, copying over the SECRET_KEY from older 
instance to newer instance helped solve the problem, though the server logs 
& the error in itself were misleading.

--
Harish

On Sunday, 31 July 2016 01:50:16 UTC+5:30, Christian Hammond wrote:
>
> Hi Harish,
>
> Can you show me the entire stack trace from the reviewboard.log file?
>
> The database may have been set for UTF-8, but that doesn't mean the tables 
> or data was converted for that. If you look at the MySQL dump, you'll see 
> that each table specifies its encoding. By default for some installs, this 
> is latin1.
>
> It's not sufficient to simply change that in the database dump or set 
> character_set_database. You'll actually need to convert each table:
>
> ALTER TABLE  CONVERT TO CHARACTER SET utf8 COLLATE 
> utf8_unicode_ci;
>
> That may not address this particular issue, though. I'll need a lot more 
> information to know what's breaking and how, and how your repro steps.
>
> Christian
>
> -- 
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>
> On Fri, Jul 29, 2016 at 7:12 PM, harish varadarajan <
> harish.va...@gmail.com > wrote:
>
>> Further, the reviewboard database was created with UTF8 character set.
>>
>> MariaDB [reviewboard]> show variables like "character_set_database";
>> ++---+
>> | Variable_name  | Value |
>> ++---+
>> | character_set_database | utf8  |
>>
>> The specific error from the server log seems to be
>>
>> DjangoUnicodeDecodeError: 'utf8' codec can't decode byte 0x8b in position 
>> 0: invalid start byte. You passed in > at 0x7f4caebd0fd0> ()
>>
>>
>>
>> On Friday, 29 July 2016 20:26:38 UTC+5:30, harish varadarajan wrote:
>>>
>>> Hi,
>>>
>>  
>>
>>>
>>> I am pretty new to reviewboard and have attempted to migrate reviewboard 
>>> instance across hosts and versions.
>>> Our older RB version was and the upgrade was to 2.5.6.1
>>>
>>> Steps followed for the upgrade were
>>> (1) Dump data on the older server (mysql)
>>> (2) Drop the previously created reviewboard database, created by rb-site 
>>> install
>>> (3) Manually create a database named reviewboard with UTF8
>>> (4) load the data from the mysql dump
>>> (5) Run rb-site upgrade.
>>>
>>> Post the upgrade which completed successfully, the dashboard, contents 
>>> and other information came up properly, including the repository listing.
>>> But, the issue is that neither the properties of repositories are 
>>> editable in newer instance nor or the older diff's from reviews accessible 
>>> . The creation of newer reviews for the repositories, which get imported 
>>> are as well not happening due to this..
>>>
>>> While trying to access the repository from Manage -> Repositories -> 
>>> Select repository to change is as below.
>>> 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.
>>>
>>>
>>> Please note that the creation of newer repositories and using them for 
>>> review requests.
>>>
>>>
>>> The errors in the server error log are similar to the ones below.
>>>
>>> Can someone please throw light on what the issue is and how it could be 
>>> fixed.
>>>
>>>
>>> Unexpected error fetching file from $"http path of the file": 'ascii' 
>>> codec can't decode byte 0xfe in position 3: ordinal not in range(128)
>>>
>>>
>>> - /usr/lib/python2.7/site-packages/django/forms/widgets.py:237: 
>>> UnicodeWarning: Unicode unequal comparison failed to convert both arguments 
>>> to Unicode - interpreting them as being unequal
>>>   if value != '':
>>>
>>>
>>> Thanks.
>>>
>>>
>>> Harish.
>>>
>> -- 
>> 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...@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.


Re: Mercurial repository access error post rb-site upgrade "Something broke! (Error 500)"

2016-07-30 Thread Christian Hammond
Hi Harish,

Can you show me the entire stack trace from the reviewboard.log file?

The database may have been set for UTF-8, but that doesn't mean the tables
or data was converted for that. If you look at the MySQL dump, you'll see
that each table specifies its encoding. By default for some installs, this
is latin1.

It's not sufficient to simply change that in the database dump or set
character_set_database. You'll actually need to convert each table:

ALTER TABLE  CONVERT TO CHARACTER SET utf8 COLLATE
utf8_unicode_ci;

That may not address this particular issue, though. I'll need a lot more
information to know what's breaking and how, and how your repro steps.

Christian

-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

On Fri, Jul 29, 2016 at 7:12 PM, harish varadarajan <
harish.varadara...@gmail.com> wrote:

> Further, the reviewboard database was created with UTF8 character set.
>
> MariaDB [reviewboard]> show variables like "character_set_database";
> ++---+
> | Variable_name  | Value |
> ++---+
> | character_set_database | utf8  |
>
> The specific error from the server log seems to be
>
> DjangoUnicodeDecodeError: 'utf8' codec can't decode byte 0x8b in position
> 0: invalid start byte. You passed in  at 0x7f4caebd0fd0> ()
>
>
>
> On Friday, 29 July 2016 20:26:38 UTC+5:30, harish varadarajan wrote:
>>
>> Hi,
>>
>
>
>>
>> I am pretty new to reviewboard and have attempted to migrate reviewboard
>> instance across hosts and versions.
>> Our older RB version was and the upgrade was to 2.5.6.1
>>
>> Steps followed for the upgrade were
>> (1) Dump data on the older server (mysql)
>> (2) Drop the previously created reviewboard database, created by rb-site
>> install
>> (3) Manually create a database named reviewboard with UTF8
>> (4) load the data from the mysql dump
>> (5) Run rb-site upgrade.
>>
>> Post the upgrade which completed successfully, the dashboard, contents
>> and other information came up properly, including the repository listing.
>> But, the issue is that neither the properties of repositories are
>> editable in newer instance nor or the older diff's from reviews accessible
>> . The creation of newer reviews for the repositories, which get imported
>> are as well not happening due to this..
>>
>> While trying to access the repository from Manage -> Repositories ->
>> Select repository to change is as below.
>> 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.
>>
>>
>> Please note that the creation of newer repositories and using them for
>> review requests.
>>
>>
>> The errors in the server error log are similar to the ones below.
>>
>> Can someone please throw light on what the issue is and how it could be
>> fixed.
>>
>>
>> Unexpected error fetching file from $"http path of the file": 'ascii'
>> codec can't decode byte 0xfe in position 3: ordinal not in range(128)
>>
>>
>> - /usr/lib/python2.7/site-packages/django/forms/widgets.py:237: 
>> UnicodeWarning: Unicode unequal comparison failed to convert both arguments 
>> to Unicode - interpreting them as being unequal
>>   if value != '':
>>
>>
>> Thanks.
>>
>>
>> Harish.
>>
> --
> 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.


Re: Mercurial repository access error post rb-site upgrade "Something broke! (Error 500)"

2016-07-29 Thread harish varadarajan
Further, the reviewboard database was created with UTF8 character set.

MariaDB [reviewboard]> show variables like "character_set_database";
++---+
| Variable_name  | Value |
++---+
| character_set_database | utf8  |

The specific error from the server log seems to be

DjangoUnicodeDecodeError: 'utf8' codec can't decode byte 0x8b in position 
0: invalid start byte. You passed in  ()



On Friday, 29 July 2016 20:26:38 UTC+5:30, harish varadarajan wrote:
>
> Hi,
>
 

>
> I am pretty new to reviewboard and have attempted to migrate reviewboard 
> instance across hosts and versions.
> Our older RB version was and the upgrade was to 2.5.6.1
>
> Steps followed for the upgrade were
> (1) Dump data on the older server (mysql)
> (2) Drop the previously created reviewboard database, created by rb-site 
> install
> (3) Manually create a database named reviewboard with UTF8
> (4) load the data from the mysql dump
> (5) Run rb-site upgrade.
>
> Post the upgrade which completed successfully, the dashboard, contents and 
> other information came up properly, including the repository listing.
> But, the issue is that neither the properties of repositories are editable 
> in newer instance nor or the older diff's from reviews accessible . The 
> creation of newer reviews for the repositories, which get imported are as 
> well not happening due to this..
>
> While trying to access the repository from Manage -> Repositories -> 
> Select repository to change is as below.
> 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.
>
>
> Please note that the creation of newer repositories and using them for 
> review requests.
>
>
> The errors in the server error log are similar to the ones below.
>
> Can someone please throw light on what the issue is and how it could be 
> fixed.
>
>
> Unexpected error fetching file from $"http path of the file": 'ascii' 
> codec can't decode byte 0xfe in position 3: ordinal not in range(128)
>
>
> - /usr/lib/python2.7/site-packages/django/forms/widgets.py:237: 
> UnicodeWarning: Unicode unequal comparison failed to convert both arguments 
> to Unicode - interpreting them as being unequal
>   if value != '':
>
>
> Thanks.
>
>
> Harish.
>

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


Mercurial repository access error post rb-site upgrade "Something broke! (Error 500)"

2016-07-29 Thread harish varadarajan
Hi,

I am pretty new to reviewboard and have attempted to migrate reviewboard 
instance across hosts and versions.
Our older RB version was and the upgrade was to 2.5.6.1

Steps followed for the upgrade were
(1) Dump data on the older server (mysql)
(2) Drop the previously created reviewboard database, created by rb-site 
install
(3) Manually create a database named reviewboard with UTF8
(4) load the data from the mysql dump
(5) Run rb-site upgrade.

Post the upgrade which completed successfully, the dashboard, contents and 
other information came up properly, including the repository listing.
But, the issue is that neither the properties of repositories are editable 
in newer instance nor or the older diff's from reviews accessible . The 
creation of newer reviews for the repositories, which get imported are as 
well not happening due to this..

While trying to access the repository from Manage -> Repositories -> Select 
repository to change is as below.
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.


Please note that the creation of newer repositories and using them for 
review requests.


The errors in the server error log are similar to the ones below.

Can someone please throw light on what the issue is and how it could be 
fixed.


Unexpected error fetching file from $"http path of the file": 'ascii' codec 
can't decode byte 0xfe in position 3: ordinal not in range(128)


- /usr/lib/python2.7/site-packages/django/forms/widgets.py:237: UnicodeWarning: 
Unicode unequal comparison failed to convert both arguments to Unicode - 
interpreting them as being unequal
  if value != '':


Thanks.


Harish.

-- 
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: Something broke! (Error 500) in dashboard page

2015-01-12 Thread David Trowbridge
Somehow something got corrupted in your database. If you go to Admin >
Database > Local site profiles, you should see two entries for the user who
is encountering this. If you delete one, everything should work correctly.

-David

On Mon Jan 12 2015 at 9:37:57 AM  wrote:

> Hello
>
> I have a clean install of v2.0.11 and everything seems well in the admin
> UI. but when I (as the default admin account) go to the
> http://reviews.example.com/dashboard/, I get the following error:
>
> 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.
>
> and the following error can be found in the log file:
>
> and I create a new account and have got the same error.
>
> and I notice if the user post a review quest and then go to
> http://reviews.example.com/dashboard/, it works!!!
>
> It seems to happen if the user have no any review request.
>
> 2015-01-12 13:27:52,851 - ERROR -  - Exception thrown for user admin at
> http://reviews.example.com/dashboard/
>
> get() returned more than one LocalSiteProfile -- it returned 2!
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py",
> line 112, in get_response
> response = wrapped_callback(request, *callback_args, **callback_kwargs)
>   File
> "/usr/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line
> 22, in _wrapped_view
> return view_func(request, *args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/reviewboard/site/decorators.py",
> line 35, in _check
> return view_func(request, local_site=local_site, *args, **kwargs)
>   File
> "/usr/lib/python2.7/site-packages/reviewboard/accounts/decorators.py", line
> 44, in _check_valid_prefs
> return view_func(request, *args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/reviewboard/datagrids/views.py",
> line 58, in dashboard
> grid = DashboardDataGrid(request, local_site=local_site)
>   File "/usr/lib/python2.7/site-packages/reviewboard/datagrids/grids.py",
> line 204, in __init__
> profile=self.profile)[0]
>   File "/usr/lib/python2.7/site-packages/django/db/models/manager.py",
> line 154, in get_or_create
> return self.get_queryset().get_or_create(**kwargs)
>   File "/usr/lib/python2.7/site-packages/django/db/models/query.py", line
> 376, in get_or_create
> return self.get(**lookup), False
>   File "/usr/lib/python2.7/site-packages/django/db/models/query.py", line
> 313, in get
> (self.model._meta.object_name, num))
> MultipleObjectsReturned: get() returned more than one LocalSiteProfile --
> it returned 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.


Something broke! (Error 500) in dashboard page

2015-01-12 Thread xfwangcheers
Hello 

I have a clean install of v2.0.11 and everything seems well in the admin 
UI. but when I (as the default admin account) go to the 
http://reviews.example.com/dashboard/, I get the following error:

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. 

and the following error can be found in the log file:

and I create a new account and have got the same error. 

and I notice if the user post a review quest and then go to 
http://reviews.example.com/dashboard/, it works!!! 

It seems to happen if the user have no any review request. 

2015-01-12 13:27:52,851 - ERROR -  - Exception thrown for user admin at 
http://reviews.example.com/dashboard/

get() returned more than one LocalSiteProfile -- it returned 2!
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", 
line 112, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File 
"/usr/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 
22, in _wrapped_view
return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/reviewboard/site/decorators.py", 
line 35, in _check
return view_func(request, local_site=local_site, *args, **kwargs)
  File 
"/usr/lib/python2.7/site-packages/reviewboard/accounts/decorators.py", line 
44, in _check_valid_prefs
return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/reviewboard/datagrids/views.py", 
line 58, in dashboard
grid = DashboardDataGrid(request, local_site=local_site)
  File "/usr/lib/python2.7/site-packages/reviewboard/datagrids/grids.py", 
line 204, in __init__
profile=self.profile)[0]
  File "/usr/lib/python2.7/site-packages/django/db/models/manager.py", line 
154, in get_or_create
return self.get_queryset().get_or_create(**kwargs)
  File "/usr/lib/python2.7/site-packages/django/db/models/query.py", line 
376, in get_or_create
return self.get(**lookup), False
  File "/usr/lib/python2.7/site-packages/django/db/models/query.py", line 
313, in get
(self.model._meta.object_name, num))
MultipleObjectsReturned: get() returned more than one LocalSiteProfile -- 
it returned 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: Something broke! (Error 500)

2014-08-11 Thread Christian Hammond
At this point, I believe we’ve covered every scenario we’ve seen that can cause 
this problem. I don’t have any more answers for you. Double-check every part of 
that configuration, because something is not as it should be. Also, make sure 
all file permissions are set so Apache can read the files.

Christian

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

On August 11, 2014 at 1:42:25 PM, arjun (arjun.ch...@gmail.com) wrote:

Hi Chris

I verified the site_static_root path and it contains admin, djblets ,ext lib 
and rb

Thanks
Arjun


On Mon, Aug 11, 2014 at 12:46 PM, Christian Hammond  
wrote:
Can you verify the paths? Having the “reviews.example.com” makes it difficult 
for us to verify anything ourselves.

By the way, you listed the SECRET_KEY below in the settings_local.py file. 
After this is all working, you will need to change that and reset all 
passwords. That key should never be shared.

Christian

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

On August 11, 2014 at 12:44:26 PM, arjun (arjun.ch...@gmail.com) wrote:

 rb-site manage /var/www/reviews.example.com/ list-siteconfig | grep static
    "staticfiles": {
  "LOCATION": "staticfiles-filehashes",
  "site_static_url": "/reviews/static/",
  "site_static_root": "/var/www/reviews.example.com/htdocs/static",


On Mon, Aug 11, 2014 at 12:40 PM, Christian Hammond  
wrote:
Okay. That looks fine. Can you run:

    $ rb-site manage /path/to/site list-siteconfig | grep static

Verify that the site_static_root entry has the exact same site directory as 
where the site is now, and show the output.

Christian

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

On August 11, 2014 at 12:38:49 PM, arjun (arjun.ch...@gmail.com) wrote:

Hi Christian

Here are the lists

ls /var/www/reviews.example.com/
conf/   data/   htdocs/ logs/   tmp/   


ls /var/www/reviews.example.com/htdocs/static/
admin  djblets  ext  lib  rb
ls /var/www/reviews.example.com/htdocs/static/rb/images/
admin favicon.3161c840d49e.ico 
gold_box_top_bg.png logo.cc81d3ae01b2.png  
shipit_bg.a368d65cde1a.png
apple-home-icon.edc4d9406622.svg  favicon.362903dee64c.png 
header_bg.035aafc0d7fd.png  logo.png   
shipit_bg.png
apple-home-icon.fd8758a2ebe3.png  favicon.ico  
header_bg.png   mimetypes  
sort_asc_primary.4f626bb2b321.png
apple-home-icon.png   favicon_notify.43aac64f3b61.ico  
icons.2eed2f830119.png  resize-grip.b822a7e06419.png   
sort_asc_primary.png
apple-home-icon.svg   favicon_notify.521b526b6940.png  
ic...@2x.76271275352d.png   resize-grip.png    
sort_desc_primary.5f8681cb25cc.png
blank.93e65182fe45.gif    favicon_notify.ico   
ic...@2x.png    review_box_bottom_bg.76c4a1ca2edb.png  
sort_desc_primary.png
blank.gif favicon_notify.png   
icons.8db3fc4b523c.svg  review_box_bottom_bg.png   
spinner.73e57937304d.gif
box_bottom_bg.62df21d4a671.png    favicon.png  
icons.png   review_box_top_bg.6167f99a9b94.png 
spinner.gif
box_bottom_bg.png fish-trophy.9fa984f46974.png 
icons.svg   review_box_top_bg.png  
title_box_top_bg.e6ef809b528f.png
box_top_bg.eea86c350dcf.png   fish-trophy.png  
important.5e4ebe0a938f.png  review_request_box_bottom_bg.e6485313ac61.png  
title_box_top_bg.png
box_top_bg.png    gold_box_bottom_bg.15e0b1ead519.png  
important.png   review_request_box_bottom_bg.png   
trophy.ff1f6561f694.png
delete.91de4831d9c6.svg   gold_box_bottom_bg.png   
l...@2x.4e25cc3cacef.png    review_request_box_top_bg.ab6f3b1072c9.png 
trophy.png
delete.svg    gold_box_top_bg.33df1a7c2e1b.png 
l...@2x.png review_request_box_top_bg.png

Thanks





On Mon, Aug 11, 2014 at 12:28 PM, Christian Hammond  
wrote:
Can you show me a directory listing (using ls -l) of both 
$sitedir/htdocs/static/ and $sitedir/htdocs/static/rb/images/ ?

Christian

-- 
Christian Hammond - christ...@beanbaginc.com

Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On August 11, 2014 at 12:27:59 PM, Arjun A.M. (arjun.ch...@gmail.com) wrote:

Hi David and Christian

I did restart my apache and also I dont have production defined. Here is my log 
information again and also settings_local.py


==> error.log <==
[Mon A

Re: Something broke! (Error 500)

2014-08-11 Thread Christian Hammond
Okay. That looks fine. Can you run:

    $ rb-site manage /path/to/site list-siteconfig | grep static

Verify that the site_static_root entry has the exact same site directory as 
where the site is now, and show the output.

Christian

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

On August 11, 2014 at 12:38:49 PM, arjun (arjun.ch...@gmail.com) wrote:

Hi Christian

Here are the lists

ls /var/www/reviews.example.com/
conf/   data/   htdocs/ logs/   tmp/   


ls /var/www/reviews.example.com/htdocs/static/
admin  djblets  ext  lib  rb
ls /var/www/reviews.example.com/htdocs/static/rb/images/
admin favicon.3161c840d49e.ico 
gold_box_top_bg.png logo.cc81d3ae01b2.png  
shipit_bg.a368d65cde1a.png
apple-home-icon.edc4d9406622.svg  favicon.362903dee64c.png 
header_bg.035aafc0d7fd.png  logo.png   
shipit_bg.png
apple-home-icon.fd8758a2ebe3.png  favicon.ico  
header_bg.png   mimetypes  
sort_asc_primary.4f626bb2b321.png
apple-home-icon.png   favicon_notify.43aac64f3b61.ico  
icons.2eed2f830119.png  resize-grip.b822a7e06419.png   
sort_asc_primary.png
apple-home-icon.svg   favicon_notify.521b526b6940.png  
ic...@2x.76271275352d.png   resize-grip.png    
sort_desc_primary.5f8681cb25cc.png
blank.93e65182fe45.gif    favicon_notify.ico   
ic...@2x.png    review_box_bottom_bg.76c4a1ca2edb.png  
sort_desc_primary.png
blank.gif favicon_notify.png   
icons.8db3fc4b523c.svg  review_box_bottom_bg.png   
spinner.73e57937304d.gif
box_bottom_bg.62df21d4a671.png    favicon.png  
icons.png   review_box_top_bg.6167f99a9b94.png 
spinner.gif
box_bottom_bg.png fish-trophy.9fa984f46974.png 
icons.svg   review_box_top_bg.png  
title_box_top_bg.e6ef809b528f.png
box_top_bg.eea86c350dcf.png   fish-trophy.png  
important.5e4ebe0a938f.png  review_request_box_bottom_bg.e6485313ac61.png  
title_box_top_bg.png
box_top_bg.png    gold_box_bottom_bg.15e0b1ead519.png  
important.png   review_request_box_bottom_bg.png   
trophy.ff1f6561f694.png
delete.91de4831d9c6.svg   gold_box_bottom_bg.png   
l...@2x.4e25cc3cacef.png    review_request_box_top_bg.ab6f3b1072c9.png 
trophy.png
delete.svg    gold_box_top_bg.33df1a7c2e1b.png 
l...@2x.png review_request_box_top_bg.png

Thanks





On Mon, Aug 11, 2014 at 12:28 PM, Christian Hammond  
wrote:
Can you show me a directory listing (using ls -l) of both 
$sitedir/htdocs/static/ and $sitedir/htdocs/static/rb/images/ ?

Christian

-- 
Christian Hammond - christ...@beanbaginc.com

Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On August 11, 2014 at 12:27:59 PM, Arjun A.M. (arjun.ch...@gmail.com) wrote:

Hi David and Christian

I did restart my apache and also I dont have production defined. Here is my log 
information again and also settings_local.py


==> error.log <==
[Mon Aug 11 19:24:05 2014] [error] ERROR:root:Exception thrown for user 
AnonymousUser at http://reviews.example.com/r/
[Mon Aug 11 19:24:05 2014] [error]
[Mon Aug 11 19:24:05 2014] [error] The file 'rb/images/favicon_notify.ico' 
could not be found with .
[Mon Aug 11 19:24:05 2014] [error] Traceback (most recent call last):
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/core/handlers/base.py",
 line 112, in get_response
[Mon Aug 11 19:24:05 2014] [error] response = wrapped_callback(request, 
*callback_args, **callback_kwargs)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/etc/djblets/reviewboard/reviewboard/accounts/decorators.py", line 23, in 
_check
[Mon Aug 11 19:24:05 2014] [error] return view_func(*args, **kwargs)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/etc/djblets/reviewboard/reviewboard/site/decorators.py", line 35, in _check
[Mon Aug 11 19:24:05 2014] [error] return view_func(request, 
local_site=local_site, *args, **kwargs)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/etc/djblets/reviewboard/reviewboard/datagrids/views.py", line 38, in 
all_review_requests
[Mon Aug 11 19:24:05 2014] [error] return 
datagrid.render_to_response(template_name)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/etc/djblets/djblets/datagrid/grids.py", line 1042, in render_to_response
[Mon Aug 11 19:24:05 2014] [error] return render_to_response(template_name, 
Context(context))
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python

Re: Something broke! (Error 500)

2014-08-11 Thread arjun
Hi Christian

Here are the lists

ls /var/www/reviews.example.com/
conf/   data/   htdocs/ logs/   tmp/


ls /var/www/reviews.example.com/htdocs/static/
admin  djblets  ext  lib  rb
ls /var/www/reviews.example.com/htdocs/static/rb/images/
admin favicon.3161c840d49e.ico
gold_box_top_bg.png logo.cc81d3ae01b2.png
shipit_bg.a368d65cde1a.png
apple-home-icon.edc4d9406622.svg  favicon.362903dee64c.png
header_bg.035aafc0d7fd.png  logo.png
shipit_bg.png
apple-home-icon.fd8758a2ebe3.png  favicon.ico
header_bg.png   mimetypes
sort_asc_primary.4f626bb2b321.png
apple-home-icon.png   favicon_notify.43aac64f3b61.ico
icons.2eed2f830119.png  resize-grip.b822a7e06419.png
sort_asc_primary.png
apple-home-icon.svg   favicon_notify.521b526b6940.png
ic...@2x.76271275352d.png   resize-grip.png
sort_desc_primary.5f8681cb25cc.png
blank.93e65182fe45.giffavicon_notify.ico
ic...@2x.pngreview_box_bottom_bg.76c4a1ca2edb.png
sort_desc_primary.png
blank.gif favicon_notify.png
icons.8db3fc4b523c.svg  review_box_bottom_bg.png
spinner.73e57937304d.gif
box_bottom_bg.62df21d4a671.pngfavicon.png
icons.png   review_box_top_bg.6167f99a9b94.png
spinner.gif
box_bottom_bg.png fish-trophy.9fa984f46974.png
icons.svg   review_box_top_bg.png
title_box_top_bg.e6ef809b528f.png
box_top_bg.eea86c350dcf.png   fish-trophy.png
important.5e4ebe0a938f.png  review_request_box_bottom_bg.e6485313ac61.png
title_box_top_bg.png
box_top_bg.pnggold_box_bottom_bg.15e0b1ead519.png
important.png   review_request_box_bottom_bg.png
trophy.ff1f6561f694.png
delete.91de4831d9c6.svg   gold_box_bottom_bg.png
l...@2x.4e25cc3cacef.pngreview_request_box_top_bg.ab6f3b1072c9.png
trophy.png
delete.svggold_box_top_bg.33df1a7c2e1b.png
l...@2x.png review_request_box_top_bg.png

Thanks





On Mon, Aug 11, 2014 at 12:28 PM, Christian Hammond <
christ...@beanbaginc.com> wrote:

> Can you show me a directory listing (using ls -l) of both
> $sitedir/htdocs/static/ and $sitedir/htdocs/static/rb/images/ ?
>
> Christian
>
> --
> Christian Hammond - christ...@beanbaginc.com
>
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>
> On August 11, 2014 at 12:27:59 PM, Arjun A.M. (arjun.ch...@gmail.com)
> wrote:
>
> Hi David and Christian
>
> I did restart my apache and also I dont have production defined. Here is
> my log information again and also settings_local.py
>
>
> ==> error.log <==
> [Mon Aug 11 19:24:05 2014] [error] ERROR:root:Exception thrown for user
> AnonymousUser at http://reviews.example.com/r/
> [Mon Aug 11 19:24:05 2014] [error]
> [Mon Aug 11 19:24:05 2014] [error] The file 'rb/images/favicon_notify.ico'
> could not be found with  0xa6b2328c>.
> [Mon Aug 11 19:24:05 2014] [error] Traceback (most recent call last):
> [Mon Aug 11 19:24:05 2014] [error]   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/core/handlers/base.py",
> line 112, in get_response
> [Mon Aug 11 19:24:05 2014] [error] response =
> wrapped_callback(request, *callback_args, **callback_kwargs)
> [Mon Aug 11 19:24:05 2014] [error]   File
> "/etc/djblets/reviewboard/reviewboard/accounts/decorators.py", line 23, in
> _check
> [Mon Aug 11 19:24:05 2014] [error] return view_func(*args, **kwargs)
> [Mon Aug 11 19:24:05 2014] [error]   File
> "/etc/djblets/reviewboard/reviewboard/site/decorators.py", line 35, in
> _check
> [Mon Aug 11 19:24:05 2014] [error] return view_func(request,
> local_site=local_site, *args, **kwargs)
> [Mon Aug 11 19:24:05 2014] [error]   File
> "/etc/djblets/reviewboard/reviewboard/datagrids/views.py", line 38, in
> all_review_requests
> [Mon Aug 11 19:24:05 2014] [error] return
> datagrid.render_to_response(template_name)
> [Mon Aug 11 19:24:05 2014] [error]   File
> "/etc/djblets/djblets/datagrid/grids.py", line 1042, in render_to_response
> [Mon Aug 11 19:24:05 2014] [error] return
> render_to_response(template_name, Context(context))
> [Mon Aug 11 19:24:05 2014] [error]   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/shortcuts/__init__.py",
> line 29, in render_to_response
> [Mon Aug 11 19:24:05 2014] [error] return
> HttpResponse(loader.render_to_string(*args, **kwargs),
> **httpresponse_kwargs)
> [Mon Aug 11 19:24:05 2014] [error]   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/loader.py",
> line 164, in render_to_string
> [Mon Aug 11 19:24:05 2014] [error] return t.render(Context(dictionary))
> [Mon Aug 11 19:24:05 2014] [error]   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
> line 140, in render
> [Mon Aug 11 19:24:05 2014] [error] return self._render(context)
> [Mon Aug 11 19:24:05 2014] [error]   File
> "/u

Re: Something broke! (Error 500)

2014-08-11 Thread Christian Hammond
Can you show me a directory listing (using ls -l) of both 
$sitedir/htdocs/static/ and $sitedir/htdocs/static/rb/images/ ?

Christian

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

On August 11, 2014 at 12:27:59 PM, Arjun A.M. (arjun.ch...@gmail.com) wrote:

Hi David and Christian

I did restart my apache and also I dont have production defined. Here is my log 
information again and also settings_local.py


==> error.log <==
[Mon Aug 11 19:24:05 2014] [error] ERROR:root:Exception thrown for user 
AnonymousUser at http://reviews.example.com/r/
[Mon Aug 11 19:24:05 2014] [error]
[Mon Aug 11 19:24:05 2014] [error] The file 'rb/images/favicon_notify.ico' 
could not be found with .
[Mon Aug 11 19:24:05 2014] [error] Traceback (most recent call last):
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/core/handlers/base.py",
 line 112, in get_response
[Mon Aug 11 19:24:05 2014] [error] response = wrapped_callback(request, 
*callback_args, **callback_kwargs)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/etc/djblets/reviewboard/reviewboard/accounts/decorators.py", line 23, in 
_check
[Mon Aug 11 19:24:05 2014] [error] return view_func(*args, **kwargs)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/etc/djblets/reviewboard/reviewboard/site/decorators.py", line 35, in _check
[Mon Aug 11 19:24:05 2014] [error] return view_func(request, 
local_site=local_site, *args, **kwargs)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/etc/djblets/reviewboard/reviewboard/datagrids/views.py", line 38, in 
all_review_requests
[Mon Aug 11 19:24:05 2014] [error] return 
datagrid.render_to_response(template_name)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/etc/djblets/djblets/datagrid/grids.py", line 1042, in render_to_response
[Mon Aug 11 19:24:05 2014] [error] return render_to_response(template_name, 
Context(context))
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/shortcuts/__init__.py",
 line 29, in render_to_response
[Mon Aug 11 19:24:05 2014] [error] return 
HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/loader.py",
 line 164, in render_to_string
[Mon Aug 11 19:24:05 2014] [error] return t.render(Context(dictionary))
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 line 140, in render
[Mon Aug 11 19:24:05 2014] [error] return self._render(context)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 line 134, in _render
[Mon Aug 11 19:24:05 2014] [error] return self.nodelist.render(context)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 line 840, in render
[Mon Aug 11 19:24:05 2014] [error] bit = self.render_node(node, context)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 line 854, in render_node
[Mon Aug 11 19:24:05 2014] [error] return node.render(context)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/loader_tags.py",
 line 123, in render
[Mon Aug 11 19:24:05 2014] [error] return compiled_parent._render(context)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 line 134, in _render
[Mon Aug 11 19:24:05 2014] [error] return self.nodelist.render(context)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 line 840, in render
[Mon Aug 11 19:24:05 2014] [error] bit = self.render_node(node, context)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 line 854, in render_node
[Mon Aug 11 19:24:05 2014] [error] return node.render(context)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/loader_tags.py",
 line 123, in render
[Mon Aug 11 19:24:05 2014] [error] return compiled_parent._render(context)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 line 134, in _render
[Mon Aug 11 19:24:05 2014] [error] return self.nodelist.render(context)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 line 840, in render
[Mon Aug 11 19:24:05 201

Re: Something broke! (Error 500)

2014-08-11 Thread Arjun A.M.
Hi David and Christian

I did restart my apache and also I dont have production defined. Here is my 
log information again and also settings_local.py 


==> error.log <==
[Mon Aug 11 19:24:05 2014] [error] ERROR:root:Exception thrown for user 
AnonymousUser at http://reviews.example.com/r/
[Mon Aug 11 19:24:05 2014] [error] 
[Mon Aug 11 19:24:05 2014] [error] The file 'rb/images/favicon_notify.ico' 
could not be found with .
[Mon Aug 11 19:24:05 2014] [error] Traceback (most recent call last):
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/core/handlers/base.py",
 
line 112, in get_response
[Mon Aug 11 19:24:05 2014] [error] response = wrapped_callback(request, 
*callback_args, **callback_kwargs)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/etc/djblets/reviewboard/reviewboard/accounts/decorators.py", line 23, in 
_check
[Mon Aug 11 19:24:05 2014] [error] return view_func(*args, **kwargs)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/etc/djblets/reviewboard/reviewboard/site/decorators.py", line 35, in 
_check
[Mon Aug 11 19:24:05 2014] [error] return view_func(request, 
local_site=local_site, *args, **kwargs)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/etc/djblets/reviewboard/reviewboard/datagrids/views.py", line 38, in 
all_review_requests
[Mon Aug 11 19:24:05 2014] [error] return 
datagrid.render_to_response(template_name)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/etc/djblets/djblets/datagrid/grids.py", line 1042, in render_to_response
[Mon Aug 11 19:24:05 2014] [error] return 
render_to_response(template_name, Context(context))
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/shortcuts/__init__.py",
 
line 29, in render_to_response
[Mon Aug 11 19:24:05 2014] [error] return 
HttpResponse(loader.render_to_string(*args, **kwargs), 
**httpresponse_kwargs)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/loader.py",
 
line 164, in render_to_string
[Mon Aug 11 19:24:05 2014] [error] return t.render(Context(dictionary))
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 
line 140, in render
[Mon Aug 11 19:24:05 2014] [error] return self._render(context)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 
line 134, in _render
[Mon Aug 11 19:24:05 2014] [error] return self.nodelist.render(context)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 
line 840, in render
[Mon Aug 11 19:24:05 2014] [error] bit = self.render_node(node, context)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 
line 854, in render_node
[Mon Aug 11 19:24:05 2014] [error] return node.render(context)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/loader_tags.py",
 
line 123, in render
[Mon Aug 11 19:24:05 2014] [error] return 
compiled_parent._render(context)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 
line 134, in _render
[Mon Aug 11 19:24:05 2014] [error] return self.nodelist.render(context)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 
line 840, in render
[Mon Aug 11 19:24:05 2014] [error] bit = self.render_node(node, context)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 
line 854, in render_node
[Mon Aug 11 19:24:05 2014] [error] return node.render(context)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/loader_tags.py",
 
line 123, in render
[Mon Aug 11 19:24:05 2014] [error] return 
compiled_parent._render(context)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 
line 134, in _render
[Mon Aug 11 19:24:05 2014] [error] return self.nodelist.render(context)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 
line 840, in render
[Mon Aug 11 19:24:05 2014] [error] bit = self.render_node(node, context)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 
line 854, in render_node
[Mon Aug 11 19:24:05 2014] [error] return node.render(context)
[Mon Aug 11 19:24:05 2014] [error]   File 
"/usr

Re: Something broke! (Error 500)

2014-08-11 Thread Christian Hammond
Did you restart Apache after changing it back to False?

Christian

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

On August 11, 2014 at 12:04:12 PM, Arjun A.M. (arjun.ch...@gmail.com) wrote:

Hi Daid 

If I set it back to false its the same log as I provided first

Thanks
Arjun

On Monday, 11 August 2014 12:02:43 UTC-7, David Trowbridge wrote:
OK, that's the problem (or at least, is getting in the way of the real 
problem). DEBUG is meant *only* for developer installs, and not production 
deployments. Set that back to False.

-David


On Mon, Aug 11, 2014 at 10:22 AM, Arjun A.M.  wrote:



Here is the log after I set Debug as true

/var/log/apache2# tail -f *
==> access.log <==

==> access.log.1 <==
127.0.0.1 - - [02/Aug/2014:14:14:30 -0700] "GET / HTTP/1.1" 200 485 "-" 
"Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
127.0.0.1 - - [02/Aug/2014:14:14:30 -0700] "GET /favicon.ico HTTP/1.1" 404 499 
"-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
127.0.0.1 - - [02/Aug/2014:14:14:30 -0700] "GET /favicon.ico HTTP/1.1" 404 499 
"-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
127.0.0.1 - - [02/Aug/2014:14:14:40 -0700] "GET / HTTP/1.1" 304 211 "-" 
"Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
127.0.0.1 - - [02/Aug/2014:14:17:43 -0700] "GET / HTTP/1.1" 304 211 "-" 
"Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
127.0.0.1 - - [02/Aug/2014:14:26:30 -0700] "GET / HTTP/1.1" 200 485 "-" 
"Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
127.0.0.1 - - [02/Aug/2014:14:26:30 -0700] "GET /favicon.ico HTTP/1.1" 404 499 
"-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
127.0.0.1 - - [02/Aug/2014:14:26:31 -0700] "GET /favicon.ico HTTP/1.1" 404 499 
"-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
127.0.0.1 - - [04/Aug/2014:09:40:05 -0700] "GET / HTTP/1.1" 304 211 "-" 
"Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"

==> error.log <==
[Mon Aug 11 17:17:50 2014] [error] return node.render(context)
[Mon Aug 11 17:17:50 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/templatetags/static.py",
 line 106, in render
[Mon Aug 11 17:17:50 2014] [error] url = self.url(context)
[Mon Aug 11 17:17:50 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/templatetags/staticfiles.py",
 line 12, in url
[Mon Aug 11 17:17:50 2014] [error] return staticfiles_storage.url(path)
[Mon Aug 11 17:17:50 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py",
 line 139, in url
[Mon Aug 11 17:17:50 2014] [error] hashed_name = 
self.hashed_name(clean_name).replace('', '/')
[Mon Aug 11 17:17:50 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py",
 line 96, in hashed_name
[Mon Aug 11 17:17:50 2014] [error] (clean_name, self))
[Mon Aug 11 17:17:50 2014] [error] ValueError: The file 
'rb/images/favicon_notify.ico' could not be found with 
.

==> error.log.1 <==

[Sat Aug 09 02:19:26 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/templatetags/staticfiles.py",
 line 12, in url
[Sat Aug 09 02:19:26 2014] [error] return staticfiles_storage.url(path)
[Sat Aug 09 02:19:26 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py",
 line 139, in url
[Sat Aug 09 02:19:26 2014] [error] hashed_name = 
self.hashed_name(clean_name).replace('', '/')
[Sat Aug 09 02:19:26 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py",
 line 96, in hashed_name
[Sat Aug 09 02:19:26 2014] [error] (clean_name, self))
[Sat Aug 09 02:19:26 2014] [error] ValueError: The file 
'rb/images/favicon_notify.ico' could not be found with 
.
[Sun Aug 10 07:49:29 2014] [notice] SIGUSR1 received.  Doing graceful restart
apache2: Could not reliably determine the server's fully qualified domain name, 
using 127.0.1.1 for ServerName

Error opening file for reading: Permission denied

==> other_vhosts_access.log <==
reviews.example.com:80 127.0.0.1 - - [11/Aug/2014:17:17:40 +] "GET / 
HTTP/1.1" 302 389 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) 
Gecko/20100101 Firefox/11.0"
reviews.example.com:80 127.0.0.1 - - [11/Aug/2014:17:17:48 +] "GET /r/ 
HTTP/1.1" 500 558 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) 
Gecko/20100101 Firefox/11.0"

==> other_vhosts_access.log.1 <==
reviews.example.com:80 127.0.0.1 - - [09/Aug/2014:02:09:31 +] "GET / 
HTTP/1.

Re: Something broke! (Error 500)

2014-08-11 Thread David Trowbridge
Arjun,

django-pipeline should not be trying to serve up static files if DEBUG is
False. Is PRODUCTION defined in your settings_local.py file? Have you made
any other changes to the deployment?

-David


On Mon, Aug 11, 2014 at 12:04 PM, Arjun A.M.  wrote:

> Hi Daid
>
> If I set it back to false its the same log as I provided first
>
> Thanks
> Arjun
>
>
> On Monday, 11 August 2014 12:02:43 UTC-7, David Trowbridge wrote:
>
>> OK, that's the problem (or at least, is getting in the way of the real
>> problem). DEBUG is meant *only* for developer installs, and not production
>> deployments. Set that back to False.
>>
>> -David
>>
>>
>> On Mon, Aug 11, 2014 at 10:22 AM, Arjun A.M.  wrote:
>>
>>>
>>>
>>>
>>> Here is the log after I set Debug as true
>>>
>>> /var/log/apache2# tail -f *
>>> ==> access.log <==
>>>
>>> ==> access.log.1 <==
>>> 127.0.0.1 - - [02/Aug/2014:14:14:30 -0700] "GET / HTTP/1.1" 200 485 "-"
>>> "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
>>> 127.0.0.1 - - [02/Aug/2014:14:14:30 -0700] "GET /favicon.ico HTTP/1.1"
>>> 404 499 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101
>>> Firefox/11.0"
>>> 127.0.0.1 - - [02/Aug/2014:14:14:30 -0700] "GET /favicon.ico HTTP/1.1"
>>> 404 499 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101
>>> Firefox/11.0"
>>> 127.0.0.1 - - [02/Aug/2014:14:14:40 -0700] "GET / HTTP/1.1" 304 211 "-"
>>> "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
>>> 127.0.0.1 - - [02/Aug/2014:14:17:43 -0700] "GET / HTTP/1.1" 304 211 "-"
>>> "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
>>> 127.0.0.1 - - [02/Aug/2014:14:26:30 -0700] "GET / HTTP/1.1" 200 485 "-"
>>> "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
>>> 127.0.0.1 - - [02/Aug/2014:14:26:30 -0700] "GET /favicon.ico HTTP/1.1"
>>> 404 499 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101
>>> Firefox/11.0"
>>> 127.0.0.1 - - [02/Aug/2014:14:26:31 -0700] "GET /favicon.ico HTTP/1.1"
>>> 404 499 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101
>>> Firefox/11.0"
>>> 127.0.0.1 - - [04/Aug/2014:09:40:05 -0700] "GET / HTTP/1.1" 304 211 "-"
>>> "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
>>>
>>> ==> error.log <==
>>> [Mon Aug 11 17:17:50 2014] [error] return node.render(context)
>>> [Mon Aug 11 17:17:50 2014] [error]   File "/usr/local/lib/python2.7/
>>> dist-packages/Django-1.6.5-py2.7.egg/django/templatetags/static.py",
>>> line 106, in render
>>> [Mon Aug 11 17:17:50 2014] [error] url = self.url(context)
>>> [Mon Aug 11 17:17:50 2014] [error]   File "/usr/local/lib/python2.7/
>>> dist-packages/Django-1.6.5-py2.7.egg/django/contrib/
>>> staticfiles/templatetags/staticfiles.py", line 12, in url
>>> [Mon Aug 11 17:17:50 2014] [error] return
>>> staticfiles_storage.url(path)
>>> [Mon Aug 11 17:17:50 2014] [error]   File "/usr/local/lib/python2.7/
>>> dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py",
>>> line 139, in url
>>> [Mon Aug 11 17:17:50 2014] [error] hashed_name =
>>> self.hashed_name(clean_name).replace('', '/')
>>> [Mon Aug 11 17:17:50 2014] [error]   File "/usr/local/lib/python2.7/
>>> dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py",
>>> line 96, in hashed_name
>>> [Mon Aug 11 17:17:50 2014] [error] (clean_name, self))
>>> [Mon Aug 11 17:17:50 2014] [error] ValueError: The file
>>> 'rb/images/favicon_notify.ico' could not be found with 
>>> >> object at 0xa6b2328c>.
>>>
>>> ==> error.log.1 <==
>>>
>>> [Sat Aug 09 02:19:26 2014] [error]   File "/usr/local/lib/python2.7/
>>> dist-packages/Django-1.6.5-py2.7.egg/django/contrib/
>>> staticfiles/templatetags/staticfiles.py", line 12, in url
>>> [Sat Aug 09 02:19:26 2014] [error] return
>>> staticfiles_storage.url(path)
>>> [Sat Aug 09 02:19:26 2014] [error]   File "/usr/local/lib/python2.7/
>>> dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py",
>>> line 139, in url
>>> [Sat Aug 09 02:19:26 2014] [error] hashed_name =
>>> self.hashed_name(clean_name).replace('', '/')
>>> [Sat Aug 09 02:19:26 2014] [error]   File "/usr/local/lib/python2.7/
>>> dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py",
>>> line 96, in hashed_name
>>> [Sat Aug 09 02:19:26 2014] [error] (clean_name, self))
>>> [Sat Aug 09 02:19:26 2014] [error] ValueError: The file
>>> 'rb/images/favicon_notify.ico' could not be found with 
>>> >> object at 0xa6b2328c>.
>>> [Sun Aug 10 07:49:29 2014] [notice] SIGUSR1 received.  Doing graceful
>>> restart
>>> apache2: Could not reliably determine the server's fully qualified
>>> domain name, using 127.0.1.1 for ServerName
>>>
>>> Error opening file for reading: Permission denied
>>>
>>> ==> other_vhosts_access.log <==
>>> reviews.example.com:80 127.0.0.1 - - [11/Aug/2014:17:17:40 +] "GET
>>> / HTTP/1.1" 302 389 

Re: Something broke! (Error 500)

2014-08-11 Thread Arjun A.M.
Hi Daid 

If I set it back to false its the same log as I provided first

Thanks
Arjun

On Monday, 11 August 2014 12:02:43 UTC-7, David Trowbridge wrote:
>
> OK, that's the problem (or at least, is getting in the way of the real 
> problem). DEBUG is meant *only* for developer installs, and not production 
> deployments. Set that back to False.
>
> -David
>
>
> On Mon, Aug 11, 2014 at 10:22 AM, Arjun A.M.  > wrote:
>
>>
>>
>>
>> Here is the log after I set Debug as true
>>
>> /var/log/apache2# tail -f *
>> ==> access.log <==
>>
>> ==> access.log.1 <==
>> 127.0.0.1 - - [02/Aug/2014:14:14:30 -0700] "GET / HTTP/1.1" 200 485 "-" 
>> "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
>> 127.0.0.1 - - [02/Aug/2014:14:14:30 -0700] "GET /favicon.ico HTTP/1.1" 
>> 404 499 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 
>> Firefox/11.0"
>> 127.0.0.1 - - [02/Aug/2014:14:14:30 -0700] "GET /favicon.ico HTTP/1.1" 
>> 404 499 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 
>> Firefox/11.0"
>> 127.0.0.1 - - [02/Aug/2014:14:14:40 -0700] "GET / HTTP/1.1" 304 211 "-" 
>> "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
>> 127.0.0.1 - - [02/Aug/2014:14:17:43 -0700] "GET / HTTP/1.1" 304 211 "-" 
>> "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
>> 127.0.0.1 - - [02/Aug/2014:14:26:30 -0700] "GET / HTTP/1.1" 200 485 "-" 
>> "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
>> 127.0.0.1 - - [02/Aug/2014:14:26:30 -0700] "GET /favicon.ico HTTP/1.1" 
>> 404 499 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 
>> Firefox/11.0"
>> 127.0.0.1 - - [02/Aug/2014:14:26:31 -0700] "GET /favicon.ico HTTP/1.1" 
>> 404 499 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 
>> Firefox/11.0"
>> 127.0.0.1 - - [04/Aug/2014:09:40:05 -0700] "GET / HTTP/1.1" 304 211 "-" 
>> "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
>>
>> ==> error.log <==
>> [Mon Aug 11 17:17:50 2014] [error] return node.render(context)
>> [Mon Aug 11 17:17:50 2014] [error]   File 
>> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/templatetags/static.py",
>>  
>> line 106, in render
>> [Mon Aug 11 17:17:50 2014] [error] url = self.url(context)
>> [Mon Aug 11 17:17:50 2014] [error]   File 
>> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/templatetags/staticfiles.py",
>>  
>> line 12, in url
>> [Mon Aug 11 17:17:50 2014] [error] return 
>> staticfiles_storage.url(path)
>> [Mon Aug 11 17:17:50 2014] [error]   File 
>> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py",
>>  
>> line 139, in url
>> [Mon Aug 11 17:17:50 2014] [error] hashed_name = 
>> self.hashed_name(clean_name).replace('', '/')
>> [Mon Aug 11 17:17:50 2014] [error]   File 
>> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py",
>>  
>> line 96, in hashed_name
>> [Mon Aug 11 17:17:50 2014] [error] (clean_name, self))
>> [Mon Aug 11 17:17:50 2014] [error] ValueError: The file 
>> 'rb/images/favicon_notify.ico' could not be found with 
>> .
>>
>> ==> error.log.1 <==
>>
>> [Sat Aug 09 02:19:26 2014] [error]   File 
>> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/templatetags/staticfiles.py",
>>  
>> line 12, in url
>> [Sat Aug 09 02:19:26 2014] [error] return 
>> staticfiles_storage.url(path)
>> [Sat Aug 09 02:19:26 2014] [error]   File 
>> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py",
>>  
>> line 139, in url
>> [Sat Aug 09 02:19:26 2014] [error] hashed_name = 
>> self.hashed_name(clean_name).replace('', '/')
>> [Sat Aug 09 02:19:26 2014] [error]   File 
>> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py",
>>  
>> line 96, in hashed_name
>> [Sat Aug 09 02:19:26 2014] [error] (clean_name, self))
>> [Sat Aug 09 02:19:26 2014] [error] ValueError: The file 
>> 'rb/images/favicon_notify.ico' could not be found with 
>> .
>> [Sun Aug 10 07:49:29 2014] [notice] SIGUSR1 received.  Doing graceful 
>> restart
>> apache2: Could not reliably determine the server's fully qualified domain 
>> name, using 127.0.1.1 for ServerName
>>
>> Error opening file for reading: Permission denied
>>
>> ==> other_vhosts_access.log <==
>> reviews.example.com:80 127.0.0.1 - - [11/Aug/2014:17:17:40 +] "GET / 
>> HTTP/1.1" 302 389 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) 
>> Gecko/20100101 Firefox/11.0"
>> reviews.example.com:80 127.0.0.1 - - [11/Aug/2014:17:17:48 +] "GET 
>> /r/ HTTP/1.1" 500 558 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) 
>> Gecko/20100101 Firefox/11.0"
>>
>> ==> other_vhosts_access.log.1 <==
>> reviews.example.com:80 127.0.0.1 - - [09/A

Re: Something broke! (Error 500)

2014-08-11 Thread David Trowbridge
OK, that's the problem (or at least, is getting in the way of the real
problem). DEBUG is meant *only* for developer installs, and not production
deployments. Set that back to False.

-David


On Mon, Aug 11, 2014 at 10:22 AM, Arjun A.M.  wrote:

>
>
>
> Here is the log after I set Debug as true
>
> /var/log/apache2# tail -f *
> ==> access.log <==
>
> ==> access.log.1 <==
> 127.0.0.1 - - [02/Aug/2014:14:14:30 -0700] "GET / HTTP/1.1" 200 485 "-"
> "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
> 127.0.0.1 - - [02/Aug/2014:14:14:30 -0700] "GET /favicon.ico HTTP/1.1" 404
> 499 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101
> Firefox/11.0"
> 127.0.0.1 - - [02/Aug/2014:14:14:30 -0700] "GET /favicon.ico HTTP/1.1" 404
> 499 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101
> Firefox/11.0"
> 127.0.0.1 - - [02/Aug/2014:14:14:40 -0700] "GET / HTTP/1.1" 304 211 "-"
> "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
> 127.0.0.1 - - [02/Aug/2014:14:17:43 -0700] "GET / HTTP/1.1" 304 211 "-"
> "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
> 127.0.0.1 - - [02/Aug/2014:14:26:30 -0700] "GET / HTTP/1.1" 200 485 "-"
> "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
> 127.0.0.1 - - [02/Aug/2014:14:26:30 -0700] "GET /favicon.ico HTTP/1.1" 404
> 499 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101
> Firefox/11.0"
> 127.0.0.1 - - [02/Aug/2014:14:26:31 -0700] "GET /favicon.ico HTTP/1.1" 404
> 499 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101
> Firefox/11.0"
> 127.0.0.1 - - [04/Aug/2014:09:40:05 -0700] "GET / HTTP/1.1" 304 211 "-"
> "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
>
> ==> error.log <==
> [Mon Aug 11 17:17:50 2014] [error] return node.render(context)
> [Mon Aug 11 17:17:50 2014] [error]   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/templatetags/static.py",
> line 106, in render
> [Mon Aug 11 17:17:50 2014] [error] url = self.url(context)
> [Mon Aug 11 17:17:50 2014] [error]   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/templatetags/staticfiles.py",
> line 12, in url
> [Mon Aug 11 17:17:50 2014] [error] return staticfiles_storage.url(path)
> [Mon Aug 11 17:17:50 2014] [error]   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py",
> line 139, in url
> [Mon Aug 11 17:17:50 2014] [error] hashed_name =
> self.hashed_name(clean_name).replace('', '/')
> [Mon Aug 11 17:17:50 2014] [error]   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py",
> line 96, in hashed_name
> [Mon Aug 11 17:17:50 2014] [error] (clean_name, self))
> [Mon Aug 11 17:17:50 2014] [error] ValueError: The file
> 'rb/images/favicon_notify.ico' could not be found with
> .
>
> ==> error.log.1 <==
>
> [Sat Aug 09 02:19:26 2014] [error]   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/templatetags/staticfiles.py",
> line 12, in url
> [Sat Aug 09 02:19:26 2014] [error] return staticfiles_storage.url(path)
> [Sat Aug 09 02:19:26 2014] [error]   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py",
> line 139, in url
> [Sat Aug 09 02:19:26 2014] [error] hashed_name =
> self.hashed_name(clean_name).replace('', '/')
> [Sat Aug 09 02:19:26 2014] [error]   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py",
> line 96, in hashed_name
> [Sat Aug 09 02:19:26 2014] [error] (clean_name, self))
> [Sat Aug 09 02:19:26 2014] [error] ValueError: The file
> 'rb/images/favicon_notify.ico' could not be found with
> .
> [Sun Aug 10 07:49:29 2014] [notice] SIGUSR1 received.  Doing graceful
> restart
> apache2: Could not reliably determine the server's fully qualified domain
> name, using 127.0.1.1 for ServerName
>
> Error opening file for reading: Permission denied
>
> ==> other_vhosts_access.log <==
> reviews.example.com:80 127.0.0.1 - - [11/Aug/2014:17:17:40 +] "GET /
> HTTP/1.1" 302 389 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0)
> Gecko/20100101 Firefox/11.0"
> reviews.example.com:80 127.0.0.1 - - [11/Aug/2014:17:17:48 +] "GET
> /r/ HTTP/1.1" 500 558 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0)
> Gecko/20100101 Firefox/11.0"
>
> ==> other_vhosts_access.log.1 <==
> reviews.example.com:80 127.0.0.1 - - [09/Aug/2014:02:09:31 +] "GET /
> HTTP/1.1" 302 389 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0)
> Gecko/20100101 Firefox/11.0"
> reviews.example.com:80 127.0.0.1 - - [09/Aug/2014:02:09:31 +] "GET
> /r/ HTTP/1.1" 500 558 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0)
> Gecko/20100101 Firefox/11.0"
> reviews.example.com:80 

Re: Something broke! (Error 500)

2014-08-11 Thread Arjun A.M.



Here is the log after I set Debug as true

/var/log/apache2# tail -f *
==> access.log <==

==> access.log.1 <==
127.0.0.1 - - [02/Aug/2014:14:14:30 -0700] "GET / HTTP/1.1" 200 485 "-" 
"Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
127.0.0.1 - - [02/Aug/2014:14:14:30 -0700] "GET /favicon.ico HTTP/1.1" 404 
499 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 
Firefox/11.0"
127.0.0.1 - - [02/Aug/2014:14:14:30 -0700] "GET /favicon.ico HTTP/1.1" 404 
499 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 
Firefox/11.0"
127.0.0.1 - - [02/Aug/2014:14:14:40 -0700] "GET / HTTP/1.1" 304 211 "-" 
"Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
127.0.0.1 - - [02/Aug/2014:14:17:43 -0700] "GET / HTTP/1.1" 304 211 "-" 
"Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
127.0.0.1 - - [02/Aug/2014:14:26:30 -0700] "GET / HTTP/1.1" 200 485 "-" 
"Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"
127.0.0.1 - - [02/Aug/2014:14:26:30 -0700] "GET /favicon.ico HTTP/1.1" 404 
499 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 
Firefox/11.0"
127.0.0.1 - - [02/Aug/2014:14:26:31 -0700] "GET /favicon.ico HTTP/1.1" 404 
499 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 
Firefox/11.0"
127.0.0.1 - - [04/Aug/2014:09:40:05 -0700] "GET / HTTP/1.1" 304 211 "-" 
"Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0"

==> error.log <==
[Mon Aug 11 17:17:50 2014] [error] return node.render(context)
[Mon Aug 11 17:17:50 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/templatetags/static.py",
 
line 106, in render
[Mon Aug 11 17:17:50 2014] [error] url = self.url(context)
[Mon Aug 11 17:17:50 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/templatetags/staticfiles.py",
 
line 12, in url
[Mon Aug 11 17:17:50 2014] [error] return staticfiles_storage.url(path)
[Mon Aug 11 17:17:50 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py",
 
line 139, in url
[Mon Aug 11 17:17:50 2014] [error] hashed_name = 
self.hashed_name(clean_name).replace('', '/')
[Mon Aug 11 17:17:50 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py",
 
line 96, in hashed_name
[Mon Aug 11 17:17:50 2014] [error] (clean_name, self))
[Mon Aug 11 17:17:50 2014] [error] ValueError: The file 
'rb/images/favicon_notify.ico' could not be found with 
.

==> error.log.1 <==
[Sat Aug 09 02:19:26 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/templatetags/staticfiles.py",
 
line 12, in url
[Sat Aug 09 02:19:26 2014] [error] return staticfiles_storage.url(path)
[Sat Aug 09 02:19:26 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py",
 
line 139, in url
[Sat Aug 09 02:19:26 2014] [error] hashed_name = 
self.hashed_name(clean_name).replace('', '/')
[Sat Aug 09 02:19:26 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py",
 
line 96, in hashed_name
[Sat Aug 09 02:19:26 2014] [error] (clean_name, self))
[Sat Aug 09 02:19:26 2014] [error] ValueError: The file 
'rb/images/favicon_notify.ico' could not be found with 
.
[Sun Aug 10 07:49:29 2014] [notice] SIGUSR1 received.  Doing graceful 
restart
apache2: Could not reliably determine the server's fully qualified domain 
name, using 127.0.1.1 for ServerName
Error opening file for reading: Permission denied

==> other_vhosts_access.log <==
reviews.example.com:80 127.0.0.1 - - [11/Aug/2014:17:17:40 +] "GET / 
HTTP/1.1" 302 389 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) 
Gecko/20100101 Firefox/11.0"
reviews.example.com:80 127.0.0.1 - - [11/Aug/2014:17:17:48 +] "GET /r/ 
HTTP/1.1" 500 558 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) 
Gecko/20100101 Firefox/11.0"

==> other_vhosts_access.log.1 <==
reviews.example.com:80 127.0.0.1 - - [09/Aug/2014:02:09:31 +] "GET / 
HTTP/1.1" 302 389 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) 
Gecko/20100101 Firefox/11.0"
reviews.example.com:80 127.0.0.1 - - [09/Aug/2014:02:09:31 +] "GET /r/ 
HTTP/1.1" 500 558 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) 
Gecko/20100101 Firefox/11.0"
reviews.example.com:80 127.0.0.1 - - [09/Aug/2014:02:09:39 +] "GET 
/reviews/ HTTP/1.1" 500 558 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; 
rv:11.0) Gecko/20100101 Firefox/11.0"
reviews.example.com:80 127.0.0.1 - - [09/Aug/2014:02:11:06 +] "GET 
/root HTTP/1.1" 500 558 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) 
Gecko/20100101 Firefox/11.0"
reviews.example.com:80 127.0.0.1 - - [09/Au

Re: Something broke! (Error 500)

2014-08-11 Thread Arjun A.M.
Hi David 

Yes I did set Debug as true in the settings_local.py file

On Friday, 8 August 2014 20:22:54 UTC-7, David Trowbridge wrote:
>
> Did you set DEBUG=True?
>
> -David
>
> On Aug 8, 2014, at 7:28 PM, "Arjun A.M." > 
> wrote:
>
>
>
> I get a 500 error when I try to open the reviewboard website after 
> installation. Could someone please help me with this.Thanks in advance for 
> the help
>
>  The apache log looks like this
>
> Error opening file for reading: Permission denied
> Error opening file for reading: Permission denied
> [Fri Aug 08 19:19:09 2014] [notice] caught SIGTERM, shutting down
> [Fri Aug 08 19:19:10 2014] [warn] RSA server certificate CommonName (CN) 
> `ubuntu' does NOT match server name!?
> [Fri Aug 08 19:19:10 2014] [warn] RSA server certificate CommonName (CN) 
> `ubuntu' does NOT match server name!?
> [Fri Aug 08 19:19:10 2014] [notice] Apache/2.2.22 (Ubuntu) mod_ssl/2.2.22 
> OpenSSL/1.0.1 mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal 
> operations
> [Sat Aug 09 02:19:26 2014] [error] ERROR:root:Exception thrown for user 
> AnonymousUser at http://reviews.example.com/r/
> [Sat Aug 09 02:19:26 2014] [error] 
> [Sat Aug 09 02:19:26 2014] [error] The file 'rb/images/favicon_notify.ico' 
> could not be found with  0xa6b2328c>.
> [Sat Aug 09 02:19:26 2014] [error] Traceback (most recent call last):
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/core/handlers/base.py",
>  
> line 112, in get_response
> [Sat Aug 09 02:19:26 2014] [error] response = 
> wrapped_callback(request, *callback_args, **callback_kwargs)
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/etc/djblets/reviewboard/reviewboard/accounts/decorators.py", line 23, in 
> _check
> [Sat Aug 09 02:19:26 2014] [error] return view_func(*args, **kwargs)
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/etc/djblets/reviewboard/reviewboard/site/decorators.py", line 35, in 
> _check
> [Sat Aug 09 02:19:26 2014] [error] return view_func(request, 
> local_site=local_site, *args, **kwargs)
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/etc/djblets/reviewboard/reviewboard/datagrids/views.py", line 38, in 
> all_review_requests
> [Sat Aug 09 02:19:26 2014] [error] return 
> datagrid.render_to_response(template_name)
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/etc/djblets/djblets/datagrid/grids.py", line 1042, in render_to_response
> [Sat Aug 09 02:19:26 2014] [error] return 
> render_to_response(template_name, Context(context))
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/shortcuts/__init__.py",
>  
> line 29, in render_to_response
> [Sat Aug 09 02:19:26 2014] [error] return 
> HttpResponse(loader.render_to_string(*args, **kwargs), 
> **httpresponse_kwargs)
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/loader.py",
>  
> line 164, in render_to_string
> [Sat Aug 09 02:19:26 2014] [error] return t.render(Context(dictionary))
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
>  
> line 140, in render
> [Sat Aug 09 02:19:26 2014] [error] return self._render(context)
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
>  
> line 134, in _render
> [Sat Aug 09 02:19:26 2014] [error] return self.nodelist.render(context)
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
>  
> line 840, in render
> [Sat Aug 09 02:19:26 2014] [error] bit = self.render_node(node, 
> context)
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
>  
> line 854, in render_node
> [Sat Aug 09 02:19:26 2014] [error] return node.render(context)
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/loader_tags.py",
>  
> line 123, in render
> [Sat Aug 09 02:19:26 2014] [error] return 
> compiled_parent._render(context)
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
>  
> line 134, in _render
> [Sat Aug 09 02:19:26 2014] [error] return self.nodelist.render(context)
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
>  
> line 840, in render
> [Sat Aug 09 02:19:26 2014] [error] bit = self.render_node(node, 
> context)
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
>  
> line 854, in render_node
> [Sat Aug 09 02:19:26 2014] [er

Re: Something broke! (Error 500)

2014-08-08 Thread David Trowbridge
Did you set DEBUG=True?

-David

> On Aug 8, 2014, at 7:28 PM, "Arjun A.M."  wrote:
> 
> 
> 
> I get a 500 error when I try to open the reviewboard website after 
> installation. Could someone please help me with this.Thanks in advance for 
> the help
> 
>  The apache log looks like this
> 
> Error opening file for reading: Permission denied
> Error opening file for reading: Permission denied
> [Fri Aug 08 19:19:09 2014] [notice] caught SIGTERM, shutting down
> [Fri Aug 08 19:19:10 2014] [warn] RSA server certificate CommonName (CN) 
> `ubuntu' does NOT match server name!?
> [Fri Aug 08 19:19:10 2014] [warn] RSA server certificate CommonName (CN) 
> `ubuntu' does NOT match server name!?
> [Fri Aug 08 19:19:10 2014] [notice] Apache/2.2.22 (Ubuntu) mod_ssl/2.2.22 
> OpenSSL/1.0.1 mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal 
> operations
> [Sat Aug 09 02:19:26 2014] [error] ERROR:root:Exception thrown for user 
> AnonymousUser at http://reviews.example.com/r/
> [Sat Aug 09 02:19:26 2014] [error] 
> [Sat Aug 09 02:19:26 2014] [error] The file 'rb/images/favicon_notify.ico' 
> could not be found with  0xa6b2328c>.
> [Sat Aug 09 02:19:26 2014] [error] Traceback (most recent call last):
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/core/handlers/base.py",
>  line 112, in get_response
> [Sat Aug 09 02:19:26 2014] [error] response = wrapped_callback(request, 
> *callback_args, **callback_kwargs)
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/etc/djblets/reviewboard/reviewboard/accounts/decorators.py", line 23, in 
> _check
> [Sat Aug 09 02:19:26 2014] [error] return view_func(*args, **kwargs)
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/etc/djblets/reviewboard/reviewboard/site/decorators.py", line 35, in _check
> [Sat Aug 09 02:19:26 2014] [error] return view_func(request, 
> local_site=local_site, *args, **kwargs)
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/etc/djblets/reviewboard/reviewboard/datagrids/views.py", line 38, in 
> all_review_requests
> [Sat Aug 09 02:19:26 2014] [error] return 
> datagrid.render_to_response(template_name)
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/etc/djblets/djblets/datagrid/grids.py", line 1042, in render_to_response
> [Sat Aug 09 02:19:26 2014] [error] return 
> render_to_response(template_name, Context(context))
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/shortcuts/__init__.py",
>  line 29, in render_to_response
> [Sat Aug 09 02:19:26 2014] [error] return 
> HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/loader.py",
>  line 164, in render_to_string
> [Sat Aug 09 02:19:26 2014] [error] return t.render(Context(dictionary))
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
>  line 140, in render
> [Sat Aug 09 02:19:26 2014] [error] return self._render(context)
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
>  line 134, in _render
> [Sat Aug 09 02:19:26 2014] [error] return self.nodelist.render(context)
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
>  line 840, in render
> [Sat Aug 09 02:19:26 2014] [error] bit = self.render_node(node, context)
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
>  line 854, in render_node
> [Sat Aug 09 02:19:26 2014] [error] return node.render(context)
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/loader_tags.py",
>  line 123, in render
> [Sat Aug 09 02:19:26 2014] [error] return compiled_parent._render(context)
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
>  line 134, in _render
> [Sat Aug 09 02:19:26 2014] [error] return self.nodelist.render(context)
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
>  line 840, in render
> [Sat Aug 09 02:19:26 2014] [error] bit = self.render_node(node, context)
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
>  line 854, in render_node
> [Sat Aug 09 02:19:26 2014] [error] return node.render(context)
> [Sat Aug 09 02:19:26 2014] [error]   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/loader_tags.py",
>  line 12

Something broke! (Error 500)

2014-08-08 Thread Arjun A.M.


I get a 500 error when I try to open the reviewboard website after 
installation. Could someone please help me with this.Thanks in advance for 
the help

 The apache log looks like this

Error opening file for reading: Permission denied
Error opening file for reading: Permission denied
[Fri Aug 08 19:19:09 2014] [notice] caught SIGTERM, shutting down
[Fri Aug 08 19:19:10 2014] [warn] RSA server certificate CommonName (CN) 
`ubuntu' does NOT match server name!?
[Fri Aug 08 19:19:10 2014] [warn] RSA server certificate CommonName (CN) 
`ubuntu' does NOT match server name!?
[Fri Aug 08 19:19:10 2014] [notice] Apache/2.2.22 (Ubuntu) mod_ssl/2.2.22 
OpenSSL/1.0.1 mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal 
operations
[Sat Aug 09 02:19:26 2014] [error] ERROR:root:Exception thrown for user 
AnonymousUser at http://reviews.example.com/r/
[Sat Aug 09 02:19:26 2014] [error] 
[Sat Aug 09 02:19:26 2014] [error] The file 'rb/images/favicon_notify.ico' 
could not be found with .
[Sat Aug 09 02:19:26 2014] [error] Traceback (most recent call last):
[Sat Aug 09 02:19:26 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/core/handlers/base.py",
 
line 112, in get_response
[Sat Aug 09 02:19:26 2014] [error] response = wrapped_callback(request, 
*callback_args, **callback_kwargs)
[Sat Aug 09 02:19:26 2014] [error]   File 
"/etc/djblets/reviewboard/reviewboard/accounts/decorators.py", line 23, in 
_check
[Sat Aug 09 02:19:26 2014] [error] return view_func(*args, **kwargs)
[Sat Aug 09 02:19:26 2014] [error]   File 
"/etc/djblets/reviewboard/reviewboard/site/decorators.py", line 35, in 
_check
[Sat Aug 09 02:19:26 2014] [error] return view_func(request, 
local_site=local_site, *args, **kwargs)
[Sat Aug 09 02:19:26 2014] [error]   File 
"/etc/djblets/reviewboard/reviewboard/datagrids/views.py", line 38, in 
all_review_requests
[Sat Aug 09 02:19:26 2014] [error] return 
datagrid.render_to_response(template_name)
[Sat Aug 09 02:19:26 2014] [error]   File 
"/etc/djblets/djblets/datagrid/grids.py", line 1042, in render_to_response
[Sat Aug 09 02:19:26 2014] [error] return 
render_to_response(template_name, Context(context))
[Sat Aug 09 02:19:26 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/shortcuts/__init__.py",
 
line 29, in render_to_response
[Sat Aug 09 02:19:26 2014] [error] return 
HttpResponse(loader.render_to_string(*args, **kwargs), 
**httpresponse_kwargs)
[Sat Aug 09 02:19:26 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/loader.py",
 
line 164, in render_to_string
[Sat Aug 09 02:19:26 2014] [error] return t.render(Context(dictionary))
[Sat Aug 09 02:19:26 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 
line 140, in render
[Sat Aug 09 02:19:26 2014] [error] return self._render(context)
[Sat Aug 09 02:19:26 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 
line 134, in _render
[Sat Aug 09 02:19:26 2014] [error] return self.nodelist.render(context)
[Sat Aug 09 02:19:26 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 
line 840, in render
[Sat Aug 09 02:19:26 2014] [error] bit = self.render_node(node, context)
[Sat Aug 09 02:19:26 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 
line 854, in render_node
[Sat Aug 09 02:19:26 2014] [error] return node.render(context)
[Sat Aug 09 02:19:26 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/loader_tags.py",
 
line 123, in render
[Sat Aug 09 02:19:26 2014] [error] return 
compiled_parent._render(context)
[Sat Aug 09 02:19:26 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 
line 134, in _render
[Sat Aug 09 02:19:26 2014] [error] return self.nodelist.render(context)
[Sat Aug 09 02:19:26 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 
line 840, in render
[Sat Aug 09 02:19:26 2014] [error] bit = self.render_node(node, context)
[Sat Aug 09 02:19:26 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 
line 854, in render_node
[Sat Aug 09 02:19:26 2014] [error] return node.render(context)
[Sat Aug 09 02:19:26 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/loader_tags.py",
 
line 123, in render
[Sat Aug 09 02:19:26 2014] [error] return 
compiled_parent._render(context)
[Sat Aug 09 02:19:26 2014] [error]   File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/template/base.py",
 
line 134, in _render
[Sat Aug 09 02:1

Re: Something broke! (Error 500)

2013-03-22 Thread David Trowbridge
Review Board 1.0.9 is *very* old. It looks like a username in your database
has some problems, but we really can't help you with versions this old here
in the community forums, because it's a lot of work to dig through very old
releases to figure out what might be fixed in a newer one.

-David


On Fri, Mar 22, 2013 at 1:54 AM, premod dev  wrote:

> Hi,
>
> We are getting the below error on browser when trying to access some of
> the existing reviews.
>
> 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.
>
>
> Apache's error log shows below errors,
>
> Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and
> greater in Unknown on line 0
>
> Warning: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater
> in Unknown on line 0
> /usr/lib/python2.6/dist-packages/mod_python/importer.py:32:
> DeprecationWarning: the md5 module is deprecated; use hashlib instead
>   import md5
> ERROR:root:Exception thrown for user pdev at
> http://reviewboard.blr.movik.net:5000/r/7295/
>
> EOL while scanning string literal (, line 1)
> Traceback (most recent call last):
>   File
> "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/django/core/handlers/base.py",
> line 100, in get_response
> response = callback(request, *callback_args, **callback_kwargs)
>   File
> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.9-py2.6.egg/reviewboard/accounts/decorators.py",
> line 27, in _check
> return view_func(*args, **kwargs)
>   File
> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.9-py2.6.egg/reviewboard/reviews/views.py",
> line 163, in review_detail
> for changedesc in changedescs:
>   File
> "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/django/db/models/query.py",
> line 106, in _result_iter
> self._fill_cache()
>   File
> "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/django/db/models/query.py",
> line 760, in _fill_cache
> self._result_cache.append(self._iter.next())
>   File
> "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/django/db/models/query.py",
> line 282, in iterator
> obj = self.model(*row[index_start:aggregate_start])
>   File
> "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/django/db/models/base.py",
> line 341, in __init__
> signals.post_init.send(sender=self.__class__, instance=self)
>   File
> "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/django/dispatch/dispatcher.py",
> line 162, in send
> response = receiver(signal=self, sender=sender, **named)
>   File
> "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.3-py2.6.egg/djblets/util/fields.py",
> line 174, in post_init
> value = self.loads(value)
>   File
> "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.3-py2.6.egg/djblets/util/fields.py",
> line 206, in loads
> val = eval(val)
>   File "", line 1
>
>
>
> Could you please help me resolving this issue, I am running the following
> version of software on Ubuntu 10.04 server.
>
> reviewboard - 1.0.9
> Mysql - 5.1.41
> PHP - 5.3.2-1
>
>
> Thanks,
> Premod
>
>  --
> 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
> ---
> 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/groups/opt_out.
>
>
>

-- 
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
--- 
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/groups/opt_out.




Something broke! (Error 500)

2013-03-22 Thread premod dev
Hi,

We are getting the below error on browser when trying to access some of the
existing reviews.

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.


Apache's error log shows below errors,

Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and
greater in Unknown on line 0

Warning: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater
in Unknown on line 0
/usr/lib/python2.6/dist-packages/mod_python/importer.py:32:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
ERROR:root:Exception thrown for user pdev at
http://reviewboard.blr.movik.net:5000/r/7295/

EOL while scanning string literal (, line 1)
Traceback (most recent call last):
  File
"/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/django/core/handlers/base.py",
line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
  File
"/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.9-py2.6.egg/reviewboard/accounts/decorators.py",
line 27, in _check
return view_func(*args, **kwargs)
  File
"/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.9-py2.6.egg/reviewboard/reviews/views.py",
line 163, in review_detail
for changedesc in changedescs:
  File
"/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/django/db/models/query.py",
line 106, in _result_iter
self._fill_cache()
  File
"/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/django/db/models/query.py",
line 760, in _fill_cache
self._result_cache.append(self._iter.next())
  File
"/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/django/db/models/query.py",
line 282, in iterator
obj = self.model(*row[index_start:aggregate_start])
  File
"/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/django/db/models/base.py",
line 341, in __init__
signals.post_init.send(sender=self.__class__, instance=self)
  File
"/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/django/dispatch/dispatcher.py",
line 162, in send
response = receiver(signal=self, sender=sender, **named)
  File
"/usr/local/lib/python2.6/dist-packages/Djblets-0.6.3-py2.6.egg/djblets/util/fields.py",
line 174, in post_init
value = self.loads(value)
  File
"/usr/local/lib/python2.6/dist-packages/Djblets-0.6.3-py2.6.egg/djblets/util/fields.py",
line 206, in loads
val = eval(val)
  File "", line 1



Could you please help me resolving this issue, I am running the following
version of software on Ubuntu 10.04 server.

reviewboard - 1.0.9
Mysql - 5.1.41
PHP - 5.3.2-1


Thanks,
Premod

-- 
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
--- 
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/groups/opt_out.




Re: Something broke! (Error 500)

2010-05-25 Thread Madhavi Gupta
the version is 1.0.7

after restating the web server, now I am not able to login. the error screen
gets displayed right away.

However I created a new site and it is working properly.

-Madhavi

On Tue, May 25, 2010 at 11:36 AM, Christian Hammond wrote:

> Try restarting the web server after enabling logging.
>
> What version?
>
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Mon, May 24, 2010 at 10:51 PM, Madhavi Gupta 
> wrote:
>
>> I have enabled the logging. however no logs are getting created.
>>
>> Right after login, the error screen gets displayed. the URL is http://
>> //dashboard/
>>
>> On Tue, May 25, 2010 at 11:17 AM, Christian Hammond 
>> wrote:
>>
>>> Hi,
>>>
>>> If you turn on logging in the administration UI -> Settings -> Logging,
>>> then you should see some information on the errors.
>>>
>>> What version are you running, and what pages are you going to that causes
>>> this?
>>>
>>> Christian
>>>
>>> --
>>> Christian Hammond - chip...@chipx86.com
>>> Review Board - http://www.reviewboard.org
>>> VMware, Inc. - http://www.vmware.com
>>>
>>>
>>> On Mon, May 24, 2010 at 9:34 PM, Madhavi wrote:
>>>
>>>> Hi,
>>>>
>>>> I have installed ReviewBoard on CentOS.After logging in to the site,
>>>> sometimes I get error as follows :
>>>>
>>>>
>>>> -
>>>> 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.
>>>>
>>>> --
>>>>
>>>> If I refresh the page couple of times, then the error goes away.
>>>>
>>>> Where should I look to debug this ?
>>>>
>>>> thanks in advance.
>>>>
>>>> -Madhavi
>>>>
>>>> --
>>>> 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
>>>
>>
>>  --
>> 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
>

-- 
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: Something broke! (Error 500)

2010-05-24 Thread Christian Hammond
Try restarting the web server after enabling logging.

What version?

Christian

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


On Mon, May 24, 2010 at 10:51 PM, Madhavi Gupta wrote:

> I have enabled the logging. however no logs are getting created.
>
> Right after login, the error screen gets displayed. the URL is http://
> //dashboard/
>
> On Tue, May 25, 2010 at 11:17 AM, Christian Hammond 
> wrote:
>
>> Hi,
>>
>> If you turn on logging in the administration UI -> Settings -> Logging,
>> then you should see some information on the errors.
>>
>> What version are you running, and what pages are you going to that causes
>> this?
>>
>> Christian
>>
>> --
>> Christian Hammond - chip...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> VMware, Inc. - http://www.vmware.com
>>
>>
>> On Mon, May 24, 2010 at 9:34 PM, Madhavi wrote:
>>
>>> Hi,
>>>
>>> I have installed ReviewBoard on CentOS.After logging in to the site,
>>> sometimes I get error as follows :
>>>
>>>
>>> -
>>> 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.
>>>
>>> --
>>>
>>> If I refresh the page couple of times, then the error goes away.
>>>
>>> Where should I look to debug this ?
>>>
>>> thanks in advance.
>>>
>>> -Madhavi
>>>
>>> --
>>> 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
>>
>
>  --
> 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: Something broke! (Error 500)

2010-05-24 Thread Madhavi Gupta
I have enabled the logging. however no logs are getting created.

Right after login, the error screen gets displayed. the URL is http://
//dashboard/

On Tue, May 25, 2010 at 11:17 AM, Christian Hammond wrote:

> Hi,
>
> If you turn on logging in the administration UI -> Settings -> Logging,
> then you should see some information on the errors.
>
> What version are you running, and what pages are you going to that causes
> this?
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Mon, May 24, 2010 at 9:34 PM, Madhavi  wrote:
>
>> Hi,
>>
>> I have installed ReviewBoard on CentOS.After logging in to the site,
>> sometimes I get error as follows :
>>
>>
>> -----------------
>> 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.
>>
>> --
>>
>> If I refresh the page couple of times, then the error goes away.
>>
>> Where should I look to debug this ?
>>
>> thanks in advance.
>>
>> -Madhavi
>>
>> --
>> 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

-- 
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: Something broke! (Error 500)

2010-05-24 Thread Christian Hammond
Hi,

If you turn on logging in the administration UI -> Settings -> Logging, then
you should see some information on the errors.

What version are you running, and what pages are you going to that causes
this?

Christian

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


On Mon, May 24, 2010 at 9:34 PM, Madhavi  wrote:

> Hi,
>
> I have installed ReviewBoard on CentOS.After logging in to the site,
> sometimes I get error as follows :
>
>
> ---------
> 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.
>
> --
>
> If I refresh the page couple of times, then the error goes away.
>
> Where should I look to debug this ?
>
> thanks in advance.
>
> -Madhavi
>
> --
> 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

Something broke! (Error 500)

2010-05-24 Thread Madhavi
Hi,

I have installed ReviewBoard on CentOS.After logging in to the site,
sometimes I get error as follows :

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

If I refresh the page couple of times, then the error goes away.

Where should I look to debug this ?

thanks in advance.

-Madhavi

-- 
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: Something broke! (Error 500)

2010-05-06 Thread Christian Hammond
Try turning on debugging by modifying $sitedir/conf/settings_local.py and
adding:

DEBUG = True

Then restart Apache and see what error information you get. We can use that
to help diagnose the problem.

Christian

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


On Tue, Apr 27, 2010 at 6:24 PM, 蜗牛369  wrote:

> Hi,
>
> I put the patch.exe into Paython/Scripts folder because of RB can not
> found patch.exe before.
>
> Now, I got this page:
>
> 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.
>
>
> What can I do now?
>
> --
> 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

Something broke! (Error 500)

2010-04-27 Thread 蜗牛369
Hi,

I put the patch.exe into Paython/Scripts folder because of RB can not
found patch.exe before.

Now, I got this page:

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.


What can I do now?

-- 
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: Something broke! (Error 500) after adding new Git repository

2009-08-11 Thread Scott Ferguson

Just an FYI, I discovered when poking through the debug info that the
same ImportError exception is thrown when Git is not configured in
your path (I'm running Review-Board on Windows).  All is working for
me now.

On Aug 10, 9:55 am, Scott Ferguson  wrote:
> I'm also having this same issue.  Could you please elaborate on the
> fix?
>
> On Jul 14, 5:57 pm, wezyde  wrote:
>
>
>
> > Looks like it was an error in the paths.  I had to enter some
> > additional information in the mirror and also create anewlocal
> > clone.
>
> > Working now though.
>
> > Thanks for the help.
>
> > On Jul 14, 3:26 pm, wezyde  wrote:
>
> > > I just ran...
> > > "git --git-dir=/var/git/repositories/k2.git config
> > > core.repositoryformatversion"
>
> > > and it responded with...
> > > 0
>
> > > I'm not a python expert, but hopefully that is the command.
>
> > > In my repository setup I have
> > > /var/git/repositories/k2.git
>
> > > Thanks.
>
> > > On Jul 14, 3:03 pm, Christian Hammond  wrote:
>
> > > > Actually, it looks like it had trouble with the repository it was 
> > > > configured
> > > > with.
>
> > > > The relevant code is:
>
> > > >     def __init__(self, path):
> > > >         self.path = path
> > > >         p = subprocess.Popen(
> > > >             ['git', '--git-dir=%s' % self.path, 'config',
> > > >                  'core.repositoryformatversion'],
> > > >             stderr=subprocess.PIPE,
> > > >             stdout=subprocess.PIPE,
> > > >             close_fds=(os.name != 'nt')
> > > >         )
> > > >         contents = p.stdout.read()
> > > >         errmsg = p.stderr.read()
> > > >         failure = p.wait()
>
> > > >         if failure:
> > > >             raise ImportError
>
> > > > So maybe try executing that same command and making sure it works on the
> > > > exact path specified in your repository info.
>
> > > > Christian
>
> > > > --
> > > > Christian Hammond - chip...@chipx86.com
> > > >ReviewBoard -http://www.review-board.org
> > > > VMware, Inc. -http://www.vmware.com
>
> > > > On Tue, Jul 14, 2009 at 3:02 PM, wezyde  wrote:
>
> > > > > I definitely have Git on the server.  I'm using it for many projects.
> > > > > Is is possible that there is an issue with permissions for the apache
> > > > > user?
>
> > > > > On Jul 14, 2:41 pm, Christian Hammond  wrote:
> > > > > > Looks like git isn't installed on that server.
>
> > > > > > We're going to put in better error messages for such failure cases 
> > > > > > in
> > > > > 1.1,
> > > > > > but for now, make sure git is installed and in the path.
>
> > > > > > Christian
>
> > > > > > --
> > > > > > Christian Hammond - chip...@chipx86.com
> > > > > >ReviewBoard -http://www.review-board.org
> > > > > > VMware, Inc. -http://www.vmware.com
>
> > > > > > On Tue, Jul 14, 2009 at 2:38 PM, wezyde  
> > > > > > wrote:
>
> > > > > > > I just installed reviewboard on a Ubuntu box and things were 
> > > > > > > running
> > > > > > > well.  Once I add anewgit repository and click on "NewReview
> > > > > > > Request" I get theSomethingBroke! page.
>
> > > > > > > Can anyone help with this?
>
> > > > > > > Thanks.
>
> > > > > > > Traceback (most recent call last):
>
> > > > > > >  File "/usr/local/lib/python2.6/dist-packages/Django-1.0.2_final-
> > > > > > > py2.6.egg/django/core/handlers/base.py", line 86, in get_response
> > > > > > >    response = callback(request, *callback_args, **callback_kwargs)
>
> > > > > > >  File 
> > > > > > > "/usr/local/lib/python2.6/dist-packages/Djblets-0.5-py2.6.egg/
> > > > > > > djblets/auth/util.py", line 45, in _checklogin
> > > > > > >    return view_func(request, *args, **kwargs)
>
> > > > > > >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > > > > > > py2.6.egg/reviewboard/reviews/views.py", line 84, in
> > > > > > > new_review_request
> > > > > > >    fields[repo.id] = repo.get_scmtool().get_fields()
>
> > > > > > >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > > > > > > py2.6.egg/reviewboard/scmtools/models.py", line 40, in get_scmtool
> > > > > > >    return cls(self)
>
> > > > > > >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > > > > > > py2.6.egg/reviewboard/scmtools/git.py", line 18, in __init__
> > > > > > >    self.client = GitClient(repository.path)
>
> > > > > > >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > > > > > > py2.6.egg/reviewboard/scmtools/git.py", line 170, in __init__
> > > > > > >    raise ImportError
>
> > > > > > > ImportError
>
> > > > > > >  > > > > > > path:/r/new/,
> > > > > > > GET:,
> > > > > > > POST:,
> > > > > > > COOKIES:{'rbsessionid': 'a343a2ba1857c6035cfdd714e3e473c8'},
> > > > > > > META:{'AUTH_TYPE': None,
> > > > > > >  'CONTENT_LENGTH': 0L,
> > > > > > >  'CONTENT_TYPE': None,
> > > > > > >  'GATEWAY_INTERFACE': 'CGI/1.1',
> > > > > > >  'HTTP_ACCEPT': 'application/xml,application/xhtml+xml,text/
> > > > > > > html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
> > > > > > >  'HTTP_ACCEPT_CHARSET': 'ISO-8

Re: Something broke! (Error 500) after adding new Git repository

2009-08-10 Thread Scott Ferguson

I'm also having this same issue.  Could you please elaborate on the
fix?

On Jul 14, 5:57 pm, wezyde  wrote:
> Looks like it was an error in the paths.  I had to enter some
> additional information in the mirror and also create a new local
> clone.
>
> Working now though.
>
> Thanks for the help.
>
> On Jul 14, 3:26 pm, wezyde  wrote:
>
> > I just ran...
> > "git --git-dir=/var/git/repositories/k2.git config
> > core.repositoryformatversion"
>
> > and it responded with...
> > 0
>
> > I'm not a python expert, but hopefully that is the command.
>
> > In my repository setup I have
> > /var/git/repositories/k2.git
>
> > Thanks.
>
> > On Jul 14, 3:03 pm, Christian Hammond  wrote:
>
> > > Actually, it looks like it had trouble with the repository it was 
> > > configured
> > > with.
>
> > > The relevant code is:
>
> > >     def __init__(self, path):
> > >         self.path = path
> > >         p = subprocess.Popen(
> > >             ['git', '--git-dir=%s' % self.path, 'config',
> > >                  'core.repositoryformatversion'],
> > >             stderr=subprocess.PIPE,
> > >             stdout=subprocess.PIPE,
> > >             close_fds=(os.name != 'nt')
> > >         )
> > >         contents = p.stdout.read()
> > >         errmsg = p.stderr.read()
> > >         failure = p.wait()
>
> > >         if failure:
> > >             raise ImportError
>
> > > So maybe try executing that same command and making sure it works on the
> > > exact path specified in your repository info.
>
> > > Christian
>
> > > --
> > > Christian Hammond - chip...@chipx86.com
> > > Review Board -http://www.review-board.org
> > > VMware, Inc. -http://www.vmware.com
>
> > > On Tue, Jul 14, 2009 at 3:02 PM, wezyde  wrote:
>
> > > > I definitely have Git on the server.  I'm using it for many projects.
> > > > Is is possible that there is an issue with permissions for the apache
> > > > user?
>
> > > > On Jul 14, 2:41 pm, Christian Hammond  wrote:
> > > > > Looks like git isn't installed on that server.
>
> > > > > We're going to put in better error messages for such failure cases in
> > > > 1.1,
> > > > > but for now, make sure git is installed and in the path.
>
> > > > > Christian
>
> > > > > --
> > > > > Christian Hammond - chip...@chipx86.com
> > > > > Review Board -http://www.review-board.org
> > > > > VMware, Inc. -http://www.vmware.com
>
> > > > > On Tue, Jul 14, 2009 at 2:38 PM, wezyde  wrote:
>
> > > > > > I just installed reviewboard on a Ubuntu box and things were running
> > > > > > well.  Once I add a new git repository and click on "New Review
> > > > > > Request" I get theSomethingBroke! page.
>
> > > > > > Can anyone help with this?
>
> > > > > > Thanks.
>
> > > > > > Traceback (most recent call last):
>
> > > > > >  File "/usr/local/lib/python2.6/dist-packages/Django-1.0.2_final-
> > > > > > py2.6.egg/django/core/handlers/base.py", line 86, in get_response
> > > > > >    response = callback(request, *callback_args, **callback_kwargs)
>
> > > > > >  File "/usr/local/lib/python2.6/dist-packages/Djblets-0.5-py2.6.egg/
> > > > > > djblets/auth/util.py", line 45, in _checklogin
> > > > > >    return view_func(request, *args, **kwargs)
>
> > > > > >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > > > > > py2.6.egg/reviewboard/reviews/views.py", line 84, in
> > > > > > new_review_request
> > > > > >    fields[repo.id] = repo.get_scmtool().get_fields()
>
> > > > > >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > > > > > py2.6.egg/reviewboard/scmtools/models.py", line 40, in get_scmtool
> > > > > >    return cls(self)
>
> > > > > >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > > > > > py2.6.egg/reviewboard/scmtools/git.py", line 18, in __init__
> > > > > >    self.client = GitClient(repository.path)
>
> > > > > >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > > > > > py2.6.egg/reviewboard/scmtools/git.py", line 170, in __init__
> > > > > >    raise ImportError
>
> > > > > > ImportError
>
> > > > > >  > > > > > path:/r/new/,
> > > > > > GET:,
> > > > > > POST:,
> > > > > > COOKIES:{'rbsessionid': 'a343a2ba1857c6035cfdd714e3e473c8'},
> > > > > > META:{'AUTH_TYPE': None,
> > > > > >  'CONTENT_LENGTH': 0L,
> > > > > >  'CONTENT_TYPE': None,
> > > > > >  'GATEWAY_INTERFACE': 'CGI/1.1',
> > > > > >  'HTTP_ACCEPT': 'application/xml,application/xhtml+xml,text/
> > > > > > html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
> > > > > >  'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
> > > > > >  'HTTP_ACCEPT_ENCODING': 'gzip,deflate,bzip2,sdch',
> > > > > >  'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',
> > > > > >  'HTTP_CONNECTION': 'keep-alive',
> > > > > >  'HTTP_COOKIE': 'rbsessionid=a343a2ba1857c6035cfdd714e3e473c8',
> > > > > >  'HTTP_HOST': 'review.firmware',
> > > > > >  'HTTP_REFERER': 'http://review.firmware/account/preferences/?next=/
> > > > > > dashboard/<
> > > >http://review.firmware/account/preferences/?next=/%0Adashboard/>
> > > > > > ',

Re: Something broke! (Error 500) after adding new Git repository

2009-08-06 Thread Ben

Hi there, what was the fix you did for this? I currently have exactly
the same issue and cannot make it work correctly.

On Jul 14, 11:57 pm, wezyde  wrote:
> Looks like it was an error in the paths.  I had to enter some
> additional information in the mirror and also create a new local
> clone.
>
> Working now though.
>
> Thanks for the help.
>
> On Jul 14, 3:26 pm, wezyde  wrote:
>
> > I just ran...
> > "git --git-dir=/var/git/repositories/k2.git config
> > core.repositoryformatversion"
>
> > and it responded with...
> > 0
>
> > I'm not a python expert, but hopefully that is the command.
>
> > In my repository setup I have
> > /var/git/repositories/k2.git
>
> > Thanks.
>
> > On Jul 14, 3:03 pm, Christian Hammond  wrote:
>
> > > Actually, it looks like it had trouble with the repository it was 
> > > configured
> > > with.
>
> > > The relevant code is:
>
> > >     def __init__(self, path):
> > >         self.path = path
> > >         p = subprocess.Popen(
> > >             ['git', '--git-dir=%s' % self.path, 'config',
> > >                  'core.repositoryformatversion'],
> > >             stderr=subprocess.PIPE,
> > >             stdout=subprocess.PIPE,
> > >             close_fds=(os.name != 'nt')
> > >         )
> > >         contents = p.stdout.read()
> > >         errmsg = p.stderr.read()
> > >         failure = p.wait()
>
> > >         if failure:
> > >             raise ImportError
>
> > > So maybe try executing that same command and making sure it works on the
> > > exact path specified in your repository info.
>
> > > Christian
>
> > > --
> > > Christian Hammond - chip...@chipx86.com
> > > Review Board -http://www.review-board.org
> > > VMware, Inc. -http://www.vmware.com
>
> > > On Tue, Jul 14, 2009 at 3:02 PM, wezyde  wrote:
>
> > > > I definitely have Git on the server.  I'm using it for many projects.
> > > > Is is possible that there is an issue with permissions for the apache
> > > > user?
>
> > > > On Jul 14, 2:41 pm, Christian Hammond  wrote:
> > > > > Looks like git isn't installed on that server.
>
> > > > > We're going to put in better error messages for such failure cases in
> > > > 1.1,
> > > > > but for now, make sure git is installed and in the path.
>
> > > > > Christian
>
> > > > > --
> > > > > Christian Hammond - chip...@chipx86.com
> > > > > Review Board -http://www.review-board.org
> > > > > VMware, Inc. -http://www.vmware.com
>
> > > > > On Tue, Jul 14, 2009 at 2:38 PM, wezyde  wrote:
>
> > > > > > I just installed reviewboard on a Ubuntu box and things were running
> > > > > > well.  Once I add a new git repository and click on "New Review
> > > > > > Request" I get the Something Broke! page.
>
> > > > > > Can anyone help with this?
>
> > > > > > Thanks.
>
> > > > > > Traceback (most recent call last):
>
> > > > > >  File "/usr/local/lib/python2.6/dist-packages/Django-1.0.2_final-
> > > > > > py2.6.egg/django/core/handlers/base.py", line 86, in get_response
> > > > > >    response = callback(request, *callback_args, **callback_kwargs)
>
> > > > > >  File "/usr/local/lib/python2.6/dist-packages/Djblets-0.5-py2.6.egg/
> > > > > > djblets/auth/util.py", line 45, in _checklogin
> > > > > >    return view_func(request, *args, **kwargs)
>
> > > > > >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > > > > > py2.6.egg/reviewboard/reviews/views.py", line 84, in
> > > > > > new_review_request
> > > > > >    fields[repo.id] = repo.get_scmtool().get_fields()
>
> > > > > >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > > > > > py2.6.egg/reviewboard/scmtools/models.py", line 40, in get_scmtool
> > > > > >    return cls(self)
>
> > > > > >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > > > > > py2.6.egg/reviewboard/scmtools/git.py", line 18, in __init__
> > > > > >    self.client = GitClient(repository.path)
>
> > > > > >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > > > > > py2.6.egg/reviewboard/scmtools/git.py", line 170, in __init__
> > > > > >    raise ImportError
>
> > > > > > ImportError
>
> > > > > >  > > > > > path:/r/new/,
> > > > > > GET:,
> > > > > > POST:,
> > > > > > COOKIES:{'rbsessionid': 'a343a2ba1857c6035cfdd714e3e473c8'},
> > > > > > META:{'AUTH_TYPE': None,
> > > > > >  'CONTENT_LENGTH': 0L,
> > > > > >  'CONTENT_TYPE': None,
> > > > > >  'GATEWAY_INTERFACE': 'CGI/1.1',
> > > > > >  'HTTP_ACCEPT': 'application/xml,application/xhtml+xml,text/
> > > > > > html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
> > > > > >  'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
> > > > > >  'HTTP_ACCEPT_ENCODING': 'gzip,deflate,bzip2,sdch',
> > > > > >  'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',
> > > > > >  'HTTP_CONNECTION': 'keep-alive',
> > > > > >  'HTTP_COOKIE': 'rbsessionid=a343a2ba1857c6035cfdd714e3e473c8',
> > > > > >  'HTTP_HOST': 'review.firmware',
> > > > > >  'HTTP_REFERER': 'http://review.firmware/account/preferences/?next=/
> > > > > > dashboard/<
> > > >http://review.firmware/account

Re: Something broke! (Error 500) after adding new Git repository

2009-07-14 Thread wezyde

Looks like it was an error in the paths.  I had to enter some
additional information in the mirror and also create a new local
clone.

Working now though.

Thanks for the help.

On Jul 14, 3:26 pm, wezyde  wrote:
> I just ran...
> "git --git-dir=/var/git/repositories/k2.git config
> core.repositoryformatversion"
>
> and it responded with...
> 0
>
> I'm not a python expert, but hopefully that is the command.
>
> In my repository setup I have
> /var/git/repositories/k2.git
>
> Thanks.
>
> On Jul 14, 3:03 pm, Christian Hammond  wrote:
>
> > Actually, it looks like it had trouble with the repository it was configured
> > with.
>
> > The relevant code is:
>
> >     def __init__(self, path):
> >         self.path = path
> >         p = subprocess.Popen(
> >             ['git', '--git-dir=%s' % self.path, 'config',
> >                  'core.repositoryformatversion'],
> >             stderr=subprocess.PIPE,
> >             stdout=subprocess.PIPE,
> >             close_fds=(os.name != 'nt')
> >         )
> >         contents = p.stdout.read()
> >         errmsg = p.stderr.read()
> >         failure = p.wait()
>
> >         if failure:
> >             raise ImportError
>
> > So maybe try executing that same command and making sure it works on the
> > exact path specified in your repository info.
>
> > Christian
>
> > --
> > Christian Hammond - chip...@chipx86.com
> > Review Board -http://www.review-board.org
> > VMware, Inc. -http://www.vmware.com
>
> > On Tue, Jul 14, 2009 at 3:02 PM, wezyde  wrote:
>
> > > I definitely have Git on the server.  I'm using it for many projects.
> > > Is is possible that there is an issue with permissions for the apache
> > > user?
>
> > > On Jul 14, 2:41 pm, Christian Hammond  wrote:
> > > > Looks like git isn't installed on that server.
>
> > > > We're going to put in better error messages for such failure cases in
> > > 1.1,
> > > > but for now, make sure git is installed and in the path.
>
> > > > Christian
>
> > > > --
> > > > Christian Hammond - chip...@chipx86.com
> > > > Review Board -http://www.review-board.org
> > > > VMware, Inc. -http://www.vmware.com
>
> > > > On Tue, Jul 14, 2009 at 2:38 PM, wezyde  wrote:
>
> > > > > I just installed reviewboard on a Ubuntu box and things were running
> > > > > well.  Once I add a new git repository and click on "New Review
> > > > > Request" I get the Something Broke! page.
>
> > > > > Can anyone help with this?
>
> > > > > Thanks.
>
> > > > > Traceback (most recent call last):
>
> > > > >  File "/usr/local/lib/python2.6/dist-packages/Django-1.0.2_final-
> > > > > py2.6.egg/django/core/handlers/base.py", line 86, in get_response
> > > > >    response = callback(request, *callback_args, **callback_kwargs)
>
> > > > >  File "/usr/local/lib/python2.6/dist-packages/Djblets-0.5-py2.6.egg/
> > > > > djblets/auth/util.py", line 45, in _checklogin
> > > > >    return view_func(request, *args, **kwargs)
>
> > > > >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > > > > py2.6.egg/reviewboard/reviews/views.py", line 84, in
> > > > > new_review_request
> > > > >    fields[repo.id] = repo.get_scmtool().get_fields()
>
> > > > >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > > > > py2.6.egg/reviewboard/scmtools/models.py", line 40, in get_scmtool
> > > > >    return cls(self)
>
> > > > >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > > > > py2.6.egg/reviewboard/scmtools/git.py", line 18, in __init__
> > > > >    self.client = GitClient(repository.path)
>
> > > > >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > > > > py2.6.egg/reviewboard/scmtools/git.py", line 170, in __init__
> > > > >    raise ImportError
>
> > > > > ImportError
>
> > > > >  > > > > path:/r/new/,
> > > > > GET:,
> > > > > POST:,
> > > > > COOKIES:{'rbsessionid': 'a343a2ba1857c6035cfdd714e3e473c8'},
> > > > > META:{'AUTH_TYPE': None,
> > > > >  'CONTENT_LENGTH': 0L,
> > > > >  'CONTENT_TYPE': None,
> > > > >  'GATEWAY_INTERFACE': 'CGI/1.1',
> > > > >  'HTTP_ACCEPT': 'application/xml,application/xhtml+xml,text/
> > > > > html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
> > > > >  'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
> > > > >  'HTTP_ACCEPT_ENCODING': 'gzip,deflate,bzip2,sdch',
> > > > >  'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',
> > > > >  'HTTP_CONNECTION': 'keep-alive',
> > > > >  'HTTP_COOKIE': 'rbsessionid=a343a2ba1857c6035cfdd714e3e473c8',
> > > > >  'HTTP_HOST': 'review.firmware',
> > > > >  'HTTP_REFERER': 'http://review.firmware/account/preferences/?next=/
> > > > > dashboard/<
> > >http://review.firmware/account/preferences/?next=/%0Adashboard/>
> > > > > ',
> > > > >  'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US)
> > > > > AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.33 Safari/530.5',
> > > > >  'PATH_INFO': u'/r/new/',
> > > > >  'PATH_TRANSLATED': None,
> > > > >  'QUERY_STRING': None,
> > > > >  'REMOTE_ADDR': '10.0.0.144',
> > > > >  'REMOTE

Re: Something broke! (Error 500) after adding new Git repository

2009-07-14 Thread wezyde

I just ran...
"git --git-dir=/var/git/repositories/k2.git config
core.repositoryformatversion"

and it responded with...
0

I'm not a python expert, but hopefully that is the command.

In my repository setup I have
/var/git/repositories/k2.git

Thanks.

On Jul 14, 3:03 pm, Christian Hammond  wrote:
> Actually, it looks like it had trouble with the repository it was configured
> with.
>
> The relevant code is:
>
>     def __init__(self, path):
>         self.path = path
>         p = subprocess.Popen(
>             ['git', '--git-dir=%s' % self.path, 'config',
>                  'core.repositoryformatversion'],
>             stderr=subprocess.PIPE,
>             stdout=subprocess.PIPE,
>             close_fds=(os.name != 'nt')
>         )
>         contents = p.stdout.read()
>         errmsg = p.stderr.read()
>         failure = p.wait()
>
>         if failure:
>             raise ImportError
>
> So maybe try executing that same command and making sure it works on the
> exact path specified in your repository info.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.review-board.org
> VMware, Inc. -http://www.vmware.com
>
> On Tue, Jul 14, 2009 at 3:02 PM, wezyde  wrote:
>
> > I definitely have Git on the server.  I'm using it for many projects.
> > Is is possible that there is an issue with permissions for the apache
> > user?
>
> > On Jul 14, 2:41 pm, Christian Hammond  wrote:
> > > Looks like git isn't installed on that server.
>
> > > We're going to put in better error messages for such failure cases in
> > 1.1,
> > > but for now, make sure git is installed and in the path.
>
> > > Christian
>
> > > --
> > > Christian Hammond - chip...@chipx86.com
> > > Review Board -http://www.review-board.org
> > > VMware, Inc. -http://www.vmware.com
>
> > > On Tue, Jul 14, 2009 at 2:38 PM, wezyde  wrote:
>
> > > > I just installed reviewboard on a Ubuntu box and things were running
> > > > well.  Once I add a new git repository and click on "New Review
> > > > Request" I get the Something Broke! page.
>
> > > > Can anyone help with this?
>
> > > > Thanks.
>
> > > > Traceback (most recent call last):
>
> > > >  File "/usr/local/lib/python2.6/dist-packages/Django-1.0.2_final-
> > > > py2.6.egg/django/core/handlers/base.py", line 86, in get_response
> > > >    response = callback(request, *callback_args, **callback_kwargs)
>
> > > >  File "/usr/local/lib/python2.6/dist-packages/Djblets-0.5-py2.6.egg/
> > > > djblets/auth/util.py", line 45, in _checklogin
> > > >    return view_func(request, *args, **kwargs)
>
> > > >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > > > py2.6.egg/reviewboard/reviews/views.py", line 84, in
> > > > new_review_request
> > > >    fields[repo.id] = repo.get_scmtool().get_fields()
>
> > > >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > > > py2.6.egg/reviewboard/scmtools/models.py", line 40, in get_scmtool
> > > >    return cls(self)
>
> > > >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > > > py2.6.egg/reviewboard/scmtools/git.py", line 18, in __init__
> > > >    self.client = GitClient(repository.path)
>
> > > >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > > > py2.6.egg/reviewboard/scmtools/git.py", line 170, in __init__
> > > >    raise ImportError
>
> > > > ImportError
>
> > > >  > > > path:/r/new/,
> > > > GET:,
> > > > POST:,
> > > > COOKIES:{'rbsessionid': 'a343a2ba1857c6035cfdd714e3e473c8'},
> > > > META:{'AUTH_TYPE': None,
> > > >  'CONTENT_LENGTH': 0L,
> > > >  'CONTENT_TYPE': None,
> > > >  'GATEWAY_INTERFACE': 'CGI/1.1',
> > > >  'HTTP_ACCEPT': 'application/xml,application/xhtml+xml,text/
> > > > html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
> > > >  'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
> > > >  'HTTP_ACCEPT_ENCODING': 'gzip,deflate,bzip2,sdch',
> > > >  'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',
> > > >  'HTTP_CONNECTION': 'keep-alive',
> > > >  'HTTP_COOKIE': 'rbsessionid=a343a2ba1857c6035cfdd714e3e473c8',
> > > >  'HTTP_HOST': 'review.firmware',
> > > >  'HTTP_REFERER': 'http://review.firmware/account/preferences/?next=/
> > > > dashboard/<
> >http://review.firmware/account/preferences/?next=/%0Adashboard/>
> > > > ',
> > > >  'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US)
> > > > AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.33 Safari/530.5',
> > > >  'PATH_INFO': u'/r/new/',
> > > >  'PATH_TRANSLATED': None,
> > > >  'QUERY_STRING': None,
> > > >  'REMOTE_ADDR': '10.0.0.144',
> > > >  'REMOTE_HOST': None,
> > > >  'REMOTE_IDENT': None,
> > > >  'REMOTE_USER': None,
> > > >  'REQUEST_METHOD': 'GET',
> > > >  'SCRIPT_NAME': '',
> > > >  'SERVER_NAME': 'review.firmware',
> > > >  'SERVER_PORT': 0,
> > > >  'SERVER_PROTOCOL': 'HTTP/1.1',
> > > >  'SERVER_SOFTWARE': 'mod_python'}>
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"re

Re: Something broke! (Error 500) after adding new Git repository

2009-07-14 Thread Christian Hammond
Actually, it looks like it had trouble with the repository it was configured
with.

The relevant code is:

def __init__(self, path):
self.path = path
p = subprocess.Popen(
['git', '--git-dir=%s' % self.path, 'config',
 'core.repositoryformatversion'],
stderr=subprocess.PIPE,
stdout=subprocess.PIPE,
close_fds=(os.name != 'nt')
)
contents = p.stdout.read()
errmsg = p.stderr.read()
failure = p.wait()

if failure:
raise ImportError


So maybe try executing that same command and making sure it works on the
exact path specified in your repository info.

Christian

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


On Tue, Jul 14, 2009 at 3:02 PM, wezyde  wrote:

>
> I definitely have Git on the server.  I'm using it for many projects.
> Is is possible that there is an issue with permissions for the apache
> user?
>
>
> On Jul 14, 2:41 pm, Christian Hammond  wrote:
> > Looks like git isn't installed on that server.
> >
> > We're going to put in better error messages for such failure cases in
> 1.1,
> > but for now, make sure git is installed and in the path.
> >
> > Christian
> >
> > --
> > Christian Hammond - chip...@chipx86.com
> > Review Board -http://www.review-board.org
> > VMware, Inc. -http://www.vmware.com
> >
> > On Tue, Jul 14, 2009 at 2:38 PM, wezyde  wrote:
> >
> > > I just installed reviewboard on a Ubuntu box and things were running
> > > well.  Once I add a new git repository and click on "New Review
> > > Request" I get the Something Broke! page.
> >
> > > Can anyone help with this?
> >
> > > Thanks.
> >
> > > Traceback (most recent call last):
> >
> > >  File "/usr/local/lib/python2.6/dist-packages/Django-1.0.2_final-
> > > py2.6.egg/django/core/handlers/base.py", line 86, in get_response
> > >response = callback(request, *callback_args, **callback_kwargs)
> >
> > >  File "/usr/local/lib/python2.6/dist-packages/Djblets-0.5-py2.6.egg/
> > > djblets/auth/util.py", line 45, in _checklogin
> > >return view_func(request, *args, **kwargs)
> >
> > >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > > py2.6.egg/reviewboard/reviews/views.py", line 84, in
> > > new_review_request
> > >fields[repo.id] = repo.get_scmtool().get_fields()
> >
> > >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > > py2.6.egg/reviewboard/scmtools/models.py", line 40, in get_scmtool
> > >return cls(self)
> >
> > >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > > py2.6.egg/reviewboard/scmtools/git.py", line 18, in __init__
> > >self.client = GitClient(repository.path)
> >
> > >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > > py2.6.egg/reviewboard/scmtools/git.py", line 170, in __init__
> > >raise ImportError
> >
> > > ImportError
> >
> > >  > > path:/r/new/,
> > > GET:,
> > > POST:,
> > > COOKIES:{'rbsessionid': 'a343a2ba1857c6035cfdd714e3e473c8'},
> > > META:{'AUTH_TYPE': None,
> > >  'CONTENT_LENGTH': 0L,
> > >  'CONTENT_TYPE': None,
> > >  'GATEWAY_INTERFACE': 'CGI/1.1',
> > >  'HTTP_ACCEPT': 'application/xml,application/xhtml+xml,text/
> > > html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
> > >  'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
> > >  'HTTP_ACCEPT_ENCODING': 'gzip,deflate,bzip2,sdch',
> > >  'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',
> > >  'HTTP_CONNECTION': 'keep-alive',
> > >  'HTTP_COOKIE': 'rbsessionid=a343a2ba1857c6035cfdd714e3e473c8',
> > >  'HTTP_HOST': 'review.firmware',
> > >  'HTTP_REFERER': 'http://review.firmware/account/preferences/?next=/
> > > dashboard/<
> http://review.firmware/account/preferences/?next=/%0Adashboard/>
> > > ',
> > >  'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US)
> > > AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.33 Safari/530.5',
> > >  'PATH_INFO': u'/r/new/',
> > >  'PATH_TRANSLATED': None,
> > >  'QUERY_STRING': None,
> > >  'REMOTE_ADDR': '10.0.0.144',
> > >  'REMOTE_HOST': None,
> > >  'REMOTE_IDENT': None,
> > >  'REMOTE_USER': None,
> > >  'REQUEST_METHOD': 'GET',
> > >  'SCRIPT_NAME': '',
> > >  'SERVER_NAME': 'review.firmware',
> > >  'SERVER_PORT': 0,
> > >  'SERVER_PROTOCOL': 'HTTP/1.1',
> > >  'SERVER_SOFTWARE': 'mod_python'}>
> >
> >
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
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: Something broke! (Error 500) after adding new Git repository

2009-07-14 Thread wezyde

I definitely have Git on the server.  I'm using it for many projects.
Is is possible that there is an issue with permissions for the apache
user?


On Jul 14, 2:41 pm, Christian Hammond  wrote:
> Looks like git isn't installed on that server.
>
> We're going to put in better error messages for such failure cases in 1.1,
> but for now, make sure git is installed and in the path.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.review-board.org
> VMware, Inc. -http://www.vmware.com
>
> On Tue, Jul 14, 2009 at 2:38 PM, wezyde  wrote:
>
> > I just installed reviewboard on a Ubuntu box and things were running
> > well.  Once I add a new git repository and click on "New Review
> > Request" I get the Something Broke! page.
>
> > Can anyone help with this?
>
> > Thanks.
>
> > Traceback (most recent call last):
>
> >  File "/usr/local/lib/python2.6/dist-packages/Django-1.0.2_final-
> > py2.6.egg/django/core/handlers/base.py", line 86, in get_response
> >    response = callback(request, *callback_args, **callback_kwargs)
>
> >  File "/usr/local/lib/python2.6/dist-packages/Djblets-0.5-py2.6.egg/
> > djblets/auth/util.py", line 45, in _checklogin
> >    return view_func(request, *args, **kwargs)
>
> >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > py2.6.egg/reviewboard/reviews/views.py", line 84, in
> > new_review_request
> >    fields[repo.id] = repo.get_scmtool().get_fields()
>
> >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > py2.6.egg/reviewboard/scmtools/models.py", line 40, in get_scmtool
> >    return cls(self)
>
> >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > py2.6.egg/reviewboard/scmtools/git.py", line 18, in __init__
> >    self.client = GitClient(repository.path)
>
> >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> > py2.6.egg/reviewboard/scmtools/git.py", line 170, in __init__
> >    raise ImportError
>
> > ImportError
>
> >  > path:/r/new/,
> > GET:,
> > POST:,
> > COOKIES:{'rbsessionid': 'a343a2ba1857c6035cfdd714e3e473c8'},
> > META:{'AUTH_TYPE': None,
> >  'CONTENT_LENGTH': 0L,
> >  'CONTENT_TYPE': None,
> >  'GATEWAY_INTERFACE': 'CGI/1.1',
> >  'HTTP_ACCEPT': 'application/xml,application/xhtml+xml,text/
> > html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
> >  'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
> >  'HTTP_ACCEPT_ENCODING': 'gzip,deflate,bzip2,sdch',
> >  'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',
> >  'HTTP_CONNECTION': 'keep-alive',
> >  'HTTP_COOKIE': 'rbsessionid=a343a2ba1857c6035cfdd714e3e473c8',
> >  'HTTP_HOST': 'review.firmware',
> >  'HTTP_REFERER': 'http://review.firmware/account/preferences/?next=/
> > dashboard/
> > ',
> >  'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US)
> > AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.33 Safari/530.5',
> >  'PATH_INFO': u'/r/new/',
> >  'PATH_TRANSLATED': None,
> >  'QUERY_STRING': None,
> >  'REMOTE_ADDR': '10.0.0.144',
> >  'REMOTE_HOST': None,
> >  'REMOTE_IDENT': None,
> >  'REMOTE_USER': None,
> >  'REQUEST_METHOD': 'GET',
> >  'SCRIPT_NAME': '',
> >  'SERVER_NAME': 'review.firmware',
> >  'SERVER_PORT': 0,
> >  'SERVER_PROTOCOL': 'HTTP/1.1',
> >  'SERVER_SOFTWARE': 'mod_python'}>
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
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: Something broke! (Error 500) after adding new Git repository

2009-07-14 Thread Christian Hammond
Looks like git isn't installed on that server.

We're going to put in better error messages for such failure cases in 1.1,
but for now, make sure git is installed and in the path.

Christian

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


On Tue, Jul 14, 2009 at 2:38 PM, wezyde  wrote:

>
> I just installed reviewboard on a Ubuntu box and things were running
> well.  Once I add a new git repository and click on "New Review
> Request" I get the Something Broke! page.
>
> Can anyone help with this?
>
> Thanks.
>
> Traceback (most recent call last):
>
>  File "/usr/local/lib/python2.6/dist-packages/Django-1.0.2_final-
> py2.6.egg/django/core/handlers/base.py", line 86, in get_response
>response = callback(request, *callback_args, **callback_kwargs)
>
>  File "/usr/local/lib/python2.6/dist-packages/Djblets-0.5-py2.6.egg/
> djblets/auth/util.py", line 45, in _checklogin
>return view_func(request, *args, **kwargs)
>
>  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> py2.6.egg/reviewboard/reviews/views.py", line 84, in
> new_review_request
>fields[repo.id] = repo.get_scmtool().get_fields()
>
>  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> py2.6.egg/reviewboard/scmtools/models.py", line 40, in get_scmtool
>return cls(self)
>
>  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> py2.6.egg/reviewboard/scmtools/git.py", line 18, in __init__
>self.client = GitClient(repository.path)
>
>  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
> py2.6.egg/reviewboard/scmtools/git.py", line 170, in __init__
>raise ImportError
>
> ImportError
>
>
>  path:/r/new/,
> GET:,
> POST:,
> COOKIES:{'rbsessionid': 'a343a2ba1857c6035cfdd714e3e473c8'},
> META:{'AUTH_TYPE': None,
>  'CONTENT_LENGTH': 0L,
>  'CONTENT_TYPE': None,
>  'GATEWAY_INTERFACE': 'CGI/1.1',
>  'HTTP_ACCEPT': 'application/xml,application/xhtml+xml,text/
> html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
>  'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
>  'HTTP_ACCEPT_ENCODING': 'gzip,deflate,bzip2,sdch',
>  'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',
>  'HTTP_CONNECTION': 'keep-alive',
>  'HTTP_COOKIE': 'rbsessionid=a343a2ba1857c6035cfdd714e3e473c8',
>  'HTTP_HOST': 'review.firmware',
>  'HTTP_REFERER': 'http://review.firmware/account/preferences/?next=/
> dashboard/
> ',
>  'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US)
> AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.33 Safari/530.5',
>  'PATH_INFO': u'/r/new/',
>  'PATH_TRANSLATED': None,
>  'QUERY_STRING': None,
>  'REMOTE_ADDR': '10.0.0.144',
>  'REMOTE_HOST': None,
>  'REMOTE_IDENT': None,
>  'REMOTE_USER': None,
>  'REQUEST_METHOD': 'GET',
>  'SCRIPT_NAME': '',
>  'SERVER_NAME': 'review.firmware',
>  'SERVER_PORT': 0,
>  'SERVER_PROTOCOL': 'HTTP/1.1',
>  'SERVER_SOFTWARE': 'mod_python'}>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
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
-~--~~~~--~~--~--~---



Something broke! (Error 500) after adding new Git repository

2009-07-14 Thread wezyde

I just installed reviewboard on a Ubuntu box and things were running
well.  Once I add a new git repository and click on "New Review
Request" I get the Something Broke! page.

Can anyone help with this?

Thanks.

Traceback (most recent call last):

  File "/usr/local/lib/python2.6/dist-packages/Django-1.0.2_final-
py2.6.egg/django/core/handlers/base.py", line 86, in get_response
response = callback(request, *callback_args, **callback_kwargs)

  File "/usr/local/lib/python2.6/dist-packages/Djblets-0.5-py2.6.egg/
djblets/auth/util.py", line 45, in _checklogin
return view_func(request, *args, **kwargs)

  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
py2.6.egg/reviewboard/reviews/views.py", line 84, in
new_review_request
fields[repo.id] = repo.get_scmtool().get_fields()

  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
py2.6.egg/reviewboard/scmtools/models.py", line 40, in get_scmtool
return cls(self)

  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
py2.6.egg/reviewboard/scmtools/git.py", line 18, in __init__
self.client = GitClient(repository.path)

  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-
py2.6.egg/reviewboard/scmtools/git.py", line 170, in __init__
raise ImportError

ImportError


,
POST:,
COOKIES:{'rbsessionid': 'a343a2ba1857c6035cfdd714e3e473c8'},
META:{'AUTH_TYPE': None,
 'CONTENT_LENGTH': 0L,
 'CONTENT_TYPE': None,
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT': 'application/xml,application/xhtml+xml,text/
html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,bzip2,sdch',
 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'rbsessionid=a343a2ba1857c6035cfdd714e3e473c8',
 'HTTP_HOST': 'review.firmware',
 'HTTP_REFERER': 'http://review.firmware/account/preferences/?next=/
dashboard/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US)
AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.33 Safari/530.5',
 'PATH_INFO': u'/r/new/',
 'PATH_TRANSLATED': None,
 'QUERY_STRING': None,
 'REMOTE_ADDR': '10.0.0.144',
 'REMOTE_HOST': None,
 'REMOTE_IDENT': None,
 'REMOTE_USER': None,
 'REQUEST_METHOD': 'GET',
 'SCRIPT_NAME': '',
 'SERVER_NAME': 'review.firmware',
 'SERVER_PORT': 0,
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SOFTWARE': 'mod_python'}>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
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
-~--~~~~--~~--~--~---