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

Submitter:  Luis Falcon <meanmicio>
Submitted:  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:  meanmicio
Open/Closed:  Closed Release:  3.6.0
Module:  trytond Component:  None

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.


Luis Falcon <meanmicio>
Project Administrator
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 Administrator


(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 meanmicio (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 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.9