|
Bugzilla – Full Text Bug Listing |
| Summary: | external modules defining `min_version` lead to bake crashing when using Python 3 | ||
|---|---|---|---|
| Product: | bake | Reporter: | Mathias Ettinger <mettinger> |
| Component: | bake | Assignee: | Daniel Camara <daniel.camara> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ns-bugs, tomh |
| Priority: | P3 | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: | Patch that solved the issue | ||
+1; moving to last call fixed in changeset 394:6dfa00ee748f |
Created attachment 2999 [details] Patch that solved the issue When using an external XML file in the `contrib` folder of Bake, if this file defines a module using `min_version` (e.g. min_version="ns-3.26") then running configure lead to an error: $ python3 bake.py configure -e ns-3.27 -e sns3-satellite '<=' not supported between instances of 'str' and 'NoneType' Please find attached a patch that resolved this issue for me and let me install and build both NS-3 and the SNS-3 external module.