Bug when entering empty string parameter

Mike Wolfe
  • Mike Wolfe

    Mike Wolfe - 2010-12-23

    I'm using the python server from trunk.  If I try to call a function from Excel and pass an empty string as a parameter, I get the following error:

    Traceback (most recent call last):
      File "/home/bgrandjean/xlloop/xlloop.py", line 173, in handle
        name = XLCodec.decode(self.request)
      File "/home/bgrandjean/xlloop/xlloop.py", line 44, in decode
        type = ord(socket.recv(1))
    TypeError: ord() expected a character, but string of length 0 found

    I tried debugging it myself, but I got too far down the rabbit hole with all the socket code.


  • Peter Smith

    Peter Smith - 2010-12-29


    Thanks for the bug report - the socket.recv didn't like the request to receive zero bytes. I've fixed the python server on the trunk.



Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks