FAQ
i have a development board based on s3c2410 arm cpu. and i want to
port python on it.
after googling some threads, i successfully cross compiled python.
but i still encountered a weird issue that when i ran
/lib/python2.5/test/testall.py,
the process stuck at test_asynchat.py, i located the stuck point here:

def test_numeric_terminator(self):
# Try reading a fixed number of bytes
s = echo_server()
s.start()?????????# <----- stuck here !!!
time.sleep(1) # Give server time to initialize
c = echo_client(6L)
c.push("hello ")
c.push("world\n")
asyncore.loop()
s.join()


but the weirdest thing is, if i run python test_asynchat.py directly,
everything is ok.
anybody could help me?

thanks in advance.

ps, my linux box is an ubuntu 6.10.

--
Best Regards,
Leo Jay

Search Discussions

  • Leo Jay at May 4, 2007 at 12:16 pm

    On 4/30/07, Leo Jay wrote:
    i have a development board based on s3c2410 arm cpu. and i want to
    port python on it.
    after googling some threads, i successfully cross compiled python.
    but i still encountered a weird issue that when i ran
    /lib/python2.5/test/testall.py,
    the process stuck at test_asynchat.py, i located the stuck point here:

    def test_numeric_terminator(self):
    # Try reading a fixed number of bytes
    s = echo_server()
    s.start()?????????# <----- stuck here !!!
    time.sleep(1) # Give server time to initialize
    c = echo_client(6L)
    c.push("hello ")
    c.push("world\n")
    asyncore.loop()
    s.join()


    but the weirdest thing is, if i run python test_asynchat.py directly,
    everything is ok.
    anybody could help me?

    thanks in advance.

    ps, my linux box is an ubuntu 6.10.
    hello, anybody could help me? thanks.


    --
    Best Regards,
    Leo Jay

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppython-list @
categoriespython
postedApr 30, '07 at 9:25a
activeMay 4, '07 at 12:16p
posts2
users1
websitepython.org

1 user in discussion

Leo Jay: 2 posts

People

Translate

site design / logo © 2022 Grokbase