Good evening~ :) I have some problems my reviewboard(ver 1.5.4.)
I can't upload screenshot on my Review Request. I attaching logs and I found the reason. /usr/lib/python2.6/dist-packages/mod_python/importer.py:32: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 /usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/db/ __init__.py:19: DeprecationWarning: settings.DATABASE_* is deprecated; use settings.DATABASES instead. DeprecationWarning /usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/db/ __init__.py:60: DeprecationWarning: Short names for ENGINE in database configurations are deprecated. Prepend default.ENGINE with 'django.db.backends.' DeprecationWarning /var/lib/python-support/python2.6/MySQLdb/__init__.py:34: DeprecationWarning: the sets module is deprecated from sets import ImmutableSet /usr/local/lib/python2.6/dist-packages/pytz-2011d-py2.6.egg/pytz/ __init__.py:35: UserWarning: Module _mysql was already imported from / var/lib/python-support/python2.6/_mysql.so, but /var/lib/python- support/python2.6 is being added to sys.path /usr/local/lib/python2.6/dist-packages/pycrypto-2.3-py2.6-linux- x86_64.egg/Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This application uses RandomPool, which is BROKEN in older releases. See http://www.pycrypto.org/randpool-broken jh5774_res:call_kwargs: review_request_id jh5774_res:call_kwargs: api_format /usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/ contrib/auth/__init__.py:26: DeprecationWarning: Authentication backends without a `supports_object_permissions` attribute are deprecated. Please define it in <class 'reviewboard.accounts.backends.LDAPBackend'>. DeprecationWarning) /usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/ contrib/auth/__init__.py:31: DeprecationWarning: Authentication backends without a `supports_anonymous_user` attribute are deprecated. Please define it in <class 'reviewboard.accounts.backends.LDAPBackend'>. DeprecationWarning) ERROR:root:Exception thrown for user jh5774.bae at http://10.244.106.190/reviewboard_demo/api/json/reviewrequests/174/screenshot/new/ [Errno 13] Permission denied: '/var/www/review_demo/htdocs/media/ uploaded/images/2011/04' Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/ django/core/handlers/base.py", line 124, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/ django/views/decorators/cache.py", line 79, in _wrapped_view_func response = view_func(request, *args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.4- py2.6.egg/reviewboard/webapi/decorators.py", line 61, in _view response = view_func(*args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.7-py2.6.egg/ djblets/webapi/decorators.py", line 88, in _checklogin return view_func(*args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/ django/views/decorators/http.py", line 45, in inner return func(request, *args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.4- py2.6.egg/reviewboard/webapi/json.py", line 1241, in new_screenshot screenshot = form.create(request.FILES['path'], review_request) File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.4- py2.6.egg/reviewboard/reviews/forms.py", line 281, in create screenshot.image.save(file.name, file, save=True) File "/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/ django/db/models/fields/files.py", line 92, in save self.name = self.storage.save(name, content) File "/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/ django/core/files/storage.py", line 49, in save name = self._save(name, content) File "/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/ django/core/files/storage.py", line 166, in _save os.makedirs(directory) File "/usr/lib/python2.6/os.py", line 150, in makedirs makedirs(head, mode) File "/usr/lib/python2.6/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/var/www/review_demo/htdocs/ media/uploaded/images/2011/04' ERROR:django.request:Internal Server Error: /reviewboard_demo/api/json/ reviewrequests/174/screenshot/new/ Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/ django/core/handlers/base.py", line 124, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/ django/views/decorators/cache.py", line 79, in _wrapped_view_func response = view_func(request, *args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.4- py2.6.egg/reviewboard/webapi/decorators.py", line 61, in _view response = view_func(*args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.7-py2.6.egg/ djblets/webapi/decorators.py", line 88, in _checklogin return view_func(*args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/ django/views/decorators/http.py", line 45, in inner return func(request, *args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.4- py2.6.egg/reviewboard/webapi/json.py", line 1241, in new_screenshot screenshot = form.create(request.FILES['path'], review_request) File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.4- py2.6.egg/reviewboard/reviews/forms.py", line 281, in create screenshot.image.save(file.name, file, save=True) File "/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/ django/db/models/fields/files.py", line 92, in save self.name = self.storage.save(name, content) File "/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/ django/core/files/storage.py", line 49, in save name = self._save(name, content) File "/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/ django/core/files/storage.py", line 166, in _save os.makedirs(directory) File "/usr/lib/python2.6/os.py", line 150, in makedirs makedirs(head, mode) File "/usr/lib/python2.6/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/var/www/review_demo/htdocs/ media/uploaded/images/2011/04' They said, We cannot access to that path: permission denied. '/var/www/review_demo/htdocs/media/uploaded/images/2011/04' So, we cannot create that path. I already try to permit that, But I can't. sudo chmod +x '/var/www/review_demo/htdocs/media/uploaded/images/ 2011/04' isn't work. Yes, I'm the newbie who handle linux first time in my life. So, anyone help me, please. Thank you. -- 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 [email protected] For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
