{"action":"closed","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/1332","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/1332/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/1332/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/1332/events","html_url":"https://github.com/spyder-ide/spyder/issues/1332","id":57967634,"number":1332,"title":"traceback a value error when viewing-editing arrays in variable explorer","user":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/1%20star","name":"1 star","color":"FFFFFF"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/done","name":"done","color":"FFFFFF"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/Variable-Explorer","name":"Variable-Explorer","color":"FFFFFF"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-17T19:13:02Z","updated_at":"2015-02-17T19:13:04Z","closed_at":"2015-02-17T19:13:04Z","body":"_From [jichengl...@gmail.com](https://code.google.com/u/112107071011487304650/) on 2013-03-25T19:23:16Z_\n\nSpyder Version:  2.1.11\r\nPython Version:  2.7.3\r\nQt Version:      4.8.3, PyQt4 (API v2) 4.9.5 on Windows \n\nWhat steps will reproduce the problem?\n\n 1.double click on a numpy array in the variable explorer\r\n2.or drag the editor slider after double click on a array in the variable explore 3. What is the expected output? What do you see instead? i just want see the number in the array,however at the same time the console always show me a value error:\r\nTraceback (most recent call last):\r\n  File \"C:\\Python27\\lib\\site-packages\\spyderlib\\widgets\\arrayeditor.py\", line 342, in keyPressEvent\r\n    self.copy()\r\n  File \"C:\\Python27\\lib\\site-packages\\spyderlib\\widgets\\arrayeditor.py\", line 360, in copy\r\n    cliptxt = self._sel_to_text( self.selectedIndexes() )\r\n  File \"C:\\Python27\\lib\\site-packages\\spyderlib\\widgets\\arrayeditor.py\", line 348, in _sel_to_text\r\n    row_min, row_max, col_min, col_max = get_idx_rect(cell_range)\r\n  File \"C:\\Python27\\lib\\site-packages\\spyderlib\\widgets\\arrayeditor.py\", line 88, in get_idx_rect\r\n    rows, cols = zip(*[(i.row(), i.column()) for i in index_list])\r\nValueError: need more than 0 values to unpack \n\nPlease provide any additional information below\n\n.\n\n_Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1332_"}}