Re: alpha1 clean installation fails

2009-01-27 Thread teki

I have created the database with utf8_bin collation.
The siteconfig_siteconfiguration had a blog instead of text.
Recreated it with the default one (~ latin1) and it was working like a
charm.

Cheers,
Bela

On Jan 27, 6:37 pm, Christian Hammond  wrote:
> I've been unable to duplicate this. This almost looks like an issue internal
> to Django, but I can't be sure what it is.
>
> Can you send me the output of:
>
> SELECT * FROM siteconfig_siteconfiguration\G
>
> from the MySQL command line.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> VMware, Inc.
>
> On Mon, Jan 26, 2009 at 8:52 PM, teki  wrote:
>
> > Empty mysql database, Django-1.0.2_final, Djblets-0.5alpha1,
> > ReviewBoard-1.0alpha1, python 2.5, osx 10.5.
>
> > * Installing the site...
> > Building site directories ... OK
> > Building site configuration files ... OK
> > Creating database ... Creating table django_admin_log
> > Creating table auth_permission
> > Creating table auth_group
> > Creating table auth_user
> > Creating table auth_message
> > Creating table django_content_type
> > Creating table django_site
> > Creating table django_session
> > Creating table siteconfig_siteconfiguration
> > Creating table accounts_reviewrequestvisit
> > Creating table accounts_profile
> > Creating table changedescs_changedescription
> > Creating table diffviewer_filediff
> > Creating table diffviewer_diffset
> > Creating table diffviewer_diffsethistory
> > Creating table reviews_group
> > Creating table reviews_defaultreviewer
> > Creating table reviews_screenshot
> > Creating table reviews_reviewrequest
> > Creating table reviews_reviewrequestdraft
> > Creating table reviews_comment
> > Creating table reviews_screenshotcomment
> > Creating table reviews_review
> > Creating table scmtools_tool
> > Creating table scmtools_repository
> > Creating table django_project_version
> > Creating table django_evolution
> > Installing baseline version
> > Evolutions in diffviewer baseline: add_parent_diffs
> > Evolutions in reviews baseline: change_descriptions
> > Evolutions in scmtools baseline: bugzilla_url_charfield
> > Traceback (most recent call last):
> >  File "/usr/local/bin/rb-site", line 5, in 
> >    pkg_resources.run_script('ReviewBoard==1.0alpha1', 'rb-site')
> >  File "/System/Library/Frameworks/Python.framework/Versions/2.5/
> > Extras/lib/python/pkg_resources.py", line 448, in run_script
>
> >  File "/System/Library/Frameworks/Python.framework/Versions/2.5/
> > Extras/lib/python/pkg_resources.py", line 1166, in run_script
> >    script_code = compile(script_text,script_filename,'exec')
> >  File "/Library/Python/2.5/site-packages/ReviewBoard-1.0alpha1-
> > py2.5.egg/EGG-INFO/scripts/rb-site", line 1231, in 
> >    main(sys.argv[1:])
> >  File "/Library/Python/2.5/site-packages/ReviewBoard-1.0alpha1-
> > py2.5.egg/EGG-INFO/scripts/rb-site", line 1226, in main
> >    command.run()
> >  File "/Library/Python/2.5/site-packages/ReviewBoard-1.0alpha1-
> > py2.5.egg/EGG-INFO/scripts/rb-site", line 863, in run
> >    self.show_install_status()
> >  File "/Library/Python/2.5/site-packages/ReviewBoard-1.0alpha1-
> > py2.5.egg/EGG-INFO/scripts/rb-site", line 1085, in show_install_status
> >    site.sync_database)
> >  File "/Library/Python/2.5/site-packages/ReviewBoard-1.0alpha1-
> > py2.5.egg/EGG-INFO/scripts/rb-site", line 470, in step
> >    func()
> >  File "/Library/Python/2.5/site-packages/ReviewBoard-1.0alpha1-
> > py2.5.egg/EGG-INFO/scripts/rb-site", line 182, in sync_database
> >    self.run_manage_command("syncdb", ["--noinput"])
> >  File "/Library/Python/2.5/site-packages/ReviewBoard-1.0alpha1-
> > py2.5.egg/EGG-INFO/scripts/rb-site", line 220, in run_manage_command
> >    execute_manager(reviewboard.settings, [__file__, cmd] + params)
> >  File "/Library/Python/2.5/site-packages/Django-1.0.2_final-py2.5.egg/
> > django/core/management/__init__.py", line 340, in execute_manager
> >    utility.execute()
> >  File "/Library/Python/2.5/site-packages/Django-1.0.2_final-py2.5.egg/
> > django/core/management/__init__.py", line 295, in execute
> >    self.fetch_command(subcommand).run_from_argv(self.argv)
> >  File "/Library/Python/2.5/site-packages/Django-1.0.2_final-py2.5.egg/
> > django/core/management/base.py", line 192, in run_from_argv
> >    self.execute(*args, **options.__dict__)
> >  File "/Library/Python/2.5/site-packages/Django-1.0.2_final-py2.5.egg/
> > django/core/management/base.py", line 219, in execute
> >    output = self.handle(*args, **options)
> >  File "/Library/Python/2.5/site-packages/Django-1.0.2_final-py2.5.egg/
> > django/core/management/base.py", line 348, in handle
> >    return self.handle_noargs(**options)
> >  File "/Library/Python/2.5/site-packages/Django-1.0.2_final-py2.5.egg/
> > django/core/management/commands/syncdb.py", line 101, in handle_noargs
> >    emit_post_sync_signal(created_models, verbosity, interactive)
> >  File "/Library/Python/2.5/site-packages/Django-1.0.2_final-py2.5.egg/
> > django/core/m

Re: alpha1 clean installation fails

2009-01-26 Thread Christian Hammond
I've been unable to duplicate this. This almost looks like an issue internal
to Django, but I can't be sure what it is.

Can you send me the output of:

SELECT * FROM siteconfig_siteconfiguration\G

from the MySQL command line.

Christian

-- 
Christian Hammond - chip...@chipx86.com
VMware, Inc.


On Mon, Jan 26, 2009 at 8:52 PM, teki  wrote:

>
> Empty mysql database, Django-1.0.2_final, Djblets-0.5alpha1,
> ReviewBoard-1.0alpha1, python 2.5, osx 10.5.
>
> * Installing the site...
> Building site directories ... OK
> Building site configuration files ... OK
> Creating database ... Creating table django_admin_log
> Creating table auth_permission
> Creating table auth_group
> Creating table auth_user
> Creating table auth_message
> Creating table django_content_type
> Creating table django_site
> Creating table django_session
> Creating table siteconfig_siteconfiguration
> Creating table accounts_reviewrequestvisit
> Creating table accounts_profile
> Creating table changedescs_changedescription
> Creating table diffviewer_filediff
> Creating table diffviewer_diffset
> Creating table diffviewer_diffsethistory
> Creating table reviews_group
> Creating table reviews_defaultreviewer
> Creating table reviews_screenshot
> Creating table reviews_reviewrequest
> Creating table reviews_reviewrequestdraft
> Creating table reviews_comment
> Creating table reviews_screenshotcomment
> Creating table reviews_review
> Creating table scmtools_tool
> Creating table scmtools_repository
> Creating table django_project_version
> Creating table django_evolution
> Installing baseline version
> Evolutions in diffviewer baseline: add_parent_diffs
> Evolutions in reviews baseline: change_descriptions
> Evolutions in scmtools baseline: bugzilla_url_charfield
> Traceback (most recent call last):
>  File "/usr/local/bin/rb-site", line 5, in 
>pkg_resources.run_script('ReviewBoard==1.0alpha1', 'rb-site')
>  File "/System/Library/Frameworks/Python.framework/Versions/2.5/
> Extras/lib/python/pkg_resources.py", line 448, in run_script
>
>  File "/System/Library/Frameworks/Python.framework/Versions/2.5/
> Extras/lib/python/pkg_resources.py", line 1166, in run_script
>script_code = compile(script_text,script_filename,'exec')
>  File "/Library/Python/2.5/site-packages/ReviewBoard-1.0alpha1-
> py2.5.egg/EGG-INFO/scripts/rb-site", line 1231, in 
>main(sys.argv[1:])
>  File "/Library/Python/2.5/site-packages/ReviewBoard-1.0alpha1-
> py2.5.egg/EGG-INFO/scripts/rb-site", line 1226, in main
>command.run()
>  File "/Library/Python/2.5/site-packages/ReviewBoard-1.0alpha1-
> py2.5.egg/EGG-INFO/scripts/rb-site", line 863, in run
>self.show_install_status()
>  File "/Library/Python/2.5/site-packages/ReviewBoard-1.0alpha1-
> py2.5.egg/EGG-INFO/scripts/rb-site", line 1085, in show_install_status
>site.sync_database)
>  File "/Library/Python/2.5/site-packages/ReviewBoard-1.0alpha1-
> py2.5.egg/EGG-INFO/scripts/rb-site", line 470, in step
>func()
>  File "/Library/Python/2.5/site-packages/ReviewBoard-1.0alpha1-
> py2.5.egg/EGG-INFO/scripts/rb-site", line 182, in sync_database
>self.run_manage_command("syncdb", ["--noinput"])
>  File "/Library/Python/2.5/site-packages/ReviewBoard-1.0alpha1-
> py2.5.egg/EGG-INFO/scripts/rb-site", line 220, in run_manage_command
>execute_manager(reviewboard.settings, [__file__, cmd] + params)
>  File "/Library/Python/2.5/site-packages/Django-1.0.2_final-py2.5.egg/
> django/core/management/__init__.py", line 340, in execute_manager
>utility.execute()
>  File "/Library/Python/2.5/site-packages/Django-1.0.2_final-py2.5.egg/
> django/core/management/__init__.py", line 295, in execute
>self.fetch_command(subcommand).run_from_argv(self.argv)
>  File "/Library/Python/2.5/site-packages/Django-1.0.2_final-py2.5.egg/
> django/core/management/base.py", line 192, in run_from_argv
>self.execute(*args, **options.__dict__)
>  File "/Library/Python/2.5/site-packages/Django-1.0.2_final-py2.5.egg/
> django/core/management/base.py", line 219, in execute
>output = self.handle(*args, **options)
>  File "/Library/Python/2.5/site-packages/Django-1.0.2_final-py2.5.egg/
> django/core/management/base.py", line 348, in handle
>return self.handle_noargs(**options)
>  File "/Library/Python/2.5/site-packages/Django-1.0.2_final-py2.5.egg/
> django/core/management/commands/syncdb.py", line 101, in handle_noargs
>emit_post_sync_signal(created_models, verbosity, interactive)
>  File "/Library/Python/2.5/site-packages/Django-1.0.2_final-py2.5.egg/
> django/core/management/sql.py", line 205, in emit_post_sync_signal
>interactive=interactive)
>  File "/Library/Python/2.5/site-packages/Django-1.0.2_final-py2.5.egg/
> django/dispatch/dispatcher.py", line 148, in send
>response = receiver(signal=self, sender=sender, **named)
>  File "/Library/Python/2.5/site-packages/ReviewBoard-1.0alpha1-
> py2.5.egg/reviewboard/admin/management/sites.py", line 24, in
> init_siteconfig
>siteconfig, is_new = Si