You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\WinPython-64bit-3.3.3.3\python-3.3.3.amd64\lib\site-packages\IPython\core\interactiveshell.py in run_line_magic(self, magic_name, line)
2124 kwargs['local_ns'] = sys._getframe(stack_depth).f_locals
2125 with self.builtin_trap:
-> 2126 result = fn(args,*kwargs)
2127 return result
2128
C:\WinPython-64bit-3.3.3.3\python-3.3.3.amd64\lib\site-packages\IPython\core\magics\osm.py in bookmark(self, parameter_s)
C:\WinPython-64bit-3.3.3.3\python-3.3.3.amd64\lib\site-packages\IPython\core\magic.py in (f, _a, *_k)
191 # but it's overkill for just that one bit of state.
192 def magic_deco(arg):
--> 193 call = lambda f, _a, *_k: f(_a, *_k)
194
195 if callable(arg):
C:\WinPython-64bit-3.3.3.3\python-3.3.3.amd64\lib\site-packages\IPython\core\magics\osm.py in bookmark(self, parameter_s)
665 elif 'l' in opts:
666 bks = bkms.keys()
--> 667 bks.sort()
668 if bks:
669 size = max(map(len, bks))
AttributeError: 'dict_keys' object has no attribute 'sort'
The text was updated successfully, but these errors were encountered:
On
C:\WinPython-64bit-3.3.3.3\python-3.3.3.amd64>python -c "import IPython; print(IPython.sys_info())"
{'commit_hash': 'd268878',
'commit_source': 'installation',
'default_encoding': 'cp850',
'ipython_path': 'C:\WinPython-64bit-3.3.3.3\python-3.3.3.amd64\lib\site-pac kages\IPython',
'ipython_version': '2.0.0',
'os_name': 'nt',
'platform': 'Windows-7-6.1.7601-SP1',
'sys_executable': 'C:\WinPython-64bit-3.3.3.3\python-3.3.3.amd64\python.exe'
,
'sys_platform': 'win32',
'sys_version': '3.3.3 (v3.3.3:c3896275c0f6, Nov 18 2013, 21:19:30) [MSC v.1600 64 bit (AMD64)]'}
the command
%bookmark -l
crashes, with the following message:
AttributeError Traceback (most recent call last)
in ()
----> 1 get_ipython().magic('bookmark -l')
C:\WinPython-64bit-3.3.3.3\python-3.3.3.amd64\lib\site-packages\IPython\core\interactiveshell.py in magic(self, arg_s)
2203 magic_name, _, magic_arg_s = arg_s.partition(' ')
2204 magic_name = magic_name.lstrip(prefilter.ESC_MAGIC)
-> 2205 return self.run_line_magic(magic_name, magic_arg_s)
2206
2207 #-------------------------------------------------------------------------
C:\WinPython-64bit-3.3.3.3\python-3.3.3.amd64\lib\site-packages\IPython\core\interactiveshell.py in run_line_magic(self, magic_name, line)
2124 kwargs['local_ns'] = sys._getframe(stack_depth).f_locals
2125 with self.builtin_trap:
-> 2126 result = fn(args,*kwargs)
2127 return result
2128
C:\WinPython-64bit-3.3.3.3\python-3.3.3.amd64\lib\site-packages\IPython\core\magics\osm.py in bookmark(self, parameter_s)
C:\WinPython-64bit-3.3.3.3\python-3.3.3.amd64\lib\site-packages\IPython\core\magic.py in (f, _a, *_k)
191 # but it's overkill for just that one bit of state.
192 def magic_deco(arg):
--> 193 call = lambda f, _a, *_k: f(_a, *_k)
194
195 if callable(arg):
C:\WinPython-64bit-3.3.3.3\python-3.3.3.amd64\lib\site-packages\IPython\core\magics\osm.py in bookmark(self, parameter_s)
665 elif 'l' in opts:
666 bks = bkms.keys()
--> 667 bks.sort()
668 if bks:
669 size = max(map(len, bks))
AttributeError: 'dict_keys' object has no attribute 'sort'
The text was updated successfully, but these errors were encountered: