Personal tools

Dtella:Error Messages

From Dtella Wiki

Jump to: navigation, search

Contents

Introduction

This page contains all documented error messages that may be produced by Dtella. If you do not see an error here and would like to document it, please do. Otherwise please visit the IRC for help resolving the issue.

Dtella Errors

ImportError: No module named dns.resolver

Problem Description:

This occurs primarily in *nix environments, or when you try to run the Python source instead of the executable. Usually Python gives you a traceback that ends with "import dns.resolver".

Solution:

You need the python-dnspython package. In Debian or Ubuntu, "sudo apt-get install python-dnspython" will fix it. Not using an apt-style repository? Look for a similarly-named package for your OS. I can't think of a distro that lacks the Python dns library. If you happen to use such a distro, you can get the source code from http://www.dnspython.org/ and compile it yourself.

ImportError: No module named twisted.python.runtime

Problem Description:

This occurs primarily in *nix environments, or when you try to run the Python source instead of the executable. Usually Python gives you a traceback that goes dtella.py->dtella_core->dtella_fixtwistedtime->import twisted.python.runtime.

Solution:

Like the previous error, you need to add a python package. This time, it's the python-twisted packages. In Debian or Ubuntu, "sudo apt-get install python-twisted" will fix it. Not using an apt-style repository? Look for a similarly-named package for your OS. If you can't get a package, you can get the source code (and Windows installer) from http://twistedmatrix.com/trac/.

ImportError: No module named Crypto.Cypher

Problem Description:

Another problem that comes from running the Python source. The traceback goes dtella->dtella_core->dtella_crypto->"from Crypto.Cypher import AES".

Solution

Add another Python module. I can't find the source or webpage for this one, but "sudo apt-get install python-crypto" solved it (Debian/Ubuntu).