Hi all,

I've finally had the chance to track down the source of the problem.

The simple explanation is that gluon/compileapp.py attempts to compile all 
the files in the
project's view directory regardless of whether they are:

         a) .html files
         b) part of the current project

I occasionally like to leave copies of heavily modified source files lying 
around
'just in case'. It seems that the "missing pass" error referred to one or 
more of these 'fragments'.
I spent a not inconsiderable amount of time carefully checking all of my 
views before I realised
what was going on.

Even if the faulty file is part of the project no useful error message 
(that allows the source to
be identified or even narrowed down) is output by the compiler.

As a temporary workaround adding the line:

print file

or similar immediately prior to line 440 in compileapp.py helps to identify 
the problem file in such situations.

I've not looked into it but I suspect similar problems might occur when the 
controllers and models directories
are processed by the compiler.

Hope this helps any one else who runs into similar problems.

Rick.

-- 



Reply via email to