> You get only a new pyc file if it can compile. If you broke it  you
> likly have an old version.

So I was right: if the pyc is missing or not updated something went wrong.

> In case you don't know, you can overwrite an action of the MoinMoin
> library by putting it into the data/plugin/action directory of your wiki
> instance. Doing so keeps your version also after an upgrade of MoinMoin.

I didn't, thanks for pointing this out.

> Btw. the log tells what you did wrong, python needs correct indentation.
> One level is exactly 4 blanks

I changed that and bingo! it works again.

But why did the backups not unearth the problem?

Well, rather than replacing the script with the backup I compared them
with CompareIt!, a software I am generally very happy with.
It has an option "Ignore white space" which was ticked. Being an APL
programmer this makes perfect sense. After having installed and
configured CompareIt! years ago I forgot all about this.

Therefore comparing the two files let to "Files identical" because the
only difference is white space.

The importance of White Space in Python is I must say an obstacle. I
guess that in total Python programmers must have lost a couple of
man-decades on problems caused by white spaces ;)

Anyway, thanks for your help, Reimar!


Kai

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to