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 <[EMAIL PROTECTED]>. 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 [EMAIL PROTECTED] _______________________________________________ Eric mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/eric
