On 29 January 2012 20:16, Bináris <wikiposta@gmail.com> wrote:
I began to write a new module. First it showed no help. Then I wrote this line in:
pywikibot.handleArgs() #for help
Now it displays global help, the contents between the first """ pair after coding (that's OK), and below it:
Sorry, no help available for apispec
 
What is apispec? The name of your module?

Check wikipedia.py:7853-7858 (r9841) for the code that determines what gets output on -help. Try using pdb and check what happens. Maybe something with the text encoding, or a broken docuReplacements?

Best,
Merlijn