health
[Top][All Lists]
Advanced

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

[Health] Database migration error from GNU Health 2.7 to 3.03


From: Armand MPASSY-NZOUMBA
Subject: [Health] Database migration error from GNU Health 2.7 to 3.03
Date: Mon, 10 Oct 2016 16:26:09 +0000 (UTC)

Dear community,

I am migrating GNU Hfrom the 2.7 version to in the 3.03. However when I am trying to connect with the admin user, I get the following error message:

Traceback (most recent call last):
  File "/trytond/protocols/jsonrpc.py", line 162, in _marshaled_dispatch
    response['result'] = dispatch_method(method, params)
  File "/trytond/protocols/jsonrpc.py", line 191, in _dispatch
    res = dispatch(*args)
  File "/trytond/protocols/dispatcher.py", line 41, in dispatch
    res = security.login(database_name, user, session)
  File "/trytond/security.py", line 33, in login
    session, = Session.create([{}])
  File "/trytond/model/modelsql.py", line 537, in create
    domain = Rule.domain_get(cls.__name__, mode='create')
  File "/trytond/ir/rule.py", line 225, in domain_get
    dom = PYSONDecoder(ctx).decode(rule.domain)
  File "/json/decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/json/decoder.py", line 382, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Here are my config parameters:

GNU Health version 3.03
Tryton client version: 3.8.10

OS: OpenSuse Leap 42.1
GNU Health Official installation: GNU Health - Wikibooks, open books for an open world



trytond.conf:
[database]
uri = postgresql://localhost:5432
path = /home/gnuhealth/attach

[session]
super_pwd = 1qO/9bPH.ghPI

[jsonrpc]
listen = *:8000

Any assistance will be greatly appreciated.

Kind regards,

Armand


reply via email to

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