[Eric] bug in SVN ?

Detlev Offenbach detlev at die-offenbachs.de
Fri Aug 31 14:52:09 BST 2007


On Mittwoch, 29. August 2007, Christof Hanke wrote:
> 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/vcsSubvers
>ion/ProjectBrowserHelper.py", line 562, in __SVNMove
> if self.vcs.svnMove(fn, self.project):
> File
> "/usr/local/lib/python2.5/site-packages/eric4/Plugins/VcsPlugins/vcsSubvers
>ion/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)]
> _______________________________________________
> Eric mailing list
> Eric at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/eric

Hi,

that is a bug in the subversion.py module and will be fixed in the next 
snapshot. Meanwhile you may want to install the PySvn subversion interface 
and switch eric4 to use this.

Regards,
Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the Eric mailing list