https://bugs.gpodder.org/show_bug.cgi?id=1478
--- Comment #3 from [email protected] 2011-11-26 20:22:59 GMT --- (In reply to comment #1) > This probably needs some additions to the Fake D-Bus module in tools/. Can you > update the patch to reflect this? The attached patch updates the fake dbus module. I tested it on my N900 by adding sys.path = [os.path.abspath('/home/user/src/gpodder/tools/fake-dbus-module')] + sys.path to bin/gpodder just after 'import os.path'. gPodder starts and I see: "INFO DBus not available: faking DBus.", which indicates that the fake DBus module is being used. To test the patch, I changed an episode from old to new and back again, I updated an existing podcast and I subscribed and unsubscribed from a podcast. When using the fake dbus module, loading Woodchuck fails as follows: Cannot load plugin: gpodder.plugins.woodchuck ('module' object has no attribute 'UInt32') Woodchuck has a hard dependency on DBus, so this is fine. I don't think it is necessary to have Woodchuck try to detect whether it is using the real DBus module or a fake one: it loads or crashes and burns without negatively impacting the rest of gPodder, which is a test in and of itself. -- Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes. _______________________________________________ gPodder-Bugs mailing list [email protected] https://lists.berlios.de/mailman/listinfo/gpodder-bugs
