[Top][All Lists]

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

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

From: Busser, Jim
Subject: [Gnumed-bugs] GNUmed 1.5.0 - 'module' object has no attribute 'Json' - bug or user error ?
Date: Mon, 12 Jan 2015 23:47:33 +0000

I have run into problems trying to upgrade to server 20.0 and am not sure how 
much was a result of my own mistakes or if there may be a problem in the server 

My first problem was my losing track (in my notes) of the appropriate syntax 
because, from inside


I issued the command

        sh ./ 20

which gave me

    Traceback (most recent call last):
      File "./", line 74, in <module>
        from Gnumed.pycommon import gmCfg2, gmPsql, gmPG2, gmTools, gmI18N
      File "/Users/djb/Downloads/gnumed-server.20.0/Gnumed/pycommon/", 
line 2057, in <module>
        psycopg2.extensions.register_adapter(dict, psycopg2.extras.Json)
    AttributeError: 'module' object has no attribute 'Json'
    Fixing "gnumed_v20" did not finish successfully.
    [2]+  Stopped(SIGTSTP) 

and so thinking I had the wrong syntax I next issued

        sh ./ 19

which gave me the same thing.

Logs attached.

-- JIm

Attachment: fixup_db-v20.log
Description: fixup_db-v20.log

Attachment: fixup_db-v19.log
Description: fixup_db-v19.log

reply via email to

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