| Summary: | ImportError: cound not import bonobo.ui | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Akira TAGOH <tagoh> |
| Component: | gnome-python2 | Assignee: | Colin Walters <walters> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | mads, mitr, walters |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-10-28 16:53:03 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
Akira TAGOH
2011-08-30 02:45:52 UTC
Reproduced, thanks for your report. Simpler reproducer, with gnome-python2-2.28.1-4.fc15.x86_64:
> $ python
> >>> import gnome.ui
> ImportError: could not import bonobo.ui
> >>> gnome.ui
> <module 'gnome.ui' from '/usr/lib64/python2.7/site-packages/gtk-2.0/gnome/ui.so'>
i.e. gnome.ui looks for bonobo.ui (which is presumably packaged in gnome-python2-bonobo that isn't installed); when bonobo.ui isn't installed, gnome.ui will complain on stderr and load successfully anyway.
The error message itself comes from /usr/share/pygobject/2.0/codegen/codegen.py:SourceWriter:write_object_imports.
*** This bug has been marked as a duplicate of bug 689836 *** |