[Pdns-users] Pdns python pipe

dfedorov bounce_04 at mail.ru
Fri May 18 10:17:52 UTC 2012


Yep,  thank you,
i've set #/usr/bin/env python, to get right environment - that solves a
problem

Peter van Dijk-6 wrote:
> 
> Hello,
> 
> On May 10, 2012, at 13:51 , dfedorov wrote:
> 
>> The backend script fails on 
>> import MySQLdb,
>> commenting this string resolves the problem.
>> Starting the script from the command line gives no errors, i've tried to
>> send messages to it from stdin and got correct responses to stdout.
>> Any suggestions?
> 
> 
> Any environmental difference can explain this issue. Are you developing in
> a virtualenv? Do you have PYTHONPATH set when developing?
> 
> Kind regards,
> -- 
> Peter van Dijk
> Netherlabs Computer Consulting BV - http://www.netherlabs.nl/
> 
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
> 
> 

-- 
View this message in context: http://old.nabble.com/Pdns-python-pipe-tp33763674p33869458.html
Sent from the PowerDNS mailing list archive at Nabble.com.




More information about the Pdns-users mailing list