[Eric] Rope plagin error
Tonal
tonal at promsoft.ru
Sun Feb 3 14:53:40 GMT 2008
--------------------------------------------------------------------------------
2008-02-03, 20:51:51
--------------------------------------------------------------------------------
<class 'rope.base.exceptions.ModuleSyntaxError'>:
Syntax error in file <src/ModelBusinessman.py> line <0>: unknown
encoding: cp1251
--------------------------------------------------------------------------------
File
"C:\Lang\Python\25\Lib\site-packages\eric4plugins\RefactoringRope\Refactoring.py",
line 647, in __queryReferences
unsure = True, task_handle = handle)
File
"C:\Lang\Python\25\Lib\site-packages\eric4plugins\RefactoringRope\rope\contrib\codeassist.py",
line 104, in find_occurrences
for occurrence in finder.find_occurrences(resource):
File
"C:\Lang\Python\25\Lib\site-packages\eric4plugins\RefactoringRope\rope\refactor\occurrences.py",
line 25, in find_occurrences
if self._is_a_match(occurrence):
File
"C:\Lang\Python\25\Lib\site-packages\eric4plugins\RefactoringRope\rope\refactor\occurrences.py",
line 33, in _is_a_match
new_pyname = occurrence.get_pyname()
File
"C:\Lang\Python\25\Lib\site-packages\eric4plugins\RefactoringRope\rope\refactor\occurrences.py",
line 67, in get_pyname
return self.tools.name_finder.get_pyname_at(self.offset)
File
"C:\Lang\Python\25\Lib\site-packages\eric4plugins\RefactoringRope\rope\refactor\occurrences.py",
line 201, in get_name_finder
self.pymodule = self.pycore.resource_to_pyobject(self.resource)
File
"C:\Lang\Python\25\Lib\site-packages\eric4plugins\RefactoringRope\rope\base\pycore.py",
line 195, in resource_to_pyobject
return self.module_cache.get_pymodule(resource)
File
"C:\Lang\Python\25\Lib\site-packages\eric4plugins\RefactoringRope\rope\base\pycore.py",
line 292, in get_pymodule
result = PyModule(self.pycore, resource.read(), resource=resource)
File
"C:\Lang\Python\25\Lib\site-packages\eric4plugins\RefactoringRope\rope\base\pyobjectsdef.py",
line 165, in __init__
raise exceptions.ModuleSyntaxError(filename, e.lineno, e.msg)
--------------------------------------------------------------------------------
Version Numbers:
Python 2.5.1
Qt 4.3.3
PyQt4 4.3-snapshot-20071225
sip 4.7-snapshot-20071228
QScintilla 2-snapshot-20080106
eric4 4.1-snapshot-20080118 (r1832)
Platform: win32
2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]
--
Александр Замараев
More information about the Eric
mailing list