[bug] TypeError: expected pointer, got Int64
Tim Cuthbertson <[email protected]>
| Newsgroups | gmane.comp.python.pyro |
|---|---|
| Message-ID | <CAC-LLDhvQDHZPE_3s9YpK0GL+n8_-zv4bCjigkAW6n93HeYSSQ@mail.gmail.com> |
After just installing pyro4 using easy_install (IronPython on windows 7), I get:
$ cat pyro_test.py
import Pyro4
daemon=Pyro4.Daemon()
uri=daemon.register({'test':True})
print "Ready. Object uri =", uri
daemon.requestLoop()
$ ipy pyro_test.py
C:\Program Files (x86)\IronPython
2.7\lib\site-packages\Pyro4\core.py:1: UserWarning: HMAC_KEY not set,
protocol data may not be secure
"""
Traceback (most recent call last):
File "C:\Program Files (x86)\IronPython
2.7\lib\site-packages\Pyro4\socketutil.py", line 203, in createSocket
File "C:\Program Files (x86)\IronPython
2.7\lib\site-packages\Pyro4\socketutil.py", line 302, in setNoInherit
File "pyro_test.py", line 2, in <module>
File "C:\Program Files (x86)\IronPython
2.7\lib\site-packages\Pyro4\core.py", line 759, in __init__
File "C:\Program Files (x86)\IronPython
2.7\lib\site-packages\Pyro4\socketserver\threadpoolserver.py", line
101, in init
TypeError: expected pointer, got Int64
Do I need to run a 64 or 32 bit version or something explicitly somehow?
Cheers,
- Tim.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/