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
IPython has a Python-3 compatible version of pickleshare.py if that helps.
What steps will reproduce the problem?
Go to ? > Report issue...
Traceback (most recent call last):
File "/usr/local/lib/python3.2/dist-packages/spyderlib/spyder.py", line 1605, in report_issue
url.addEncodedQueryItem("comment", urllib.quote(issue_template))
AttributeError: 'module' object has no attribute 'quote'
Traceback (most recent call last):
File "/usr/local/lib/python3.2/dist-packages/spyderlib/spyder.py", line 1605, in report_issue
url.addEncodedQueryItem("comment", urllib.quote(issue_template))
AttributeError: 'module' object has no attribute 'quote'
Traceback (most recent call last):
File "/usr/local/lib/python3.2/dist-packages/spyderlib/widgets/editor.py", line 194, in run
self.submods = get_preferred_submodules()
File "/usr/local/lib/python3.2/dist-packages/spyderlib/utils/module_completion.py", line 288, in get_preferred_submodules
modules_db['submodules'] = submodules
File "/usr/local/lib/python3.2/dist-packages/spyderlib/utils/external/pickleshare.py", line 94, in setitem
pickled = pickle.dump(value, fil.open('w'))
TypeError: must be str, not bytes
(By the way, I understand from Carlos that Python 3 support is a current focus, but let me know if you want me to lay off filing bugs for it.)
The pickleshare error was actually something different, affecting code inspection. I've borrowed a couple of changes from IPython's copy of pickleshare, and it seems to be working now.
From tak...@gmail.com on 2013-07-05T17:42:02Z
IPython has a Python-3 compatible version of pickleshare.py if that helps.
What steps will reproduce the problem?
Traceback (most recent call last):
File "/usr/local/lib/python3.2/dist-packages/spyderlib/spyder.py", line 1605, in report_issue
url.addEncodedQueryItem("comment", urllib.quote(issue_template))
AttributeError: 'module' object has no attribute 'quote'
Traceback (most recent call last):
File "/usr/local/lib/python3.2/dist-packages/spyderlib/spyder.py", line 1605, in report_issue
url.addEncodedQueryItem("comment", urllib.quote(issue_template))
AttributeError: 'module' object has no attribute 'quote'
Traceback (most recent call last):
File "/usr/local/lib/python3.2/dist-packages/spyderlib/widgets/editor.py", line 194, in run
self.submods = get_preferred_submodules()
File "/usr/local/lib/python3.2/dist-packages/spyderlib/utils/module_completion.py", line 288, in get_preferred_submodules
modules_db['submodules'] = submodules
File "/usr/local/lib/python3.2/dist-packages/spyderlib/utils/external/pickleshare.py", line 94, in setitem
pickled = pickle.dump(value, fil.open('w'))
TypeError: must be str, not bytes
(By the way, I understand from Carlos that Python 3 support is a current focus, but let me know if you want me to lay off filing bugs for it.)
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1480
The text was updated successfully, but these errors were encountered: