Windows. Can't start example

68 views
Skip to first unread message

vicmar

unread,
Sep 13, 2012, 10:09:13 AM9/13/12
to lettuc...@googlegroups.com
Attempt to use lettuce. I used example text from site.
If tried work from uncorrect dir, the message was correct:
C:\Users\victor.SMISLAB\PycharmProjects\bdd>lettuce
Oops!
could not find features at \features

The output after I start lettuce in the \tests more complicated.
What is wrong? 
C:\Users\victor.SMISLAB\PycharmProjects\bdd\tests>lettuce
================================================================================
================================================================================
================================================================================
================================================================================
================================================================================
================================================================================
================================================================================
================================================================================
================================================================================
================================================================================
================================================================================
================================================================================
========================================
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\lettuce-0.2.9-py2.7.egg\lettuce\registry.p
y", line 84, in call_hook
    callback(*args, **kw)
  File "C:\Python27\lib\site-packages\lettuce-0.2.9-py2.7.egg\lettuce\plugins\co
lored_shell_output.py", line 168, in print_feature_running
    string = feature.represented()
  File "C:\Python27\lib\site-packages\lettuce-0.2.9-py2.7.egg\lettuce\core.py",
line 888, in represented
    head = strings.rfill(self.get_head(), length, append=u"# %s:%d\n" % (filenam
e, line))
TypeError: %d format: a number is required, not NoneType

Died with 2
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\lettuce-0.2.9-py2.7.egg\lettuce\__init__.py", line 155, in run
    feature.run(self.scenarios, tags=self.tags, random=self.random))
  File "C:\Python27\lib\site-packages\lettuce-0.2.9-py2.7.egg\lettuce\core.py",line 993, in run
    call_hook('before_each', 'feature', self)
  File "C:\Python27\lib\site-packages\lettuce-0.2.9-py2.7.egg\lettuce\registry.py", line 89, in call_hook
    raise SystemExit(2)
SystemExit: 2
Reply all
Reply to author
Forward
0 new messages