On Jan 25, 2007, at 6:56 PM, shday wrote:
> > Okay, that got it working... sort of. Most of the page seems to be > rendered okay but there are large bits of raw html showing also. > > http://img49.imageshack.us/img49/7075/tgsamplebug3rs.png Doh, that should *not* be happening. This has happened before to some people but I'm afraid I don't know the root cause yet. I do know what the problem is though... display rules are misbehaving. I don't know exactly what package is causing it but it has been solved by upgrading all packages TW requires which might be already in your system. Try upgrading TurboKid and RuleDispatch (from toscawidgets' website) easy_install -f http://toscawidgets/download -U RuleDispatch TurboKid If it's still a problem, it'll be of great help to me to see the output of TW's unittests... to do so # Install an editable version of TW with tests easy_install -e -b . ToscaWidgets cd toscawidgets python2.4 setup.py develop test # If tests fail or there are errors... python2.4 setup.py develop test > test.log Send me test.log if failures/errors... to see what package might need upgrading, this is what TW requires (for all tests, not all template engines are needed): Genshi-0.3.6-py2.4.egg Mako-0.1.1-py2.4.egg MyghtyUtils-0.52-py2.4.egg Paste-1.1.1-py2.4.egg PasteDeploy-1.1-py2.4.egg PasteScript-1.1-py2.4.egg PyProtocols-1.0a0dev_r2082-py2.4-macosx-10.4-fat.egg RuleDispatch-0.5a0.dev_r2247-py2.4-macosx-10.4-fat.egg ToscaWidgets-0.1a2dev_r2453-py2.4.egg TurboCheetah-0.9.5-py2.4.egg TurboKid-0.9.9-py2.4.egg elementtree-1.2.6_20050316-py2.4.egg kid-0.9.4-py2.4.egg setuptools-0.6c5-py2.4.egg simplejson-1.5-py2.4.egg That combination in a clean testing workingenv makes all 139 tests pass in my system(s). Try upgrading each of those packages, one by one with "easy_install -U"· (mind that for RuleDispatch you'll need to pass the -f flag so it downloads it from toscawidgets.org) and run the tests in between, as soon as all pass, please tell me who the culprit was and what was it's previous version so I can investigate and help future users. If all tests pass tgsample should be working flawlessly Alberto --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
