Re: Uploading Diff for ClearCase files using the GUI

2012-06-07 Thread Christian Hammond
You probably should in general get a newer version of Python, but that's
probably not the issue here.

I think you're missing the last parts of the traceback. I'll need all of it.

Christian

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


On Thu, Jun 7, 2012 at 1:35 PM, Sanjay Lal  wrote:

> BTW the python version is - Python 2.4.3
>
> in am new to python, so sorry in case my above question is a dumb
> question.
> Any help to move forward will be really appreciated.
>
> thanks
>
>
>
> On Jun 7, 4:06 pm, Sanjay Lal  wrote:
> > Thanks. I have installed RBTools now and trying following command, but
> > getting some errors. Wondering if I am doing anythign wrong -
> >
> > [root@burhs40001v mvfs_src]# post-review --revision-range="/view/
> > anujdas_oc4.6_patchset_view/vobs/tms/label_exclusions.txt@@/main/3@@/
> > view/anujdas_oc4.6_patchset_view/vobs/tms/label_exclusions.txt@@/main/
> > 2"
> > Traceback (most recent call last):
> >   File "/usr/bin/post-review", line 7, in ?
> > sys.exit(
> >   File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
> > pkg_resources.py", line 318, in load_entry_point
> > return get_distribution(dist).load_entry_point(group, name)
> >   File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
> > pkg_resources.py", line 2221, in load_entry_point
> > return ep.load()
> >   File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
> > pkg_resources.py", line 1954, in load
> > entry = __import__(self.module_name, globals(),globals(),
> > ['__name__'])
> >   File "/usr/lib/python2.4/site-packages/RBTools-0.4.1-py2.4.egg/
> > rbtools/postreview.py", line 27, in ?
> >   File "/usr/lib/python2.4/site-packages/simplejson-2.5.2-py2.4-linux-
> > x86_64.egg/simplejson/__init__.py", line 112, in ?
> > from encoder import JSONEncoder
> >   File "/usr/lib/python2.4/site-packages/simplejson-2.5.2-py2.4-linux-
> > x86_64.egg/simplejson/encoder.py", line 400
> > if (not _bigint_as_string or
> >  ^
> >
> > On Jun 7, 3:55 pm, Christian Hammond  wrote:
> >
> >
> >
> >
> >
> >
> >
> > > I recommend you use our post-review tool, which should ensure a
> properly
> > > formatted diff that Review Board can use.
> >
> > > You'll currently need a Python installation for this. Seehttp://
> www.reviewboard.org/docs/manual/dev/users/tools/post-review/
> >
> > > Christian
> >
> > > --
> > > Christian Hammond - chip...@chipx86.com
> > > Review Board -http://www.reviewboard.org
> > > VMware, Inc. -http://www.vmware.com
> >
> > > On Thu, Jun 7, 2012 at 12:17 PM, Sanjay Lal 
> wrote:
> > > > Hi,
> > > > I am using ClearCase as repository (we are on review Board 1.6). I am
> > > > on th e"new Review" screen and trying to upload the diff file. But I
> > > > am getting error
> >
> > > >The selected file does not appear to be a diff.
> >
> > > > here are the values i have entered on th eGUI -
> >
> > > > Repository:  The clearcase setup
> is
> > > > OK and
> > > > Review Board is abel to access clearcase files.
> > > > Base Directory: /view/anujdas_oc4.6_patchset_view/vobs/tms
> > > > Diff:  Diff1.txt  > > > using cleartool diff command and redirected the output to Diff1.txt
> > > > file.>
> >
> > > > I am sure I might be doing somethign wrong here.
> > > > Could you please let me know what is expected in the "Diff:" box .
> > > > I am using review board GUI.
> >
> > > > Thanks in advamce for your help!
> > > > sanjay
> >
> > > > --
> > > > Want to help the Review Board project? Donate today at
> > > >http://www.reviewboard.org/donate/
> > > > Happy user? Let us know athttp://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
>
> --
> 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
>

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

Re: Uploading Diff for ClearCase files using the GUI

2012-06-07 Thread Sanjay Lal
BTW the python version is - Python 2.4.3

in am new to python, so sorry in case my above question is a dumb
question.
Any help to move forward will be really appreciated.

thanks



On Jun 7, 4:06 pm, Sanjay Lal  wrote:
> Thanks. I have installed RBTools now and trying following command, but
> getting some errors. Wondering if I am doing anythign wrong -
>
> [root@burhs40001v mvfs_src]# post-review --revision-range="/view/
> anujdas_oc4.6_patchset_view/vobs/tms/label_exclusions.txt@@/main/3@@/
> view/anujdas_oc4.6_patchset_view/vobs/tms/label_exclusions.txt@@/main/
> 2"
> Traceback (most recent call last):
>   File "/usr/bin/post-review", line 7, in ?
>     sys.exit(
>   File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
> pkg_resources.py", line 318, in load_entry_point
>     return get_distribution(dist).load_entry_point(group, name)
>   File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
> pkg_resources.py", line 2221, in load_entry_point
>     return ep.load()
>   File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
> pkg_resources.py", line 1954, in load
>     entry = __import__(self.module_name, globals(),globals(),
> ['__name__'])
>   File "/usr/lib/python2.4/site-packages/RBTools-0.4.1-py2.4.egg/
> rbtools/postreview.py", line 27, in ?
>   File "/usr/lib/python2.4/site-packages/simplejson-2.5.2-py2.4-linux-
> x86_64.egg/simplejson/__init__.py", line 112, in ?
>     from encoder import JSONEncoder
>   File "/usr/lib/python2.4/site-packages/simplejson-2.5.2-py2.4-linux-
> x86_64.egg/simplejson/encoder.py", line 400
>     if (not _bigint_as_string or
>      ^
>
> On Jun 7, 3:55 pm, Christian Hammond  wrote:
>
>
>
>
>
>
>
> > I recommend you use our post-review tool, which should ensure a properly
> > formatted diff that Review Board can use.
>
> > You'll currently need a Python installation for this. 
> > Seehttp://www.reviewboard.org/docs/manual/dev/users/tools/post-review/
>
> > Christian
>
> > --
> > Christian Hammond - chip...@chipx86.com
> > Review Board -http://www.reviewboard.org
> > VMware, Inc. -http://www.vmware.com
>
> > On Thu, Jun 7, 2012 at 12:17 PM, Sanjay Lal  wrote:
> > > Hi,
> > > I am using ClearCase as repository (we are on review Board 1.6). I am
> > > on th e"new Review" screen and trying to upload the diff file. But I
> > > am getting error
>
> > >    The selected file does not appear to be a diff.
>
> > > here are the values i have entered on th eGUI -
>
> > > Repository:  The clearcase setup is
> > > OK and
> > > Review Board is abel to access clearcase files.
> > > Base Directory: /view/anujdas_oc4.6_patchset_view/vobs/tms
> > > Diff:  Diff1.txt  > > using cleartool diff command and redirected the output to Diff1.txt
> > > file.>
>
> > > I am sure I might be doing somethign wrong here.
> > > Could you please let me know what is expected in the "Diff:" box .
> > > I am using review board GUI.
>
> > > Thanks in advamce for your help!
> > > sanjay
>
> > > --
> > > Want to help the Review Board project? Donate today at
> > >http://www.reviewboard.org/donate/
> > > Happy user? Let us know athttp://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

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


Re: Uploading Diff for ClearCase files using the GUI

2012-06-07 Thread Sanjay Lal
Thanks. I have installed RBTools now and trying following command, but
getting some errors. Wondering if I am doing anythign wrong -

[root@burhs40001v mvfs_src]# post-review --revision-range="/view/
anujdas_oc4.6_patchset_view/vobs/tms/label_exclusions.txt@@/main/3@@/
view/anujdas_oc4.6_patchset_view/vobs/tms/label_exclusions.txt@@/main/
2"
Traceback (most recent call last):
  File "/usr/bin/post-review", line 7, in ?
sys.exit(
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
pkg_resources.py", line 318, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
pkg_resources.py", line 2221, in load_entry_point
return ep.load()
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
pkg_resources.py", line 1954, in load
entry = __import__(self.module_name, globals(),globals(),
['__name__'])
  File "/usr/lib/python2.4/site-packages/RBTools-0.4.1-py2.4.egg/
rbtools/postreview.py", line 27, in ?
  File "/usr/lib/python2.4/site-packages/simplejson-2.5.2-py2.4-linux-
x86_64.egg/simplejson/__init__.py", line 112, in ?
from encoder import JSONEncoder
  File "/usr/lib/python2.4/site-packages/simplejson-2.5.2-py2.4-linux-
x86_64.egg/simplejson/encoder.py", line 400
if (not _bigint_as_string or
 ^





On Jun 7, 3:55 pm, Christian Hammond  wrote:
> I recommend you use our post-review tool, which should ensure a properly
> formatted diff that Review Board can use.
>
> You'll currently need a Python installation for this. 
> Seehttp://www.reviewboard.org/docs/manual/dev/users/tools/post-review/
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
>
>
>
>
>
>
> On Thu, Jun 7, 2012 at 12:17 PM, Sanjay Lal  wrote:
> > Hi,
> > I am using ClearCase as repository (we are on review Board 1.6). I am
> > on th e"new Review" screen and trying to upload the diff file. But I
> > am getting error
>
> >    The selected file does not appear to be a diff.
>
> > here are the values i have entered on th eGUI -
>
> > Repository:  The clearcase setup is
> > OK and
> > Review Board is abel to access clearcase files.
> > Base Directory: /view/anujdas_oc4.6_patchset_view/vobs/tms
> > Diff:  Diff1.txt  > using cleartool diff command and redirected the output to Diff1.txt
> > file.>
>
> > I am sure I might be doing somethign wrong here.
> > Could you please let me know what is expected in the "Diff:" box .
> > I am using review board GUI.
>
> > Thanks in advamce for your help!
> > sanjay
>
> > --
> > Want to help the Review Board project? Donate today at
> >http://www.reviewboard.org/donate/
> > Happy user? Let us know athttp://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

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


Re: Uploading Diff for ClearCase files using the GUI

2012-06-07 Thread Christian Hammond
I recommend you use our post-review tool, which should ensure a properly
formatted diff that Review Board can use.

You'll currently need a Python installation for this. See
http://www.reviewboard.org/docs/manual/dev/users/tools/post-review/

Christian

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


On Thu, Jun 7, 2012 at 12:17 PM, Sanjay Lal  wrote:

> Hi,
> I am using ClearCase as repository (we are on review Board 1.6). I am
> on th e"new Review" screen and trying to upload the diff file. But I
> am getting error
>
>The selected file does not appear to be a diff.
>
>
> here are the values i have entered on th eGUI -
>
> Repository:  The clearcase setup is
> OK and
> Review Board is abel to access clearcase files.
> Base Directory: /view/anujdas_oc4.6_patchset_view/vobs/tms
> Diff:  Diff1.txt  using cleartool diff command and redirected the output to Diff1.txt
> file.>
>
> I am sure I might be doing somethign wrong here.
> Could you please let me know what is expected in the "Diff:" box .
> I am using review board GUI.
>
> Thanks in advamce for your help!
> sanjay
>
> --
> 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

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

Uploading Diff for ClearCase files using the GUI

2012-06-07 Thread Sanjay Lal
Hi,
I am using ClearCase as repository (we are on review Board 1.6). I am
on th e"new Review" screen and trying to upload the diff file. But I
am getting error

The selected file does not appear to be a diff.


here are the values i have entered on th eGUI -

Repository:  The clearcase setup is
OK and
Review Board is abel to access clearcase files.
Base Directory: /view/anujdas_oc4.6_patchset_view/vobs/tms
Diff:  Diff1.txt 

I am sure I might be doing somethign wrong here.
Could you please let me know what is expected in the "Diff:" box .
I am using review board GUI.

Thanks in advamce for your help!
sanjay

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