gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] Ubuntu/gnumed unable to start


From: Sebastian Hilbert
Subject: Re: [Gnumed-devel] Ubuntu/gnumed unable to start
Date: Thu, 18 Oct 2007 09:26:10 +0200
User-agent: KMail/1.9.6 (enterprise 20070904.708012)

On Donnerstag 18 Oktober 2007, Brian Walker wrote:
>  Hi all,
>
> I have recently re-started interest in Gnumed and upgraded my Ubuntu to
> 7.10. Issuing $gnumed command, I get this error message

This is due to a very recent incompatibility between psycopg2 and GNUmed.
This can be fixed two ways. 1st) downgrade psycopg2 2nd) update GNUmed.

If you use version 0.2.7.0 instead of 0.2.6.3 provided with Ubuntu (i might be 
wrong) than this is no issue I believe

>
> Unhandled exception caught !
>
> | Type : <type 'exceptions.AttributeError'>
> | Value: 'module' object has no attribute 'SQL_IN'
>
> And it goes on to explain further:
>
> Traceback (most recent call last):
>   File "/var/lib/python-support/python2.5/Gnumed/wxpython/gnumed.py", line
> 265, in <module>
>     setup_cfg_files()
>   File "/var/lib/python-support/python2.5/Gnumed/wxpython/gnumed.py", line
> 167, in setup_cfg_files
>     from Gnumed.pycommon import gmCfg, gmNull
>   File "/var/lib/python-support/python2.5/Gnumed/pycommon/gmCfg.py", line
> 63, in <module>
>     import gmLog, gmNull, gmPG2, gmTools
>   File "/var/lib/python-support/python2.5/Gnumed/pycommon/gmPG2.py", line
> 802, in <module>
>     psycopg2.extensions.register_adapter(tuple, psycopg2.extras.SQL_IN)
> AttributeError: 'module' object has no attribute 'SQL_IN'
>
>
> I saw a similar error had been reported on 21 September, but no reply that
> I could see. Has anyone a similar problem, and can you point me in the
> direction of a cause or solution?
>
> Many thanks
>
> Brian



-- 
Sebastian Hilbert 
Leipzig / Germany
[www.gnumed.de]  -> PGP welcome, HTML ->/dev/null




reply via email to

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