[pywin32-bugs] [ pywin32-Bugs-1348618 ] IndentationError
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2006-02-27 11:07:35
|
Bugs item #1348618, was opened at 2005-11-05 07:28 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1348618&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: pythonwin Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Robert Kiendl (kxroberto) Assigned to: Nobody/Anonymous (nobody) Summary: IndentationError Initial Comment: latest build 205 / py2.4: occasional error message in interactive window: [Dbg]>>> Traceback (most recent call last): File "C:\Python24\Lib\site-packages\pythonwin\pywin\framework\editor\color\coloreditor.py", line 51, in OnInitialUpdate SyntEditViewParent.OnInitialUpdate(self) File "C:\Python24\Lib\site-packages\pythonwin\pywin\scintilla\view.py", line 210, in OnInitialUpdate self.OnWinIniChange(None) File "C:\Python24\Lib\site-packages\pythonwin\pywin\scintilla\view.py", line 223, in OnWinIniChange self.DoConfigChange() File "C:\Python24\Lib\site-packages\pythonwin\pywin\framework\editor\color\coloreditor.py", line 162, in DoConfigChange ext.set_indentation_params(1) File "C:\Python24\Lib\site-packages\pythonwin\pywin\idle\AutoIndent.py", line 140, in set_indentation_params i = self.guess_indent() File "C:\Python24\Lib\site-packages\pythonwin\pywin\idle\AutoIndent.py", line 473, in guess_indent opener, indented = IndentSearcher(self.text, self.tabwidth).run() File "C:\Python24\Lib\site-packages\pythonwin\pywin\idle\AutoIndent.py", line 546, in run _tokenize.tokenize(self.readline, self.tokeneater) File "C:\Python24\lib\tokenize.py", line 153, in tokenize tokenize_loop(readline, tokeneater) File "C:\Python24\lib\tokenize.py", line 159, in tokenize_loop for token_info in generate_tokens(readline): File "C:\Python24\lib\tokenize.py", line 229, in generate_tokens raise IndentationError( IndentationError: unindent does not match any outer indentation level win32ui: OnInitialUpdate() virtual handler (<bound method SyntEditView.OnInitialUpdate of <pywin.framework.editor.color.coloreditor.SyntEditView instance at 0x00EE57D8>>) raised an exception Traceback (most recent call last): File "C:\Python24\Lib\site-packages\pythonwin\pywin\framework\editor\color\coloreditor.py", line 51, in OnInitialUpdate SyntEditViewParent.OnInitialUpdate(self) File "C:\Python24\Lib\site-packages\pythonwin\pywin\scintilla\view.py", line 210, in OnInitialUpdate self.OnWinIniChange(None) File "C:\Python24\Lib\site-packages\pythonwin\pywin\scintilla\view.py", line 223, in OnWinIniChange self.DoConfigChange() File "C:\Python24\Lib\site-packages\pythonwin\pywin\framework\editor\color\coloreditor.py", line 162, in DoConfigChange ext.set_indentation_params(1) File "C:\Python24\Lib\site-packages\pythonwin\pywin\idle\AutoIndent.py", line 140, in set_indentation_params i = self.guess_indent() File "C:\Python24\Lib\site-packages\pythonwin\pywin\idle\AutoIndent.py", line 473, in guess_indent opener, indented = IndentSearcher(self.text, self.tabwidth).run() File "C:\Python24\Lib\site-packages\pythonwin\pywin\idle\AutoIndent.py", line 546, in run _tokenize.tokenize(self.readline, self.tokeneater) File "C:\Python24\lib\tokenize.py", line 153, in tokenize tokenize_loop(readline, tokeneater) File "C:\Python24\lib\tokenize.py", line 159, in tokenize_loop for token_info in generate_tokens(readline): File "C:\Python24\lib\tokenize.py", line 229, in generate_tokens raise IndentationError( IndentationError: unindent does not match any outer indentation level win32ui: OnInitialUpdate() virtual handler (<bound method SyntEditView.OnInitialUpdate of <pywin.framework.editor.color.coloreditor.SyntEditView instance at 0x00EE59E0>>) raised an exception [Dbg]>>> ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2006-02-27 22:07 Message: Logged In: YES user_id=14198 Checking in AutoIndent.py; new revision: 1.2; previous revision: 1.1 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1348618&group_id=78018 |