[Eric] Go to definition?

Detlev Offenbach detlev at die-offenbachs.de
Thu Oct 23 18:05:52 BST 2008


Hi,

this seems to be a problem in the rope library. Does Python 2.6 os.path have a 
samefile method?

Regards,
Detlev

On Donnerstag, 23. Oktober 2008, OldGrantonian wrote:
> Here is the error message:
>
> -------------------------------
>
> Warning:
>
> An unhandled exception occurred. Please report the problem using the error
> reporting dialog or via email to <eric4-bugs at die-offenbachs.de>. A log has
> been written to "D:\Documents and Settings\alan2\_eric4\eric4_error.log".
>
> Error information:
> ---------------------------------------------------------------------------
>----- 2008-10-23, 14:53:54
> ---------------------------------------------------------------------------
>----- <type 'exceptions.AttributeError'>:
> 'module' object has no attribute 'samefile'
> ---------------------------------------------------------------------------
>----- File "D:\Documents and
> Settings\alan2\_eric4\eric4plugins\RefactoringRope\Refactoring.py", line
> 1853, in __queryDefinition
> resource = rope.base.libutils.path_to_resource(self.__project, filename)
> File "D:\Documents and
> Settings\alan2\_eric4\eric4plugins\RefactoringRope\rope\base\libutils.py",
> line 20, in path_to_resource
> project_path = relative(project.address, path)
> File "D:\Documents and
> Settings\alan2\_eric4\eric4plugins\RefactoringRope\rope\base\libutils.py",
> line 38, in relative
> if os.path.samefile(root, path):
>
> ---------------------------------------------------------------------------
>----- Version Numbers:
> Python 2.6
> Qt 4.4.2
> PyQt4 4.4.4-snapshot-20080918
> sip 4.7.8-snapshot-20080916
> QScintilla 2.3-snapshot-20080917
> eric4 4.2.2 (r2537)
>
> Platform: win32
> 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit (Intel)]
> ---------------------------------------------------------------------------
>----- Plugins Version Numbers:
> PluginAbout 4.2.0
> PluginEricapi 4.2.0
> PluginEricdoc 4.2.0
> PluginRefactoringRope 1.1.2
> PluginSyntaxChecker 4.2.0
> PluginTabnanny 4.2.0
> PluginVcsPySvn 4.2.0
> PluginVcsSubversion 4.2.0
> PluginVmListspace 4.2.0
> PluginVmMdiArea 1.0.0
> PluginVmTabview 4.2.0
> PluginVmWorkspace 4.2.0
> PluginWizardPyRegExp 4.2.0
> PluginWizardQColorDialog 4.2.0
> PluginWizardQFileDialog 4.2.0
> PluginWizardQFontDialog 4.2.0
> PluginWizardQInputDialog 4.2.0
> PluginWizardQMessageBox 4.2.0
> PluginWizardQRegExp 4.2.0



-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the Eric mailing list