Package: makehuman-data
Version: 1.0.2-7

Because of a build step that normally happens in build_prepare.py is
omitted in the debian package build, the MakeHuman version is not correctly
indicated.

The window title current says "MakeHuman r? (UNKNOWN) - [Untitled]"

The log file indicates:
NO VERSION file detected retrieving revision info from HG
abort: no repository found in '/usr/share' (.hg not found)!
NOTICE: Failed to get hg version number from command line: list index out
of range (This is just a head's up, not a critical error)
NOTICE: Failed to get hg version number using hglib:  (This is just a
head's up, not a critical error)
NOTICE: Failed to get hg version from file: [Errno 2] No such file or
directory: '/usr/share/.hg/cache/tags' (This is just a head's up, not a
critical error)
Detected HG revision: r? (UNKNOWN)
Initialized logging
VERSION: 1.0.2 (r? UNKNOWN) [none found]
HG REVISION: r? (UNKNOWN) [none found]
SHORT VERSION: v1.0.2
BASEMESH VERSION: hm08


To fix the window title, a small patch should be applied to makehuman.py:

--- makehuman-old.py    2015-06-03 20:34:39.263148982 +0200
+++ makehuman.py    2015-06-03 20:27:25.379164328 +0200
@@ -47,7 +47,7 @@

 ## Version information
#########################################################
 version = [1, 0, 2]                     # Major, minor and patch version
number
-release = False                         # False for nightly
+release = True                          # False for nightly
 versionSub = ""                         # Short version description
 meshVersion = "hm08"                    # Version identifier of the
basemesh
 
################################################################################


To also fix the other issues in the log, add a file called data/VERSION
containing the following line of text:
1241:47eda58327ee

Reply via email to