graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #04467
Re: [Question #239063]: ImportError: cannot import name daemonize
Question #239063 on Graphite changed:
https://answers.launchpad.net/graphite/+question/239063
Status: Open => Answered
Manuel Guerrero proposed the following answer:
Try this. In /opt/graphite/lib/carbon/util.py :
------------Original -----------------------------------
from time import sleep, time
from twisted.python.util import initgroups
from twisted.scripts.twistd import runApp
from twisted.scripts._twistd_unix import daemonize
daemonize = daemonize # Backwards compatibility
---------------------------------------------------------
Change to:
------------Changed -----------------------------------
from time import sleep, time
from twisted.python.util import initgroups
from twisted.scripts.twistd import runApp
from twisted.scripts._twistd_unix import daemonize
# daemonize = daemonize # Backwards compatibility
---------------------------------------------------------
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.