[Twisted-web] [formal] missing examples.css in formal.examples

Matt Goodall matt at pollenation.net
Wed Jun 14 15:51:52 CDT 2006

Manlio Perillo wrote:
> I don't know if this is the right place but I have installed formal from
> trunk (on a Windows XP system) and when trying to run the examples.tac I
> got:
> ...
> Failed to load application: 'formal\\examples\\examples.css'
> I unzipped the egg and this file is missing...

You're correct. examples.css was not picked up by setup.py at all and 
I've never run the examples.tac from outside the source directory.

This should be fixed in svn trunk now.

> Another problem is with the test.tac.
> I run this from its directory but I got:
> ...
> File "C:\Python2.4\lib\site-packages\twisted\python\logfile.py",
> line 26, in __init__
>     assert os.path.isdir(self.directory)
> AssertionError
> What's the problem?

Heh, test.tac was logging web access to /dev/null. Apparently, some OS's 
don't have a /dev directory ;-).

To be honest, test.tac and test.html should not exist anymore. The 
examples are much more useful. I've removed both files from svn.

Thanks for the bug reports.

- Matt

     /  \__     Matt Goodall, Pollenation Internet Ltd
     \__/  \    w: http://www.pollenation.net
   __/  \__/    e: matt at pollenation.net
  /  \__/  \    t: +44 (0)113 2252500
  \__/  \__/
  /  \	       Any views expressed are my own and do not necessarily
  \__/          reflect the views of my employer.

More information about the Twisted-web mailing list