[Bug 1492604] [NEW] python3-memcached uses invalid string handling

2015-09-08 Thread Launchpad Bug Tracker
You have been subscribed to a public bug by Robie Basak (racb):

First of all: This issue seems to have been solved upstream, see
.  However, this
should be backported to the currently supported incarnations of
python3-memcache since this package is severely broken without it.

If you try to add a key to the cache, the following traceback occurs:

Traceback (most recent call last):
  ...
  File 
"/usr/local/lib/python3.4/dist-packages/django/core/cache/backends/memcached.py",
 line 80, in add
return self._cache.add(key, value, self.get_backend_timeout(timeout))
  File "/usr/lib/python3/dist-packages/memcache.py", line 586, in add
return self._set("add", key, val, time, min_compress_len)
  File "/usr/lib/python3/dist-packages/memcache.py", line 929, in _set
return _unsafe_set()
  File "/usr/lib/python3/dist-packages/memcache.py", line 919, in _unsafe_set
server.send_cmd(fullcmd)
  File "/usr/lib/python3/dist-packages/memcache.py", line 1289, in send_cmd
self.socket.sendall(cmd + '\\r\\n')
TypeError: 'str' does not support the buffer interface

** Affects: python-memcache (Ubuntu)
 Importance: Undecided
 Status: New

-- 
python3-memcached uses invalid string handling
https://bugs.launchpad.net/bugs/1492604
You received this bug notification because you are a member of Ubuntu Server 
Team, which is subscribed to the bug report.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1492604] [NEW] python3-memcached uses invalid string handling

2015-09-05 Thread Launchpad Bug Tracker
You have been subscribed to a public bug:

First of all: This issue seems to have been solved upstream, see
.  However, this
should be backported to the currently supported incarnations of
python3-memcache since this package is severely broken without it.

If you try to add a key to the cache, the following traceback occurs:

Traceback (most recent call last):
  ...
  File 
"/usr/local/lib/python3.4/dist-packages/django/core/cache/backends/memcached.py",
 line 80, in add
return self._cache.add(key, value, self.get_backend_timeout(timeout))
  File "/usr/lib/python3/dist-packages/memcache.py", line 586, in add
return self._set("add", key, val, time, min_compress_len)
  File "/usr/lib/python3/dist-packages/memcache.py", line 929, in _set
return _unsafe_set()
  File "/usr/lib/python3/dist-packages/memcache.py", line 919, in _unsafe_set
server.send_cmd(fullcmd)
  File "/usr/lib/python3/dist-packages/memcache.py", line 1289, in send_cmd
self.socket.sendall(cmd + '\\r\\n')
TypeError: 'str' does not support the buffer interface

** Affects: python-memcache (Ubuntu)
 Importance: Undecided
 Status: New

-- 
python3-memcached uses invalid string handling
https://bugs.launchpad.net/bugs/1492604
You received this bug notification because you are a member of Ubuntu Server 
Team, which is subscribed to python-memcache in Ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1492604] [NEW] python3-memcached uses invalid string handling

2015-09-05 Thread Torsten Bronger
Public bug reported:

First of all: This issue seems to have been solved upstream, see
.  However, this
should be backported to the currently supported incarnations of
python3-memcache since this package is severely broken without it.

If you try to add a key to the cache, the following traceback occurs:

Traceback (most recent call last):
  ...
  File 
"/usr/local/lib/python3.4/dist-packages/django/core/cache/backends/memcached.py",
 line 80, in add
return self._cache.add(key, value, self.get_backend_timeout(timeout))
  File "/usr/lib/python3/dist-packages/memcache.py", line 586, in add
return self._set("add", key, val, time, min_compress_len)
  File "/usr/lib/python3/dist-packages/memcache.py", line 929, in _set
return _unsafe_set()
  File "/usr/lib/python3/dist-packages/memcache.py", line 919, in _unsafe_set
server.send_cmd(fullcmd)
  File "/usr/lib/python3/dist-packages/memcache.py", line 1289, in send_cmd
self.socket.sendall(cmd + '\\r\\n')
TypeError: 'str' does not support the buffer interface

** Affects: python-memcache (Ubuntu)
 Importance: Undecided
 Status: New

** Project changed: python-memcached => python-memcache (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-memcache in Ubuntu.
https://bugs.launchpad.net/bugs/1492604

Title:
  python3-memcached uses invalid string handling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-memcache/+bug/1492604/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs