| Summary: | Python gobject introspection failing for NetworkManager.80211* attributes (invalid syntax) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Radek Vykydal <rvykydal> |
| Component: | pygobject3 | Assignee: | Colin Walters <walters> |
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 22 | CC: | dcbw, icq, john.j5live, rkhan, vpodzime, walters |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-07-19 10:04:58 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Radek Vykydal
2011-12-15 13:44:03 UTC
This message is a reminder that Fedora 16 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '16'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 16's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 16 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. I believe the best solution is the one that Gdk uses for a similar issue -- define underscore prefixed attributes in Python overrides. [1] [1] http://git.gnome.org/browse/pygobject/tree/gi/overrides/Gdk.py#n164 This message is a reminder that Fedora 18 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 18. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '18'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 18's end of life. Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 18 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 18's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. This message is a reminder that Fedora 20 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 20. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '20'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 20 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. Still hitting the problem in libnm. How about creating NM python gi overrides with attributes prefixed with underscore as proposed in comment #3 so we don't have to do: NM._80211ApFlags = getattr(NM, "80211ApFlags") NM._80211ApSecurityFlags = getattr(NM, "80211ApSecurityFlags") NM._80211Mode = getattr(NM, "80211Mode") to use the attributes. (In reply to Radek Vykydal from comment #7) > Still hitting the problem in libnm. > > How about creating NM python gi overrides with attributes prefixed with > underscore as proposed in comment #3 so we don't have to do: > > NM._80211ApFlags = getattr(NM, "80211ApFlags") > NM._80211ApSecurityFlags = getattr(NM, "80211ApSecurityFlags") > NM._80211Mode = getattr(NM, "80211Mode") > > to use the attributes. It sounds to me as a good idea. However, I do not know python and the stuff enough to do it myself. Moreover, it would have to be done in python GObject introspection. Radek, Vratislav are you able to prepare the override file? I think there are other cases in which pygobject automatically prepends '_', would makes sense to me to do here. (In reply to Jirka Klimes from comment #8) > (In reply to Radek Vykydal from comment #7) > > Still hitting the problem in libnm. > > > > How about creating NM python gi overrides with attributes prefixed with > > underscore as proposed in comment #3 so we don't have to do: > > > > NM._80211ApFlags = getattr(NM, "80211ApFlags") > > NM._80211ApSecurityFlags = getattr(NM, "80211ApSecurityFlags") > > NM._80211Mode = getattr(NM, "80211Mode") > > > > to use the attributes. > > It sounds to me as a good idea. However, I do not know python and the stuff > enough to do it myself. Moreover, it would have to be done in python GObject > introspection. > Radek, Vratislav are you able to prepare the override file? Yes, we should be able to do that. (In reply to Colin Walters from comment #9) > I think there are other cases in which pygobject automatically prepends '_', > would makes sense to me to do here. Automatically? I remember some overrides like these in Gtk.py (Gtk's overrides), but nothing like that happening automatically. $ basename $(pwd) pygobject $ git describe --tags --always --abbrev=42 3.17.90-1-ge2b8ba0584d1a3273dfa2fcb23616d1dc68fdb8e Where we are. $ git grep '"_" ' Hmm, no hits, let's try "'": $ git grep "'_' " gi/gobjectmodule.c: /* canonicalize signal name, replacing '-' with '_' */ gi/overrides/keysyms.py: target = '_' + target $ Ah hah. Yes, there is override code just for GTK keysyms, which have the same problem. I don't see a reason not to generalize that to all identifiers, but it's something to take up with pygobject upstream. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |