Hi Nicolas, On Sun, Jun 05, 2011 at 01:39:46PM +0200, Nicolas FRANCOIS wrote: > But I can't subscribe to a new one. This is the sort of messages I get > when I launch gpodder from a console with -v option : > [...] > [ 21.572] (Database) Cannot save <gpodder.model.PodcastChannel object > at 0xa6bc2ec> to channels: channels.foldername may not be NULL > Traceback (most recent call last): File > "/usr/lib/pymodules/python2.6/gpodder/dbsqlite.py", line 507, in > _save_object cur.execute(sql, values) IntegrityError: > channels.foldername may not be NULL > [...] > Can you help me on this one ?
The gPodder version you have installed (2.7) is not the most recent one, and due to a bug in the database schema upgrade code, some integrity constraints are still in effect that don't play well with the new code. The solution is to upgrade to a newer version of gPodder. If you are using Debian, simply upgrade to 2.15-2 from Sid (either via apt pinning or just by retrieving the single .deb): http://packages.debian.org/sid/gpodder The reason why a fresh install works is because the "database.sqlite" file (in ~/.config/gpodder) gets re-created, and the new codebase creates the correct constraints. Newer releases (such as 2.15) analyze the database schema and remove/re-create unnecessary constraints. HTH. Thomas _______________________________________________ gpodder-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/gpodder-devel
