[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Assertion failed: is_canonical, from Python [was: hard coded path?]

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2005-07-05 18:13:09 CEST

> projorpheon ccf wrote:
>> I got the below error when using the subversion python binding.
>> Assertion failed: is_canonical (base, blen), file
>> C:\Home\brane\src\svn\subversion-1.2.0\subversion\
>> libsvn_subr\path.c, line 114
>> This application has requested the Runtime to terminate it in an
>> unusual way.
>> Please contact the application's support team for more information.
>> I am not sure whether from the above error information the problem
>> could be identified?

No, that's not enough information. Please give us a reproduction recipe or say
which function you called and what the arguments were.

Branko ─îibej wrote:
> It certainly tells you where the assertion was triggered. It's not my
> fault that MSVC feeds absolute file names rather than relative ones to
> assert.

Heh! It looks like that just confused the original poster, and is not actually
the relevant problem.

projorpheon ccf: The path printed in the error message is the location in the
Subversion source code of the assert statement that detected a problem; the
erroneous path is, unfortunately, not shown. Therefore the problem that you
encountered has nothing to do with hard-coded paths.

(The fact that an absolute path is shown in the error message is not ideal, but
not really a problem.)

- Julian

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 5 19:01:12 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.