You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Graham Leggett <mi...@sharp.fm> on 2007/02/12 14:46:49 UTC
Failed to find label 'NULL' for URL
Hi all,
I have a RHEL4 svn client attempting to do an svn update against a Solaris
svn server. When this is attempted, I get the message:
svn: Failed to find label 'NULL' for URL '/repos/fo/sba/trunk/SBA/SbaAlchemy'
The error messages fails to say which URL is affected, the message is
thrown whenever any attempt is made by the RHEL4 machine to update or
checkout code from the Solaris machine.
Does anyone know what this error means?
The RHEL4 machine runs svn v1.4.2, and the Solaris machine runs v1.4.0.
The RHEL4 machine previously ran v1.1.4, and it gave the same error.
Any clues?
Regards,
Graham
--
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Failed to find label 'NULL' for URL
Posted by Graham Leggett <mi...@sharp.fm>.
Daniel Rall wrote:
> This error is produced by subversion/libsvn_ra_dav/props.c's
> svn_ra_dav__get_props_resource():
>
> --- snip ---
> SVN_ERR(svn_ra_dav__get_props(&props, sess, url_path, SVN_RA_DAV__DEPTH_ZERO,
> label, which_props, pool));
> ...
> /* pick out the first response: the URL requested will not match
> * the response href. */
> apr_hash_index_t *hi = apr_hash_first(pool, props);
>
> if (hi)
> {
> void *ent;
> apr_hash_this(hi, NULL, NULL, &ent);
> *rsrc = ent;
> }
> else
> *rsrc = NULL;
> ...
> if (*rsrc == NULL)
> {
> /* ### hmmm, should have been in there... */
> return svn_error_createf(APR_EGENERAL, NULL,
> _("Failed to find label '%s' for URL '%s'"),
> label ? label : "NULL", url_path);
> }
> --- snip ---
>
> svn_ra_dav__get_props() must be returning an empty property hash. It
> creates and dispatches a sub-request (PROPFIND) to httpd to retrieve
> the properties requested from svn_ra_dav__get_props_resource() (via
> its which_props parameter).
Does this error mean a broken client or a broken server?
The strange thing is that both MacosX, Solaris and Windows clients can
update the tree from the Solaris v1.4.0 server fine, but a v1.1.4
(RHEL4) Linux client threw this error - and then carried on throwing
this error even after subversion was upgraded from v1.1.4 to v1.4.2 on
the Linux box.
I am trying to figure out what is so special about the Linux box that it
throws this error, but none of the others do.
Regards,
Graham
--
Re: Failed to find label 'NULL' for URL
Posted by Daniel Rall <dl...@collab.net>.
On Mon, 12 Feb 2007, Graham Leggett wrote:
> I have a RHEL4 svn client attempting to do an svn update against a Solaris
> svn server. When this is attempted, I get the message:
>
> svn: Failed to find label 'NULL' for URL '/repos/fo/sba/trunk/SBA/SbaAlchemy'
>
> The error messages fails to say which URL is affected, the message is
> thrown whenever any attempt is made by the RHEL4 machine to update or
> checkout code from the Solaris machine.
This error is produced by subversion/libsvn_ra_dav/props.c's
svn_ra_dav__get_props_resource():
--- snip ---
SVN_ERR(svn_ra_dav__get_props(&props, sess, url_path, SVN_RA_DAV__DEPTH_ZERO,
label, which_props, pool));
...
/* pick out the first response: the URL requested will not match
* the response href. */
apr_hash_index_t *hi = apr_hash_first(pool, props);
if (hi)
{
void *ent;
apr_hash_this(hi, NULL, NULL, &ent);
*rsrc = ent;
}
else
*rsrc = NULL;
...
if (*rsrc == NULL)
{
/* ### hmmm, should have been in there... */
return svn_error_createf(APR_EGENERAL, NULL,
_("Failed to find label '%s' for URL '%s'"),
label ? label : "NULL", url_path);
}
--- snip ---
svn_ra_dav__get_props() must be returning an empty property hash. It
creates and dispatches a sub-request (PROPFIND) to httpd to retrieve
the properties requested from svn_ra_dav__get_props_resource() (via
its which_props parameter).