[Eric] bug in SVN ?

Christof Hanke hanke at rzg.mpg.de
Wed Aug 29 22:02:28 BST 2007


Hi,

I got following exception while trying to move(rename) a file within the
repository (rightclick in the Projectbrowser -> Version Control -> Move
in Repository)
Also, the new name of the file is not known to the project as such ( you
need to add it explictly in the project-browser)

Christof



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 "/home/biber/.eric4/eric4_error.log".
Error information:
--------------------------------------------------------------------------------
2007-08-29, 23:53:01
--------------------------------------------------------------------------------
<type 'exceptions.AttributeError'>:
rfind
--------------------------------------------------------------------------------
File
"/usr/local/lib/python2.5/site-packages/eric4/Plugins/VcsPlugins/vcsSubversion/ProjectBrowserHelper.py",
line 562, in __SVNMove
if self.vcs.svnMove(fn, self.project):
File
"/usr/local/lib/python2.5/site-packages/eric4/Plugins/VcsPlugins/vcsSubversion/subversion.py",
line 1256, in svnMove
project.renameFileInPdata(name, target)
File "/usr/local/lib/python2.5/site-packages/eric4/Project/Project.py",
line 1793, in renameFileInPdata
if os.path.dirname(oldname) == os.path.dirname(newname):
File "/usr/local/lib/python2.5/posixpath.py", line 119, in dirname
return split(p)[0]
File "/usr/local/lib/python2.5/posixpath.py", line 77, in split
i = p.rfind('/') + 1
--------------------------------------------------------------------------------
Version Numbers:
Python 2.5.1
Qt 4.3.0
PyQt4 4.3
sip 4.7
QScintilla 2-snapshot-20070812
eric4 4.1-snapshot-20070813 (r1433)
Platform: linux2
2.5.1 (r251:54863, Aug 7 2007, 09:13:17)
[GCC 4.1.2 20061115 (prerelease) (SUSE Linux)]


More information about the Eric mailing list