Al Hoang

October 4, 2006

Fixing SVK ‘Oh no, no more exceptions! add_directory() failed’

Filed under: tagme — @ 2:43 am

The Problem

$ svk mirror  http://svn.somewhere.org/project //mirror/project

Committed revision 1.

$ svk sync //mirror/project

Syncing this

bug.

The cause

I’m not sure what the reason but in general the problem seems

to be isolated to the SVN::Mirror perl module. Perhaps if you upgrade

SVK and all its dependencies via your package manager of choice and SVN::Mirror

is updated to the right version I think you can get away from the problem.

A Fix

Upgrade SVN::Mirror (somehow). Since I installed SVK by hand it was possible

to upgrade using cpan. Here’s what I did:

$ /usr/local/bin/cpan

cpan> install SVN::Mirror

Running install for module SVN::Mirror

Running make for C/CL/CLKAO/SVN-Mirror-0.71.tar.gz

After that, I was able to use svk sync as expected.

Clinton ‘endorses’ Ubuntu

Filed under: tagme — @ 2:31 am

Well perhaps not the Ubuntu

I associate with but close enough…

Powered by WordPress

Protected by AkismetBlog with WordPress