Message61166
Logged In: YES
user_id=139309
The problem is that it doesn't know that the path TUI is important when
you give it a mainprogram; mainprogram can be any path. When it does
modulefinder on your mainprogram, it sees it as __main__, not as
TUI.Main, as it should.
If you follow the standard unix way of doing scripts, which is writing a
script "tui" that imports TUI.Main and calls whatever needs to be called,
then everything will work just fine. That's what mainprogram is. |
|
Date |
User |
Action |
Args |
2008-01-20 09:59:34 | admin | link | issue900514 messages |
2008-01-20 09:59:34 | admin | create | |
|