See the following forum thread ("problem with telnetlib") on this issue,
which includes a possible workaround:

https://sourceforge.net/projects/staf/forums/forum/104046/topic/2140976

Thanks,
David


                                                                       
 David Bender          11501 Burnet Rd.   Phone (T/L): 1-512-286-5315  
 STAF/STAX Development Bldg. 903-5B002    (363-5315)                   
                       Austin, TX         ITN: 23635315                
 IBM Software Group,   78758-3400         Email: bda...@us.ibm.com     
 WPLC                                                                  
                                                                       
                                                                       






                                                                       
  From:       Lap Vong <lv...@vmware.com>                              
                                                                       
  To:         "'staf-users@lists.sourceforge.net'" 
<staf-users@lists.sourceforge.net>
                                                                       
  Date:       10/29/2010 03:42 PM                                      
                                                                       
  Subject:    [staf-users] STAF/STAX telnetlib module questions.       
                                                                       





Has anyone successfully used telnetlib module from STAF/STAX framework?

STAF: 3.4.3
STAX: 3.4.3

Using python script to import "telnetlib" module and that eventually import
"select" module, but "select" module does not exist with the installation.
Has anyone get around using telnet in STAX?

===== Python Error Information =====

com.ibm.staf.service.stax.STAXPythonEvaluationException:
Traceback (innermost last):
  File "<pyExec string>", line 1, in ?
  File "C:\STAF\data\STAF\lang\java\shared_jython\2.1-staf-v3.3\Lib
\telnetlib.py", line 42, in ?
ImportError: no module named select

Thanks.
Lap
------------------------------------------------------------------------------

Nokia and AT&T present the 2010 Calling All Innovators-North America
contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in
marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

<<inline: graycol.gif>>

<<inline: ecblank.gif>>

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to