After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 356556 - dsextras.py imports functionality that has been removed from codegen
dsextras.py imports functionality that has been removed from codegen
Status: RESOLVED DUPLICATE of bug 353849
Product: pygobject
Classification: Bindings
Component: general
2.12.x
Other All
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2006-09-18 15:24 UTC by Steve Kowalik
Modified: 2006-09-25 12:54 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Patch (809 bytes, patch)
2006-09-18 15:24 UTC, Steve Kowalik
none Details | Review

Description Steve Kowalik 2006-09-18 15:24:22 UTC
Please describe the problem:
dsextras.py in the pygobject module tries to import write_source from the codegen module, which has been refactored into a SourceWriter object. Attached is a patch that corrects this issue, by changing the code to not import write_source, import SourceWriter, and instaniate a SourceWriter object instead of calling write_source.

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Steve Kowalik 2006-09-18 15:24:57 UTC
Created attachment 72985 [details] [review]
Patch
Comment 2 Sebastien Bacher 2006-09-18 16:09:09 UTC
Ubuntu bug about that: https://launchpad.net/distros/ubuntu/+source/pygobject/+bug/57182
Comment 3 Johan (not receiving bugmail) Dahlin 2006-09-25 12:54:54 UTC

*** This bug has been marked as a duplicate of 353849 ***