Re: ReviewBoard is taking a nap on localhost

2013-12-11 Thread Áron Paulik
I'm installing from a modified source.
But I think I had better start over and watch out for every step...

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


Re: ReviewBoard is taking a nap on localhost

2013-12-11 Thread Christian Hammond
If you're going to install from source, I recommend building an egg, just
as we do, and installing from that. You can build it with:

./setup.py bdist_egg release

You will need nodejs, uglifyjs, and lessc installed. There will be more
requirements in future releases.

Christian

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


On Wed, Dec 11, 2013 at 1:46 AM, Áron Paulik paro...@gmail.com wrote:

 I'm installing from a modified source.
 But I think I had better start over and watch out for every step...

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


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


ReviewBoard is taking a nap on localhost

2013-12-05 Thread Áron Paulik
Hi,

I browsed through all the related topics but haven't found the solution yet.
I recently upgraded to 1.7.18 and when I want to open 
localhost/reviewboard, I face the error message above.

Checked my apache error log, it says:

[Thu Dec 05 10:19:00 2013] [error] [client 127.0.0.1] mod_wsgi (pid=11449): 
 Exception occurred processing WSGI script 
 '/var/www/reviewboard/htdocs/reviewboard.wsgi'., referer: 
 http://localhost/reviewboard/
 [Thu Dec 05 10:19:00 2013] [error] [client 127.0.0.1] Traceback (most 
 recent call last):, referer: http://localhost/reviewboard/
 [Thu Dec 05 10:19:00 2013] [error] [client 127.0.0.1]   File 
 /usr/local/lib/python2.7/dist-packages/Django-1.4.9-py2.7.egg/django/core/handlers/wsgi.py,
  
 line 219, in __call__, referer: http://localhost/reviewboard/
 [Thu Dec 05 10:19:00 2013] [error] [client 127.0.0.1] 
 self.load_middleware(), referer: http://localhost/reviewboard/
 [Thu Dec 05 10:19:00 2013] [error] [client 127.0.0.1]   File 
 /usr/local/lib/python2.7/dist-packages/Django-1.4.9-py2.7.egg/django/core/handlers/base.py,
  
 line 47, in load_middleware, referer: http://localhost/reviewboard/
 [Thu Dec 05 10:19:00 2013] [error] [client 127.0.0.1] raise 
 exceptions.ImproperlyConfigured('Error importing middleware %s: %s' % 
 (mw_module, e)), referer: http://localhost/reviewboard/
 [Thu Dec 05 10:19:00 2013] [error] [client 127.0.0.1] 
 ImproperlyConfigured: Error importing middleware django.middleware.gzip: 
 No module named memcache, referer: http://localhost/reviewboard/


This is the mentioned reviewboard.wsgi file:

import os
 import sys
 os.environ['DJANGO_SETTINGS_MODULE'] = reviewboard.settings
 os.environ['PYTHON_EGG_CACHE'] = /var/www/reviewboard/tmp/egg_cache
 os.environ['HOME'] = /var/www/reviewboard/data
 os.environ['PYTHONPATH'] = '/var/www/reviewboard/conf:' + 
 os.environ.get('PYTHONPATH', '')
 sys.path = ['/var/www/reviewboard/conf'] + sys.path
 import django.core.handlers.wsgi
 application = django.core.handlers.wsgi.WSGIHandler()


I suspect that some package is still missing, but can't figure out which. 
Can anyone give me a suggestion about resolving this?

I'm using Ubuntu 12.04.

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


Re: ReviewBoard is taking a nap on localhost

2013-12-05 Thread Christian Hammond
Sounds like the python-memcached module might be missing. This should have
been automatically installed when installing Review Board, but maybe
something went wrong.

As a sanity check, do:

$ python
 import memcached
 memcached.__file__

See what that ends up saying.

Christian

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


On Thu, Dec 5, 2013 at 1:36 AM, Áron Paulik paro...@gmail.com wrote:

 Hi,

 I browsed through all the related topics but haven't found the solution
 yet.
 I recently upgraded to 1.7.18 and when I want to open
 localhost/reviewboard, I face the error message above.

 Checked my apache error log, it says:

 [Thu Dec 05 10:19:00 2013] [error] [client 127.0.0.1] mod_wsgi
 (pid=11449): Exception occurred processing WSGI script
 '/var/www/reviewboard/htdocs/reviewboard.wsgi'., referer:
 http://localhost/reviewboard/
 [Thu Dec 05 10:19:00 2013] [error] [client 127.0.0.1] Traceback (most
 recent call last):, referer: http://localhost/reviewboard/
 [Thu Dec 05 10:19:00 2013] [error] [client 127.0.0.1]   File
 /usr/local/lib/python2.7/dist-packages/Django-1.4.9-py2.7.egg/django/core/handlers/wsgi.py,
 line 219, in __call__, referer: http://localhost/reviewboard/
 [Thu Dec 05 10:19:00 2013] [error] [client 127.0.0.1]
 self.load_middleware(), referer: http://localhost/reviewboard/
 [Thu Dec 05 10:19:00 2013] [error] [client 127.0.0.1]   File
 /usr/local/lib/python2.7/dist-packages/Django-1.4.9-py2.7.egg/django/core/handlers/base.py,
 line 47, in load_middleware, referer: http://localhost/reviewboard/
 [Thu Dec 05 10:19:00 2013] [error] [client 127.0.0.1] raise
 exceptions.ImproperlyConfigured('Error importing middleware %s: %s' %
 (mw_module, e)), referer: http://localhost/reviewboard/
 [Thu Dec 05 10:19:00 2013] [error] [client 127.0.0.1]
 ImproperlyConfigured: Error importing middleware django.middleware.gzip:
 No module named memcache, referer: http://localhost/reviewboard/


 This is the mentioned reviewboard.wsgi file:

 import os
 import sys
 os.environ['DJANGO_SETTINGS_MODULE'] = reviewboard.settings
 os.environ['PYTHON_EGG_CACHE'] = /var/www/reviewboard/tmp/egg_cache
 os.environ['HOME'] = /var/www/reviewboard/data
 os.environ['PYTHONPATH'] = '/var/www/reviewboard/conf:' +
 os.environ.get('PYTHONPATH', '')
 sys.path = ['/var/www/reviewboard/conf'] + sys.path
 import django.core.handlers.wsgi
 application = django.core.handlers.wsgi.WSGIHandler()


 I suspect that some package is still missing, but can't figure out which.
 Can anyone give me a suggestion about resolving this?

 I'm using Ubuntu 12.04.

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


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


Re: ReviewBoard is taking a nap on localhost

2013-12-05 Thread Áron Paulik
This fails already with importing:

 import memcached
 Traceback (most recent call last):
   File stdin, line 1, in module
 ImportError: No module named memcached


I find this strange since at the last project build there was no sign of 
memcached issues:

Upgrade complete!
  * Restarting web server apache2   
   ... waiting   
   [ OK ]
 Restarting memcached: memcached.


and

$ service memcached status
  * memcached is running


This is very strange, I'm lost.

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


Re: ReviewBoard is taking a nap on localhost

2013-12-05 Thread Áron Paulik
I just recognised that simple memcached and python-memcached are different, 
when trying to install python-memcached:

Package python-memcached is not available, but is referred to by another 
 package.
 This may mean that the package is missing, has been obsoleted, or
 is only available from another source
 E: Package 'python-memcached' has no installation candidate


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


Re: ReviewBoard is taking a nap on localhost

2013-12-05 Thread Christian Hammond
python-memcached is separate from memcached itself. It's just a Python
module for talking to a memcached server.

I don't know whether yum has it, but you can use easy_install:

sudo easy_install -U python-memcached

Christian

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


On Thu, Dec 5, 2013 at 2:01 AM, Áron Paulik paro...@gmail.com wrote:

 I just recognised that simple memcached and python-memcached are
 different, when trying to install python-memcached:

 Package python-memcached is not available, but is referred to by another
 package.
 This may mean that the package is missing, has been obsoleted, or
 is only available from another source
 E: Package 'python-memcached' has no installation candidate


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


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


Re: ReviewBoard is taking a nap on localhost

2013-12-05 Thread Stephen Gallagher
On 12/05/2013 05:27 AM, Christian Hammond wrote:
 python-memcached is separate from memcached itself. It's just a Python
 module for talking to a memcached server.
 
 I don't know whether yum has it, but you can use easy_install:
 
 sudo easy_install -U python-memcached
 

Yum would have it (trust me :) ), but earlier in the thread, he
mentioned that he was on Ubuntu 12.04. I suspect that it may be named
differently in Ubuntu. Given the E: Package 'python-memcached' has no
installation candidate, I suspect it was probably renamed to something
like python2-memcached, but not all dependent packages were updated.

This is speculation, of course.

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


Re: ReviewBoard is taking a nap on localhost

2013-12-05 Thread Adam Collard
It's called python-memcache in Ubuntu.

 On 5 Dec 2013, at 14:27, Stephen Gallagher step...@gallagherhome.com wrote:
 
 On 12/05/2013 05:27 AM, Christian Hammond wrote:
 python-memcached is separate from memcached itself. It's just a Python
 module for talking to a memcached server.
 
 I don't know whether yum has it, but you can use easy_install:
 
sudo easy_install -U python-memcached
 
 Yum would have it (trust me :) ), but earlier in the thread, he
 mentioned that he was on Ubuntu 12.04. I suspect that it may be named
 differently in Ubuntu. Given the E: Package 'python-memcached' has no
 installation candidate, I suspect it was probably renamed to something
 like python2-memcached, but not all dependent packages were updated.
 
 This is speculation, of course.
 
 -- 
 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/groups/opt_out.

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


Re: ReviewBoard is taking a nap on localhost

2013-12-05 Thread Áron Paulik
Thanks for the hints, I feel I'm advancing slowly.
Installed components in the meantime:
 - python-docutils
 - python-paramiko
 - pytz

and also python-memcache (special thanks).
At last the original error page has disappeared, now it runs into 

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.


 Additionally, I fixed a strange requirement in setup.py:

install_requires=[
 ...
 ...
  'paramiko=1.7.0', # it was 1.9.0 previously
 ...
]

Now running the site-upgrade and additional commands result in this 
errorlog:

Error opening file for reading: Permission denied
 [Thu Dec 05 14:04:15 2013] [notice] caught SIGTERM, shutting down
 [Thu Dec 05 14:04:15 2013] [warn] mod_wsgi: Compiled for Python/2.7.2+.
 [Thu Dec 05 14:04:15 2013] [warn] mod_wsgi: Runtime using Python/2.7.3.
 [Thu Dec 05 14:04:15 2013] [notice] Apache/2.2.22 (Ubuntu) mod_wsgi/3.3 
 Python/2.7.3 configured -- resuming normal operations


Does this have something to do with Ubuntu folder access? If yes, what 
should I change and where?

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


Re: ReviewBoard is taking a nap on localhost

2013-12-05 Thread Christian Hammond
I'm very confused. Are you installing from source? You shouldn't have to
manually install any of these things or change any setup files. How exactly
did you install the ReviewBoard package?

Christian


On Thursday, December 5, 2013, Áron Paulik wrote:

 Thanks for the hints, I feel I'm advancing slowly.
 Installed components in the meantime:
  - python-docutils
  - python-paramiko
  - pytz

 and also python-memcache (special thanks).
 At last the original error page has disappeared, now it runs into

 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.


  Additionally, I fixed a strange requirement in setup.py:

 install_requires=[
  ...
  ...
   'paramiko=1.7.0', # it was 1.9.0 previously
  ...
 ]

 Now running the site-upgrade and additional commands result in this
 errorlog:

 Error opening file for reading: Permission denied
 [Thu Dec 05 14:04:15 2013] [notice] caught SIGTERM, shutting down
 [Thu Dec 05 14:04:15 2013] [warn] mod_wsgi: Compiled for Python/2.7.2+.
 [Thu Dec 05 14:04:15 2013] [warn] mod_wsgi: Runtime using Python/2.7.3.
 [Thu Dec 05 14:04:15 2013] [notice] Apache/2.2.22 (Ubuntu) mod_wsgi/3.3
 Python/2.7.3 configured -- resuming normal operations


 Does this have something to do with Ubuntu folder access? If yes, what
 should I change and where?

 --
 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 javascript:_e({},
 'cvml', 'reviewboard%2bunsubscr...@googlegroups.com');.
 For more options, visit https://groups.google.com/groups/opt_out.



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

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