anaynayak / buildnotify

A system tray based build status notification app for cctray.xml feeds.

Home Page:https://anaynayak.github.io/buildnotify/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

setup.py does not include 'buildnotifylib.generated' package

anaynayak opened this issue · comments

Originally reported by: Anonymous


I tried installing on both Ubuntu 12.04 and 13.10 using the instructions on the wiki, but was getting this error: "ImportError: No module named generated.preferences_ui".

Cloning the repo, and modifying setup.py to include 'buildnotifylib.generated' seems to have fixed this.

Here's the full stack trace:

$ /usr/bin/buildnotifyapplet.py
Traceback (most recent call last):
File "/usr/bin/buildnotifyapplet.py", line 2, in
import buildnotifylib
File "/usr/local/lib/python2.7/dist-packages/BuildNotify-0.3.4-py2.7.egg/buildnotifylib/init.py", line 1, in
from buildnotify import BuildNotify
File "/usr/local/lib/python2.7/dist-packages/BuildNotify-0.3.4-py2.7.egg/buildnotifylib/buildnotify.py", line 3, in
from app_ui import AppUi
File "/usr/local/lib/python2.7/dist-packages/BuildNotify-0.3.4-py2.7.egg/buildnotifylib/app_ui.py", line 3, in
from app_menu import AppMenu
File "/usr/local/lib/python2.7/dist-packages/BuildNotify-0.3.4-py2.7.egg/buildnotifylib/app_menu.py", line 7, in
from preferences import PreferencesDialog
File "/usr/local/lib/python2.7/dist-packages/BuildNotify-0.3.4-py2.7.egg/buildnotifylib/preferences.py", line 3, in
from buildnotifylib.generated.preferences_ui import Ui_Preferences
ImportError: No module named generated.preferences_ui


Original comment by Anay Nayak (Bitbucket: Anay, GitHub: Anay):


Oh wow. Didn't realize I missed that. Thanks for reporting this one. I've pushed in a fix.

Original comment by Rielyn Sarabia (Bitbucket: rsarabia, GitHub: rsarabia):


Thank you for fixing that so fast! Works like a charm now. :)