Hide Forgot
Description of problem: Getting exception on info() method in python redis client Version-Release number of selected component (if applicable): Installed Packages Name : python-redis Arch : noarch Version : 2.0.0 Release : 2.fc15 Size : 115 k Repo : installed From repo : fedora Summary : A Python client for redis URL : http://github.com/andymccurdy/redis-py License : MIT Description : This is a Python interface to the Redis key-value store. Actual results: >>> import redis >>> con = redis.Redis(host='redisServer') >>> con.info() Traceback (most recent call last): File "<input>", line 1, in <module> File "/usr/lib/python2.7/site-packages/redis/client.py", line 491, in info return self.execute_command('INFO') File "/usr/lib/python2.7/site-packages/redis/client.py", line 330, in execute_command **options File "/usr/lib/python2.7/site-packages/redis/client.py", line 312, in _execute_command return self.parse_response(command_name, **options) File "/usr/lib/python2.7/site-packages/redis/client.py", line 392, in parse_response return self.RESPONSE_CALLBACKS[command_name](response, **options) File "/usr/lib/python2.7/site-packages/redis/client.py", line 166, in parse_info info[key] = get_value(value) File "/usr/lib/python2.7/site-packages/redis/client.py", line 155, in get_value k, v = item.split('=') ValueError: too many values to unpack >>> Expected results: With python-redis 2.49 installed via pip command in a virtualenv... >>> import redis >>> con = redis.Redis(host='redisServer') >>> con.info() {'pubsub_channels': 0, 'aof_enabled': 0, 'bgrewriteaof_in_progress': 0, 'connected_slaves': 0, 'uptime_in_days': 1, 'multiplexing_api': 'epoll', 'lru _clock': 1142823, 'last_save_time': 1311660145, 'redis_version': '2.2.5', 'redis_git_sha1': 0, 'loading': 0, 'connected_clients': 1, 'keyspace_misses ': 5, 'used_memory': 1607216, 'used_cpu_sys_childrens': 0.06, 'vm_enabled': 0, 'role': 'master', 'total_commands_processed': 38, 'used_memory_rss': 2 658304, 'total_connections_received': 8, 'pubsub_patterns': 0, 'used_cpu_sys': 1.52, 'used_cpu_user_childrens': 0.01, 'used_memory_human': '1.53M', ' blocked_clients': 0, 'used_cpu_user': 2.64, 'use_tcmalloc': 0, 'client_biggest_input_buf': 0, 'db0': {'keys': 13, 'expires': 0}, 'arch_bits': 64, 're dis_git_dirty': 0, 'expired_keys': 0, 'hash_max_zipmap_entries': 512, 'evicted_keys': 0, 'bgsave_in_progress': 0, 'allocation_stats': {'24': 10226, ' 25': 8, '26': 5, '27': 3, '20': 12, '21': 24, '22': 5, '23': 49, '28': 6, '29': 8, '8': 40, '120': 1, '123': 2, '128': 7, '59': 5, '58': 3, '55': 3, '57': 2, '56': 6, '51': 1, '50': 1, '53': 2, '52': 1, '88': 85, '89': 9, '110': 1, '82': 20, '83': 9, '80': 13, '81': 18, '86': 15, '87': 16, '84': 2 5, '85': 18, '103': 2, '100': 1, '39': 16, '38': 7, '33': 1, '32': 54, '31': 6, '30': 22, '37': 6, '36': 4, '35': 3, '34': 12, '>=256': 45, '61': 5, '62': 1, '63': 1, '64': 8, '65': 3, '66': 2, '67': 1, '68': 4, '69': 4, '6': 1, '169': 4, '90': 3, '11': 119, '10': 75, '13': 73, '12': 10079, '15': 96, '14': 28, '17': 24, '16': 20774, '19': 23, '18': 26, '48': 41, '49': 2, '46': 1, '47': 3, '44': 3, '45': 3, '42': 4, '43': 2, '40': 6, '41': 3, ' 9': 94, '149': 1, '77': 4, '76': 3, '75': 1, '74': 3, '73': 6, '72': 6, '71': 3, '70': 2, '79': 7, '78': 7}, 'client_longest_output_list': 0, 'hash_m ax_zipmap_value': 64, 'process_id': 930, 'uptime_in_seconds': 86957, 'changes_since_last_save': 0, 'mem_fragmentation_ratio': 1.65, 'keyspace_hits': 9} >>> Additional info:
This message is a notice that Fedora 15 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 15. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '15' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 15 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping