taskGNU Health - Tasks: task #15315, Upgrade to Trytond 5.0 backend

 
 

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

task #15315: Upgrade to Trytond 5.0 backend

Submitted by:  Luis Falcon <meanmicio>
Submitted on:  Wed 03 Jul 2019 11:58:26 AM UTC  
 
Should Start On:  Wed 03 Jul 2019 12:00:00 AM UTC Should be Finished on:  Sun 22 Sep 2019 12:00:00 AM UTC
Category:  Gnu Health Update Priority:  5 - Normal
Status:  Done Privacy:  Public
Percent Complete:  100% Assigned to:  Luis Falcon <meanmicio>
Open/Closed:  Closed Release:  3.5.0
Module:  HMIS packages

( Jump to the original submission)

Sat 05 Oct 2019 08:34:42 PM UTC, comment #10: 

Sorry, Shift+F12 :)

changeset:   3398:74ca22400b75
tag:         tip
user:        Luis Falcon <falcon@gnuhealth.org>
date:        Fri Oct 04 22:54:42 2019 +0100
summary:     gnuhealth client : Include activity window

http://hg.savannah.gnu.org/hgweb/health/rev/74ca22400b75

Luis Falcon <meanmicio>
Project AdministratorIn charge of this item.
Sat 05 Oct 2019 08:31:34 PM UTC, comment #9: 

gnuhealth GTK client : Include activity log window (CTRL + F10)

Luis Falcon <meanmicio>
Project AdministratorIn charge of this item.
Thu 12 Sep 2019 08:55:57 PM UTC, comment #8: 

Thanks Mathias for the feedback !

Great to know that you got it running. There is still a bit of work on the GH Activity window and, I am sure, new things will show up, since it's quite a bit of work on this version :)

Best

Luis Falcon <meanmicio>
Project AdministratorIn charge of this item.
Thu 12 Sep 2019 10:43:21 AM UTC, comment #7: 

It seems my answer per mail got lost:

> Thanks for the feedback ! The GH Activity Window still needs work, but I can't
> reprodcue it.. which PyGobject do yo have ?
>
> Mine is PyGObject-3.32.2, running on Python3.7 


Same here.

ii  python-gi                                 3.32.2-1                           amd64        Python 2.x bindings for gobject-introspection libraries
ii  python-gobject                            3.32.2-1                           all          Python 2.x bindings for GObject - transitional package
ii  python-gobject-2                          2.28.6-13+b1                       amd64        deprecated static Python bindings for the GObject library
ii  python3-gi                               3.32.2-1                           amd64        Python 3 bindings for
gobject-introspection libraries

But the problem turns out to appear when su-ing into the account of the gnuhealth user. Running from the original account works. So please discard this error for now, got the client up and running.

Mathias Behrle <yangoon>
Tue 10 Sep 2019 09:23:46 AM UTC, comment #6: 

Hi Mathias!
comment #4:

> gnuhealth@monsterix:~/health/gnuhealth-client $ bin/gnuhealth-client --dev
> Unable to init server: Could not connect: Connection refused
> Unable to init server: Verbindung ist gescheitert: Connection refused
>     class Activity():
>   File "/home/gnuhealth/health/gnuhealth-client/tryton/gui/window/activity.py", line 25, in Activity
>     activity_window = Gtk.Window()
>   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 519, in _init_
>     "Gtk couldn't be initialized. "
> RuntimeError: Gtk couldn't be initialized. Use Gtk.init_check() if you want to handle this case.


Thanks for the feedback ! The GH Activity Window still needs work, but I can't reprodcue it.. which PyGobject do yo have ?

Mine is PyGObject-3.32.2, running on Python3.7

Luis Falcon <meanmicio>
Project AdministratorIn charge of this item.
Mon 09 Sep 2019 10:43:15 AM UTC, comment #5: 

Updated setup.py on health_ packages to match Trytond 5.0
http://hg.savannah.gnu.org/hgweb/health/rev/ba69bf111bfe

Luis Falcon <meanmicio>
Project AdministratorIn charge of this item.
Sun 08 Sep 2019 04:04:08 PM UTC, comment #4: 

comment #3:

> gnuhealth-client : Initial port based on Tryton 5.2 GTK client // remove pygtkcompat dependency
> * Initial compatibility port from Tryton GTK client 5.2 to 5.0 server (upcoming GNU Health 3.6)
> * Include Simon Feltman generictreemodel module and remove  pygtkcompat dependency
> * Include GNU Health command line


Just a reminder, it is not complete yet:

gnuhealth@monsterix:~/health/gnuhealth-client $ bin/gnuhealth-client --dev
Unable to init server: Could not connect: Connection refused
Unable to init server: Verbindung ist gescheitert: Connection refused
Traceback (most recent call last):
  File "bin/gnuhealth-client", line 34, in <module>
    from tryton.client import main
  File "/home/gnuhealth/health/gnuhealth-client/tryton/client.py", line 12, in <module>
    from tryton import gui
  File "/home/gnuhealth/health/gnuhealth-client/tryton/gui/__init__.py", line 3, in <module>
    from .main import *
  File "/home/gnuhealth/health/gnuhealth-client/tryton/gui/main.py", line 33, in <module>
    from tryton.gui.window.activity import Activity
  File "/home/gnuhealth/health/gnuhealth-client/tryton/gui/window/activity.py", line 23, in <module>
    class Activity():
  File "/home/gnuhealth/health/gnuhealth-client/tryton/gui/window/activity.py", line 25, in Activity
    activity_window = Gtk.Window()
  File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 519, in _init_
    "Gtk couldn't be initialized. "
RuntimeError: Gtk couldn't be initialized. Use Gtk.init_check() if you want to handle this case.

Mathias Behrle <yangoon>
Wed 31 Jul 2019 09:55:08 PM UTC, comment #3: 

gnuhealth-client : Initial port based on Tryton 5.2 GTK client // remove pygtkcompat dependency

  • Initial compatibility port from Tryton GTK client 5.2 to 5.0 server (upcoming GNU Health 3.6)
  • Include Simon Feltman generictreemodel module and remove  pygtkcompat dependency
  • Include GNU Health command line
Luis Falcon <meanmicio>
Project AdministratorIn charge of this item.
Thu 25 Jul 2019 05:24:46 PM UTC, comment #2: 
  • Client : Include GNU health CLI
  • Server : Update view on health core module to fit new data model in address
Luis Falcon <meanmicio>
Project AdministratorIn charge of this item.
Wed 10 Jul 2019 02:23:08 PM UTC, comment #1: 
  • Update GNU Health setup .
  • Include new packages (passlib, python-magic)
  • Remove 2to3 conversion function
  • Update development version to 3.5
Luis Falcon <meanmicio>
Project AdministratorIn charge of this item.
Wed 03 Jul 2019 11:58:26 AM UTC, original submission:  

GNU Health HMIS node 3.6 will be using Trytond 5.0 as a backend.

Luis Falcon <meanmicio>
Project AdministratorIn charge of this item.

 

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 yangoon (Posted a comment)
  • -email is unavailable- added by meanmicio (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 11 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-12-26 meanmicio StatusReady For Test => Done
        Open/ClosedOpen => Closed
    2019-10-08 meanmicio Percent Complete90% => 100%
    2019-10-05 meanmicio StatusIn Progress => Ready For Test
    2019-10-05 meanmicio Percent Complete60% => 90%
    2019-07-31 meanmicio Percent Complete40% => 60%
    2019-07-25 meanmicio Percent Complete10% => 40%
    2019-07-10 meanmicio Percent Complete0% => 10%
    2019-07-03 meanmicio Should be Finished on2019-09-03 => 2019-09-22
        StatusNone => In Progress
        ReleaseNone => 3.5.0

    Back to the top


    Powered by Savane 3.7