gnumed-bugs
[Top][All Lists]
Advanced

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

Re: [Gnumed-bugs] GNUmed 1.5.0 - 'module' object has no attribute 'Json'


From: Busser, Jim
Subject: Re: [Gnumed-bugs] GNUmed 1.5.0 - 'module' object has no attribute 'Json' - bug or user error ?
Date: Thu, 15 Jan 2015 08:29:54 +0000

On 2015-01-13, at 12:15 AM, Karsten Hilbert <address@hidden> wrote:

>>    AttributeError: 'module' object has no attribute 'Json'
> 
> There's two options:
> 
>       - comment out the "psycopg2.extensions.register_adapter(dict, 
> psycopg2.extras.Json)" line
>       - upgrade the psycopg2 python module to version 2.5 (bugs have been 
> fixed there, too)
> 
> I will do the former for 1.5.1/v20.1 which should appear this week.

Ah, got it, the former is line 2057 in

        gnumed-server.20.0/server/pycommon/gmPG2.py

and commenting it out allowed me to get further through the server upgrade

        19 20

… but not all the way. See next post.

-- JIm




reply via email to

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