[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: |
Sun, 18 Jan 2015 23:54:38 +0000 |
On 2015-01-13, at 12:15 AM, Karsten Hilbert <address@hidden> wrote:
> 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.
I had hoped that an update of my MacPorts packages to include
py26-psycopg2 @2.5.4_0+postgresql84 (active)
would allow the newest gnumed client 1.5.2 to run without my having to disable
line 22 in /client/business/gmKVK.py
import simplejson as json
however if I enable the above line, the client hits this import error
No module named simplejson
so I would welcome any suggestions what to assess.
… does it make any difference whether the perviously-referenced line from
/server/pycommon/gmPG2.py
psycopg2.extensions.register_adapter(dict, psycopg2.extras.Json)
was enabled vs disabled at the time that I ran ./upgrade-db.sh 19 20?
-- Jim