Re: postreview.py
Thanks. On Sep 19, 11:42 pm, Christian Hammond wrote: > Hi Jack, > > 1.6.1 is the latest stable. From our own tests, you should be able to > upgrade, but it's possible you will hit issues. > > First, you will want to fully back up the database. > > Then you will want to rename your current site directory and make a new one > in its place using rb-site. This is needed in order to get some of the new > configuration. > > You should be ableto specify your existing database there. > > Review Board does not generate or store MD5 hashes of diffs. Assuming you > want this passed to Review Board and stored, this to RB and post-review will > be a bit complicated. You'll need to modify webapi code, upload forms code, > database models, database evolution files, and post-review. It'll be hard to > stay in sync. You'll need to perform your own builds and merges. > > Christian > > > > > > > > > > On Monday, September 19, 2011, jack jack wrote: > > Hi, > > > my company using your RB since long time and they are very happy using > > the same. Presently we are using 1.0 RB server which i guess is > > absolute. But we are planning to upgrade stable release version of RB > > server, I guess 1.5.5. Please correct me if i am wrong or suggest if > > there is any other stable release. Are there any risk to upgrade of RB > > server to new version from RB 1.0 if yes then please let us know. > > > There is requirement from our management that to perform md5 checksum > > of the diff file and perform some validation check, hence we wanted to > > know do we perform md5 sum of diff generated by postreview tools, if > > no can you provide us pointer where we can add these check. As i am > > new to python and new to this tool any help on this would appreciated. > > > Thanks again. > > > Jack. > > > -- > > 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 > > -- > -- > Christian Hammond - chip...@chipx86.com > Review Board -http://www.reviewboard.org > VMware, Inc. -http://www.vmware.com -- 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: postreview.py
Thanks Christian, for the information that makes me feel good. Regards, Nilesh J On Tue, Sep 20, 2011 at 12:12 AM, Christian Hammond wrote: > Hi Jack, > > 1.6.1 is the latest stable. From our own tests, you should be able to > upgrade, but it's possible you will hit issues. > > First, you will want to fully back up the database. > > Then you will want to rename your current site directory and make a new one > in its place using rb-site. This is needed in order to get some of the new > configuration. > > You should be ableto specify your existing database there. > > Review Board does not generate or store MD5 hashes of diffs. Assuming you > want this passed to Review Board and stored, this to RB and post-review will > be a bit complicated. You'll need to modify webapi code, upload forms code, > database models, database evolution files, and post-review. It'll be hard to > stay in sync. You'll need to perform your own builds and merges. > > Christian > > > > On Monday, September 19, 2011, jack jack wrote: > > Hi, > > > > my company using your RB since long time and they are very happy using > > the same. Presently we are using 1.0 RB server which i guess is > > absolute. But we are planning to upgrade stable release version of RB > > server, I guess 1.5.5. Please correct me if i am wrong or suggest if > > there is any other stable release. Are there any risk to upgrade of RB > > server to new version from RB 1.0 if yes then please let us know. > > > > > > There is requirement from our management that to perform md5 checksum > > of the diff file and perform some validation check, hence we wanted to > > know do we perform md5 sum of diff generated by postreview tools, if > > no can you provide us pointer where we can add these check. As i am > > new to python and new to this tool any help on this would appreciated. > > > > Thanks again. > > > > Jack. > > > > -- > > 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 > > -- > -- > Christian Hammond - chip...@chipx86.com > Review Board - http://www.reviewboard.org > VMware, Inc. - http://www.vmware.com > > -- > 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: KeyError: 'site' when attempting evolution 1.5.0 > 1.6.1
Ugh, I wrote you an e-mail about this (on my iPhone) when I saw the post, but I just realized it never sent. I have a draft saying to use syncdb :( Glad you figured it out though. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Sep 19, 2011 at 3:43 PM, Josh wrote: > Turns out if you read the directions life is a lot easier. I was missing > the 'syncdb' step of successfully using Django Evolution. Crisis averted, > yay... > I'm glad no one else had to spend time helping me discover this. ;) > > > On Fri, Sep 16, 2011 at 5:14 PM, stemcel wrote: > >> Hey reviewboard@, >> >> When I try 'reviewboard/manage.py evolve --sql' I get the following >> error output: >> >> -- Evolve application sessions >> CREATE INDEX `django_session_3da3d3d8` ON `django_session` >> (`expire_date`); >> -- Evolve application accounts >> ALTER TABLE `accounts_profile` ADD COLUMN `is_private` bool DEFAULT >> False; >> ALTER TABLE `accounts_profile` ALTER COLUMN `is_private` DROP DEFAULT; >> ALTER TABLE `accounts_profile` MODIFY COLUMN `is_private` bool NOT >> NULL; >> -- Evolve application changedescs >> >>ALTER TABLE changedescs_changedescription >> MODIFY fields_changed LONGTEXT; >> >> Traceback (most recent call last): >> File "./manage.py", line 154, in >>execute_manager(settings) >> File "django/core/management/__init__.py", line 438, in >> execute_manager >>utility.execute() >> File "django/core/management/__init__.py", line 379, in execute >>self.fetch_command(subcommand).run_from_argv(self.argv) >> File "django/core/management/base.py", line 191, in run_from_argv >>self.execute(*args, **options.__dict__) >> File "django/core/management/base.py", line 220, in execute >>output = self.handle(*args, **options) >> File "django_evolution/management/commands/evolve.py", line 60, in >> handle >>self.evolve(*app_labels, **options) >> File "django_evolution/management/commands/evolve.py", line 140, in >> evolve >>database)) >> File "django_evolution/mutations.py", line 418, in mutate >>return self.add_column(app_label, proj_sig, database) >> File "django_evolution/mutations.py", line 426, in add_column >>self.field_attrs, model) >> File "django_evolution/mutations.py", line 33, in create_field >>related_model_sig = proj_sig[related_app_name][related_model_name] >> KeyError: 'site' >> >> The output of 'evolve --hint' is here: https://pastee.org/9gy2f >> My database schema dump is here: https://pastee.org/msrkq >> mysql> select * from django_evolution; here: https://pastee.org/urstg >> dumpdata --indent=2 django_evolution: https://pastee.org/szzg4 >> >> I'm using DjangoEvolution 0.6.5 (r212) and Djblets 0.6.11. I've even >> gone as far as running the evolution under a debugger to try to figure >> out what the heck is going on, but I haven't had much luck with that >> so far. >> >> Can anyone please help? I've spent a great deal of time on this >> already and will continue working until I finish it, but I'm hoping >> someone on the list can contribute some insight into all this. I've >> already searched this list and the internet at large for similar >> issues, and have attached as much information as I can. Any hints >> would be appreciated! >> >> -josh > > > -- > 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: KeyError: 'site' when attempting evolution 1.5.0 > 1.6.1
Turns out if you read the directions life is a lot easier. I was missing the 'syncdb' step of successfully using Django Evolution. Crisis averted, yay... I'm glad no one else had to spend time helping me discover this. ;) On Fri, Sep 16, 2011 at 5:14 PM, stemcel wrote: > Hey reviewboard@, > > When I try 'reviewboard/manage.py evolve --sql' I get the following > error output: > > -- Evolve application sessions > CREATE INDEX `django_session_3da3d3d8` ON `django_session` > (`expire_date`); > -- Evolve application accounts > ALTER TABLE `accounts_profile` ADD COLUMN `is_private` bool DEFAULT > False; > ALTER TABLE `accounts_profile` ALTER COLUMN `is_private` DROP DEFAULT; > ALTER TABLE `accounts_profile` MODIFY COLUMN `is_private` bool NOT > NULL; > -- Evolve application changedescs > >ALTER TABLE changedescs_changedescription > MODIFY fields_changed LONGTEXT; > > Traceback (most recent call last): > File "./manage.py", line 154, in >execute_manager(settings) > File "django/core/management/__init__.py", line 438, in > execute_manager >utility.execute() > File "django/core/management/__init__.py", line 379, in execute >self.fetch_command(subcommand).run_from_argv(self.argv) > File "django/core/management/base.py", line 191, in run_from_argv >self.execute(*args, **options.__dict__) > File "django/core/management/base.py", line 220, in execute >output = self.handle(*args, **options) > File "django_evolution/management/commands/evolve.py", line 60, in > handle >self.evolve(*app_labels, **options) > File "django_evolution/management/commands/evolve.py", line 140, in > evolve >database)) > File "django_evolution/mutations.py", line 418, in mutate >return self.add_column(app_label, proj_sig, database) > File "django_evolution/mutations.py", line 426, in add_column >self.field_attrs, model) > File "django_evolution/mutations.py", line 33, in create_field >related_model_sig = proj_sig[related_app_name][related_model_name] > KeyError: 'site' > > The output of 'evolve --hint' is here: https://pastee.org/9gy2f > My database schema dump is here: https://pastee.org/msrkq > mysql> select * from django_evolution; here: https://pastee.org/urstg > dumpdata --indent=2 django_evolution: https://pastee.org/szzg4 > > I'm using DjangoEvolution 0.6.5 (r212) and Djblets 0.6.11. I've even > gone as far as running the evolution under a debugger to try to figure > out what the heck is going on, but I haven't had much luck with that > so far. > > Can anyone please help? I've spent a great deal of time on this > already and will continue working until I finish it, but I'm hoping > someone on the list can contribute some insight into all this. I've > already searched this list and the internet at large for similar > issues, and have attached as much information as I can. Any hints > would be appreciated! > > -josh -- 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: postreview.py
Hi Jack, 1.6.1 is the latest stable. From our own tests, you should be able to upgrade, but it's possible you will hit issues. First, you will want to fully back up the database. Then you will want to rename your current site directory and make a new one in its place using rb-site. This is needed in order to get some of the new configuration. You should be ableto specify your existing database there. Review Board does not generate or store MD5 hashes of diffs. Assuming you want this passed to Review Board and stored, this to RB and post-review will be a bit complicated. You'll need to modify webapi code, upload forms code, database models, database evolution files, and post-review. It'll be hard to stay in sync. You'll need to perform your own builds and merges. Christian On Monday, September 19, 2011, jack jack wrote: > Hi, > > my company using your RB since long time and they are very happy using > the same. Presently we are using 1.0 RB server which i guess is > absolute. But we are planning to upgrade stable release version of RB > server, I guess 1.5.5. Please correct me if i am wrong or suggest if > there is any other stable release. Are there any risk to upgrade of RB > server to new version from RB 1.0 if yes then please let us know. > > > There is requirement from our management that to perform md5 checksum > of the diff file and perform some validation check, hence we wanted to > know do we perform md5 sum of diff generated by postreview tools, if > no can you provide us pointer where we can add these check. As i am > new to python and new to this tool any help on this would appreciated. > > Thanks again. > > Jack. > > -- > 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 -- -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com -- 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: Can't create review request using svn: svn diff returned 2
Hi, This is an error with your SVN repository. Review Board isn't involved at this stage. Are you otherwise able to use svn from there? Perhaps you're behind a proxy and there's no exception set for your SVN server? Christian On Monday, September 19, 2011, lvboque wrote: > Hello, > > Using this command: > > trunk$ post-review --debug --server=http://10.100.47.2:8080/ > reviewboard --summary="Review of xyz modification" -p --target- > people=lvboque --revision-range=24592 > > I got this error: > > "svn: 'diff' returned 2\n", 'svn: Error reading spooled REPORT request > response\n'] > > I am using the following version of software > > RB 1.6.1 > OS: Ubuntu 10.10 > diffutils 2.9.19-4065 April 2010 > DIFF(1) > svn, version 1.6.12 (r955767) > compiled Jun 5 2011, 15:03:51 > using the following command: > RBTools 0.3.3 Home = /home/dev svn info diff --version repository info: Path: http://xxx.yyy.com/repos/tc, Base path: /my_svn/trunk, Supports changesets: False HTTP GETting api/ HTTP GETting http://10.100.47.2:8080/reviewboard/api/info/ Using the new web API svn diff --diff-cmd=diff -r 24592 > > > Is there workaround? or solution for this problem? > > It is really blocking ;-( > > -- > 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 -- -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com -- 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: Error Installing ReviewBoard 1.6 on Redhat Linux 5.5
Hi Sanjay, It's possible that tummy.com was down. That's not our site so we don't have any control over it. I can connect to it here. What happens when you connect through a web browser? Christian On Monday, September 19, 2011, Sanjay Lal wrote: > Hi, > I am trying to install ReviewBoard 1.6 on Redhat Linux 5.5. I am > getting following error.. Any ideas/thoughts - > > [root ReviewBoard-1.6]# easy_install ReviewBoard > Searching for ReviewBoard > Best match: ReviewBoard 1.6 > Processing ReviewBoard-1.6-py2.4.egg > ReviewBoard 1.6 is already the active version in easy-install.pth > Installing rb-site script to /usr/bin > Installing rbssh script to /usr/bin > > Using /usr/lib/python2.4/site-packages/ReviewBoard-1.6-py2.4.egg > Processing dependencies for ReviewBoard > Searching for python-memcached > Reading http://downloads.reviewboard.org/mirror/ > Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.6/ > Reading http://pypi.python.org/simple/python-memcached/ > Reading http://www.tummy.com/Community/software/python-memcached/ > Reading ftp://ftp.tummy.com/pub/python-memcached/ > error: HTTP/1.1 408 Request Timeout > > I have defined the variables - >http_proxy=www-proxy.us.oracle.com:80 >ftp_proxy=www-proxy.us.oracle.com:80 >secure_proxy=www-proxy.us.oracle.com:80 > Do I need to do any other settings? > > By any chance is the server www.tummy.com down? When I ping www.tummy.com > from my Windows desktop, I get " Request Time out"- >C:\>ping www.tummy.com >Pinging www.tummy.com [198.49.126.248] with 32 bytes of data: > >Reply from 10.149.120.2: Destination host unreachable. >Request timed out. >Request timed out. >Reply from 10.149.120.2: Destination host unreachable. > >Ping statistics for 198.49.126.248: >Packets: Sent = 4, Received = 2, Lost = 2 (50% loss), >Approximate round trip times in milli-seconds: >Minimum = 0ms, Maximum = 0ms, Average = 0ms > > > > Here are more details - > uname -a : >Linux 2.6.18-194.26.1.0.1.el5xen #1 SMP Tue Nov 9 > 19:05:00 EST 2010 x86_64 x86_64 x86_64 GNU/Linux > > cat /etc/redhat-release >Red Hat Enterprise Linux Server release 5.5 (Tikanga) > > > /etc/yum.conf : > >[main] >cachedir=/var/cache/yum >keepcache=0 >debuglevel=2 >logfile=/var/log/yum.log >distroverpkg=redhat-release >tolerant=1 >exactarch=1 >obsoletes=1 >gpgcheck=1 >plugins=1 > ># Note: yum-RHN-plugin doesn't honor this. >metadata_expire=1h > ># Default. ># installonly_limit = 3 > ># PUT YOUR REPOS HERE OR IN separate files named file.repo ># in /etc/yum.repos.d >[download_base] >name=Fedora Core $releasever - $basearch - ATrpms >baseurl=http://cheeseshop.python.org/pypi/ReviewBoard/ >gpgcheck=1 > > > files in /etc/yum.repos.d: >mirrors-rpmforge rpmforge.repo ULN-Base.repo ULN-Base.repo.uln- > int > > Thanks in advance for your time, > 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 -- -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com -- 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: Review requests from self
Ah, that last point makes a lot of sense. Thanks! -Paul -- 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: Template error that I have not seen before
Ughwe ran out of space on the data partition. That was all it was. Sorry for the distraction. Hope this helps someone else. Chris On Sep 19, 9:03 am, XRZ1138 wrote: > Hey, > > I am seeing an error in my browser pointed at my RB instance. > > I am just starting to dig into this, but it is not something that I > have > seen before, and I thought to check with the group, to make sure that > it is not something common. > > The beginning of the dump (what I am seeing on my browser screen): > > TemplateSyntaxError at /reviews/ > Caught OperationalError while rendering: (1040, 'Too many > connections') > Request Method: GET > Request URL: http://foomanager.labs.company.com/reviews/ > > Django Version: 1.2.3 > Exception Type: TemplateSyntaxError > Exception Value: Caught OperationalError while rendering: (1040, 'Too > many connections') > Exception Location: /var/lib/python-support/python2.6/MySQLdb/ > connections.py in __init__, line 170 > Python Executable: /usr/bin/python > Python Version: 2.6.2 > Python Path: ['/data2/ReviewBoard/conf', '/usr/local/lib/python2.6/ > dist-packages/pytz-2009l-py2.6.egg', '/usr/local/lib/python2.6/dist- > packages/flup-1.0.3.dev_20090716-py2.6.egg', '/usr/local/lib/python2.6/ > dist-packages/cmemcache-0.95-py2.6-linux-x86_64.egg', '/usr/local/lib/ > python2.6/dist-packages/RBTools-0.2beta1-py2.6.egg', '/usr/local/lib/ > python2.6/dist-packages/simplejson-2.0.9-py2.6-linux-x86_64.egg', '/ > usr/local/lib/python2.6/dist-packages/recaptcha_client-1.0.5- > py2.6.egg', '/usr/local/lib/python2.6/dist-packages/ > python_dateutil-1.5-py2.6.egg', '/usr/local/lib/python2.6/dist- > packages/paramiko-1.7.6-py2.6.egg', '/usr/local/lib/python2.6/dist- > packages/Pygments-1.3.1-py2.6.egg', '/usr/local/lib/python2.6/dist- > packages/Django-1.2.3-py2.6.egg', '/usr/local/lib/python2.6/dist- > packages/pycrypto-2.3-py2.6-linux-x86_64.egg', '/usr/local/lib/ > python2.6/dist-packages/ReviewBoard-1.5.5-py2.6.egg', '/usr/local/lib/ > python2.6/dist-packages/Djblets-0.6.7-py2.6.egg', '/usr/local/lib/ > python2.6/dist-packages/django_evolution-0.6.3-py2.6.egg', '/usr/lib/ > python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib- > tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/ > usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/ > PIL', '/usr/lib/python2.6/dist-packages/gst-0.10', '/var/lib/python- > support/python2.6', '/usr/lib/python2.6/dist-packages/gtk-2.0', '/var/ > lib/python-support/python2.6/gtk-2.0', '/usr/local/lib/python2.6/dist- > packages'] > Server time: Mon, 19 Sep 2011 08:48:25 -0700 > > > Any pointers will be much appreciated. I will share the fix, if/when > I find it. > > Take care, > > Christopher -- 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: Template error that I have not seen before
I can add that this problem appears to be related to the underlying mysql instance. I found it gummed up to the point that it would not shot down. Chris On Sep 19, 9:03 am, XRZ1138 wrote: > Hey, > > I am seeing an error in my browser pointed at my RB instance. > > I am just starting to dig into this, but it is not something that I > have > seen before, and I thought to check with the group, to make sure that > it is not something common. > > The beginning of the dump (what I am seeing on my browser screen): > > TemplateSyntaxError at /reviews/ > Caught OperationalError while rendering: (1040, 'Too many > connections') > Request Method: GET > Request URL: http://foomanager.labs.company.com/reviews/ > > Django Version: 1.2.3 > Exception Type: TemplateSyntaxError > Exception Value: Caught OperationalError while rendering: (1040, 'Too > many connections') > Exception Location: /var/lib/python-support/python2.6/MySQLdb/ > connections.py in __init__, line 170 > Python Executable: /usr/bin/python > Python Version: 2.6.2 > Python Path: ['/data2/ReviewBoard/conf', '/usr/local/lib/python2.6/ > dist-packages/pytz-2009l-py2.6.egg', '/usr/local/lib/python2.6/dist- > packages/flup-1.0.3.dev_20090716-py2.6.egg', '/usr/local/lib/python2.6/ > dist-packages/cmemcache-0.95-py2.6-linux-x86_64.egg', '/usr/local/lib/ > python2.6/dist-packages/RBTools-0.2beta1-py2.6.egg', '/usr/local/lib/ > python2.6/dist-packages/simplejson-2.0.9-py2.6-linux-x86_64.egg', '/ > usr/local/lib/python2.6/dist-packages/recaptcha_client-1.0.5- > py2.6.egg', '/usr/local/lib/python2.6/dist-packages/ > python_dateutil-1.5-py2.6.egg', '/usr/local/lib/python2.6/dist- > packages/paramiko-1.7.6-py2.6.egg', '/usr/local/lib/python2.6/dist- > packages/Pygments-1.3.1-py2.6.egg', '/usr/local/lib/python2.6/dist- > packages/Django-1.2.3-py2.6.egg', '/usr/local/lib/python2.6/dist- > packages/pycrypto-2.3-py2.6-linux-x86_64.egg', '/usr/local/lib/ > python2.6/dist-packages/ReviewBoard-1.5.5-py2.6.egg', '/usr/local/lib/ > python2.6/dist-packages/Djblets-0.6.7-py2.6.egg', '/usr/local/lib/ > python2.6/dist-packages/django_evolution-0.6.3-py2.6.egg', '/usr/lib/ > python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib- > tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/ > usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/ > PIL', '/usr/lib/python2.6/dist-packages/gst-0.10', '/var/lib/python- > support/python2.6', '/usr/lib/python2.6/dist-packages/gtk-2.0', '/var/ > lib/python-support/python2.6/gtk-2.0', '/usr/local/lib/python2.6/dist- > packages'] > Server time: Mon, 19 Sep 2011 08:48:25 -0700 > > > Any pointers will be much appreciated. I will share the fix, if/when > I find it. > > Take care, > > Christopher -- 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
Template error that I have not seen before
Hey, I am seeing an error in my browser pointed at my RB instance. I am just starting to dig into this, but it is not something that I have seen before, and I thought to check with the group, to make sure that it is not something common. The beginning of the dump (what I am seeing on my browser screen): TemplateSyntaxError at /reviews/ Caught OperationalError while rendering: (1040, 'Too many connections') Request Method: GET Request URL:http://foomanager.labs.company.com/reviews/ Django Version: 1.2.3 Exception Type: TemplateSyntaxError Exception Value:Caught OperationalError while rendering: (1040, 'Too many connections') Exception Location: /var/lib/python-support/python2.6/MySQLdb/ connections.py in __init__, line 170 Python Executable: /usr/bin/python Python Version: 2.6.2 Python Path:['/data2/ReviewBoard/conf', '/usr/local/lib/python2.6/ dist-packages/pytz-2009l-py2.6.egg', '/usr/local/lib/python2.6/dist- packages/flup-1.0.3.dev_20090716-py2.6.egg', '/usr/local/lib/python2.6/ dist-packages/cmemcache-0.95-py2.6-linux-x86_64.egg', '/usr/local/lib/ python2.6/dist-packages/RBTools-0.2beta1-py2.6.egg', '/usr/local/lib/ python2.6/dist-packages/simplejson-2.0.9-py2.6-linux-x86_64.egg', '/ usr/local/lib/python2.6/dist-packages/recaptcha_client-1.0.5- py2.6.egg', '/usr/local/lib/python2.6/dist-packages/ python_dateutil-1.5-py2.6.egg', '/usr/local/lib/python2.6/dist- packages/paramiko-1.7.6-py2.6.egg', '/usr/local/lib/python2.6/dist- packages/Pygments-1.3.1-py2.6.egg', '/usr/local/lib/python2.6/dist- packages/Django-1.2.3-py2.6.egg', '/usr/local/lib/python2.6/dist- packages/pycrypto-2.3-py2.6-linux-x86_64.egg', '/usr/local/lib/ python2.6/dist-packages/ReviewBoard-1.5.5-py2.6.egg', '/usr/local/lib/ python2.6/dist-packages/Djblets-0.6.7-py2.6.egg', '/usr/local/lib/ python2.6/dist-packages/django_evolution-0.6.3-py2.6.egg', '/usr/lib/ python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib- tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/ usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/ PIL', '/usr/lib/python2.6/dist-packages/gst-0.10', '/var/lib/python- support/python2.6', '/usr/lib/python2.6/dist-packages/gtk-2.0', '/var/ lib/python-support/python2.6/gtk-2.0', '/usr/local/lib/python2.6/dist- packages'] Server time:Mon, 19 Sep 2011 08:48:25 -0700 Any pointers will be much appreciated. I will share the fix, if/when I find it. Take care, Christopher -- 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
Error Installing ReviewBoard 1.6 on Redhat Linux 5.5
Hi, I am trying to install ReviewBoard 1.6 on Redhat Linux 5.5. I am getting following error.. Any ideas/thoughts - [root ReviewBoard-1.6]# easy_install ReviewBoard Searching for ReviewBoard Best match: ReviewBoard 1.6 Processing ReviewBoard-1.6-py2.4.egg ReviewBoard 1.6 is already the active version in easy-install.pth Installing rb-site script to /usr/bin Installing rbssh script to /usr/bin Using /usr/lib/python2.4/site-packages/ReviewBoard-1.6-py2.4.egg Processing dependencies for ReviewBoard Searching for python-memcached Reading http://downloads.reviewboard.org/mirror/ Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.6/ Reading http://pypi.python.org/simple/python-memcached/ Reading http://www.tummy.com/Community/software/python-memcached/ Reading ftp://ftp.tummy.com/pub/python-memcached/ error: HTTP/1.1 408 Request Timeout I have defined the variables - http_proxy=www-proxy.us.oracle.com:80 ftp_proxy=www-proxy.us.oracle.com:80 secure_proxy=www-proxy.us.oracle.com:80 Do I need to do any other settings? By any chance is the server www.tummy.com down? When I ping www.tummy.com from my Windows desktop, I get " Request Time out"- C:\>ping www.tummy.com Pinging www.tummy.com [198.49.126.248] with 32 bytes of data: Reply from 10.149.120.2: Destination host unreachable. Request timed out. Request timed out. Reply from 10.149.120.2: Destination host unreachable. Ping statistics for 198.49.126.248: Packets: Sent = 4, Received = 2, Lost = 2 (50% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms Here are more details - uname -a : Linux 2.6.18-194.26.1.0.1.el5xen #1 SMP Tue Nov 9 19:05:00 EST 2010 x86_64 x86_64 x86_64 GNU/Linux cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.5 (Tikanga) /etc/yum.conf : [main] cachedir=/var/cache/yum keepcache=0 debuglevel=2 logfile=/var/log/yum.log distroverpkg=redhat-release tolerant=1 exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 # Note: yum-RHN-plugin doesn't honor this. metadata_expire=1h # Default. # installonly_limit = 3 # PUT YOUR REPOS HERE OR IN separate files named file.repo # in /etc/yum.repos.d [download_base] name=Fedora Core $releasever - $basearch - ATrpms baseurl=http://cheeseshop.python.org/pypi/ReviewBoard/ gpgcheck=1 files in /etc/yum.repos.d: mirrors-rpmforge rpmforge.repo ULN-Base.repo ULN-Base.repo.uln- int Thanks in advance for your time, 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
postreview.py
Hi, my company using your RB since long time and they are very happy using the same. Presently we are using 1.0 RB server which i guess is absolute. But we are planning to upgrade stable release version of RB server, I guess 1.5.5. Please correct me if i am wrong or suggest if there is any other stable release. Are there any risk to upgrade of RB server to new version from RB 1.0 if yes then please let us know. There is requirement from our management that to perform md5 checksum of the diff file and perform some validation check, hence we wanted to know do we perform md5 sum of diff generated by postreview tools, if no can you provide us pointer where we can add these check. As i am new to python and new to this tool any help on this would appreciated. Thanks again. Jack. -- 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
Can't create review request using svn: svn diff returned 2
Hello, Using this command: trunk$ post-review --debug --server=http://10.100.47.2:8080/ reviewboard --summary="Review of xyz modification" -p --target- people=lvboque --revision-range=24592 I got this error: "svn: 'diff' returned 2\n", 'svn: Error reading spooled REPORT request response\n'] I am using the following version of software RB 1.6.1 OS: Ubuntu 10.10 diffutils 2.9.19-4065 April 2010 DIFF(1) svn, version 1.6.12 (r955767) compiled Jun 5 2011, 15:03:51 using the following command: >>> RBTools 0.3.3 >>> Home = /home/dev >>> svn info >>> diff --version >>> repository info: Path: http://xxx.yyy.com/repos/tc, Base path: >>> /my_svn/trunk, Supports changesets: False >>> HTTP GETting api/ >>> HTTP GETting http://10.100.47.2:8080/reviewboard/api/info/ >>> Using the new web API >>> svn diff --diff-cmd=diff -r 24592 Is there workaround? or solution for this problem? It is really blocking ;-( -- 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