Menu

#159 Editing at end of file generates error

closed-fixed
None
5
2003-12-29
2003-12-01
Mike Crowe
No

Got the following traceback when editing near the end
of my file. Using 0.2.7 from CVS:

showing main frames
Traceback (most recent call last):
File "C:\Python22\boa\boa\Views\PySourceView.py",
line 968, in OnAddChar
self.doAutoIndent(prevline, pos)
File "C:\Python22\boa\boa\Views\StyledTextCtrls.py",
line 811, in doAutoIndent
indent = string.strip(prevline, '\r\n')
TypeError: strip() takes exactly 1 argument (2 given)
Traceback (most recent call last):
File "C:\Python22\boa\boa\Views\PySourceView.py",
line 968, in OnAddChar
self.doAutoIndent(prevline, pos)
File "C:\Python22\boa\boa\Views\StyledTextCtrls.py",
line 811, in doAutoIndent
indent = string.strip(prevline, '\r\n')
TypeError: strip() takes exactly 1 argument (2 given)
Traceback (most recent call last):
File "C:\Python22\boa\boa\Views\PySourceView.py",
line 968, in OnAddChar
self.doAutoIndent(prevline, pos)
File "C:\Python22\boa\boa\Views\StyledTextCtrls.py",
line 811, in doAutoIndent
indent = string.strip(prevline, '\r\n')
TypeError: strip() takes exactly 1 argument (2 given)

Discussion

  • Riaan Booysen

    Riaan Booysen - 2003-12-29

    Logged In: YES
    user_id=438

    Thanks, the fix has been checked into CVS.

     
  • Riaan Booysen

    Riaan Booysen - 2003-12-29
    • assigned_to: nobody --> riaan
    • status: open --> closed-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.