Opened 10 years ago

Closed 9 years ago

# Usage Question - with error

Reported by: Owned by: anonymous Kristian Kvilekval normal MoinToTracScript normal twiki 0.10

### Description

This may not be a defect at all, and simply a usage question.

I am attempting to convert an existing Twiki - > Trac format, by first converting the Twik to Moin format and subsequently converting that Moin to Trac. I suspect that that is the intended sequence & usage of the two scripts in this hack.

When I execute twiki2moin.py like so

python twiki2moin.py


Traceback (innermost last):
File "twiki2moin.py", line 102, in ?
main("/home/docs/twiki/data/Main", "/home/docs/converted-wiki", "/home/docs/twiki/pub/Main")
File "twiki2moin.py", line 14, in main
NameError: file


Each of the paths in the last line do exist, but I have guessed that they are hard-coded values that are passed in at the command line when using the moin2trac.py script. What are these values really supposed to represent? In the original, the middle value was "moin".

Any guidance is appreciated.

### comment:1 Changed 9 years ago by Kristian Kvilekval

Resolution: → fixed new → closed