taskGNU Health - Tasks: task #15561, Werkzeug 1.0 is not compatible...

 
 

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

task #15561: Werkzeug 1.0 is not compatible with Trytond 5.0

Submitted by:  Luis Falcon <meanmicio>
Submitted on:  Thu 27 Feb 2020 11:24:57 AM UTC  
 
Should Start On:  Thu 27 Feb 2020 12:00:00 AM UTC Should be Finished on:  Thu 27 Feb 2020 12:00:00 AM UTC
Category:  Tryton Priority:  7 - High
Status:  Done Privacy:  Public
Percent Complete:  100% Assigned to:  Luis Falcon <meanmicio>
Open/Closed:  Closed Release:  3.6.0
Module:  trytond

Thu 27 Feb 2020 11:29:24 AM UTC, comment #1: 

If you have already installed GNU Health, and faced this issue, just reinstall Werkzeug with a version < 1.0 as follow

$ pip3 uninstall werkzeug
$ pip3 install --user --upgrade "werkzeug<1.0"

For a new installation, everything is covered in the installation instruction and it will provide the latest gnuhealth-setup that fixes the problem.

Best,
Luis

Luis Falcon <meanmicio>
Project AdministratorIn charge of this item.
Thu 27 Feb 2020 11:24:57 AM UTC, original submission:  

gnuhealth-setup 3.6.1 downloads the latest werkzeug package.

When running the Trytond  kernel, the following error will generate a traceback,

  File "/home/health/gnuhealth/tryton/server/trytond-5.0.18/trytond/wsgi.py", line 12, in <module>
    from werkzeug.contrib.fixers import ProxyFix
ModuleNotFoundError: No module named 'werkzeug.contrib'

This is because Werkzeug => 1.0  is not compatible with Trytond 5.0.

The GNU Health installler (gnuhealth-setup) 3.6.2 fixes this issue.

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 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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-02-27 meanmicio Priority5 - Normal => 7 - High
        StatusNone => Done
        Percent Complete0% => 100%
        Open/ClosedOpen => Closed
        ReleaseNone => 3.6.0

    Back to the top


    Powered by Savane 3.5