On Monday, 12 August 2013 23:17:49 UTC+5:30, Christian Hammond wrote:
>
> Hi,
>
> What version are you upgrading from?
>
> Ill need to see your settings_local.py file (with SECRET_KEY and any other 
> sensitive information masked).
>
> Christian
>
>
> On Monday, August 12, 2013, Harihar Pai wrote:
>
>> I have using latest RB version . While installing I am getting this error 
>>
>> Traceback (most recent call last):
>>   File "/usr/local/bin/rb-site", line 9, in <module>
>>     load_entry_point('ReviewBoard==1.7.12', 'console_scripts', 
>> 'rb-site')()
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.12-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>  
>> line 1937, in main
>>     command.run()
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.12-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>  
>> line 1405, in run
>>     self.show_install_status()
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.12-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>  
>> line 1684, in show_install_status
>>     site.sync_database)
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.12-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>  
>> line 885, in step
>>     func()
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.12-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>  
>> line 370, in sync_database
>>     self.run_manage_command("syncdb", params)
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.12-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>  
>> line 560, in run_manage_command
>>     execute_manager(reviewboard.settings, [__file__, cmd] + params)
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/Django-1.4.5-py2.6.egg/django/core/management/__init__.py",
>>  
>> line 459, in execute_manager
>>     utility.execute()
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/Django-1.4.5-py2.6.egg/django/core/management/__init__.py",
>>  
>> line 382, in execute
>>     self.fetch_command(subcommand).run_from_argv(self.argv)
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/Django-1.4.5-py2.6.egg/django/core/management/base.py",
>>  
>> line 196, in run_from_argv
>>     self.execute(*args, **options.__dict__)
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/Django-1.4.5-py2.6.egg/django/core/management/base.py",
>>  
>> line 232, in execute
>>     output = self.handle(*args, **options)
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/Django-1.4.5-py2.6.egg/django/core/management/base.py",
>>  
>> line 371, in handle
>>     return self.handle_noargs(**options)
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/Django-1.4.5-py2.6.egg/django/core/management/commands/syncdb.py",
>>  
>> line 110, in handle_noargs
>>     emit_post_sync_signal(created_models, verbosity, interactive, db)
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/Django-1.4.5-py2.6.egg/django/core/management/sql.py",
>>  
>> line 189, in emit_post_sync_signal
>>     interactive=interactive, db=db)
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/Django-1.4.5-py2.6.egg/django/dispatch/dispatcher.py",
>>  
>> line 172, in send
>>     response = receiver(signal=self, sender=sender, **named)
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.12-py2.6.egg/reviewboard/admin/management/evolutions.py",
>>  
>> line 58, in init_evolutions
>>     verbosity=0)
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/Django-1.4.5-py2.6.egg/django/core/management/commands/loaddata.py",
>>  
>> line 40, in handle
>>     connection = connections[using]
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/Django-1.4.5-py2.6.egg/django/db/utils.py",
>>  
>> line 87, in __getitem__
>>     if hasattr(self._connections, alias):
>> TypeError: hasattr(): attribute name must be string
>>
>>
>> kindly help fast
>>
>> -- 
>> 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 
>> [email protected]
>> For more options, visit this group at 
>> http://groups.google.com/group/reviewboard?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>
> -- 
> -- 
> Christian Hammond - [email protected] <javascript:>
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>

Sir ,

I have dumped the DB of 1.6.3 RB  from another machine and now I am using 
latest  RB. 
my setting_local.py is as below

# Site-specific configuration settings for Review Board
# Definitions of these settings can be found at
# http://docs.djangoproject.com/en/dev/ref/settings/

# Database configuration
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'reviewboard',
        'USER': '****',
        'PASSWORD': '****',
        'HOST': 'localhost',
        'PORT': '',
    },
}

# Unique secret key. Don't share this with anybody.
SECRET_KEY = '-8l1pw9md^m&xc6a8y$#***************'

# Cache backend settings.
CACHES = {
    'default': {
        'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
        'LOCATION': '1',
    },
}

# Extra site information.
SITE_ID = 1
SITE_ROOT = '/'
FORCE_SCRIPT_NAME = ''
DEBUG = False

Kindly help.

Thanks and regards,
Hari

-- 
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 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to