Bug 781769

Summary: Wesnoth tools are missing Python dependencies
Product: [Fedora] Fedora Reporter: Jerry James <loganjerry>
Component: wesnothAssignee: Gwyn Ciesla <gwync>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: bruno, gwync, M.Stoikov
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: wesnoth-1.8.6-4.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-10 00:48:35 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 Jerry James 2012-01-14 23:44:42 UTC
Description of problem:
The tools in wesnoth-tools cannot be run, because they are missing Python dependencies.  For example:

$ wmlscope
Traceback (most recent call last):
  File "/usr/bin/wmlscope", line 96, in <module>
    from wesnoth.wmltools import *
ImportError: No module named wesnoth.wmltools

I looked through all of the wesnoth packages, and do not see the required Python files anywhere.

Version-Release number of selected component (if applicable):
wesnoth-tools-1.8.6-3.fc16.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Try to run any of the wesnoth-tools binaries
2.
3.
  
Actual results:
A Python error due to missing Python files.

Expected results:
The tools run.

Additional info:
Bug 708116 appears to be related.

Comment 1 Gwyn Ciesla 2012-01-31 16:41:04 UTC
*** Bug 708116 has been marked as a duplicate of this bug. ***

Comment 2 Gwyn Ciesla 2012-01-31 16:57:38 UTC
I see them in the 1.9.x RPM I have on my machine, in wesnoth-data.  What does rpm -q wesnoth-data -l | grep wmltools give you?

Comment 3 Jerry James 2012-01-31 17:16:57 UTC
Yes, you're right.  They're here:

/usr/share/wesnoth/data/tools/wesnoth/wmltools.py
/usr/share/wesnoth/data/tools/wesnoth/wmltools.pyc
/usr/share/wesnoth/data/tools/wesnoth/wmltools.pyo

But apparently python can't find them there.

Comment 4 Fedora Update System 2012-02-01 02:13:57 UTC
wesnoth-1.8.6-4.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/wesnoth-1.8.6-4.fc16

Comment 5 Fedora Update System 2012-02-01 19:21:33 UTC
Package wesnoth-1.8.6-4.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 wesnoth-1.8.6-4.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-1103/wesnoth-1.8.6-4.fc16
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-02-10 00:48:35 UTC
wesnoth-1.8.6-4.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.