*Error* eval: undefined function - proc

E

Ercan Altuntas

Guest
Hi,

I am trying to execute a command with ipcBeginProcess but in some machines
I get this error.

*Error* eval: undefined function - proc

I am using 4.4.6.100.66m. Can you help me to fix this problem?

Thanks Indeed.
 
How exactly are you invoking ipcBeginProcess?

Andrew.

On 25 May 2004 02:34:33 -0700, ercan@vlsi.itu.edu.tr (Ercan Altuntas) wrote:

Hi,

I am trying to execute a command with ipcBeginProcess but in some machines
I get this error.

*Error* eval: undefined function - proc

I am using 4.4.6.100.66m. Can you help me to fix this problem?

Thanks Indeed.
--
Andrew Beckett
Senior Technical Leader
Custom IC Solutions
Cadence Design Systems Ltd
 
Here is the code


if(simDir
then
workingDir = simDir
else
workingDir = strcat(getWorkingDir() "/simDir")
)
workingDir = simplifyFilename(strcat(workingDir "/"
cdfgData~>id~>lib~>name "/" cdfgData~>id~>name))

command = strcat("xv " workingDir "/*.gif")
ipc = ipcBeginProcess(command)


Andrew Beckett <andrewb@DELETETHISBITcadence.com> wrote in message news:<9p37b05c12nup04mao100savtq8b54ttb9@4ax.com>...
How exactly are you invoking ipcBeginProcess?

Andrew.

On 25 May 2004 02:34:33 -0700, ercan@vlsi.itu.edu.tr (Ercan Altuntas) wrote:

Hi,

I am trying to execute a command with ipcBeginProcess but in some machines
I get this error.

*Error* eval: undefined function - proc

I am using 4.4.6.100.66m. Can you help me to fix this problem?

Thanks Indeed.
 
Are you sure that's where the error is coming from?

Can you do:

sstatus(stacktrace 20)

and see what the stacktrace shows when the error occurs? (post it here).

Thanks,

Andrew.

On 25 May 2004 23:31:50 -0700, ercan@vlsi.itu.edu.tr (Ercan Altuntas) wrote:

Here is the code


if(simDir
then
workingDir = simDir
else
workingDir = strcat(getWorkingDir() "/simDir")
)
workingDir = simplifyFilename(strcat(workingDir "/"
cdfgData~>id~>lib~>name "/" cdfgData~>id~>name))

command = strcat("xv " workingDir "/*.gif")
ipc = ipcBeginProcess(command)


Andrew Beckett <andrewb@DELETETHISBITcadence.com> wrote in message news:<9p37b05c12nup04mao100savtq8b54ttb9@4ax.com>...
How exactly are you invoking ipcBeginProcess?

Andrew.

On 25 May 2004 02:34:33 -0700, ercan@vlsi.itu.edu.tr (Ercan Altuntas) wrote:

Hi,

I am trying to execute a command with ipcBeginProcess but in some machines
I get this error.

*Error* eval: undefined function - proc

I am using 4.4.6.100.66m. Can you help me to fix this problem?

Thanks Indeed.
--
Andrew Beckett
Senior Technical Leader
Custom IC Solutions
Cadence Design Systems Ltd
 
Sorry Andrew, but I do not have any access to the machines. But this
is a cdf callback function. Full callback function is as follows.

procedure(displayGifs()
prog( (workingDir command ipc)
if(simDir
then
workingDir = simDir
else
workingDir = strcat(getWorkingDir() "/simDir")
)
workingDir = simplifyFilename(strcat(workingDir "/"
cdfgData~>id~>lib~>name "/" cdfgData~>id~>name))
unless(isDir(workingDir) return(nil))
command = strcat( "xv " workingDir "/" cdfgData~>id~>name "*.gif")
ipc = ipcBeginProcess(command)
unless(ipc
puts("Unable to Run XV")
return(nil)
)
)
)

Can this problem depends on the shell settings ???


Andrew Beckett <andrewb@DELETETHISBITcadence.com> wrote in message news:<1mi8b0p535je5eog89chq4g7v1bqr139rf@4ax.com>...
Are you sure that's where the error is coming from?

Can you do:

sstatus(stacktrace 20)

and see what the stacktrace shows when the error occurs? (post it here).

Thanks,

Andrew.

On 25 May 2004 23:31:50 -0700, ercan@vlsi.itu.edu.tr (Ercan Altuntas) wrote:

Here is the code


if(simDir
then
workingDir = simDir
else
workingDir = strcat(getWorkingDir() "/simDir")
)
workingDir = simplifyFilename(strcat(workingDir "/"
cdfgData~>id~>lib~>name "/" cdfgData~>id~>name))

command = strcat("xv " workingDir "/*.gif")
ipc = ipcBeginProcess(command)


Andrew Beckett <andrewb@DELETETHISBITcadence.com> wrote in message news:<9p37b05c12nup04mao100savtq8b54ttb9@4ax.com>...
How exactly are you invoking ipcBeginProcess?

Andrew.

On 25 May 2004 02:34:33 -0700, ercan@vlsi.itu.edu.tr (Ercan Altuntas) wrote:

Hi,

I am trying to execute a command with ipcBeginProcess but in some machines
I get this error.

*Error* eval: undefined function - proc

I am using 4.4.6.100.66m. Can you help me to fix this problem?

Thanks Indeed.
 
I wouldn't have thought so (that it would depend on shell settings). Having the
stacktrace would really help to debug the problem.

Andrew.

On 27 May 2004 13:20:59 -0700, ercan@vlsi.itu.edu.tr (Ercan Altuntas) wrote:

Sorry Andrew, but I do not have any access to the machines. But this
is a cdf callback function. Full callback function is as follows.

procedure(displayGifs()
prog( (workingDir command ipc)
if(simDir
then
workingDir = simDir
else
workingDir = strcat(getWorkingDir() "/simDir")
)
workingDir = simplifyFilename(strcat(workingDir "/"
cdfgData~>id~>lib~>name "/" cdfgData~>id~>name))
unless(isDir(workingDir) return(nil))
command = strcat( "xv " workingDir "/" cdfgData~>id~>name "*.gif")
ipc = ipcBeginProcess(command)
unless(ipc
puts("Unable to Run XV")
return(nil)
)
)
)

Can this problem depends on the shell settings ???


Andrew Beckett <andrewb@DELETETHISBITcadence.com> wrote in message news:<1mi8b0p535je5eog89chq4g7v1bqr139rf@4ax.com>...
Are you sure that's where the error is coming from?

Can you do:

sstatus(stacktrace 20)

and see what the stacktrace shows when the error occurs? (post it here).

Thanks,

Andrew.

On 25 May 2004 23:31:50 -0700, ercan@vlsi.itu.edu.tr (Ercan Altuntas) wrote:

Here is the code


if(simDir
then
workingDir = simDir
else
workingDir = strcat(getWorkingDir() "/simDir")
)
workingDir = simplifyFilename(strcat(workingDir "/"
cdfgData~>id~>lib~>name "/" cdfgData~>id~>name))

command = strcat("xv " workingDir "/*.gif")
ipc = ipcBeginProcess(command)


Andrew Beckett <andrewb@DELETETHISBITcadence.com> wrote in message news:<9p37b05c12nup04mao100savtq8b54ttb9@4ax.com>...
How exactly are you invoking ipcBeginProcess?

Andrew.

On 25 May 2004 02:34:33 -0700, ercan@vlsi.itu.edu.tr (Ercan Altuntas) wrote:

Hi,

I am trying to execute a command with ipcBeginProcess but in some machines
I get this error.

*Error* eval: undefined function - proc

I am using 4.4.6.100.66m. Can you help me to fix this problem?

Thanks Indeed.
--
Andrew Beckett
Senior Technical Leader
Custom IC Solutions
Cadence Design Systems Ltd
 
just a guess, you could try writing the
whole ipcBeginProcess statement

ipcBeginProcess( command "" nil nil nil nil )

also

if( boundp('simDir) && simDir then ...

because i guess you check wether simDir is defined
and if it isn't you'll get an error.

also, are you sure you didn't misspelled
prog as proc ?
and you reload your skill file after each
change ? (i do not mean to insult you)

cheers
stéphane

Ercan Altuntas wrote:
Sorry Andrew, but I do not have any access to the machines. But this
is a cdf callback function. Full callback function is as follows.

procedure(displayGifs()
prog( (workingDir command ipc)
if(simDir
then
workingDir = simDir
else
workingDir = strcat(getWorkingDir() "/simDir")
)
workingDir = simplifyFilename(strcat(workingDir "/"
cdfgData~>id~>lib~>name "/" cdfgData~>id~>name))
unless(isDir(workingDir) return(nil))
command = strcat( "xv " workingDir "/" cdfgData~>id~>name "*.gif")
ipc = ipcBeginProcess(command)
unless(ipc
puts("Unable to Run XV")
return(nil)
)
)
)

Can this problem depends on the shell settings ???


Andrew Beckett <andrewb@DELETETHISBITcadence.com> wrote in message news:<1mi8b0p535je5eog89chq4g7v1bqr139rf@4ax.com>...

Are you sure that's where the error is coming from?

Can you do:

sstatus(stacktrace 20)

and see what the stacktrace shows when the error occurs? (post it here).

Thanks,

Andrew.

On 25 May 2004 23:31:50 -0700, ercan@vlsi.itu.edu.tr (Ercan Altuntas) wrote:


Here is the code


if(simDir
then
workingDir = simDir
else
workingDir = strcat(getWorkingDir() "/simDir")
)
workingDir = simplifyFilename(strcat(workingDir "/"
cdfgData~>id~>lib~>name "/" cdfgData~>id~>name))

command = strcat("xv " workingDir "/*.gif")
ipc = ipcBeginProcess(command)


Andrew Beckett <andrewb@DELETETHISBITcadence.com> wrote in message news:<9p37b05c12nup04mao100savtq8b54ttb9@4ax.com>...

How exactly are you invoking ipcBeginProcess?

Andrew.

On 25 May 2004 02:34:33 -0700, ercan@vlsi.itu.edu.tr (Ercan Altuntas) wrote:


Hi,

I am trying to execute a command with ipcBeginProcess but in some machines
I get this error.

*Error* eval: undefined function - proc

I am using 4.4.6.100.66m. Can you help me to fix this problem?

Thanks Indeed.
 

Welcome to EDABoard.com

Sponsor

Back
Top