Package: reportbug-ng Version: 1.21 Severity: Important Tags: patch
Congratulations, Very nice project reportbug-ng. But I'd like to share with everyone an important bug.. After installation of reportbug-ng version 1.21 (apt-get install reportbug-ng) and all dependencies, I tried start reportbug-ng and it was not possible to run. Show the following message: ra...@debian:/workspace/$ reportbug-ng Traceback (most recent call last): File "/usr/bin/reportbug-ng", line 28, in <module> from rnggui import RngGui File "/usr/share/reportbug-ng/rnggui.py", line 24, in <module> from ui import mainwindow ImportError: cannot import name mainwindow *Problem:* The reportbug-ng not found mainwindow.py (/usr/share/reportbug-ng/ui/mainwindow.py). *Solution:* * * After installation I added sys.path.append('/usr/share/reportbug-ng/ui') in 2 modules. rnggui.py rngsettingsdialog.py Worked!!! I added 2 patches to solve it... *System Information:* Debian Squeeze Testing reportbug-ng v.1.21 Python 2.5.5 Linux debian 2.6.32-3-amd64 #1 SMP Wed Feb 24 18:07:42 UTC 2010 x86_64 GNU/Linux -- Mario Cezar Ponciano - a.k.a Razec http://razec.wordpress.com mra...@gmail.com Linux User: 443515
22,23c22,24 < < from ui import settings --- > import sys > sys.path.append('/usr/share/reportbug-ng/ui') > import settings
23,25c23,26 < < from ui import mainwindow < from ui import submitdialog --- > import sys > sys.path.append('/usr/share/reportbug-ng/ui') > import mainwindow > import submitdialog