gabrielfalcao/lettuce — Issue #204: TypeError: %d format: a number is required, not NoneType
Author: JohanSamyn
Created: 2011-12-11 15:04:22+00:00
State: open

Hi,
When trying to execute my feature, I got the following error. I'm using lettuce v0.1.33, as obtained with a fresh 'pip install -U'. This is on Windows. Could you please help me out on this ?

{{{
C:\DEV\pathed> lettuce tests
Traceback (most recent call last):
File "C:\python26\lib\site-packages\lettuce\registry.py", line 84, in call_hook
callback(*args, **kw)
File "C:\python26\lib\site-packages\lettuce\plugins\colored_shell_output.py", line 166, in print_feature_running
string = feature.represented()
File "C:\python26\lib\site-packages\lettuce\core.py", line 759, in represented
head = strings.rfill(self.get_head(), length, append=u"# %s:%d\n" % (filename, line))
TypeError: %d format: a number is required, not NoneType

Died with 2

0 feature (0 passed)
0 scenario (0 passed)
0 step (0 passed)
}}}