Bug 781769 - Wesnoth tools are missing Python dependencies
Summary: Wesnoth tools are missing Python dependencies
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: wesnoth
Version: 16
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 708116 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-14 23:44 UTC by Jerry James
Modified: 2012-02-10 00:48 UTC (History)
3 users (show)

Fixed In Version: wesnoth-1.8.6-4.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-10 00:48:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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