I found out the reason. It was due to Django incompatibilities with Python 
2.6.4, upgrading Python (to 2.7.9) solved this problem. That what I get 
from trying to install on an old system.

Thanks again!

Em segunda-feira, 2 de fevereiro de 2015 14:22:01 UTC-2, Rafael Vargas 
escreveu:
>
> Hi!
>
> I'm trying to install reviewboard and couln't get pass the rb-site install 
> step due to a database creation error.
>
> I've seen this thread:
>
> https://groups.google.com/forum/#!searchin/reviewboard/%22creating$20database%22/reviewboard/s3Yw-Es3Vu8/Z5_CD7lFrQMJ
> about the same issue, but the causes were incompatible Django versions. As 
> I'm trying to install ReviewBoard-2.0.12, I could not find which would be 
> the appropriate Django version. I believe that Django was installed 
> automatically by easy_install as a dependency of ReviewBoard so it should 
> be compatible, right?
>
> I've also tested the mysql access credentials and it seemd to work fine 
> from command line.
>
> Is there anything I'm missing?
>
> Here's my current output from running:
> rb-site install  /var/www/reviewboard
> ... 
>
>> * Installing the site...
>> Building site directories ... OK
>> Building site configuration files ... OK
>> Creating database ... Traceback (most recent call last):
>>   File "/usr/local/bin/rb-site", line 9, in <module>
>>     load_entry_point('ReviewBoard==2.0.12', 'console_scripts', 
>> 'rb-site')()
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.12-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>  
>> line 1877, in main
>>     command.run()
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.12-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>  
>> line 1235, in run
>>     self.show_install_status()
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.12-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>  
>> line 1548, in show_install_status
>>     site.sync_database)
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.12-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>  
>> line 1078, in step
>>     func()
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.12-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>  
>> line 409, in sync_database
>>     self.run_manage_command("syncdb", params)
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.12-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>  
>> line 654, in run_manage_command
>>     execute_from_command_line([__file__, cmd] + params)
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/Django-1.6.10-py2.6.egg/django/core/management/__init__.py",
>>  
>> line 399, in execute_from_command_line
>>     utility.execute()
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/Django-1.6.10-py2.6.egg/django/core/management/__init__.py",
>>  
>> line 392, in execute
>>     self.fetch_command(subcommand).run_from_argv(self.argv)
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/Django-1.6.10-py2.6.egg/django/core/management/base.py",
>>  
>> line 242, in run_from_argv
>>     self.execute(*args, **options.__dict__)
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/Django-1.6.10-py2.6.egg/django/core/management/base.py",
>>  
>> line 280, in execute
>>     translation.activate('en-us')
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/Django-1.6.10-py2.6.egg/django/utils/translation/__init__.py",
>>  
>> line 130, in activate
>>     return _trans.activate(language)
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/Django-1.6.10-py2.6.egg/django/utils/translation/trans_real.py",
>>  
>> line 188, in activate
>>     _active.value = translation(language)
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/Django-1.6.10-py2.6.egg/django/utils/translation/trans_real.py",
>>  
>> line 177, in translation
>>     default_translation = _fetch(settings.LANGUAGE_CODE)
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/Django-1.6.10-py2.6.egg/django/utils/translation/trans_real.py",
>>  
>> line 159, in _fetch
>>     app = import_module(appname)
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/Django-1.6.10-py2.6.egg/django/utils/importlib.py",
>>  
>> line 40, in import_module
>>     __import__(name)
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/Django-1.6.10-py2.6.egg/django/contrib/admin/__init__.py",
>>  
>> line 3, in <module>
>>     from django.contrib.admin.helpers import ACTION_CHECKBOX_NAME
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/Django-1.6.10-py2.6.egg/django/contrib/admin/helpers.py",
>>  
>> line 7, in <module>
>>     from django.contrib.contenttypes.models import ContentType
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/Django-1.6.10-py2.6.egg/django/contrib/contenttypes/models.py",
>>  
>> line 129, in <module>
>>     class ContentType(models.Model):
>>   File 
>> "/usr/local/lib/python2.6/dist-packages/Django-1.6.10-py2.6.egg/django/db/models/base.py",
>>  
>> line 96, in __new__
>>     new_class.add_to_class('_meta', Options(meta, **kwargs))
>> TypeError: Error when calling the metaclass bases
>>     __init__() keywords must be strings
>
>
>
> Thanks in advance,
>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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 reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to