| <class 'psycopg2.OperationalError'> | Python 2.6.6: /usr/bin/python Sun May 20 23:59:05 2012 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /nkiteam/www/www.nkiteam.de/index.py in |
| 8 if (1==1): |
| 9 import Config |
| 10 import pcms |
| 11 |
| 12 import psycopg2 |
| pcms undefined |
| /nkiteam/www/nkiteam.de/pcms/__init__.py in |
| 11 import DiskFile |
| 12 |
| 13 PageDB.PageDB() |
| 14 |
| 15 # Some BaseClasses |
| PageDB = None, PageDB.PageDB undefined |
| /nkiteam/www/nkiteam.de/pcms/PageDB.py in __init__(self=PageDB: PostgreSQL) |
| 10 class PageDB: |
| 11 def __init__(self): |
| 12 self.pg = psycopg2.connect("host=db.services.nkiteam.de dbname=pcms user=pcms password=%s" % ("pcmspwd",)) |
| 13 self.Pickler = pickle.Pickler |
| 14 self.Unpickler = pickle.Unpickler |
| self = PageDB: PostgreSQL, self.pg undefined, global psycopg2 = <module 'psycopg2' from '/usr/lib/python2.6/dist-packages/psycopg2/__init__.pyc'>, psycopg2.connect = <built-in function connect> |
<class 'psycopg2.OperationalError'>: could not translate host name "db.services.nkiteam.de" to address: Name or service not known
args =
('could not translate host name "db.services.nkiteam.de" to address: Name or service not known\n',)
cursor =
None
message =
'could not translate host name "db.services.nkiteam.de" to address: Name or service not known\n'
pgcode =
None
pgerror =
None