bugGNU Health - Bugs: bug #46487, Error column...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #46487: Error column "visit_type" does not exist

Submitter:  Bruno M. Villasanti <bvillasanti>
Submitted:  Sat 21 Nov 2015 03:53:46 AM UTC
   
 
Category:  Installation Severity:  5 - Blocker
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  bvillasanti
Open/Closed:  Closed Release:  2.9.0
Module:  health Component:  None

Sat 21 Nov 2015 04:09:44 AM UTC, comment #1: 

Fixed in default changeset 2160:d80068c2b7fb [1].

--
[1] http://hg.savannah.gnu.org/hgweb/health/rev/d80068c2b7fb

Bruno M. Villasanti <bvillasanti>
Sat 21 Nov 2015 03:53:46 AM UTC, original submission:  

Installing the module `health` (v2.9.0) emerges the following error:

Error: column "visit_type" does not exist

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 162, in dispatch
    result = rpc.result(meth(c_args, *c_kwargs))
  File "/trytond/wizard/wizard.py", line 275, in execute
    return wizard._execute(state_name)
  File "/trytond/wizard/wizard.py", line 306, in _execute
    result = self._execute(transition())
  File "/trytond/ir/module.py", line 573, in transition_upgrade
    pool.init(update=update, lang=lang)
  File "/trytond/pool.py", line 155, in init
    lang=lang)
  File "/trytond/modules/__init__.py", line 432, in load_modules
    _load_modules()
  File "/trytond/modules/__init__.py", line 394, in _load_modules
    load_module_graph(graph, pool, update, lang)
  File "/trytond/modules/__init__.py", line 234, in load_module_graph
    cls.__register__(module)
  File "/trytond/modules/health/health.py", line 3292, in _register_
    set visit_type='followup' where visit_type='chronic'")
  File "/trytond/backend/postgresql/database.py", line 284, in execute
    return self.cursor.execute(sql)
ProgrammingError: column "visit_type" does not exist
LINE 1: ...tment             set visit_type='followup' where visit_type...
                                                             ^

Bruno M. Villasanti <bvillasanti>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bvillasanti (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-11-21 bvillasanti StatusIn Progress Fixed
        Open/ClosedOpen Closed
        ReleaseNone 2.9.0

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code