Can't use py3270 on IBM Personal Communication V6.0

270 views
Skip to first unread message

Fffgc Frghv

unread,
Jul 9, 2018, 4:44:29 PM7/9/18
to BlazeLibs
Here's my code:

from py3270 import Emulator

em = Emulator(visible=True)

em.connect('some_server.com')
em.fill_field(19, 43, 'username', 7)

Here's the error I got:

OSError: [WinError 10057] A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied

I ran this on Python 3.6.5(32 bits)

Randy Syring

unread,
Jul 12, 2018, 9:51:46 AM7/12/18
to blaz...@googlegroups.com, Fffgc Frghv
That sounds like a network communication issue to me.  First step in troubleshooting would be to see if you can get x3270 utilities connecting:

http://x3270.bgp.nu/

If they can connect, py3270 should be able to as well since it just uses those utilities under the hood.

Randy Syring
Husband | Father | Redeemed Sinner

"For what does it profit a man to gain the whole world
and forfeit his soul?" (Mark 8:36 ESV)


--
You received this message because you are subscribed to the Google Groups "BlazeLibs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blazelibs+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages