On Saturday 10 June 2006 23:18, Thomas Schumm wrote: > One of the first things I wanted to try out was throwing an exception and > playing with the interactive debugger. Sadly, it did not work. The reason > it did not work was because it was trying to load the necessary .js files > from /_debug/ when it should have been loading them from /test_app/_debug/.
OK, digging around in the Pylons source, I found this in error.py > def eval_javascript(self, base_path, counter): > base_path = '/_debug' # Note the difference! > ... Changing it to: > base_path += '/_debug' # Note the difference! seemed to correct my problem. But, I don't want to be presumptuous, because the comment there seems to indicate that it was like that for a reason. Looking at the rest of the code though, it seems like it couldn't work in anything other than the root of the site without the change. -- Tom Schumm http://www.phong.org/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss -~----------~----~----~----~------~----~------~--~---
