Displaying 20 results from an estimated 59 matches for "returncode".
2004 Dec 31
2
MGCP parameters
Sirs,
According to RFC 2705 (MGCP), these are the parameters that are used in the
transactions:
ReturnCode,
Connection-parameters
<-- DeleteConnection(CallId,
EndpointId,
ConnectionId,
[Encapsulated NotificationRequest,]
[Encapsulated EndpointConfiguration])...
2016 Mar 30
2
Re: [ovirt-devel] virt-v2v become zombie via python cpopen on error
...'local', '-os', '/tmp', '-of', 'raw', '-oa', 'sparse',
> >>> '--password-file', '/tmp/passwd', '--machine-readable', 'bbb']
> >>> p = CPopen(cmd, env=env)
> >>> while p.returncode is None:
>
> p.returncode just return the instance variable, there is no wait() involved.
>
> The right way:
>
> while p.poll() is None:
the problem is proc.stdout.read(1) didn't raise and error when the stream
closed but return ''.
its a CPopen behaviour and wo...
2016 Mar 30
2
Re: virt-v2v become zombie via python cpopen on error
...#39;-o',
>> 'local', '-os', '/tmp', '-of', 'raw', '-oa', 'sparse',
>> '--password-file', '/tmp/passwd', '--machine-readable', 'bbb']
>> p = CPopen(cmd, env=env)
>> while p.returncode is None:
>> c = p.stdout.read(1)
>> print c
>> ----------------------------------------------------------------------------
>
> An actual zombie task? That would indicate that the parent process
> (your Python program) wasn't doing a wait system call.
>
&g...
2007 Apr 18
1
How to call stored procedure on iodbc
...ink.
Exact scenario is that my stored procedure takes 6 parameters out of
which 1 parameter is out parameter and other 5 are input parameters.
So it uses 5 IN parameters as values for inserting a row in database
and returns its max id as out parameter.
Code Snippet is given below :--
SWORD returnCode = 0;
SDWORD bindReturnCode = 0;
RETCODE returnVal;
char sqlString[500];
memset(sqlString,0,sizeof(sqlString));
HSTMT hstmt = ptrDB->GetHSTMT();
returnVal = SQLAllocStmt(ptrDB->GetHDBC(), &hstmt);
if (returnVal == SQL_SUCCESS)
{
returnVal = SQLBind...
2012 Aug 02
1
documentation for configuring folder redirection
I believe that once you have roaming profiles configured, all you need to do
to configure folder redirection is set some registry keys. I'd like to turn
that job over to our Windows sys admin. Can someone provide me with their
favorite documentation for configuring folder redirection? Keep in mind I am
passing this link along to a Windows sys admin. Our backend is samba 3.6.3
if it
2011 Jun 27
1
LMTP returncode 450?
Hi,
How do I get the LMTP-server to know which mailbox's are locally hosted
and return SMTP code 450 if delivery is attempted to a non local user?
I can see that a lookup in the userdb is done, but now matter what I
return (1/111) from my checkpassword script I just get:
451 4.3.0 <lp at domain.tld> Internal error occurred. Refer to server log
for more information.
/Peter
2016 Mar 30
0
Re: [ovirt-devel] virt-v2v become zombie via python cpopen on error
...;>> 'local', '-os', '/tmp', '-of', 'raw', '-oa', 'sparse',
>>> '--password-file', '/tmp/passwd', '--machine-readable', 'bbb']
>>> p = CPopen(cmd, env=env)
>>> while p.returncode is None:
p.returncode just return the instance variable, there is no wait() involved.
The right way:
while p.poll() is None:
...
p.returncode calling wait is non-standard feature in vdsm AsyncProc
wrapper. This is
the object used by v2v vdsm module, so there accessing p.returncode d...
2006 Jul 22
0
multiple return values in action web service
...mespaces) if I use
a struct.
<?xml version="1.0" encoding="UTF-8" ?>
<Envelope>
<Body>
<doSomethingResponse>
<return type="ReturnStatus">
<returnText type="string">Success</returnText>
<returnCode type="int">0</returnCode>
</return>
</doSomethingResponse>
</Body>
</Envelope>
But that <return> object is getting in the way. What I''d like is:
<?xml version="1.0" encoding="UTF-8" ?>
<Envelope&g...
2007 Oct 07
1
global sieve script
...a maildrop+courier setup to lda(sieve)+dovecot setup.
with maildrop i had a global filter for all the users, so i could filter and
archive into the spam folder spam tagged emails for users without custom
filters, including them if they exist:
LOGNAME=tolower($LOGNAME)
`test -e $LOGNAME`
if ( $RETURNCODE != 0 )
{
`maildirmake $LOGNAME`
`maildirmake $LOGNAME/._spam`
}
`test -f $LOGNAME/mailfilter`
if ( $RETURNCODE == 0 )
{
include "$LOGNAME/mailfilter"
}
if ( /^X-Spam-Status: YES */)
{
to "$LOGNAME/._spam"
}
else
{
to "$LOGNAME/"...
2001 Jun 18
1
make scp more script-capable
Hi,
here's a proposal of a new ssh/scp-feature:
-------------------------------------------------------
please implement a timeout with non-zero error-returncode on
"Are you sure you want to continue connecting (yes/no)?"
-------------------------------------------------------
My situation:
recently I have implemented a cronjob
that is using scp. Due to organizational
reasons, the hostname of the remote
machine changed. The problem that ca...
2016 Mar 30
0
Re: [ovirt-devel] virt-v2v become zombie via python cpopen on error
...#39;, '-os', '/tmp', '-of', 'raw', '-oa', 'sparse',
>> >>> '--password-file', '/tmp/passwd', '--machine-readable', 'bbb']
>> >>> p = CPopen(cmd, env=env)
>> >>> while p.returncode is None:
>>
>> p.returncode just return the instance variable, there is no wait() involved.
>>
>> The right way:
>>
>> while p.poll() is None:
> the problem is proc.stdout.read(1) didn't raise and error when the stream
> closed but return ''...
2020 Jul 22
3
samba-tool domain backup offline stalls
...meout=timeout)
--- modulename: subprocess, funcname: wait
subprocess.py(1016): if timeout is not None:
subprocess.py(1018): try:
subprocess.py(1019): return self._wait(timeout=timeout)
--- modulename: subprocess, funcname: _wait
subprocess.py(1623): if self.returncode is not None:
subprocess.py(1626): if timeout is not None:
subprocess.py(1649): while self.returncode is None:
subprocess.py(1650): with self._waitpid_lock:
subprocess.py(1651): if self.returncode is not None:
subprocess.py(1653...
2011 Oct 06
2
Mock - Problems building Centos5 package on Centos6 - where can I ask for advice ?
...4: No such file or directory
cat: /usr/share/aclocal/ltversion.m4: No such file or directory
cat: /usr/share/aclocal/lt~obsolete.m4: No such file or directory
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.90639 (%build)
Bad exit status from /var/tmp/rpm-tmp.90639 (%build)
Child returncode was: 1
EXCEPTION: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps
builddir/build/SPECS/php.spec']
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/mock/trace_decorator.py",...
2006 Jul 10
0
Starting Rserve in Java using Runtime Failed
I have tried using the following piece of Java code to
start Rserve on my Linux PC without success.
try {
String command = "R CMD Rserve ";
Process p = Runtime.getRuntime().exec(command);
returnCode = p.waitFor();
if (returnCode != 0) {
errorMessage = "Unexpected return code = " +
returnCode;
}
} catch (Exception e) {
errorMessage = "Exception in running :" + e;
}
I did not get any non-zero return code or error
message.
It works when I run 'R CMD Rserve' at t...
2010 Jun 25
0
WG: Samba PDC and big files
...er without
copy to and from:
Look at this:
http://www.samba.org/samba/docs/man/Samba-Guide/happy.html#id2582162
My kixkstart script:
;we redirect personal folder to the server
;we look at the registry if there isvalue that the folders has been
redirected
;zun?chst gibt es diesen Eintrag schon?
$RETURNCODE=EXISTKEY("HKEY_CURRENT_USER\tpdc")
;if not set it it in the registry
IF NOT $RETURNCODE=0
ADDKEY("HKEY_CURRENT_USER\tpdc")
;now if we set the above key we know it ist he first login and we set it.
Later on we will delete this key
ADDKEY("HKEY_CURRENT_USER\tpdc\FIRST_LO...
2013 Oct 02
1
Dovecot namespace solved while writing; preparing to refilter
Hi!
My plea to readers:
===================
Pls., people who only want strictly technical issues to read, and frown
at any
broader context regardless how intrinsically related, but not strictly
technically related, it might be, skip all the way, all the way to,
search for
exact words: "strictly technical" or visually, find two lines of sole
"==="
characters. Thank you!
2016 Mar 30
2
virt-v2v become zombie via python cpopen on error
...9;,
'vpx://....', '-o',
'local', '-os', '/tmp', '-of', 'raw', '-oa', 'sparse',
'--password-file', '/tmp/passwd', '--machine-readable', 'bbb']
p = CPopen(cmd, env=env)
while p.returncode is None:
c = p.stdout.read(1)
print c
----------------------------------------------------------------------------
Thanks,
Shahar Havivi.
2020 Jul 23
4
samba-tool domain backup offline stalls
...meout=timeout)
--- modulename: subprocess, funcname: wait
subprocess.py(1016): if timeout is not None:
subprocess.py(1018): try:
subprocess.py(1019): return self._wait(timeout=timeout)
--- modulename: subprocess, funcname: _wait
subprocess.py(1623): if self.returncode is not None:
subprocess.py(1626): if timeout is not None:
subprocess.py(1649): while self.returncode is None:
subprocess.py(1650): with self._waitpid_lock:
subprocess.py(1651): if self.returncode is not None:
subprocess.py(1653...
2004 Jul 06
2
<myprinter>.tdb spoilt, tdbbackup -v does not see corrupt data
...t found: _spoolss_writeprinter:
Invalid handle (OTHER:25527:25530)
> [2004/07/05 17:48:39, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
> free_pipe_context: destroying talloc pool of size 24576
I tried to check with
tdbbackup -v /usr/local/samba/var/locks/printing/IEPRINT.tdb
I got returncode 0 , but that ~.tdb was spoilt .
Moving the file IEPRINT.tdb away makes the printer IEPRINT running.
Some weeks ago I had the same error, but could not find any reason. So I removed samba and installed it again. So I deleted the problem without knowing, what file is affeted.
It seems, that the er...
2012 Jun 26
0
[LLVMdev] Error compiling llvm/clang with clang+libc++ with -std=cxx0x
...to your 3.1 release tree:
--- llvm/trunk/tools/bugpoint/ToolRunner.cpp 2012/05/02 05:31:31 155977
+++ llvm/trunk/tools/bugpoint/ToolRunner.cpp 2012/05/02 05:39:10 155978
@@ -128,7 +128,7 @@
ErrorFile.close();
}
- errs() << OS;
+ errs() << OS.str();
}
return ReturnCode;