gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnumed-devel] R.I.P salaam.homeunix.com


From: Karsten Hilbert
Subject: [Gnumed-devel] R.I.P salaam.homeunix.com
Date: Mon, 21 Feb 2011 16:24:18 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

I have modified GNUmed to refuse connections to
"host=salaam.homeunix*" and raise an exception if that is
attempted:


address@hidden:~/Projekte/gm-git/gnumed/gnumed/client/pycommon$ python gmPG2.py 
test

../../Gnumed/pycommon/gmTools.py:11: DeprecationWarning: the MimeWriter module 
is deprecated; use the email package instead  import urllib2 as wget, decimal, 
StringIO, MimeWriter, mimetypes, mimetools

Please enter the required login parameters:
host ('' = non-TCP/IP) (CTRL-C aborts) []: salaam.homeunix.com
database (CTRL-C aborts) [gnumed_v15]: gnumed_v14
user name (CTRL-C aborts) []: any-doc
password for "any-doc" (not shown):
port (CTRL-C aborts) [5432]:

Traceback (most recent call last):  

File "gmPG2.py", line 2114, in <module>    test_run_query()  
File "gmPG2.py", line 2095, in test_run_query    rows, idx = 
run_ro_queries(queries = [{'cmd': cmd, 'args': args}], get_col_idx = False)  
File "gmPG2.py", line 1100, in run_ro_queries    conn = 
get_connection(readonly=True, verbose=verbose)  
File "gmPG2.py", line 1445, in get_connection    verbose = verbose  
File "/usr/lib/python2.6/dist-packages/psycopg2/pool.py", line 210, in __init__ 
   self, minconn, maxconn, *args, **kwargs)  
File "/usr/lib/python2.6/dist-packages/psycopg2/pool.py", line 84, in __init__  
  self._connect()  
File "gmPG2.py", line 1324, in _connect    conn = get_raw_connection(dsn = 
self._kwargs['dsn'], verbose = self._kwargs['verbose'], readonly=True)  
File "gmPG2.py", line 1355, in get_raw_connection

    ValueError: The public database is not hosted by <salaam.homeunix.com> 
anymore.

    Please point your configuration files to <publicdb.gnumed.de>.


That will help us better catch this problem.

Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]