Bug 712703

Summary: dreampie not working with Python 3
Product: [Fedora] Fedora Reporter: Eike Hein <hein>
Component: dreampieAssignee: Ionuț Arțăriși <ionut>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: ionut
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: dreampie-1.1-8.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-29 21:56:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Eike Hein 2011-06-12 15:00:11 UTC
Description of problem:

Despite dreampie-python3 being installed, "dreampie python3" results in an error dialog with a Python backtrace indicating it's importing the wrong package (for Python 2). The backtrace is reproduced below.


Version-Release number of selected component (if applicable):

[sho@ehs1 ~ 11M]$ rpm -q dreampie
dreampie-1.1-7.fc15.noarch
[sho@ehs1 ~ 11M]$ rpm -q dreampie-python3
dreampie-python3-1.1-7.fc15.noarch
[sho@ehs1 ~ 11M]$ rpm -q python3
python3-3.2-1.fc15.i686


How reproducible:

Always.


Steps to Reproduce:
1. yum install python3
2. yum install dreampie dreampie-python3
3. dreampie python3
  
Actual results:

GUI error dialogbox with the Dreampie window icon, no window title and an error icon and the following backtrace for window contents:

Couldn't start subprocess: Subprocess terminated with return code 1.
Subprocess wrote:
Traceback (most recent call last):
  File "/usr/share/dreampie/subp_main.py", line 30, in <module>
    sys.setdefaultencoding('utf-8')
AttributeError: 'module' object has no attribute 'setdefaultencoding'


Shell output:

[sho@ehs1 ~ 11M]$ dreampie python3
/usr/lib/python2.7/site-packages/dreampielib/gui/__init__.py:212: GtkWarning: IA__gtk_widget_set_colormap: assertion `GDK_IS_COLORMAP (colormap)' failed
  _response = msg.run()
/usr/lib/python2.7/site-packages/dreampielib/gui/__init__.py:212: GtkWarning: IA__gdk_x11_visual_get_xvisual: assertion `visual != NULL' failed
  _response = msg.run(


Expected results:

A Dreampie interpreter window running Python 3.


Additional info:
Some links to similar problems:
http://groups.google.com/group/dreampie/browse_thread/thread/7de7378323b5e5ce
http://comments.gmane.org/gmane.comp.python.dreampie.general/8

Comment 1 Eike Hein 2011-06-12 15:01:38 UTC
Shell output was truncated (by one char ;) in the above, for completeness' sake:

[sho@ehs1 ~ 11M]$ dreampie python3
/usr/lib/python2.7/site-packages/dreampielib/gui/__init__.py:212: GtkWarning: IA__gtk_widget_set_colormap: assertion `GDK_IS_COLORMAP (colormap)' failed
  _response = msg.run()
/usr/lib/python2.7/site-packages/dreampielib/gui/__init__.py:212: GtkWarning: IA__gdk_x11_visual_get_xvisual: assertion `visual != NULL' failed
  _response = msg.run()

Comment 2 Fedora Update System 2011-06-16 08:02:53 UTC
dreampie-1.1-8.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/dreampie-1.1-8.fc15

Comment 3 Eike Hein 2011-06-16 16:25:59 UTC
Thanks, grabbed those builds off Koji for testing and the problem appears fixed.

Comment 4 Ionuț Arțăriși 2011-06-17 09:18:16 UTC
Thank you for reporting the bug and for your feedback, Eike.

Comment 5 Fedora Update System 2011-06-21 17:17:18 UTC
Package dreampie-1.1-8.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dreampie-1.1-8.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/dreampie-1.1-8.fc15
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2011-06-29 21:56:10 UTC
dreampie-1.1-8.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.