webmynd/build-tools — Issue #37: wm-dev-build fails with python 2.6.5
Author: amirnathoo
Created: 2012-01-12 21:38:15+00:00
State: open

== The feature I was working with ==

wm-dev-build, newly setup environment new app. Mac and Ubuntu.

== The behaviour I expected ==

Successful build

== The behaviour I observed ==

Error when building with python 2.6.5. Works fine with python 2.7.1/

== Log output with the -v flag ==
{{{
$ wm-dev-build -v
[ INFO] Forge tools running at version 2.3.1
[ DEBUG] setting app UUID from src/config.json
[ DEBUG] Forge build tools version: 2.3.1
[ DEBUG] main: {"server": "https://webmynd.com/api/"}
[ DEBUG] uuid: "d9cffa463af211e1a2f912313d1adcbe"
[ INFO] configuration is unchanged: using existing templates
[ DEBUG] UNCAUGHT EXCEPTION:
Traceback (most recent call last):
File "/home/rjm/forge-tools/forge/main.py", line 50, in decorated_with_handler
function(*args, **kwargs)
File "/home/rjm/forge-tools/forge/main.py", line 258, in development_build
generator.all('development', defaults.SRC_DIR)
File "/home/rjm/forge-tools/forge/generate.py", line 50, in all
build_to_run = build.create_build(target_dir)
File "/home/rjm/forge-tools/forge/build.py", line 57, in create_build
build_type_dir, enabled_platforms=_enabled_platforms(build_type_dir))
File "/home/rjm/forge-tools/forge/build.py", line 31, in _enabled_platforms
LOG.debug("ignoring non-target directory {}".format(directory))
ValueError: zero length field name in format
[ ERROR] Something went wrong that we didn't expect:

[ ERROR] zero length field name in format
[ ERROR] Please contact support@webmynd.com
(webmynd-environment)

$ python -V
Python 2.6.5
}}}