It looks like a problem of sys.path. The satellite want to load the
Check class, but do not find it. How is your shinken installed?
(installed by setup.py or direct launch after untar?

To fix it, just add :
from shinken.check import Check in the satellite.py file. But it look
like we got path problem for your installation case and we should fix
it also.


Jean

2010/8/18 Starck Grégory <g.sta...@gmail.com>:
> hi,
>
> I'm on b86e081cb86d5ca714f89370ddb23a28e8325eb9
>
> and I see this in debug file when I start (launch_all_debug):
>
> ==> /tmp/poller.debug <==
> Time out -0.000290155410767
>  ========================
> [0][scheduler-1]Stats : Workers:3 (Queued:0 Processing:0 ReturnWait:0)
> Wait ratio: 1
> Allocating new Worker : 3
> Traceback (most recent call last):
>   File "./shinken/satellite.py", line 494, in get_new_actions
>   File "/usr/lib/pymodules/python2.6/Pyro/core.py", line 384, in __call__
>     return self.__send(self.__name, args, kwargs)
>   File "/usr/lib/pymodules/python2.6/Pyro/core.py", line 459, in _invokePYRO
>     return self.adapter.remoteInvocation(name,
> Pyro.constants.RIF_VarargsAndKeywords, vargs, kargs)
>   File "/usr/lib/pymodules/python2.6/Pyro/protocol.py", line 439, in
> remoteInvocation
>     return self._remoteInvocation(method, flags, *args)
>   File "/usr/lib/pymodules/python2.6/Pyro/protocol.py", line 464, in
> _remoteInvocation
>     answer = pickle.loads(answer)
> ImportError: No module named check
>
>
> but don't see any import in the traceback..
>
> line 494 in satellite.py is :
>
>                     tmp = con.get_checks(do_checks=do_checks,
> do_actions=do_actions, poller_tags=self.poller_tags)
>
> (don't know pyro a lot so can't go more down)
>
> is there something missing on my side or it's in satellite.py (or pyro)  ?
>
> greg.
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Shinken-devel mailing list
> Shinken-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/shinken-devel
>
>

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

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to