RE: checkout fails due to missing temp dir
From: Marc Aushold <rettkliff2_at_yahoo.de>
Date: 2006-10-31 19:51:58 CET
So here again the info that I use Suse 9.2 with Plesk... :/ I still cannot check out any files :((
This is what I did: I added debug output to the function that tries to determine a temporary directory and rebuilt APR - I see no output at check out. Maybe that's because of an already cached dir? Maybe there is also no problem with the temporary dir?! (I do see the output when I use the passwd command...)
After enabling the maintenance mode at subversion I get this output at check out, that is REALLY strange:
/root/subversion-1.4.0/subversion/libsvn_ra_dav/util.c:827: (apr_err=20014)
svn: REPORT request failed on '/rep/!svn/vcc/default'
/root/subversion-1.4.0/subversion/libsvn_ra_dav/util.c:389: (apr_err=20014)
svn: Can't find a temporary directory: Error string not specified yet
in util.c I can find no line 827, it has only 792 lines... ? This is the function, line 389 is the return statement: Anyone an idea what this function means?
355: static int start_err_element(void *userdata, const svn_ra_dav__xml_elm_t *elm, const char **atts)
{
svn_error_t **err = userdata;
switch (elm->id)
{
case ELEM_svn_error:
{
/* allocate the svn_error_t. Hopefully the value will be
overwritten by the <human-readable> tag, or even someday by
a <D:failed-precondition/> tag. */
*err = svn_error_create(APR_EGENERAL, NULL,
"General svn error from server");
break;
}
case ELEM_human_readable:
{
/* get the errorcode attribute if present */
const char *errcode_str =
svn_xml_get_attr_value("errcode", /* ### make constant in
some mod_dav header? */
atts);
if (errcode_str && *err)
(*err)->apr_err = atoi(errcode_str);
break;
}
default:
break;
}
389: return SVN_RA_DAV__XML_VALID;
}
----- Ursprüngliche Mail ----
Von: Kenneth Porter <shiva_at_sewingwitch.com>
An: users_at_subversion.tigris.org
CC: Marc Aushold <rettkliff2_at_yahoo.de>
Gesendet: Montag, den 30. Oktober 2006, 18:47:26 Uhr
Betreff: Re: AW: AW: checkout fails due to missing temp dir
--On Monday, October 30, 2006 3:53 PM +0000 Marc Aushold
<rettkliff2_at_yahoo.de> wrote:
> All he's trying to do is to create a file in several folders. First in
> folders from the evironment variables $TMP, $TEMP and $TMPDIR - none of
> the is set on my system. Then the algorithm goes through hard coded
> paths: "/tmp", "/usr/tmp", "/var/tmp".
What platform are you using for the client? If Windows, it's odd that you
don't have any of those environment variables defined. If Linux, then it's
odd that you don't have any of the standard tmp directories.
> Is there another way to get more information out of the functions? Should
> I add my own output and rebuild?
That's the approach I'd take at this point, assuming at least one of those
temp dirs really do exist on your client.
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.