Working on this bug is a little different, because you would need to generate and install faulty Ubuntu package (with a 'raise EnvironmentError' somewhere) each time you make a change so that you can trigger Apport.
It might be easier to install the normal LottaNZB deb package (without any changes), temporarily rename the local, lottanzb.py file in desktop/apport to something else like hook.py, change into that directory and open a Python shell (python). You could then do something like:
from hook import add_info
report = {}
add_info(report)
open("out", "w").write(report["lottanzb.conf"])
Working on this bug is a little different, because you would need to generate and install faulty Ubuntu package (with a 'raise EnvironmentError' somewhere) each time you make a change so that you can trigger Apport.
It might be easier to install the normal LottaNZB deb package (without any changes), temporarily rename the local, lottanzb.py file in desktop/apport to something else like hook.py, change into that directory and open a Python shell (python). You could then do something like:
from hook import add_info report[ "lottanzb. conf"])
report = {}
add_info(report)
open("out", "w").write(
You can inspect the "out" file after that.