Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when start dagobah #175

Open
nacrowei opened this issue Feb 23, 2016 · 0 comments
Open

error when start dagobah #175

nacrowei opened this issue Feb 23, 2016 · 0 comments

Comments

@nacrowei
Copy link

Hi , I have installed dagobah by gitting the source code. When I executed the dagobahd , it showed as below:

No handlers could be found for logger "dagobah"
Logging output to /opt/dagobah/logs/logging
Starting app on 10.228.152.18:9000

I can access the website and login the dagobah , but I couldn't add any jobs . I checked the source code , it just like this

def add_job(self, job_name, job_id=None):
""" Create a new, empty Job. """
logger.debug('Creating a new job named {0}'.format(job_name))
if not self._name_is_available(job_name):
raise DagobahError('name %s is not available' % job_name)

    if not job_id:
        job_id = self.backend.get_new_job_id()
        self.created_jobs += 1

    self.jobs.append(Job(self,
                         self.backend,
                         job_id,
                         job_name))

    job = self.get_job(job_name)
    job.commit()

I guess that '''No handlers could be found for logger "dagobah" ''' caused the issue . I have googled for this kind of problem, someone said that I should import the logging , but I check the source code and found it contained the sentence 'import logging' .

Is there any mistaken I have made ? Or there is no any relationship between No handlers could be found for logger "dagobah" and the "import logging"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant