bugGNU Health - Bugs: bug #43993, Relation «gnuhealth_institution»...

 
 

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

bug #43993: Relation «gnuhealth_institution» does not exist on installation

Submitted by:  Bruno M. Villasanti <bvillasanti>
Submitted on:  Mon 12 Jan 2015 10:44:26 PM UTC  
 
Category:  Programming / Tracebacks Severity:  5 - Blocker
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  Luis Falcon <meanmicio>
Open/Closed:  Closed Release:  2.7.0
Module:  health

Tue 13 Jan 2015 01:47:55 PM UTC, comment #3: 

I fixed already, thanks anyways Bruno.

Next time, when working on a bug, change the status, and assign it, so we don't work in parallel :)

Best,

Luis Falcon <meanmicio>
Project AdministratorIn charge of this item.
Tue 13 Jan 2015 01:36:22 PM UTC, comment #2: 
Luis Falcon <meanmicio>
Project AdministratorIn charge of this item.
Tue 13 Jan 2015 01:30:07 PM UTC, comment #1: 

This patch [1] has worked for me on the installation and subsequent updating.

--
[1] fix-43993.patch

(file #32815)

Bruno M. Villasanti <bvillasanti>
Mon 12 Jan 2015 10:44:26 PM UTC, original submission:  

Traceback during installation of the health module:

[Mon Jan 12 22:27:56 2015] INFO:modules:health
[Mon Jan 12 22:27:56 2015] INFO:modules:health:register patient.disease
[Mon Jan 12 22:27:56 2015] INFO:modules:health:register patient.medication
[Mon Jan 12 22:27:56 2015] INFO:modules:health:register patient.vaccination
[Mon Jan 12 22:27:56 2015] INFO:modules:health:register gnuhealth.immunization_status_report
[Mon Jan 12 22:27:56 2015] INFO:modules:health:register gnuhealth.operational_area
[Mon Jan 12 22:27:56 2015] INFO:modules:health:register gnuhealth.operational_sector
[Mon Jan 12 22:27:57 2015] INFO:modules:health:register gnuhealth.du
[Mon Jan 12 22:27:57 2015] INFO:modules:health:register gnuhealth.occupation
[Mon Jan 12 22:27:57 2015] INFO:modules:health:register gnuhealth.ethnicity
[Mon Jan 12 22:27:58 2015] INFO:modules:health:register gnuhealth.birth_certificate
Traceback (most recent call last):
  File "./trytond", line 80, in <module>
    trytond.server.TrytonServer(options).run()
  File "/src/gnuhealth/transifex/deploy_templates/20150112_health_34_es_ES/trytond/trytond/server.py", line 98, in run
    Pool(db_name).init(update=self.options.update, lang=lang)
  File "/src/gnuhealth/transifex/deploy_templates/20150112_health_34_es_ES/trytond/trytond/pool.py", line 151, in init
    lang=lang)
  File "/src/gnuhealth/transifex/deploy_templates/20150112_health_34_es_ES/trytond/trytond/modules/__init__.py", line 416, in load_modules
    _load_modules()
  File "/src/gnuhealth/transifex/deploy_templates/20150112_health_34_es_ES/trytond/trytond/modules/__init__.py", line 383, in _load_modules
    load_module_graph(graph, pool, update, lang)
  File "/src/gnuhealth/transifex/deploy_templates/20150112_health_34_es_ES/trytond/trytond/modules/__init__.py", line 232, in load_module_graph
    cls.__register__(module)
  File "/src/gnuhealth/transifex/deploy_templates/20150112_health_34_es_ES/trytond/trytond/model/modelsql.py", line 129, in _register_
    table.add_fk(field_name, ref, field.ondelete)
  File "/src/gnuhealth/transifex/deploy_templates/20150112_health_34_es_ES/trytond/trytond/backend/postgresql/table.py", line 303, in add_fk
    'ON DELETE ' + on_delete)
  File "/src/gnuhealth/transifex/deploy_templates/20150112_health_34_es_ES/trytond/trytond/backend/postgresql/database.py", line 314, in execute
    return self.cursor.execute(sql)
psycopg2.ProgrammingError: relation «gnuhealth_institution» does not exist

Bruno M. Villasanti <bvillasanti>

 

Attached Files
file #32815:  fix-43993.patch added by bvillasanti (4KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-01-14 meanmicio Open/ClosedOpen => Closed
        ReleaseNone => 2.7.0
    2015-01-13 meanmicio StatusIn Progress => Fixed
    2015-01-13 bvillasanti Attached File- => Added fix-43993.patch, #32815
    2015-01-13 meanmicio StatusNone => In Progress
    2015-01-13 meanmicio Assigned toNone => meanmicio

    Back to the top


    Powered by Savane 3.7