error

Pierre PACORY <[email protected]>
Newsgroups gmane.comp.python.pyro
Message-ID <CAKq=qT8PUJew1+6TXdHk7Lf187gNFHJ6jv0xbpASKswirswVCQ@mail.gmail.com>
here a simple code execute on a debian 7.0
with Pyro4 installed via pip

------------------------------------------------------------------------------------


#!/usr/bin/env python
# -*- coding: utf-8 -*-

DEBUG=False

import Pyro4 # Publication d'objet (RPC)

if __name__ == '__main__':
    daemon=Pyro4.Daemon(host="127.0.0.1",port=8888)

------------------------------------------------------------------------------------


Sometimes i've no error when executing this code
and sometimes always have this error :

------------------------------------------------------------------------------------

Exception in thread Pyro-Worker-38065744  (most likely raised during
interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
  File "/usr/local/lib/python2.7/dist-packages/Pyro4/tpjobqueue.py", line
48, in run
  File "/usr/local/lib/python2.7/dist-packages/Pyro4/tpjobqueue.py", line
189, in getJob
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute
'Empty'
Exception in thread Pyro-Worker-38066128  (most likely raised during
interpreter shutdown):

------------------------------------------------------------------------------------

Any idea what the problem is !
thks for your help

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

_______________________________________________
Pyro-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyro-core
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.