You'll need to use svn diff. TortoiseSVN's diffs aren't compatible. I strongly recommend using our post-review tool (part of RBTools) to create and update review requests, as it works around some problems in standard SVN diffs as well.
Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Aug 3, 2010 at 9:31 PM, Chetan <chetan....@gmail.com> wrote: > Is it a problem with the diff format? The date and time in diff output > file is in "Tue Jul 27 12:34:43 2010" format , I changed it to > "2010-07-27 12:34:43 2010" format and uploaded but has not helped in > sovling the issue. > > > > On Aug 2, 4:18 pm, Chetan <chetan....@gmail.com> wrote: > > I have used TortoiseSVN diff and selected "create unified diff" option > > to create the diff in unified format. > > > > On Aug 2, 1:44 pm, Christian Hammond <chip...@chipx86.com> wrote: > > > > > > > > > How did you generate the diff? It looks like the diff contains a date > string > > > instead of revision information.... > > > > > read more » > > > > > Christian > > > > > -- > > > Christian Hammond - chip...@chipx86.com > > > Review Board -http://www.reviewboard.org > > > VMware, Inc. -http://www.vmware.com > > > > > On Mon, Aug 2, 2010 at 1:11 AM, Chetan <chetan....@gmail.com> wrote: > > > > 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':- Hide > quoted text - > > > > - Show quoted text -... > > > > 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<reviewboard%2bunsubscr...@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