Hi Christian,

First, thanks for your continued efforts building review-board. Your
work is mush appreciated.

I've just tried upgrading my 1.0.5.1 installation to 1.0.6. There
seems to be a problem with django/memcached excepting plain 'str'-keys
and rb/django now using unicode?

b...@b49864:~$ sudo rb-site upgrade /var/www/reviewboard_a21/
Rebuilding directory structure
Updating database. This may take a while.
/var/lib/python-support/python2.6/MySQLdb/__init__.py:34:
DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Upgrading Review Board from 1.0.5.1 to 1.0.6
Traceback (most recent call last):
  File "/usr/local/bin/rb-site", line 8, in <module>
    load_entry_point('ReviewBoard==1.0.6', 'console_scripts', 'rb-
site')()
  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.6-
py2.6.egg/reviewboard/cmdline/rbsite.py", line 1487, in main
    command.run()
  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.6-
py2.6.egg/reviewboard/cmdline/rbsite.py", line 1406, in run
    site.sync_database()
  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.6-
py2.6.egg/reviewboard/cmdline/rbsite.py", line 314, in sync_database
    self.run_manage_command("syncdb", ["--noinput"])
  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.6-
py2.6.egg/reviewboard/cmdline/rbsite.py", line 353, in
run_manage_command
    execute_manager(reviewboard.settings, [__file__, cmd] + params)
  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/core/management/__init__.py", line 362, in execute_manager
    utility.execute()
  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/core/management/__init__.py", line 303, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/core/management/base.py", line 195, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/core/management/base.py", line 222, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/core/management/base.py", line 351, in handle
    return self.handle_noargs(**options)
  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/core/management/commands/syncdb.py", line 99, in handle_noargs
    emit_post_sync_signal(created_models, verbosity, interactive)
  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/core/management/sql.py", line 205, in emit_post_sync_signal
    interactive=interactive)
  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/dispatch/dispatcher.py", line 166, in send
    response = receiver(signal=self, sender=sender, **named)
  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.6-
py2.6.egg/reviewboard/admin/management/sites.py", line 54, in
init_siteconfig
    siteconfig.save()
  File "/usr/local/lib/python2.6/dist-packages/Djblets-0.5.8-py2.6.egg/
djblets/siteconfig/models.py", line 120, in save
    self._last_sync_gen = cache.incr(cache_key)
  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
django/core/cache/backends/memcached.py", line 49, in incr
    return self._cache.incr(key, delta)
  File "/var/lib/python-support/python2.6/memcache.py", line 360, in
incr
    return self._incrdecr("incr", key, delta)
  File "/var/lib/python-support/python2.6/memcache.py", line 375, in
_incrdecr
    check_key(key)
  File "/var/lib/python-support/python2.6/memcache.py", line 878, in
check_key
    raise Client.MemcachedStringEncodingError, ("Keys must be str()'s,
not"
memcache.MemcachedStringEncodingError: Keys must be str()'s,
notunicode.  Convert your unicode strings using
mystring.encode(charset)!


 -- Jeppe

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

To unsubscribe from this group, send email to 
reviewboard+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to