I have changed the Traceback Switch to copy-and-paste view mode and
pasting the errors.

Environment:

Request Method: POST
Request URL: http://172.24.1.107/reviewboard_lgsi/r/new/
Django Version: 1.2.1
Python Version: 2.5.2
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.markup',
 'django.contrib.sites',
 'django.contrib.sessions',
 'djblets.datagrid',
 'djblets.feedview',
 'djblets.log',
 'djblets.siteconfig',
 'djblets.util',
 'djblets.webapi',
 'reviewboard.accounts',
 'reviewboard.admin',
 'reviewboard.changedescs',
 'reviewboard.diffviewer',
 'reviewboard.iphone',
 'reviewboard.notifications',
 'reviewboard.reports',
 'reviewboard.reviews',
 'reviewboard.scmtools',
 'reviewboard.webapi',
 'django_evolution']
Installed Middleware:
('django.middleware.gzip.GZipMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.doc.XViewMiddleware',
 'django.middleware.http.ConditionalGetMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'djblets.siteconfig.middleware.SettingsMiddleware',
 'reviewboard.admin.middleware.LoadSettingsMiddleware',
 'djblets.log.middleware.LoggingMiddleware',
 'reviewboard.admin.middleware.CheckUpdatesRequiredMiddleware',
 'reviewboard.admin.middleware.X509AuthMiddleware')


Traceback:
File "/usr/lib/python2.5/site-packages/Django-1.2.1-py2.5.egg/django/
core/handlers/base.py" in get_response
  100.                     response = callback(request,
*callback_args, **callback_kwargs)
File "/usr/lib/python2.5/site-packages/Djblets-0.6.3-py2.5.egg/djblets/
auth/util.py" in _checklogin
  46.             return view_func(request, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/ReviewBoard-1.5rc1-py2.5.egg/
reviewboard/reviews/views.py" in new_review_request
  68.
parent_diff_file=request.FILES.get('parent_diff_path'))
File "/usr/lib/python2.5/site-packages/ReviewBoard-1.5rc1-py2.5.egg/
reviewboard/reviews/forms.py" in create
  182.                              attach_to_history=True)
File "/usr/lib/python2.5/site-packages/ReviewBoard-1.5rc1-py2.5.egg/
reviewboard/reviews/forms.py" in create
  234.                                                      history)
File "/usr/lib/python2.5/site-packages/ReviewBoard-1.5rc1-py2.5.egg/
reviewboard/diffviewer/forms.py" in create
  63.             diff_file, basedir, check_existance=(not
parent_diff_file)))
File "/usr/lib/python2.5/site-packages/ReviewBoard-1.5rc1-py2.5.egg/
reviewboard/diffviewer/forms.py" in _process_files
  137.             f2, revision = tool.parse_diff_revision(f.origFile,
f.origInfo)
File "/usr/lib/python2.5/site-packages/ReviewBoard-1.5rc1-py2.5.egg/
reviewboard/scmtools/svn.py" in parse_diff_revision
  189.                            revision_str)

Exception Type: SCMError at /reviewboard_lgsi/r/new/
Exception Value: Unable to parse diff revision header 'Mon Aug  2
10:23:04 2010'







On Aug 2, 12:59 pm, Chetan <chetan....@gmail.com> wrote:
> I am using 1.09. Now I upgraded it to 1.5 RC1 but i am getting error
> when i create new review request. ERROR 500
>
> There is an other thread on facing a similar problem after upgrade.
> You had mentioned to enable DEBUG. I have enabled DEBUG and i get the
> below error when i try creating the new request.
>
> The error msg is huge and i have pasted just a part of it. Let me know
> if i can upload the complete error msg.
>
> ###########################################################################­########################
> SCMError at /reviewboard_lgsi/r/new/
> Unable to parse diff revision header 'Mon Aug  2 10:23:04 2010'Request
> Method: POST
> Request URL:http://172.24.1.107/reviewboard_lgsi/r/new/
> Django Version: 1.2.1
> Exception Type: SCMError
> Exception Value: Unable to parse diff revision header 'Mon Aug  2
> 10:23:04 2010'
> Exception Location: /usr/lib/python2.5/site-packages/
> ReviewBoard-1.5rc1-py2.5.egg/reviewboard/scmtools/svn.py in
> parse_diff_revision, line 189
> Python Executable: /usr/bin/python
> Python Version: 2.5.2
> Python Path: ['/var/www/reviewboard_lgsi/conf', '/usr/lib/python2.5/
> site-packages/MySQL_python-1.2.3c1-py2.5-linux-i686.egg', '/usr/lib/
> python2.5/site-packages/python_memcached-1.45-py2.5.egg', '/usr/lib/
> python2.5/site-packages/pytz-2010h-py2.5.egg', '/usr/lib/python2.5/
> site-packages/flup-1.0.3.dev_20100525-py2.5.egg', '/usr/lib/python2.5/
> site-packages/Pygments-1.3.1-py2.5.egg', '/usr/lib/python2.5/site-
> packages/Django-1.2.1-py2.5.egg', '/usr/lib/python2.5/site-packages/
> RBTools-0.2-py2.5.egg', '/usr/lib/python2.5/site-packages/
> simplejson-2.1.1-py2.5.egg', '/usr/lib/python2.5/site-packages/
> setuptools-0.6c11-py2.5.egg', '/usr/lib/python2.5/site-packages/
> Djblets-0.6.3-py2.5.egg', '/usr/lib/python2.5/site-packages/
> django_evolution-0.5-py2.5.egg', '/usr/lib/python2.5/site-packages/
> ReviewBoard-1.5rc1-py2.5.egg', '/usr/lib/python2.5/site-packages/
> recaptcha_client-1.0.5-py2.5.egg', '/usr/lib/python2.5/site-packages/
> python_dateutil-1.5-py2.5.egg', '/usr/lib/python2.5/site-packages/
> paramiko-1.7.6-py2.5.egg', '/usr/lib/python2.5/site-packages/
> pycrypto-2.1.0-py2.5-linux-i686.egg', '/usr/lib/python25.zip', '/usr/
> lib/python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/
> lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/
> site-packages', '/usr/lib/python2.5/site-packages', '/usr/lib/
> python2.5/site-packages/PIL', '/var/lib/python-support/python2.5', '/
> var/lib/python-support/python2.5/gtk-2.0', '/usr/lib/python2.5/site-
> packages/wx-2.6-gtk2-unicode']
> Server time: Sun, 1 Aug 2010 22:35:28 -0700
>
> Traceback Switch to copy-and-paste view
> /usr/lib/python2.5/site-packages/Django-1.2.1-py2.5.egg/django/core/
> handlers/base.py in get_response
>                 # Apply view middleware                for
> middleware_method in self._view_middleware:
> response = middleware_method(request, callback, callback_args,
> callback_kwargs)                    if
> response:                        return response
> try:                    response = callback(request, *callback_args,
> **callback_kwargs) ...                except Exception,
> e:                    # If the view raised an exception, run it
> through exception                    # middleware, and if the
> exception middleware returns a                    # response, use
> that. Otherwise, reraise the exception.                    for
> middleware_method in
> self._exception_middleware:                        response =
> middleware_method(request, e)▶ Local vars
> Variable Value
> callback <function new_review_request at 0x8d0780c>
> callback_args ()
> callback_kwargs {}
> e SCMError("Unable to parse diff revision header 'Mon Aug 2 10:23:04
> 2010'",)
> exc_info (<class 'reviewboard.scmtools.errors.SCMError'>,
> SCMError("Unable to parse diff revision header 'Mon Aug 2 10:23:04
> 2010'",), <traceback object at 0x9207e3c>)
> exceptions <module 'django.core.exceptions' from '/usr/lib/python2.5/
> site-packages/Django-1.2.1-py2.5.egg/django/core/exceptions.pyc'>
> middleware_method <bound method LoggingMiddleware.process_exception of
> <djblets.log.middleware.LoggingMiddleware object at 0x8e5392c>>
> receivers [(<function _rollback_on_exception at 0x8712374>, None)]
> request <ModPythonRequest path:/reviewboard_lgsi/r/new/,
> GET:<QueryDict: {}>, POST:<QueryDict: {u'changenum': [u''],
> u'basedir': [u'F:\\Review_svn\\'], u'repository': [u'3']}>, COOKIES:
> {'rbsessionid': 'ae9f14ec4e59c8e37131b69f0589b8b5'}, META:
> {'AUTH_TYPE': None, 'CONTENT_LENGTH': '723', 'CONTENT_TYPE':
> 'multipart/form-data;
> boundary=---------------------------7da246141103d2',
> 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'application/x-
> shockwave-flash, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
> application/vnd.ms-excel, application/vnd.ms-powerpoint, application/
> msword, application/x-ms-application, application/x-ms-xbap,
> application/vnd.ms-xpsdocument, application/xaml+xml, */*',
> 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-
> us', 'HTTP_CACHE_CONTROL': 'max-age=259200', 'HTTP_CONNECTION': 'keep-
> alive', 'HTTP_CONTENT_LENGTH': '723', 'HTTP_CONTENT_TYPE': 'multipart/
> form-data; boundary=---------------------------7da246141103d2',
> 'HTTP_COOKIE': 'rbsessionid=ae9f14ec4e59c8e37131b69f0589b8b5',
> 'HTTP_HOST': '172.24.1.107', 'HTTP_PRAGMA': 'no-cache',
> 'HTTP_REFERER': 'http://172.24.1.107/reviewboard_lgsi/r/new/',
> 'HTTP_UA_CPU': 'x86', 'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible;
> MSIE 7.0; Windows NT 5.1; CNS_UA; AD_LOGON=4C47452E4E4554; .NET CLR
> 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; MS-RTC LM 8;
> OfficeLiveConnector.1.3; OfficeLivePatch.0.0; CNS_UA;
> AD_LOGON=4C47452E4E4554)', 'HTTP_VIA': '1.1 Proxy-2.lge.net:8080
> (squid/2.5.STABLE14)', 'HTTP_X_FORWARDED_FOR': '172.24.2.48',
> 'PATH_INFO': u'/reviewboard_lgsi/r/new/', 'PATH_TRANSLATED': None,
> 'QUERY_STRING': None, 'REMOTE_ADDR': '172.24.1.84', 'REMOTE_HOST':
> None, 'REMOTE_IDENT': None, 'REMOTE_USER': None, 'REQUEST_METHOD':
> 'POST', 'SCRIPT_NAME': '', 'SERVER_NAME': 'si-rd10-git',
> 'SERVER_PORT': 80, 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE':
> 'mod_python'}>
> resolver <RegexURLResolver djblets.util.rooturl (None:None) ^/>
> response None
> self <django.core.handlers.modpython.ModPythonHandler object at
> 0x8f011ac>
> settings <django.conf.LazySettings object at 0xa99b744c>
> urlconf 'djblets.util.rooturl'
> urlresolvers <module 'django.core.urlresolvers' from '/usr/lib/
> python2.5/site-packages/Django-1.2.1-py2.5.egg/django/core/
> urlresolvers.pyc'>
>
> /usr/lib/python2.5/site-packages/Djblets-0.6.3-py2.5.egg/djblets/auth/
> util.py in _checklogin
> def login_required(view_func):    """Simplified version of
> auth.decorators.login_required,       which works with our LOGIN_URL
> and removes the 'next'       parameter which we don't need yet.
> """    def _checklogin(request, *args, **kwargs):        if
> request.user.is_authenticated():            return view_func(request,
> *args, **kwargs) ...        else:            return
> HttpResponseRedirect('%s?next_page=%s' % \
> (settings.LOGIN_URL, request.path))    return _checklogindef
> get_user(username):▶ Local vars
> Variable Value
> args ()
> kwargs {}
> request <ModPythonRequest path:/reviewboard_lgsi/r/new/,
> GET:<QueryDict: {}>, POST:<QueryDict: {u'changenum': [u''],
> u'basedir': [u'F:\\Review_svn\\'], u'repository': [u'3']}>, COOKIES:
> {'rbsessionid': 'ae9f14ec4e59c8e37131b69f0589b8b5'}, META:
> {'AUTH_TYPE': None, 'CONTENT_LENGTH': '723', 'CONTENT_TYPE':
> 'multipart/form-data;
> boundary=---------------------------7da246141103d2',
> 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'application/x-
> shockwave-flash, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
> application/vnd.ms-excel, application/vnd.ms-powerpoint, application/
> msword, application/x-ms-application, application/x-ms-xbap,
> application/vnd.ms-xpsdocument, application/xaml+xml, */*',
> 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-
> us', 'HTTP_CACHE_CONTROL': 'max-age=259200', 'HTTP_CONNECTION': 'keep-
> alive', 'HTTP_CONTENT_LENGTH': '723', 'HTTP_CONTENT_TYPE': 'multipart/
> form-data; boundary=---------------------------7da246141103d2',
> 'HTTP_COOKIE': 'rbsessionid=ae9f14ec4e59c8e37131b69f0589b8b5',
> 'HTTP_HOST': '172.24.1.107', 'HTTP_PRAGMA': 'no-cache',
> 'HTTP_REFERER': 'http://172.24.1.107/reviewboard_lgsi/r/new/',
> 'HTTP_UA_CPU': 'x86', 'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible;
> MSIE 7.0; Windows NT 5.1; CNS_UA; AD_LOGON=4C47452E4E4554; .NET CLR
> 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; MS-RTC LM 8;
> OfficeLiveConnector.1.3; OfficeLivePatch.0.0; CNS_UA;
> AD_LOGON=4C47452E4E4554)', 'HTTP_VIA': '1.1 Proxy-2.lge.net:8080
> (squid/2.5.STABLE14)', 'HTTP_X_FORWARDED_FOR': '172.24.2.48',
> 'PATH_INFO': u'/reviewboard_lgsi/r/new/', 'PATH_TRANSLATED': None,
> 'QUERY_STRING': None, 'REMOTE_ADDR': '172.24.1.84', 'REMOTE_HOST':
> None, 'REMOTE_IDENT': None, 'REMOTE_USER': None, 'REQUEST_METHOD':
> 'POST', 'SCRIPT_NAME': '', 'SERVER_NAME': 'si-rd10-git',
> 'SERVER_PORT': 80, 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE':
> 'mod_python'}>
> view_func <function new_review_request at 0x8d07764>
>
> /usr/lib/python2.5/site-packages/ReviewBoard-1.5rc1-py2.5.egg/
> reviewboard/reviews/views.py in new_review_request
>         form = NewReviewRequestForm(request.POST,
> request.FILES)        if form.is_valid():
> try:                review_request =
> form.create(                    user=request.user,
> diff_file=request.FILES['diff_path'],
> parent_diff_file=request.FILES.get('parent_diff_path')) ...
> return
> HttpResponseRedirect(review_request.get_absolute_url())
> except (OwnershipError, ChangeSetError):                pass
> else:        form = NewReviewRequestForm()▶ Local vars
> Variable Value
> form <reviewboard.reviews.forms.NewReviewRequestForm object at
> 0x9097f6c>
> request <ModPythonRequest path:/reviewboard_lgsi/r/new/,
> GET:<QueryDict: {}>, POST:<QueryDict: {u'changenum': [u''],
> u'basedir':
>
> read more »...

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

Reply via email to