View Single Post
Old 08-01-2013, 05:38 PM   #541
met67
Connoisseur
met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.
 
Posts: 78
Karma: 165868
Join Date: Jan 2012
Device: Nook Touch
Quote:
Originally Posted by jgoguen View Post
This diff fails to apply. I took a quick look at your container.py and it looks like you've got mixed tabs and spaces for indentation (specifically, 72 tab characters over 29 lines), which Python won't accept and will throw an exception over, and your indentation is way off in some places (even if I convert each tab character to four spaces) as a result. Please re-do container.py, using four spaces as indentation (no tab characters anywhere), make sure indentation is correct, and re-verify just to make sure that nothing got messed up fixing the indentation.

What OS are you running and what editor are you using? There may be some settings changes that you can make to make Python coding easier. If you're using vim I could add the appropriate comment to the top of the file so vim correctly applies the important settings.
Yes, it may well be that I have mixed spaces and tabs (this is my first run with python...).
AW I have successfully used the container.py that I added together with the other file from the last released plugin, without exceptions.
I wrote this under Windows 7, using Ultraedit and I think I use tab set to 2 spaces.
The problem is that I am leaving tomorrow with my family and won't be back near a PC for at least 3 weeks (I'll take my tablet, but no PC).

I'll try to take a look at it tonight, will let you know.
met67 is offline   Reply With Quote