Re: Debugging Django scripts problem

2007-09-29 Thread Tim Chase
> the symlinks I've added. For completeness sake, here's the full > listing of my site-packages directory: > > www:/usr/local/lib/python2.5/site-packages# !ls > ls -lAF > total 1034 [stuff] > -rw-r--r-- 1 root staff885 Aug 30 19:30 easy-install.pth > lrwxrwxrwx 1 root staff 26 Sep 28 15:

Re: Debugging Django scripts problem

2007-09-28 Thread Jason
Hi Jeremy-- Thanks very much for the response! On Sep 28, 5:51 pm, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote: > On 9/28/07, Jason Witherspoon <[EMAIL PROTECTED]> wrote: > > > > Okay, I'm guessing a Python reload would indeed help, as I've managed to get > > the Python debugger to find mysite

Re: Debugging Django scripts problem

2007-09-28 Thread Jeremy Dunck
On 9/28/07, Jason Witherspoon <[EMAIL PROTECTED]> wrote: > Okay, I'm guessing a Python reload would indeed help, as I've managed to get > the Python debugger to find mysite.drpack.views by forcing the paths into > sys.path: > > >>> sys.path.append('/my/new/path') > > ...rather than via the sy

Re: Debugging Django scripts problem

2007-09-28 Thread Jason Witherspoon
On Sep 28, 2007, at 4:12 PM, Jason Witherspoon wrote: > What am I doing wrong? Do I need to somehow reload Python to get > it to take the new path? > Okay, I'm guessing a Python reload would indeed help, as I've managed to get the Python debugger to find mysite.drpack.views by forcing the

Debugging Django scripts problem

2007-09-28 Thread Jason Witherspoon
Hi guys-- Total Python & Django newbie here, so thanks in advance for your patience. I'm trying to set up a rather baroque search-sorter for one of my views.py, & not surprisingly my first stab isn't working. So, I'm trying to fire up the Python debugger as follows: "python -m pdb views.