Skip to content

Instantly share code, notes, and snippets.

@gabrielelanaro
Created June 27, 2010 19:58
Show Gist options
  • Select an option

  • Save gabrielelanaro/455136 to your computer and use it in GitHub Desktop.

Select an option

Save gabrielelanaro/455136 to your computer and use it in GitHub Desktop.
ModuleSyntaxError: Syntax error in file <blogger_bridge.py> line <82>:
Syntax errors in file blogger_bridge.py:
* line 23: invalid syntax ... fixed
* line 82: expected an indented block ... raised!
Traceback (most recent call last):
File "/home/eulero/workspace/emacs-for-python/rope-dist/ropemode/decorators.py", line 53, in newfunc
return func(*args, **kwds)
File "/home/eulero/workspace/emacs-for-python/rope-dist/ropemode/interface.py", line 274, in completions
return _CodeAssist(self, self.env).completions()
File "/home/eulero/workspace/emacs-for-python/rope-dist/ropemode/interface.py", line 593, in completions
proposals = self._calculate_proposals()
File "/home/eulero/workspace/emacs-for-python/rope-dist/ropemode/interface.py", line 620, in _calculate_proposals
resource, maxfixes=maxfixes)
File "/home/eulero/workspace/emacs-for-python/rope-dist/rope/contrib/codeassist.py", line 33, in code_assist
return assist()
File "/home/eulero/workspace/emacs-for-python/rope-dist/rope/contrib/codeassist.py", line 324, in __call__
completions = list(self._code_completions().values())
File "/home/eulero/workspace/emacs-for-python/rope-dist/rope/contrib/codeassist.py", line 392, in _code_completions
pymodule = fixer.get_pymodule()
File "/home/eulero/workspace/emacs-for-python/rope-dist/rope/base/utils.py", line 10, in _wrapper
setattr(self, name, func(self, *args, **kwds))
File "/home/eulero/workspace/emacs-for-python/rope-dist/rope/contrib/fixsyntax.py", line 42, in get_pymodule
new_message)
ModuleSyntaxError: Syntax error in file <blogger_bridge.py> line <82>:
Syntax errors in file blogger_bridge.py:
* line 23: invalid syntax ... fixed
* line 82: expected an indented block ... raised!
ModuleSyntaxError: Syntax error in file <blogger_bridge.py> line <82>:
Syntax errors in file blogger_bridge.py:
* line 23: invalid syntax ... fixed
* line 82: expected an indented block ... raised!
@ryankask
Copy link

ryankask commented Sep 7, 2010

Okay thanks. It seems like you have "(setq ropemacs-codeassist-maxfixes 3)" twice in your configuration: lines 58 and 71.

@gabrielelanaro
Copy link
Author

Thank you! I'm cleaning the duplication

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