On 1/2/07, Markus Fuchs <firstname.lastname@example.org> wrote:
> David James <email@example.com> wrote:
> > On 12/31/06, Shun-ichi GOTO <firstname.lastname@example.org> wrote:
> > > 2007/1/1, David James <email@example.com>:
> > > > On 12/31/06, Markus Fuchs <firstname.lastname@example.org> wrote:
> > > > > properties = svn.ra.get_file(self.session, self.path, self.rev,
> > > > > None) Unfortunately this results in an "AttributeError: write"
> > > > > svn_ra_get_file (ra.py).
> > > > >
> > > > > What am I doing wrong? Is it a bug?
> > > >
> > > > Yes, this is a bug in the Python bindings, which I believe was
> > > > in Subversion 1.3.0. What version of the Python bindings are you
> > > > using?
> > >
> > > Really? I've tried with python binding 1.3.0, 1.3.1 and 1.4.2 on
> > > Windows and 1.3.2 on debian.
> > > I got same result with all of them: "AttributeError: write".
> > Oops, you're right! This bug is still present in Subversion trunk.
> > I've fixed this bug in r22849 in Subversion trunk, so the fix should
> be included in Subversion 1.5 when it is released. I've also added some
> tests to verify this fix.
> > If you have time, can you verify my fix on your machine?
> Thanks for your fix, David. I'll try to verify it as soon as I'm able to
> build the Python bindings on my Windows box (never did that before) ;-).
> BTW, do you know if the unit tests for the Python bindings get run on
> Windows from time to time? I doubt that ra.get_dir2() works as expected
> although there is a test_get_dir2() unit test in tests/ra.py.
I don't think that we run the tests for the Python bindings regularly
on Windows, but we definitely should! Currently, we only run it when
we cut a release. (We tested Subversion 1.4.0, but the test suite for
Subversion 1.4.0 doesn't have a test for ra.get_dir2, so that function
has not been tested on Windows.)
D.J. Heap, what needs to be done to upgrade the Windows build slaves
for the buildbot to regularly run the Python bindings test suite?
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Tue Jan 2 16:11:24 2007