Errors during creating review board site.

2010-10-04 Thread mrunal lohar
Hello all,

I am new to review board. Installing it first time. While creating rb-site,
i got following errors. Can anyone tell me how to resolve it ?

* Installing the site...
Building site directories ... OK
Building site configuration files ... OK
Creating database ... Traceback (most recent call last):
  File C:\Python25\Scripts\rb-site, line 5, in module
pkg_resources.run_script('ReviewBoard==1.0alpha2', 'rb-site')
  File C:\Python25\Lib\site-packages\pkg_resources.py, line 448, in
run_script
self.require(requires)[0].run_script(script_name, ns)
  File C:\Python25\Lib\site-packages\pkg_resources.py, line 1166, in
run_script
execfile(script_filename, namespace, namespace)
  File
c:\python25\lib\site-packages\reviewboard-1.0alpha2-py2.5.egg\EGG-INFO\scripts\rb-site,
line 1283, in module
main(sys.argv[1:])
  File
c:\python25\lib\site-packages\reviewboard-1.0alpha2-py2.5.egg\EGG-INFO\scripts\rb-site,
line 1278, in main
command.run()
  File
c:\python25\lib\site-packages\reviewboard-1.0alpha2-py2.5.egg\EGG-INFO\scripts\rb-site,
line 915, in run
self.show_install_status()
  File
c:\python25\lib\site-packages\reviewboard-1.0alpha2-py2.5.egg\EGG-INFO\scripts\rb-site,
line 1137, in show_install_status
site.sync_database)
  File
c:\python25\lib\site-packages\reviewboard-1.0alpha2-py2.5.egg\EGG-INFO\scripts\rb-site,
line 522, in step
func()
  File
c:\python25\lib\site-packages\reviewboard-1.0alpha2-py2.5.egg\EGG-INFO\scripts\rb-site,
line 227, in sync_database
self.run_manage_command(syncdb, [--noinput])
  File
c:\python25\lib\site-packages\reviewboard-1.0alpha2-py2.5.egg\EGG-INFO\scripts\rb-site,
line 265, in run_manage_command
execute_manager(reviewboard.settings, [__file__, cmd] + params)
  File C:\Python25\Lib\site-packages\django\core\management\__init__.py,
line 340, in execute_manager
utility.execute()
  File C:\Python25\Lib\site-packages\django\core\management\__init__.py,
line 295, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
  File C:\Python25\Lib\site-packages\django\core\management\base.py, line
192, in run_from_argv
self.execute(*args, **options.__dict__)
  File C:\Python25\Lib\site-packages\django\core\management\base.py, line
219, in execute
output = self.handle(*args, **options)
  File C:\Python25\Lib\site-packages\django\core\management\base.py, line
348, in handle
return self.handle_noargs(**options)
  File
C:\Python25\Lib\site-packages\django\core\management\commands\syncdb.py,
line 101, in handle_noargs
emit_post_sync_signal(created_models, verbosity, interactive)
  File C:\Python25\Lib\site-packages\django\core\management\sql.py, line
205, in emit_post_sync_signal
interactive=interactive)
  File C:\Python25\Lib\site-packages\django\dispatch\dispatcher.py, line
148, in send
response = receiver(signal=self, sender=sender, **named)
  File
c:\python25\lib\site-packages\ReviewBoard-1.0alpha2-py2.5.egg\reviewboard\admin\management\sites.py,
line 22, in init_siteconfig
site = Site.objects.get_current()
  File C:\Python25\Lib\site-packages\django\contrib\sites\models.py, line
22, in get_current
current_site = self.get(pk=sid)
  File C:\Python25\Lib\site-packages\django\db\models\manager.py, line 93,
in get
return self.get_query_set().get(*args, **kwargs)
  File C:\Python25\Lib\site-packages\django\db\models\query.py, line 309,
in get
% self.model._meta.object_name)
django.contrib.sites.models.DoesNotExist: Site matching query does not
exist.

Need it urgently.


Thanks,
Mrunal

-- 
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 see repository when creating review in web ui

2010-10-04 Thread Paresh
Hi

I've just installed ReviewBoard with the intention of using it with
Trac (http://trac.edgewall.org/) our bug tracking system.

I have RB running on the same server as Trac and set it up so they
both point to the same repository.

When I try to create a new review request through the web UI, The drop
down box for repository shows an empty list, even though the
repository is listed in the admin section.

I can't proceed beyond this point as the repository is mandatory.

How do I fix this?

-- 
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: Errors during creating review board site.

2010-10-04 Thread mrunal lohar
I have upgraded RB to 1.5 by running easy_install ReviewBorad command..

Now when i am going to create a site, i got following error:

C:\Python25\Scriptspython rb-site install e:\private\reviewboard
Traceback (most recent call last):
  File rb-site, line 4, in module
import pkg_resources
  File C:\Python25\Lib\site-packages\pkg_resources.py, line 2566, in
module
parse_requirements(__requires__), Environment()
  File C:\Python25\Lib\site-packages\pkg_resources.py, line 524, in
resolve
raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: reviewboard==1.0alpha2

It still finding older RB..How to resolve this issue?

On Mon, Oct 4, 2010 at 12:16 PM, Christian Hammond chip...@chipx86.comwrote:

 You're installing 1.0 alpha 2, which was over a year and a half ago. Where
 did you even get that version?

 You should follow our installation instructions to get the latest version,
 1.5.

 http://www.reviewboard.org/docs/manual/dev/admin/installation/windows/

 Christian

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


   On Sun, Oct 3, 2010 at 11:27 PM, mrunal lohar loha...@gmail.com wrote:


 Hello all,

 I am new to review board. Installing it first time. While creating
 rb-site, i got following errors. Can anyone tell me how to resolve it ?

 * Installing the site...
 Building site directories ... OK
 Building site configuration files ... OK
 Creating database ... Traceback (most recent call last):
   File C:\Python25\Scripts\rb-site, line 5, in module
 pkg_resources.run_script('ReviewBoard==1.0alpha2', 'rb-site')
   File C:\Python25\Lib\site-packages\pkg_resources.py, line 448, in
 run_script
 self.require(requires)[0].run_script(script_name, ns)
   File C:\Python25\Lib\site-packages\pkg_resources.py, line 1166, in
 run_script
 execfile(script_filename, namespace, namespace)
   File
 c:\python25\lib\site-packages\reviewboard-1.0alpha2-py2.5.egg\EGG-INFO\scripts\rb-site,
 line 1283, in module
 main(sys.argv[1:])
   File
 c:\python25\lib\site-packages\reviewboard-1.0alpha2-py2.5.egg\EGG-INFO\scripts\rb-site,
 line 1278, in main
 command.run()
   File
 c:\python25\lib\site-packages\reviewboard-1.0alpha2-py2.5.egg\EGG-INFO\scripts\rb-site,
 line 915, in run
 self.show_install_status()
   File
 c:\python25\lib\site-packages\reviewboard-1.0alpha2-py2.5.egg\EGG-INFO\scripts\rb-site,
 line 1137, in show_install_status
 site.sync_database)
   File
 c:\python25\lib\site-packages\reviewboard-1.0alpha2-py2.5.egg\EGG-INFO\scripts\rb-site,
 line 522, in step
 func()
   File
 c:\python25\lib\site-packages\reviewboard-1.0alpha2-py2.5.egg\EGG-INFO\scripts\rb-site,
 line 227, in sync_database
 self.run_manage_command(syncdb, [--noinput])
   File
 c:\python25\lib\site-packages\reviewboard-1.0alpha2-py2.5.egg\EGG-INFO\scripts\rb-site,
 line 265, in run_manage_command
 execute_manager(reviewboard.settings, [__file__, cmd] + params)
   File C:\Python25\Lib\site-packages\django\core\management\__init__.py,
 line 340, in execute_manager
 utility.execute()
   File C:\Python25\Lib\site-packages\django\core\management\__init__.py,
 line 295, in execute
 self.fetch_command(subcommand).run_from_argv(self.argv)
   File C:\Python25\Lib\site-packages\django\core\management\base.py,
 line 192, in run_from_argv
 self.execute(*args, **options.__dict__)
   File C:\Python25\Lib\site-packages\django\core\management\base.py,
 line 219, in execute
 output = self.handle(*args, **options)
   File C:\Python25\Lib\site-packages\django\core\management\base.py,
 line 348, in handle
 return self.handle_noargs(**options)
   File
 C:\Python25\Lib\site-packages\django\core\management\commands\syncdb.py,
 line 101, in handle_noargs
 emit_post_sync_signal(created_models, verbosity, interactive)
   File C:\Python25\Lib\site-packages\django\core\management\sql.py, line
 205, in emit_post_sync_signal
 interactive=interactive)
   File C:\Python25\Lib\site-packages\django\dispatch\dispatcher.py, line
 148, in send
 response = receiver(signal=self, sender=sender, **named)
   File
 c:\python25\lib\site-packages\ReviewBoard-1.0alpha2-py2.5.egg\reviewboard\admin\management\sites.py,
 line 22, in init_siteconfig
 site = Site.objects.get_current()
   File C:\Python25\Lib\site-packages\django\contrib\sites\models.py,
 line 22, in get_current
 current_site = self.get(pk=sid)
   File C:\Python25\Lib\site-packages\django\db\models\manager.py, line
 93, in get
 return self.get_query_set().get(*args, **kwargs)
   File C:\Python25\Lib\site-packages\django\db\models\query.py, line
 309, in get
 % self.model._meta.object_name)
 django.contrib.sites.models.DoesNotExist: Site matching query does not
 exist.

 Need it urgently.


 Thanks,
 Mrunal

 --
 Want to help the Review Board project? Donate today at
 http://www.reviewboard.org/donate/
 Happy user? Let us know 

Re: Review Board 1.5 RC 2 is released

2010-10-04 Thread Stephen Gallagher


On Sep 30, 3:50 am, Christian Hammond chip...@chipx86.com wrote:
 I've tested this thoroughly with Django 1.1.2, and it absolutely works here.
 We actually have unit tests for this functionality, ran by nightly builds
 using both Django 1.1 and 1.2, so I was surprised to hear that there was a
 breakage.

 What's the exact version of Django on there? And Python?

We're running python 2.4.3 (on Red Hat Enterprise Linux 5.5).

I had been running Django 1.1.1, but I upgraded to 1.1.2 (and
ReviewBoard 1.5 final) this morning and still experienced the same
failure to signal.

  The infrastructure we're working on is semi-public (Fedora project),
  so
  if you wanted to have a look at it directly you could contact me
  off-list and I could see about getting you access.

 If we can't figure this out, that might be best. As it is, we're going to be
 releasing pretty soon here. I'm no longer convinced there's a release
 blocker, but there's clearly something wrong in that install, and we need to
 investigate it. If it turns out there is a bug on our end that is somehow
 affecting your install but not most others, then we'll fix it and get it
 into a point release.

I can't use easy_install, as that tends to update packages that are
already managed by RPM. This would cause no end of problems if the RPM
package is later updated. Since this is a production system, that's
simply not permissible.

-- 
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: Upgrade problem 1.0.5 to 1.5 RC2

2010-10-04 Thread D Krueger
The carriage returns in the settings fields of django_project_version
were indeed the problem. I converted all cr/lf pairs to lf and the
upgrade worked perfectly.

Thanks for the help.

On Oct 1, 4:52 pm, D Krueger dekr...@gmail.com wrote:
 I've tracked down the source of the problem, but I don't know of a
 solution (if there is one).

 I invoked rb-site on the test site we created when first testing
 1.0.5.
 It worked perfectly.

 So I started using pdb to investigate where rb-site was failing on our
 standard site, which led me to:
   django_evolution/management/__init__.py(54)evolution()-None -
   old_proj_sig = pickle.loads(str(latest_version.signature))

 Then I investigated the differences in the signature values in
 django_project_version for the working and non-working
 installations. The non-working one had ^M after every line because it
 had been migrated from a Windows server.

 My suspicion is that the signature pickled by the Windows server isn't
 compatible with the Linux server. Is that a possbility?

 I'm at a loss as to how to proceed. Any help would be much appreciated
 (as is the help already given).

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


reviewboard upgrade 1.0 to 1.5

2010-10-04 Thread Misha
Hi,

I'm battling some RB application errors following the upgrade and
would appreciate some assistance.

I try to upgrade the RB1.0/sqlite system to RB1.5/MySQL. Apache/
memcached/Ubuntu Linux are used with both versions.

Step 1: created a staging server with a clone of current installation
and db and upgraded it to rb1.5 (still with sqlite). This seemed to
work perfectly.

Step 2: migrated sqlite db dump to mysql format (scripts, mostly
syntax stuff).

Step 3: created yet another system with RB1.5/MySQL (fresh install)
and loaded the mysql data dump into it.

However, RB seems to be broken.
I get error 500 accessing many of the pages.
Specifically, I'm able to login and see the list of existing reviews,
but as soon as I try to go to a specific review, I get error 500.
That's the dump I keep getting in error.log:

ERROR:root:Exception thrown for user myuser at http://10.0.0.4/r/2679/

name 'null' is not defined
Traceback (most recent call last):
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
django/core/handlers/base.py, line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
  File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5-
py2.6.egg/reviewboard/accounts/decorators.py, line 22, in _check
siteconfig = SiteConfiguration.objects.get_current()
  File /usr/local/lib/python2.6/dist-packages/Djblets-0.6.4-py2.6.egg/
djblets/siteconfig/managers.py, line 51, in get_current
SiteConfiguration.objects.get(site=site)
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
django/db/models/manager.py, line 132, in get
return self.get_query_set().get(*args, **kwargs)
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
django/db/models/query.py, line 336, in get
num = len(clone)
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
django/db/models/query.py, line 81, in __len__
self._result_cache = list(self.iterator())
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
django/db/models/query.py, line 282, in iterator
obj = self.model(*row[index_start:aggregate_start])
  File /usr/local/lib/python2.6/dist-packages/Djblets-0.6.4-py2.6.egg/
djblets/siteconfig/models.py, line 52, in __init__
models.Model.__init__(self, *args, **kwargs)
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
django/db/models/base.py, line 340, in __init__
signals.post_init.send(sender=self.__class__, instance=self)
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
django/dispatch/dispatcher.py, line 162, in send
response = receiver(signal=self, sender=sender, **named)
  File /usr/local/lib/python2.6/dist-packages/Djblets-0.6.4-py2.6.egg/
djblets/util/fields.py, line 174, in post_init
value = self.loads(value)
  File /usr/local/lib/python2.6/dist-packages/Djblets-0.6.4-py2.6.egg/
djblets/util/fields.py, line 206, in loads
val = eval(val)
  File string, line 1, in module
NameError: name 'null' is not defined

Tried to use rb-site manage shell to get the configuration settings
and got the same dump:

rb-site manage /var/www/reviews.mysite.com shell
Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
[GCC 4.4.3] on linux2
Type help, copyright, credits or license for more information.
(InteractiveConsole)
  from djblets.siteconfig.models import SiteConfiguration
  File console, line 1
from djblets.siteconfig.models import SiteConfiguration
   ^
IndentationError: unexpected indent
 from djblets.siteconfig.models import SiteConfiguration
 siteconfig = SiteConfiguration.objects.get()
Traceback (most recent call last):
  File console, line 1, in module
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
django/db/models/manager.py, line 132, in get
return self.get_query_set().get(*args, **kwargs)
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
django/db/models/query.py, line 336, in get
num = len(clone)
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
django/db/models/query.py, line 81, in __len__
self._result_cache = list(self.iterator())
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
django/db/models/query.py, line 282, in iterator
obj = self.model(*row[index_start:aggregate_start])
  File /usr/local/lib/python2.6/dist-packages/Djblets-0.6.4-py2.6.egg/
djblets/siteconfig/models.py, line 52, in __init__
models.Model.__init__(self, *args, **kwargs)
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
django/db/models/base.py, line 340, in __init__
signals.post_init.send(sender=self.__class__, instance=self)
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
django/dispatch/dispatcher.py, line 162, in send
response = receiver(signal=self, sender=sender, **named)
  File /usr/local/lib/python2.6/dist-packages/Djblets-0.6.4-py2.6.egg/
djblets/util/fields.py, line 174, in post_init
value 

Re: reviewboard upgrade 1.0 to 1.5

2010-10-04 Thread Christian Hammond
Hi Misha,

This is due to how the site configuration is stored. We attempt to load the
configuration in as json data, with the hope that we can eval it.
Unfortunately, if it has 'null', it will fail, since Python doesn't know
'null'. Really we should work around this, but the root cause is the format
of the configuration.

I can't really tell off-hand what's wrong with the config (and I have to
run, so I'll try to look later), but as a test, do:

$ python
 from django.utils import simplejson
 configstr = paste the contents of the siteconfig data here
 simplejson.loads(configstr)

That should output a ValueError (assuming that you pasted the contents
without problems) and hopefully provide more clues as to what is invalid
JSON.

Christian

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


On Mon, Oct 4, 2010 at 9:33 AM, Misha vinni...@gmail.com wrote:

 Hi,

 I'm battling some RB application errors following the upgrade and
 would appreciate some assistance.

 I try to upgrade the RB1.0/sqlite system to RB1.5/MySQL. Apache/
 memcached/Ubuntu Linux are used with both versions.

 Step 1: created a staging server with a clone of current installation
 and db and upgraded it to rb1.5 (still with sqlite). This seemed to
 work perfectly.

 Step 2: migrated sqlite db dump to mysql format (scripts, mostly
 syntax stuff).

 Step 3: created yet another system with RB1.5/MySQL (fresh install)
 and loaded the mysql data dump into it.

 However, RB seems to be broken.
 I get error 500 accessing many of the pages.
 Specifically, I'm able to login and see the list of existing reviews,
 but as soon as I try to go to a specific review, I get error 500.
 That's the dump I keep getting in error.log:

 ERROR:root:Exception thrown for user myuser at http://10.0.0.4/r/2679/

 name 'null' is not defined
 Traceback (most recent call last):
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
 django/core/handlers/base.py, line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
  File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5-
 py2.6.egg/reviewboard/accounts/decorators.py, line 22, in _check
siteconfig = SiteConfiguration.objects.get_current()
  File /usr/local/lib/python2.6/dist-packages/Djblets-0.6.4-py2.6.egg/
 djblets/siteconfig/managers.py, line 51, in get_current
SiteConfiguration.objects.get(site=site)
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
 django/db/models/manager.py, line 132, in get
return self.get_query_set().get(*args, **kwargs)
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
 django/db/models/query.py, line 336, in get
num = len(clone)
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
 django/db/models/query.py, line 81, in __len__
self._result_cache = list(self.iterator())
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
 django/db/models/query.py, line 282, in iterator
obj = self.model(*row[index_start:aggregate_start])
  File /usr/local/lib/python2.6/dist-packages/Djblets-0.6.4-py2.6.egg/
 djblets/siteconfig/models.py, line 52, in __init__
models.Model.__init__(self, *args, **kwargs)
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
 django/db/models/base.py, line 340, in __init__
signals.post_init.send(sender=self.__class__, instance=self)
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
 django/dispatch/dispatcher.py, line 162, in send
response = receiver(signal=self, sender=sender, **named)
  File /usr/local/lib/python2.6/dist-packages/Djblets-0.6.4-py2.6.egg/
 djblets/util/fields.py, line 174, in post_init
value = self.loads(value)
  File /usr/local/lib/python2.6/dist-packages/Djblets-0.6.4-py2.6.egg/
 djblets/util/fields.py, line 206, in loads
val = eval(val)
  File string, line 1, in module
 NameError: name 'null' is not defined

 Tried to use rb-site manage shell to get the configuration settings
 and got the same dump:

 rb-site manage /var/www/reviews.mysite.com shell
 Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
 [GCC 4.4.3] on linux2
 Type help, copyright, credits or license for more information.
 (InteractiveConsole)
   from djblets.siteconfig.models import SiteConfiguration
  File console, line 1
from djblets.siteconfig.models import SiteConfiguration
   ^
 IndentationError: unexpected indent
  from djblets.siteconfig.models import SiteConfiguration
  siteconfig = SiteConfiguration.objects.get()
 Traceback (most recent call last):
  File console, line 1, in module
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
 django/db/models/manager.py, line 132, in get
return self.get_query_set().get(*args, **kwargs)
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
 django/db/models/query.py, line 336, in get
num = 

error while upgrading the site to 1.5

2010-10-04 Thread Ankit
Hi,

I am getting an error when i try to upgrade my 1.0.9 to 1.5.  I was
able to upgrade the reviewboard software using command easy_install -
U reviewboard.  however, when i tried to peform rb-site upgrade
command i am getting an error saying  Error applying evolution:
(1005, Can't create table 'reviewboard.#sql-1347_260fe3' (errno:
150)).



[r...@prk_devdb ~]#  rb-site upgrade /var/www/reviewboard
Rebuilding directory structure
Updating database. This may take a while.
[not...@1286224492.623565] mcm_storage_cmd():3334: unable to store
value: Operation now in progress: add
Upgrading Review Board from 1.0.9 to 1.5
[not...@1286224492.721788] mcm_storage_cmd():3334: unable to store
value: add
[not...@1286224492.763680] mcm_storage_cmd():3334: unable to store
value: add
[not...@1286224492.790238] mcm_storage_cmd():3334: unable to store
value: add
[not...@1286224492.834711] mcm_storage_cmd():3334: unable to store
value: add
[not...@1286224492.877021] mcm_storage_cmd():3334: unable to store
value: add
[not...@1286224492.918811] mcm_storage_cmd():3334: unable to store
value: add
[not...@1286224492.975979] mcm_storage_cmd():3334: unable to store
value: add
[not...@1286224493.017922] mcm_storage_cmd():3334: unable to store
value: add
[not...@1286224493.090849] mcm_storage_cmd():3334: unable to store
value: add
There are unapplied evolutions for diffviewer.
[not...@1286224493.253658] mcm_storage_cmd():3334: unable to store
value: add
There are unapplied evolutions for reviews.
[not...@1286224493.312657] mcm_storage_cmd():3334: unable to store
value: add
There are unapplied evolutions for scmtools.
[not...@1286224493.373277] mcm_storage_cmd():3334: unable to store
value: add
Project signature has changed - an evolution is required
No fixtures found.
/usr/lib/python2.4/site-packages/pycrypto-2.3-py2.4-linux-x86_64.egg/
Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This
application uses RandomPool, which is BROKEN in older releases.  See
http://www.pycrypto.org/randpool-broken
Error applying evolution: (1005, Can't create table
'reviewboard.#sql-1347_260fe3' (errno: 150))

-- 
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 while upgrading the site to 1.5

2010-10-04 Thread Ankit
After searching for this, errono 150 seems to be related to creating
foreign keys.  However, all current tables are of type myisam.  It
seems to me that might be the cause of the prolbme.  Is version 1.5
require all tables to be innodb?  If so, that should be part of
upgrade.

On Oct 4, 4:38 pm, Ankit akshah...@gmail.com wrote:
 Hi,

 I am getting an error when i try to upgrade my 1.0.9 to 1.5.  I was
 able to upgrade the reviewboard software using command easy_install -
 U reviewboard.  however, when i tried to peform rb-site upgrade
 command i am getting an error saying  Error applying evolution:
 (1005, Can't create table 'reviewboard.#sql-1347_260fe3' (errno:
 150)).

 [r...@prk_devdb ~]#  rb-site upgrade /var/www/reviewboard
 Rebuilding directory structure
 Updating database. This may take a while.
 [not...@1286224492.623565] mcm_storage_cmd():3334: unable to store
 value: Operation now in progress: add
 Upgrading Review Board from 1.0.9 to 1.5
 [not...@1286224492.721788] mcm_storage_cmd():3334: unable to store
 value: add
 [not...@1286224492.763680] mcm_storage_cmd():3334: unable to store
 value: add
 [not...@1286224492.790238] mcm_storage_cmd():3334: unable to store
 value: add
 [not...@1286224492.834711] mcm_storage_cmd():3334: unable to store
 value: add
 [not...@1286224492.877021] mcm_storage_cmd():3334: unable to store
 value: add
 [not...@1286224492.918811] mcm_storage_cmd():3334: unable to store
 value: add
 [not...@1286224492.975979] mcm_storage_cmd():3334: unable to store
 value: add
 [not...@1286224493.017922] mcm_storage_cmd():3334: unable to store
 value: add
 [not...@1286224493.090849] mcm_storage_cmd():3334: unable to store
 value: add
 There are unapplied evolutions for diffviewer.
 [not...@1286224493.253658] mcm_storage_cmd():3334: unable to store
 value: add
 There are unapplied evolutions for reviews.
 [not...@1286224493.312657] mcm_storage_cmd():3334: unable to store
 value: add
 There are unapplied evolutions for scmtools.
 [not...@1286224493.373277] mcm_storage_cmd():3334: unable to store
 value: add
 Project signature has changed - an evolution is required
 No fixtures found.
 /usr/lib/python2.4/site-packages/pycrypto-2.3-py2.4-linux-x86_64.egg/
 Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This
 application uses RandomPool, which is BROKEN in older releases.  
 Seehttp://www.pycrypto.org/randpool-broken
 Error applying evolution: (1005, Can't create table
 'reviewboard.#sql-1347_260fe3' (errno: 150))

-- 
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 while upgrading the site to 1.5

2010-10-04 Thread Ankit
Ok. After I changed all tables to innodb, the upgrade command worked
just fine.  However, I had to restore the db from backup.

It was great that I had created a backup before performing the
upgrade :-). Otherwise, I would have been SOL.

On Oct 4, 4:38 pm, Ankit akshah...@gmail.com wrote:
 Hi,

 I am getting an error when i try to upgrade my 1.0.9 to 1.5.  I was
 able to upgrade the reviewboard software using command easy_install -
 U reviewboard.  however, when i tried to peform rb-site upgrade
 command i am getting an error saying  Error applying evolution:
 (1005, Can't create table 'reviewboard.#sql-1347_260fe3' (errno:
 150)).

 [r...@prk_devdb ~]#  rb-site upgrade /var/www/reviewboard
 Rebuilding directory structure
 Updating database. This may take a while.
 [not...@1286224492.623565] mcm_storage_cmd():3334: unable to store
 value: Operation now in progress: add
 Upgrading Review Board from 1.0.9 to 1.5
 [not...@1286224492.721788] mcm_storage_cmd():3334: unable to store
 value: add
 [not...@1286224492.763680] mcm_storage_cmd():3334: unable to store
 value: add
 [not...@1286224492.790238] mcm_storage_cmd():3334: unable to store
 value: add
 [not...@1286224492.834711] mcm_storage_cmd():3334: unable to store
 value: add
 [not...@1286224492.877021] mcm_storage_cmd():3334: unable to store
 value: add
 [not...@1286224492.918811] mcm_storage_cmd():3334: unable to store
 value: add
 [not...@1286224492.975979] mcm_storage_cmd():3334: unable to store
 value: add
 [not...@1286224493.017922] mcm_storage_cmd():3334: unable to store
 value: add
 [not...@1286224493.090849] mcm_storage_cmd():3334: unable to store
 value: add
 There are unapplied evolutions for diffviewer.
 [not...@1286224493.253658] mcm_storage_cmd():3334: unable to store
 value: add
 There are unapplied evolutions for reviews.
 [not...@1286224493.312657] mcm_storage_cmd():3334: unable to store
 value: add
 There are unapplied evolutions for scmtools.
 [not...@1286224493.373277] mcm_storage_cmd():3334: unable to store
 value: add
 Project signature has changed - an evolution is required
 No fixtures found.
 /usr/lib/python2.4/site-packages/pycrypto-2.3-py2.4-linux-x86_64.egg/
 Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This
 application uses RandomPool, which is BROKEN in older releases.  
 Seehttp://www.pycrypto.org/randpool-broken
 Error applying evolution: (1005, Can't create table
 'reviewboard.#sql-1347_260fe3' (errno: 150))

-- 
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: Issue 1630 in reviewboard: Authentication fields disabled

2010-10-04 Thread reviewboard


Comment #3 on issue 1630 by mkarlsson: Authentication fields disabled
http://code.google.com/p/reviewboard/issues/detail?id=1630

I had the same problem, fixed it by installing the python-ldap and  
python-dns packages (Ubuntu 10.04 LTS Server). There should perhaps be a  
sign showing that required dependencies are missing.


--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-iss...@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.



Re: Issue 1837 in reviewboard: requires.txt in the ReviewBoard .egg-info specifies djblets 0.5.7

2010-10-04 Thread reviewboard


Comment #2 on issue 1837 by Karrde712: requires.txt in the  
ReviewBoard .egg-info specifies djblets 0.5.7

http://code.google.com/p/reviewboard/issues/detail?id=1837

Actually, I was doing setup.py install. I just was looking at a really old  
installed version instead of the one I'd just built. (Got confused about  
which VM I was on)


Nothing to see here, move along :-/

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-iss...@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.



Re: Issue 1630 in reviewboard: Authentication fields disabled without explanation due to missing LDAP dependencies

2010-10-04 Thread reviewboard

Updates:
	Summary: Authentication fields disabled without explanation due to missing  
LDAP dependencies

Status: New
Labels: BetterErrors

Comment #4 on issue 1630 by trowbrds: Authentication fields disabled  
without explanation due to missing LDAP dependencies

http://code.google.com/p/reviewboard/issues/detail?id=1630

(No comment was entered for this change.)

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-iss...@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.



Re: Issue 1837 in reviewboard: requires.txt in the ReviewBoard .egg-info specifies djblets 0.5.7

2010-10-04 Thread reviewboard

Updates:
Status: UserError

Comment #3 on issue 1837 by chipx86: requires.txt in the  
ReviewBoard .egg-info specifies djblets 0.5.7

http://code.google.com/p/reviewboard/issues/detail?id=1837

(No comment was entered for this change.)

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-iss...@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.