Bug 881977 - [abrt] fusion-icon-0.1.0-0101.fc17: __init__.py:52:_init:RuntimeError: could not open display
Summary: [abrt] fusion-icon-0.1.0-0101.fc17: __init__.py:52:_init:RuntimeError: could ...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: fusion-icon
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Karol Trzcionka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:44dad3ed2a40d9c18cbe586456d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-29 21:59 UTC by Dylan Eddies
Modified: 2012-12-01 13:17 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-01 13:17:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: environ (1.13 KB, text/plain)
2012-11-29 21:59 UTC, Dylan Eddies
no flags Details
File: dso_list (66 bytes, text/plain)
2012-11-29 21:59 UTC, Dylan Eddies
no flags Details
File: event_log (91 bytes, text/plain)
2012-11-29 21:59 UTC, Dylan Eddies
no flags Details
File: executable (16 bytes, text/plain)
2012-11-29 21:59 UTC, Dylan Eddies
no flags Details
File: smolt_data (2.36 KB, text/plain)
2012-11-29 21:59 UTC, Dylan Eddies
no flags Details
File: core_backtrace (796 bytes, text/plain)
2012-11-29 21:59 UTC, Dylan Eddies
no flags Details

Description Dylan Eddies 2012-11-29 21:59:24 UTC
Version-Release number of selected component:
fusion-icon-0.1.0-0101.fc17

Additional info:
libreport version: 2.0.18
abrt_version:   2.0.18
cmdline:        /usr/bin/python /bin/fusion-icon
kernel:         3.6.7-4.fc17.x86_64

backtrace:
:__init__.py:52:_init:RuntimeError: could not open display
:
:Traceback (most recent call last):
:  File "/bin/fusion-icon", line 58, in <module>
:    choose_interface(try_first=options.interface)
:  File "/usr/lib/python2.7/site-packages/FusionIcon/interface.py", line 89, in choose_interface
:    import_interface(chosen_interface)
:  File "/usr/lib/python2.7/site-packages/FusionIcon/interface.py", line 35, in import_interface
:    __import__('FusionIcon.interface_%s' %interface)
:  File "/usr/lib/python2.7/site-packages/FusionIcon/interface_gtk/__init__.py", line 3, in <module>
:    import main
:  File "/usr/lib/python2.7/site-packages/FusionIcon/interface_gtk/main.py", line 23, in <module>
:    import gtk
:  File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 64, in <module>
:    _init()
:  File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 52, in _init
:    _gtk.init_check()
:RuntimeError: could not open display
:
:Local variables in innermost frame:
:sys: <module 'sys' (built-in)>
:sys_path: ['/usr/bin', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib64/python2.7/site-packages/PIL', '/usr/lib64/python2.7/site-packages/gst-0.10', '/usr/lib64/python2.7/site-packages/gtk-2.0', '/usr/lib/python2.7/site-packages', '/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info']

Comment 1 Dylan Eddies 2012-11-29 21:59:28 UTC
Created attachment 654587 [details]
File: environ

Comment 2 Dylan Eddies 2012-11-29 21:59:30 UTC
Created attachment 654588 [details]
File: dso_list

Comment 3 Dylan Eddies 2012-11-29 21:59:32 UTC
Created attachment 654589 [details]
File: event_log

Comment 4 Dylan Eddies 2012-11-29 21:59:34 UTC
Created attachment 654590 [details]
File: executable

Comment 5 Dylan Eddies 2012-11-29 21:59:37 UTC
Created attachment 654591 [details]
File: smolt_data

Comment 6 Dylan Eddies 2012-11-29 21:59:39 UTC
Created attachment 654592 [details]
File: core_backtrace

Comment 7 Wolfgang Ulbrich 2012-11-30 02:55:23 UTC
A little bit input would be very nice, 
- like which DE?
- a list of installed compiz packages
- ati or nvidia?
- does compiz work in general?
- How do you start fusion-icon?

pls start fusion-icon from a terminal and post the output here.

Comment 8 Dylan Eddies 2012-11-30 16:56:56 UTC
Compiz generally runs smoothly on my machine, usually without bugs.
I get this bug occasionally from logging in using XDM and a personal
~/.xsession file
________________________________________________________________
~/.xsession contents:

mate-session &
fusion-icon &
mate-panel &
caja &
xscreensaver &
docky
________________________________________________________________

The Window manager I was using was MATE with Emerald
________________________________________________________________

I do not have a Nvidia graphics card or an ATI graphics card.
At the moment I have an Intel HD 4000 Graphics card
________________________________________________________________
Output from running fusion-icon normally inside a terminal
________________________________________________________________
[dylan@localhost ~]$ fusion-icon
 * Detected Session: unknown
 * Searching for installed applications...
 * Intel detected, exporting: INTEL_BATCH=1
 * Using the GTK Interface
 * Starting Compiz
 ... executing: compiz --replace --sm-disable --ignore-desktop-hints ccp --loose-binding --indirect-rendering
compiz (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format
compiz (core) - Error: Plugin 'text' not loaded.

compiz (shift) - Warn: No compatible text plugin loaded.
________________________________________________________________

Installed compiz packages:

Name				version			Arch
ccsm				0.8.4-0101.fc17		noarch
compiz				0.8.8-0101.fc17 	x86_64
compiz-bcop			0.8.8-0101.fc17		noarch
compiz-devel			0.8.8-0101.fc17		x86_64
compiz-manager			0.6.0-0101.fc17		noarch
compiz-mate			0.8.8-0101.fc17		x86_64
compiz-plugins-extra		0.8.8-0101.fc17		x86_64
compiz-plugins-extra-devel	0.8.8-0101.fc17		x86_64
compiz-plugins-extra-mate	0.8.8-0101.fc17		x86_64
compiz-plugins-main		0.8.8-0101.fc17		x86_64
compiz-plugins-main-devel	0.8.8-0101.fc17		x86_64
compiz-plugins-main-mate	0.8.8-0101.fc17		x86_64
compizconfig-backend-gconf	0.5.2-0.2git.fc17	x86_64
compizconfig-backend-kconfig	0.5.2-0.2git.fc17	x86_64
compizconfig-backend-mateconf	0.8.8-0101.fc17		x86_64
compizconfig-python		0.8.4-0101.fc17		x86_64
emerald				0.8.4-0101.fc17		x86_64
emerald-devel			0.8.4-0101.fc17		x86_64
emerald-themes			0.5.2-0101.fc17		noarch
fusion-icon			0.1.0-0101.fc17		noarch
libcompizconfig			0.8.8-0101.fc17		x86_64
libcompizconfig-devel		0.8.8-0101.fc17		x86_64
________________________________________________________________

Comment 9 Wolfgang Ulbrich 2012-11-30 17:59:42 UTC
(In reply to comment #8)
Thank you for more infos.
> Compiz generally runs smoothly on my machine, usually without bugs.
> I get this bug occasionally from logging in using XDM and a personal
> ~/.xsession file
> ________________________________________________________________
> ~/.xsession contents:
> 
> mate-session &
> fusion-icon &
> mate-panel &
> caja &
> xscreensaver &
> docky
> ________________________________________________________________
That means you're starting compiz with fusion-icon.
A better way to start compiz is to add 'compiz-mate-gtk' instead of 'marco' in
mate-conf key:
/desktop/mate/session/required_components/windowmanager

If you want to display fusion-icon at startup, add it to 'mate-session-properties' with the (-n) option. (fusion-icon -n).
That means fusion-icon doesn't start compiz again.

> ________________________________________________________________
> Output from running fusion-icon normally inside a terminal
> ________________________________________________________________
> [dylan@localhost ~]$ fusion-icon
>  * Detected Session: unknown
>  * Searching for installed applications...
>  * Intel detected, exporting: INTEL_BATCH=1
>  * Using the GTK Interface
>  * Starting Compiz
>  ... executing: compiz --replace --sm-disable --ignore-desktop-hints ccp
> --loose-binding --indirect-rendering
> compiz (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image
> format
> compiz (core) - Error: Plugin 'text' not loaded.
> 
> compiz (shift) - Warn: No compatible text plugin loaded.
To avoid those warnings enable the text plugin

> ________________________________________________________________

> compizconfig-backend-gconf	0.5.2-0.2git.fc17	x86_64
> compizconfig-backend-kconfig	0.5.2-0.2git.fc17	x86_64
I'm a little bit wondering where do you get those packages, because in f17 
compizconfig-backend-gconf and compizconfig-backend-kconfig has other versions?
egg. compizconfig-backend-gconf-0.9.5.92-0.1.gitf9ac54186bb62d00b28adc335220dba39a04b702.fc17
In general fusion-icon and compiz is compiled against mate-conf and kde support is droped.
So better remove those packages to avoid conflicts.

Hopefully this information helps.

Comment 10 Dylan Eddies 2012-12-01 00:21:18 UTC
>> [dylan@localhost ~]$ fusion-icon
>>  * Detected Session: unknown
>>  * Searching for installed applications...
>>  * Intel detected, exporting: INTEL_BATCH=1
>>  * Using the GTK Interface
>>  * Starting Compiz
>>  ... executing: compiz --replace --sm-disable --ignore-desktop-hints ccp
>> --loose-binding --indirect-rendering
>> compiz (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image
>> format
>> compiz (core) - Error: Plugin 'text' not loaded.
>> 
>> compiz (shift) - Warn: No compatible text plugin loaded.
>To avoid those warnings enable the text plugin

Thank you for helping. However, I do not quite understand what you mean by loading the 'text' plug-in. Is there a configuration file for Compiz that i have to modify?

Or do I also add that to: /desktop/mate/session/required_components/windowmanager ?

Thank you in advance, I have had some experience in Linux, but have only been running Fedora for 1 - 2 months.

Comment 11 Dylan Eddies 2012-12-01 13:15:39 UTC
(In reply to comment #10)
> >> [dylan@localhost ~]$ fusion-icon
> >>  * Detected Session: unknown
> >>  * Searching for installed applications...
> >>  * Intel detected, exporting: INTEL_BATCH=1
> >>  * Using the GTK Interface
> >>  * Starting Compiz
> >>  ... executing: compiz --replace --sm-disable --ignore-desktop-hints ccp
> >> --loose-binding --indirect-rendering
> >> compiz (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image
> >> format
> >> compiz (core) - Error: Plugin 'text' not loaded.
> >> 
> >> compiz (shift) - Warn: No compatible text plugin loaded.
> >To avoid those warnings enable the text plugin
> 
> Thank you for helping. However, I do not quite understand what you mean by
> loading the 'text' plug-in. Is there a configuration file for Compiz that i
> have to modify?
> 
> Or do I also add that to:
> /desktop/mate/session/required_components/windowmanager ?
> 
> Thank you in advance, I have had some experience in Linux, but have only
> been running Fedora for 1 - 2 months.
 
Never mind I have figured this out. Thanks again, Wolfgang Ulbrich.


Note You need to log in before you can comment on or make changes to this bug.