Bug 751772

Summary: [abrt] x-tile-2.1-1.fc16: x-tile:36:<module>:ImportError: No module named cons
Product: [Fedora] Fedora Reporter: Clément DAVID <c.david86>
Component: x-tileAssignee: Mohamed El Morabity <pikachu.2014>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: pikachu.2014
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:66c622c0e7f4f222216a2739e82967c833d09b96
Fixed In Version: x-tile-2.2-1.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-11 20:53:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
append any local path then append /usr/share/x-tile/modules none

Description Clément DAVID 2011-11-07 14:27:58 UTC
libreport version: 2.0.6
abrt_version:   2.0.4.981
cmdline:        /usr/bin/python /usr/bin/x-tile
executable:     /usr/bin/x-tile
kernel:         3.1.0-5.fc16.x86_64
reason:         x-tile:36:<module>:ImportError: No module named cons
time:           Wed Nov  2 09:45:40 2011
uid:            1000
username:       davidcl

backtrace:
:x-tile:36:<module>:ImportError: No module named cons
:
:Traceback (most recent call last):
:  File "/usr/bin/x-tile", line 36, in <module>
:    import cons, globs, core
:ImportError: No module named cons
:
:Local variables in innermost frame:
:GPollableInputStream: <class 'gio.__main__.GPollableInputStream'>
:__builtins__: <module '__builtin__' (built-in)>
:__file__: '/usr/bin/x-tile'
:gtk: <module 'gtk' from '/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.pyc'>
:gettext: <module 'gettext' from '/usr/lib64/python2.7/gettext.pyc'>
:__package__: None
:sys: <module 'sys' (built-in)>
:locale: <module 'locale' from '/usr/lib64/python2.7/locale.pyc'>
:ctypes: <module 'ctypes' from '/usr/lib64/python2.7/ctypes/__init__.pyc'>
:__builtin__: <module '__builtin__' (built-in)>
:GInitiallyUnowned: <class 'gtk.__main__.GInitiallyUnowned'>
:gconf: <module 'gconf' from '/usr/lib64/python2.7/site-packages/gtk-2.0/gconf.so'>
:__name__: '__main__'
:GPollableOutputStream: <class 'gio.__main__.GPollableOutputStream'>
:os: <module 'os' from '/usr/lib64/python2.7/os.pyc'>
:__doc__: 'X Tile main module'
:MODULES_PATH: 'modules/'

Comment 1 Clément DAVID 2011-11-14 08:51:26 UTC
Created attachment 533469 [details]
append any local path then append /usr/share/x-tile/modules

The attached patch fix the issue, can you alert the upstream please ?

Comment 2 Mohamed El Morabity 2012-01-03 12:44:35 UTC
Sorry for this last answer.
I'm unable to reproduice the bug you reported; whatever the way I launch x-tile (from the menu or the command line, with or without the full path to the executable).
Have you modified your Python library path, or installed manually some Python modules?

Comment 3 Clément DAVID 2012-01-03 17:07:20 UTC
I have no specific python modules nor a modified python library path. But to reproduce just create a directory named "modules/" on the cwd.

Comment 4 Fedora Update System 2012-01-03 17:17:51 UTC
x-tile-2.2-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/x-tile-2.2-1.fc16

Comment 5 Fedora Update System 2012-01-04 01:54:37 UTC
Package x-tile-2.2-1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing x-tile-2.2-1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-0067/x-tile-2.2-1.fc16
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-01-11 20:53:41 UTC
x-tile-2.2-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.