It looks like it's trying to find "vbos/" in the path in the diff, but it
doesn't exist.

I don't have access to ClearCase, and don't really know how it all works. We
are the moment a very low-budget project and can't afford a ClearCase
license. Our ClearCase support is heavily volunteer-based, so hopefully
someone with more knowledge can debug it.

Christian

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


On Tue, Aug 10, 2010 at 3:47 AM, Chetan <chetan....@gmail.com> wrote:

> As suggested by you i enabled logging to debug clearcase error. I
> given the log information when i execute post-review for clearcase
> below.
>
>
> ###################################################################################################
> 2010-08-10 03:39:32,064 - DEBUG - DiffParser.parse: Beginning parse of
> diff, size = 1070
> 2010-08-10 03:39:32,064 - DEBUG - DiffParser.parse: Finished parsing
> diff.
> 2010-08-10 03:39:32,065 - ERROR - Error uploading new diff: substring
> not found
> Traceback (most recent call last):
>   File "/usr/lib/python2.5/site-packages/ReviewBoard-1.5rc1-py2.5.egg/
> reviewboard/webapi/json.py", line 1169, in new_diff
>     request.FILES.get('parent_diff_path'))
>  File "/usr/lib/python2.5/site-packages/ReviewBoard-1.5rc1-py2.5.egg/
> reviewboard/reviews/forms.py", line 234, in create
>     history)
>  File "/usr/lib/python2.5/site-packages/ReviewBoard-1.5rc1-py2.5.egg/
> reviewboard/diffviewer/forms.py", line 63, in create
>     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", line 149, in _process
> _files
>    not tool.file_exists(filename, revision))):
>   File "/usr/lib/python2.5/site-packages/ReviewBoard-1.5rc1-py2.5.egg/
> reviewboard/scmtools/core.py", line 68, in file_exists
>    self.get_file(path, revision)
>   File "/usr/lib/python2.5/site-packages/ReviewBoard-1.5rc1-py2.5.egg/
> reviewboard/scmtools/clearcase.py", line 45, in get_fil
> e
>    return self.client.cat_file(self.adjust_path(path), revision)
>   File "/usr/lib/python2.5/site-packages/ReviewBoard-1.5rc1-py2.5.egg/
> reviewboard/scmtools/clearcase.py", line 83, in adjust_
> path
>    elem_path = elem_path[elem_path.rindex("vobs/")+5:]
> ValueError: substring not found
>
> ###################################################################################################
>
> On Aug 10, 11:15 am, Chetan <chetan....@gmail.com> wrote:
> > I wanted execute svn diff recursively but found could not generate
> > one. But now I found if i run svn diff from the svn root directory it
> > handles all changes recursively.
> >
> > On Aug 9, 12:24 pm, Christian Hammond <chip...@chipx86.com> wrote:
> >
> >
> >
> > > I'm not sure what you mean exactly. Is it not generating a diff with
> all
> > > files recursively, or is there some reason why doing it recursively
> isn't
> > > good enough?...
> >
> > > read more »
> >
> > > Are you using the post-review tool?
> >
> > > Christian
> >
> > > --
> > > Christian Hammond - chip...@chipx86.com
> > > Review Board -http://www.reviewboard.org
> > > VMware, Inc. -http://www.vmware.com
> >
> > > On Mon, Aug 9, 2010 at 12:21 AM, Chetan <chetan....@gmail.com> wrote:
> > > > I got reviewboard working for subversion including https.
> > > > In svn diff we cannot generate recursive diff coz of which we may
> have
> > > > to generate folder specific diffs. Is there a way around this?
> >
> > > > Thanks for the support.
> >
> > > > On Aug 5, 11:55 am, Christian Hammond <chip...@chipx86.com> wrote:
> > > > > As long as you have the $sitedir/data directory writable by the web
> > > > server's
> > > > > user, you should be able to get https working. If you already had
> the
> > > > > repository entry in there from RB 1.0.x, go back to that repository
> and
> > > > save
> > > > > it again. It should attempt to verify the certificate and then ask
> you
> > > > for
> > > > > confirmation. If that data directory is writable, it will store it
> there
> > > > and
> > > > > it should just work from then on....
> >
> > > > > read more »
> >
> > > > > Christian
> >
> > > > > --
> > > > > Christian Hammond - chip...@chipx86.com
> > > > > Review Board -http://www.reviewboard.org
> > > > > VMware, Inc. -http://www.vmware.com
> >
> > > > > On Wed, Aug 4, 2010 at 10:28 PM, Chetan <chetan....@gmail.com>
> wrote:
> > > > > > Thank a ton.
> > > > > > Review board with svn is working for me. svn project is using
> just
> > > > > > local protocol authentication like svn://prj and not on https. I
> still
> > > > > > get errors for https projects.
> >
> > > > > > What are the steps to configure reviewboard to use with https
> > > > > > configured svn projects?
> > > > > > Once i have completed svn configiration will start to work on
> > > > > > clearcase issue.
> >
> > > > > > You asked me to enable logging to debug clearcase issue, wer shud
> i
> > > > > > enable it. Is it the same one under reviewboard-> settinges->
> logging -
> > > > > > > enable logging option?
> >
> > > > > > On Aug 4, 9:33 am, Christian Hammond <chip...@chipx86.com>
> wrote:
> > > > > > > You'll need to use svn diff. TortoiseSVN's diffs aren't
> > > > compatible....
> >
> > > > > > > read more »
> >
> > > > > > > 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/- 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

Reply via email to