Welcome, Guest. Please Login.
OpenDX User Forum
05/24/13 at 17:01:36
News: OpenDX 4.4.4 source code now available.


Pages: 1
will wait up to 60 seconds for connections. (Read 1984 times)
dogstar901
Junior Member
**


Got Viz?

Posts: 44
will wait up to 60 seconds for connections.
01/20/11 at 20:21:30
 
I have written a tool "addf" by myself, and its function is to add 30 to every imported data(field type).
I run the whole program successfully at the first time, while after that I can't run it well.
 
warming: Starting addf on localhost. localdomain.will wait up to 60 seconds for connections.
 
I have uploaded related picture of my program. so what is the problem???
thank you.
[img][/img]
Back to top
Screenshot-2.png (attachment deleted)  
 
Email   IP Logged
dogstar901
Junior Member
**


Got Viz?

Posts: 44
Re: will wait up to 60 seconds for connections.
Reply #1 - 01/20/11 at 20:22:39
 
this is the import data.
Back to top
Screenshot.png (attachment deleted)  
 
Email   IP Logged
joelr
OpenDX Forum Administrator
*****


Got Viz?

Posts: 388
Re: will wait up to 60 seconds for connections.
Reply #2 - 01/21/11 at 06:15:08
 

Is this an external module (i.e., written in C/C++)? If so, can you post
the MDF entry for it?
Back to top
 
 
Email   IP Logged
dogstar901
Junior Member
**


Got Viz?

Posts: 44
Re: will wait up to 60 seconds for connections.
Reply #3 - 01/22/11 at 22:36:22
 
MODULE addf
CATEGORY dog
DESCRIPTION add a value
OUTBOARD addf;
INPUT data; field;  (none);  
INPUT value; scalar;  30;  
OUTPUT result; field;  
 
yeah, I write it in c.here is the mdf.
Back to top
 
 
Email   IP Logged
dogstar901
Junior Member
**


Got Viz?

Posts: 44
Re: will wait up to 60 seconds for connections.
Reply #4 - 01/23/11 at 04:31:17
 
And now I find something interesting, that I can do this program well at the first time I run it, but when it comes to second or third time the "will wait up to 60 seconds for connections" show up.
 
So first I think maybe the process be occupied or something,but when I check them, there is no problem in processes.
Now I do not know how to deal with it.
Back to top
 
 
Email   IP Logged
joelr
OpenDX Forum Administrator
*****


Got Viz?

Posts: 388
Re: will wait up to 60 seconds for connections.
Reply #5 - 01/23/11 at 07:41:51
 

I can think of two things to try:
 
1. Add the persistent flag to the mdf:
    FLAGS  PERSISTENT
This is supposed to prevent the outboard process from being terminated after each execution.
 
2. Instead of outboard, make the module loadable.  
 
--Joel
Back to top
 
 
Email   IP Logged
dogstar901
Junior Member
**


Got Viz?

Posts: 44
Re: will wait up to 60 seconds for connections.
Reply #6 - 01/23/11 at 19:11:48
 
FLAGS  PERSISTENT works!
thank you. but I still do not know why it can run well at first time but need much more time(I almost wait for half an hour though noticing 60s) to connect and execute after that.
Back to top
 
 
Email   IP Logged
dogstar901
Junior Member
**


Got Viz?

Posts: 44
Re: will wait up to 60 seconds for connections.
Reply #7 - 01/23/11 at 19:30:46
 
embarrassed another problem appears.
when I modify the parameters , it can run well at second or third times. but when I close the OpenDX and reopen this program and execute ,"will wait up to 60 seconds for connections" display again??
 
now I also try to use inboard,but  
/usr/bin/ld: cannot find -ldfalt
/usr/bin/ld: cannot find -lXm
collect2: ld returned 1 exit status
make: *** [dxexec] 错误 1
 
and  
qym@ubuntu:~/qymtest/add_outboard$ locate libXm
/home/qym/OPENDX/CISM_DX-0.59-linux/linux-libs/libXm.so.3
/home/qym/OPENDX/CISM_DX-0.59-linux/linux-libs/libXmu.so.6
/usr/lib/libXm.so.2
/usr/lib/libXm.so.2.0.1
/usr/lib/libXmu.a
/usr/lib/libXmu.so
/usr/lib/libXmu.so.6
/usr/lib/libXmu.so.6.2.0
/usr/lib/libXmuu.a
/usr/lib/libXmuu.so
/usr/lib/libXmuu.so.1
/usr/lib/libXmuu.so.1.0.0
/usr/local/CISM_DX-0.59-linux/linux-libs/libXm.so.3
/usr/local/CISM_DX-0.59-linux/linux-libs/libXmu.so.6
 
So actually I have libXm.so.2 file. why can't find??
Back to top
 
 
Email   IP Logged
dogstar901
Junior Member
**


Got Viz?

Posts: 44
Re: will wait up to 60 seconds for connections.
Reply #8 - 01/23/11 at 20:40:37
 
Now I think solve the inboard problem, I add the components of libdx_dev from software center of Ubuntu.It's ok.
but also has problem in outboard.
Back to top
 
 
Email   IP Logged
joelr
OpenDX Forum Administrator
*****


Got Viz?

Posts: 388
Re: will wait up to 60 seconds for connections.
Reply #9 - 01/24/11 at 06:36:14
 

I'm not sure I understand the current status. You have reworked it as a loadable,
but you still get the "60 seconds" message? That doesn't make sense to me
because it should not be connecting to anything.
Back to top
 
 
Email   IP Logged
dogstar901
Junior Member
**


Got Viz?

Posts: 44
Re: will wait up to 60 seconds for connections.
Reply #10 - 02/15/11 at 04:43:56
 
actually loadable and inboard is ok.thanks.
outboard appears that problem.
Back to top
 
 
Email   IP Logged
Pages: 1