2011/2/3 nap <napar...@gmail.com>

> Hi,
>
> No rpoblem for the as, it was quickly fixed :)
>
> For the sys.path, it's a bug I've got in centos 5, python2.4, direct launch
> (no installation, just untar/launch) with the ndo module (the module do not
> found the shinken lib). That's why I put this back again an the sys.path are
> so hard to test :)
>


hmmm ah ok,

but it looks really like - well to me ;) -  a "simple" (or not so simple)
cwd path problem when the shinken modules are instanciated, does'nt it ??

it depends where/when you get the import problem within the ndo module I
think..

I'm guessing if this couldn't be "correctly" fixed by changing some import
statement in the module(s) thus.. ; like in the get_instance :

*try:*
*        from ndodb_broker import Ndodb_broker*
*    except ImportError , exp:*

doing :

*from shinken.modules.ndodb_broker import Ndodb_broker  *

wouldn't be more correct and fix eventually the problem ??

but it's just a thought, as I'm not using a windows it's difficult for me to
guess/see more on this...

anyway it's not blocking at all so I guess we can live with this for now ;)

greg.
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to