[formal] missing examples.css in formal.examples
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... 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? Thanks and regards Manlio Perillo
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@pollenation.net / \__/ \ t: +44 (0)113 2252500 \__/ \__/ / \ Any views expressed are my own and do not necessarily \__/ reflect the views of my employer.
Matt Goodall ha scritto:
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.
Thanks!
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 ;-).
You can use os.devnull (new in Pyhton 2.4). On Windows the "pseudo"/"virtual"/"who knows" device is "NUL" Regards Manlio Perillo
participants (2)
-
Manlio Perillo
-
Matt Goodall