Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exception in spyder internal console when typing 'exit(' in editor #1990

Closed
spyder-bot opened this issue Feb 17, 2015 · 2 comments
Closed

exception in spyder internal console when typing 'exit(' in editor #1990

spyder-bot opened this issue Feb 17, 2015 · 2 comments

Comments

@spyder-bot
Copy link
Collaborator

From 12w13d2...@gmail.com on 2014-09-30T04:00:06Z

Spyder Version: 2.3.1
Python Version: 2.7.6
Qt Version : 4.8.6, PyQt4 (API v2) 4.10.4 on Linux
pyflakes >=0.5.0: 0.8.1 (OK)
pep8 >=0.6 : None (NOK)
IPython >=0.13 : 1.2.1 (OK)
pygments >=1.6 : 1.6 (OK)
pandas >=0.13.1 : 0.14.1 (OK)
sphinx >=0.6.6 : 1.2.3 (OK)
psutil >=0.3 : None (NOK)
rope >=0.9.2 : 0.10.2 (OK)
matplotlib >=1.0: 1.4.0 (OK)
sympy >=0.7.0 : None (NOK)
pylint >=0.25 : None (NOK)

What steps will reproduce the problem?

  1. type 'exit(' in the editor 2. 3.

What is the expected output? What do you see instead?

output of internal console:

Spyder Internal Console

This console is used to report application
internal errors and to inspect Spyder
internals with the following commands:
spy.app, spy.window, dir(spy)

Please don't use it to run your code

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/spyderlib/widgets/editor.py", line 433, in show_object_info
signature = getsignaturefromtext(doc_text, obj_name)
File "/usr/local/lib/python2.7/dist-packages/spyderlib/utils/dochelpers.py", line 178, in getsignaturefromtext
sigs_1 = re.findall(oneline_re + '|' + multiline_re, text)
File "/usr/lib/python2.7/re.py", line 177, in findall
return _compile(pattern, flags).findall(string)
TypeError: expected string or buffer

Please provide any additional information below

.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1990

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2014-11-18T15:31:05Z

Labels: MS-v2.3.3 Cat-Editor

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2014-12-18T13:33:51Z

This was fixed in revision b31892ba739e

Status: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant