hi, I'm having a devil of a time just getting a test file running with
twee on Windows. I have a .tw file that looks like
<code>
:: Start
This is the start.
</code>
But when I run
> python twee.py myFile.tw > output.html
I never get the Start passage in my output, just 'this passage does
not exist', regardless of which target I use (previous threads on the
list show there may have been a problem at one time, but it seems like
it was fixed -- see
http://code.google.com/p/twee/issues/detail?id=28).
Furthermore, unless I comment out this line in twee.py:
<code>
# the tiddlers
print tw.toHtml()
</code>
I get an error of
C:\Documents and Settings\george\My Documents\dev\twee-1.7.1>python
twee.py -t sugarcane
killer1.tw > output.html
Traceback (most recent call last):
File "twee.py", line 102, in <module>
main(sys.argv[1:])
File "twee.py", line 86, in main
print tw.toHtml()
TypeError: toHtml() takes at least 2 arguments (1 given)
which makes sense, as toHtml() requires an argument (but I don't
understand why none is supplied here).
Anyway, to make a long story short, are there any example .tw files I
could download and try out just to make sure I'm not doing something
dumb with my simple .tw file?
--
You received this message because you are subscribed to the Google Groups "Tweecode" group.
To post to this group, send email to
twee...@googlegroups.com.
To unsubscribe from this group, send email to
tweecode+u...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/tweecode?hl=en.