Docunext


svn ra get log Assertion path failed.

October 22nd, 2008
perl: /tmp/buildd/subversion-1.5.1dfsg1/subversion/libsvn_ra/ra_loader.c:997: svn_ra_check_path: Assertion `*path != '/'' failed.

Doh!

I'm getting this error in my Apache logs when trying to use the perl library SVN::Web.

This problem is caused by an update to the RA API, so I had to change code like this:

    $ra->get_log([$path], $rev, 1, 1, 0, 1,                 sub { @log_result = @_; });

to:

    $ra->get_log('trunk', $rev, 1, 1, 0, 1,                 sub { @log_result = @_; });

UPDATE: This appears to have been fixed as of January 2009.

UPDATE 2: No, it still happens.

UPDATE 3: I think I found a solution.

Yearly Indexes: 2003 2004 2006 2007 2008 2009 2010 2011 2012 2013 2015 2019 2020 2022