http://bugs.gpodder.org/show_bug.cgi?id=141
--- Comment #10 from Thomas Perl <[EMAIL PROTECTED]> 2008-06-30 17:58:48 --- The patch looks good. FYI: A "grep ProgrammingError `dpkg -L python2.5`" (i.e. grep for ProgrammingError in all files that have been installed by the python2.5 package) on my Ubuntu 8.04 system gives me only sqlite3 files, and it seems to be defined in /usr/lib/python2.5/lib-dynload/_sqlite3.so (i.e. the binary sqlite python module). That's why it isn't globally available. Either import it directly: [EMAIL PROTECTED]:~$ python Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import sqlite3 >>> sqlite3.ProgrammingError <class 'sqlite3.ProgrammingError'> Or create another exception class, as I don't think trying to re-use exception classes from some library is a good idea (at least in that case - it makes sense to throw an IOError for I/O related problems, I think.. is there a PEP?). The solution you did now is better than the old one, anyway it seems. Thanks :) Anyone up for testing so I can commit it if it works? (Especially the russian podcast site with the changing URLs should be tested, or are these not relevant because they _do_ have a GUID for every podcast?) -- Configure bugmail: http://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
