Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 3126 by arnoutb...@gmail.com: rb-site install fails
with 'TypeError: hasattr(): attribute name must be string'
http://code.google.com/p/reviewboard/issues/detail?id=3126
*** READ THIS BEFORE POSTING!
***
*** You must complete this form in its entirety, or your bug report will be
rejected.
***
*** For customer support, please post to reviewbo...@googlegroups.com
***
*** If you have a patch, please submit it to
http://reviews.reviewboard.org/
***
*** Do not post confidential information in this bug report!
What version are you running?
1.7.16
What's the URL of the page containing the problem?
-
What steps will reproduce the problem?
1. Install ReviewBoard using easy_install (following
http://www.reviewboard.org/docs/manual/1.7/admin/installation/linux/)
2. rb-site install /var/reviewboard/mydomain --noinput
--domain-name=reviewboard --site-root=/ --static-url=static/
--media-url=media/ --db-type=mysql --db-host=localhost
--db-name=reviewboard --db-user=reviewboard --db-pass=reviewboard
--cache-type=memcached --cache-info=localhost:11211
--web-server-type=apache --web-server-port=80 --python-loader=wsgi
--admin-user=admin --admin-password=admin
--admin-email=reviewbo...@mydomain.com
What is the expected output? What do you see instead?
I expect the command to exit cleanly, but it fails with 'TypeError:
hasattr(): attribute name must be string'. See the stacktrace below.
What operating system are you using? What browser?
Debian wheezy
Please provide any additional information below.
Displayed (output and) stacktrace:
* Installing the site...
Building site directories ... OK
Building site configuration files ... OK
Creating database ... Creating tables ...
Traceback (most recent call last):
File "/usr/local/bin/rb-site", line 9, in <module>
load_entry_point('ReviewBoard==1.7.16', 'console_scripts', 'rb-site')()
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.16-py2.7.egg/reviewboard/cmdline/rbsite.py",
line 2027, in main
command.run()
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.16-py2.7.egg/reviewboard/cmdline/rbsite.py",
line 1468, in run
self.show_install_status()
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.16-py2.7.egg/reviewboard/cmdline/rbsite.py",
line 1747, in show_install_status
site.sync_database)
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.16-py2.7.egg/reviewboard/cmdline/rbsite.py",
line 939, in step
func()
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.16-py2.7.egg/reviewboard/cmdline/rbsite.py",
line 372, in sync_database
self.run_manage_command("syncdb", params)
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.16-py2.7.egg/reviewboard/cmdline/rbsite.py",
line 562, in run_manage_command
execute_manager(reviewboard.settings, [__file__, cmd] + params)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.9-py2.7.egg/django/core/management/__init__.py",
line 459, in execute_manager
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.9-py2.7.egg/django/core/management/__init__.py",
line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.9-py2.7.egg/django/core/management/base.py",
line 196, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.9-py2.7.egg/django/core/management/base.py",
line 232, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.9-py2.7.egg/django/core/management/base.py",
line 371, in handle
return self.handle_noargs(**options)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.9-py2.7.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.7/dist-packages/Django-1.4.9-py2.7.egg/django/core/management/sql.py",
line 189, in emit_post_sync_signal
interactive=interactive, db=db)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.9-py2.7.egg/django/dispatch/dispatcher.py",
line 172, in send
response = receiver(signal=self, sender=sender, **named)
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.16-py2.7.egg/reviewboard/admin/management/evolutions.py",
line 58, in init_evolutions
verbosity=0)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.9-py2.7.egg/django/core/management/commands/loaddata.py",
line 40, in handle
connection = connections[using]
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.9-py2.7.egg/django/db/utils.py",
line 87, in __getitem__
if hasattr(self._connections, alias):
TypeError: hasattr(): attribute name must be string
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/groups/opt_out.