Adam Charrett wrote: > On Fri, 2009-04-24 at 21:45 +0100, John Molohan wrote: >> Duncan Webb wrote: >>> Adam Charrett wrote: >>> >>>> On Thu, April 23, 2009 10:14 pm, John Molohan wrote: >>>> >>>>> John Molohan wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I'm testing tonight's svn of rel-1. I deleted my build and >>>>>> /usr/lib/site-packages/ directories, did a svn update on both kaa and >>>>>> freevo, built and installed kaa with no errors reported then did the >>>>>> same with freevo but running freevo all I get in the log is: >>>>>> >>>>>> [r...@localhost john]# tail -f /var/log/freevo/main-0.log >>>>>> <snip> >>>>>> >>>> Looks like Duncan has been updating setup_freevo.py, but forgot to update >>>> config.py as well :-) >>>> >>> Yes that gotme, hadn't expected config to call setup_freevo. >>> >>> Debugging through the code shows that there is some more work needed... >>> config sets the same defaults as setup_freevo. >>> >> Out of interest without reading through the code were there some further >> steps that could have been taken running freevo prompt to narrow down >> the problem? > > Not really the way I debugged it was that I had a hunch that the problem > was in config as exceptions in that module never seem to generate a > stacktrace when starting freevo. I just put lots of print statements in > until I narrowed the problem down to a few lines.
I used a slightly different way, using ./freevo --debug generates a freevo-pdb.sh that you can then run any will leave you in the main module. # cat freevo-pdb.sh #!/bin/bash export RUNAPP= export FREEVO_SCRIPT=/sources/svn/freevo-1/rel-1/freevo/freevo export FREEVO_PYTHON=/sources/svn/freevo-1/rel-1/freevo/src export FREEVO_LOCALE=/sources/svn/freevo-1/rel-1/freevo/i18n export FREEVO_SHARE=/sources/svn/freevo-1/rel-1/freevo/share export FREEVO_CONTRIB=/sources/svn/freevo-1/rel-1/freevo/contrib export FREEVO_CONFIG=/sources/svn/freevo-1/rel-1/freevo/freevo_config.py export FREEVO_HELPERS=/sources/svn/freevo-1/rel-1/freevo/src/helpers export PYTHONPATH=/sources/svn/freevo-1/rel-1/freevo/src export PATH=/opt/sbin:/opt/bin:/usr/local/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/root/bin:/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin/:/sbin:/usr/sbin python -m pdb /sources/svn/freevo-1/rel-1/freevo/src/main.py --debug However I use the wing ide which is easier to use and then break and step though the code. Duncan ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users