[Top][All Lists]

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

[Gnumed-devel] R.I.P

From: Karsten Hilbert
Subject: [Gnumed-devel] R.I.P
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

address@hidden:~/Projekte/gm-git/gnumed/gnumed/client/pycommon$ python 

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

    ValueError: The public database is not hosted by <> 

    Please point your configuration files to <>.

That will help us better catch this problem.

GPG key ID E4071346 @
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

reply via email to

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