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
Please note that reporting bugs from Spyder's help menu ("?" > "Report
issue...") will fill version details for Spyder, Python and Qt in this description for you. Spyder 2.1.13
Python 2.7.3 64bits, Qt 4.8.4, PyQt4 (API v2) 4.10 on Linux
Description taken from: https://bugzilla.redhat.com/show_bug.cgi?id=958040 Description of problem:
I have a CSS file. There is a multiline comment. When I try to insert some text into it from clipboard, it crashes the application.
Version-Release number of selected component (if applicable):
spyder-2.1.13-3.fc18.noarch
How reproducible:
Always
Steps to Reproduce:
I have this line in the file:
/_select {width: 220px;background-color: #ffffff;} */
(CSS file is autogenerated, so there is a possibility, that some comments are not closed properly thus making the CSS file invalid, but this should not crash IDE)
When I insert text comment into it ("this is some pretty long text comment that explains why is this commented") and thus changed it to:
/_select {width: 220px;background-color: #ffffff;} this is some pretty long text comment that explains why is this commented */
Immediately after hitting ^V, spyder crashes
Actual results:
program crashed, changes not saved
Expected results:
display:
/*select {width: 220px;background-color: #ffffff;} this is some pretty long text comment that explains why is this commented */
Additional info:
When I run spyder in debug mode, it doesn't crash, instead there is this exception printed:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/spyderlib/widgets/sourcecode/syntaxhighlighters.py", line 717, in highlightBlock
self.formats[key])
KeyError: 'multiline_comment_end'
From rad...@gmail.com on 2013-04-30T05:42:39Z
Please note that reporting bugs from Spyder's help menu ("?" > "Report
issue...") will fill version details for Spyder, Python and Qt in this description for you. Spyder 2.1.13
Python 2.7.3 64bits, Qt 4.8.4, PyQt4 (API v2) 4.10 on Linux
Description taken from: https://bugzilla.redhat.com/show_bug.cgi?id=958040 Description of problem:
I have a CSS file. There is a multiline comment. When I try to insert some text into it from clipboard, it crashes the application.
Version-Release number of selected component (if applicable):
spyder-2.1.13-3.fc18.noarch
How reproducible:
Always
Steps to Reproduce:
/_select {width: 220px;background-color: #ffffff;} */
(CSS file is autogenerated, so there is a possibility, that some comments are not closed properly thus making the CSS file invalid, but this should not crash IDE)
/_select {width: 220px;background-color: #ffffff;} this is some pretty long text comment that explains why is this commented */
Actual results:
program crashed, changes not saved
Expected results:
display:
/*select {width: 220px;background-color: #ffffff;} this is some pretty long text comment that explains why is this commented */
Additional info:
When I run spyder in debug mode, it doesn't crash, instead there is this exception printed:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/spyderlib/widgets/sourcecode/syntaxhighlighters.py", line 717, in highlightBlock
self.formats[key])
KeyError: 'multiline_comment_end'
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1371
The text was updated successfully, but these errors were encountered: