[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-12-08 Thread dAniel hAhler
Fixed for Hardy in 2.75ubuntu1 ** Changed in: apt-listchanges (Ubuntu) Importance: Undecided = Medium Status: Confirmed = Fix Released -- apt-listchanges crashes after python upgrade https://bugs.launchpad.net/bugs/139143 You received this bug notification because you are a member of

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-12-03 Thread Bug Watch Updater
** Changed in: apt-listchanges (Debian) Status: Fix Committed = Fix Released -- apt-listchanges crashes after python upgrade https://bugs.launchpad.net/bugs/139143 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. --

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-11-06 Thread Luke Yelavich
Unsubscribing universe sponsors as there is no new content that needs sponsors attention right now. -- apt-listchanges crashes after python upgrade https://bugs.launchpad.net/bugs/139143 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-10-13 Thread dAniel hAhler
Seems to have been rejected: https://edge.launchpad.net/ubuntu/gutsy/+queue?queue_state=4queue_text =apt-listchanges -- apt-listchanges crashes after python upgrade https://bugs.launchpad.net/bugs/139143 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-10-11 Thread Daniel Holbach
Ok, uploaded. -- apt-listchanges crashes after python upgrade https://bugs.launchpad.net/bugs/139143 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-10-10 Thread dAniel hAhler
Hmm.. thinking about it, we probably should not fix it by silently removing the database: it only affects people following Gutsy development and is considered bad practice upstream. I've reworked the patch, so that it prints a friendlier error, links to this bug report and temporarily deactivates

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-10-10 Thread Scott Kitterman
I'm inclined not to upload this. I suspect that people running Gutsy have already worked through this one way or another and it won't affect people who weren't running Gutsy for the bried period before the db jump was reverted. -- apt-listchanges crashes after python upgrade

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-10-10 Thread Daniel Holbach
I think it'd help to mention how to repair it. -- apt-listchanges crashes after python upgrade https://bugs.launchpad.net/bugs/139143 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-10-10 Thread dAniel hAhler
I would have mentioned it, if it would be trivial/easy. There does not seem exist an easy way to downgrade the database format (which is the reason here really for the corruption). The best I've found is http://pybsddb.sourceforge.net/ref/transapp/recovery.html, which refers to db_recover, which

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-10-09 Thread dAniel hAhler
Scott, there is a patch. Posted just above your comment. However, please note, that upstream (Debian) does not want to use this patch (deleting the database in case of failure). Remember that it was only required because Python's bsddb3 extension has been downgraded in the Gutsy development

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-10-09 Thread Bug Watch Updater
** Changed in: apt-listchanges (Debian) Status: New = Fix Committed -- apt-listchanges crashes after python upgrade https://bugs.launchpad.net/bugs/139143 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-10-09 Thread Scott Kitterman
OK. I read that comment as patch doesn't actually work. -- apt-listchanges crashes after python upgrade https://bugs.launchpad.net/bugs/139143 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-10-08 Thread dAniel hAhler
In the lookup test foo was used, which did not trigger the DBRunRecoveryError. But using foo%0 does, which the attached patch provides. There's still the Exception ... line printed though. I don't know, why that's the case: $ sudo apt-listchanges --save_seen=/var/lib/apt/listchanges.db

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-10-08 Thread Scott Kitterman
Unsubscribing UUS since there is no patch to upload right now. -- apt-listchanges crashes after python upgrade https://bugs.launchpad.net/bugs/139143 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-10-07 Thread Malcolm Parsons
** Attachment added: Malcolm's /var/lib/apt/listchanges.db http://launchpadlibrarian.net/9851420/listchanges.db -- apt-listchanges crashes after python upgrade https://bugs.launchpad.net/bugs/139143 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-10-06 Thread Malcolm Parsons
I'm still getting this error on every upgrade with 2.74ubuntu3. -- apt-listchanges crashes after python upgrade https://bugs.launchpad.net/bugs/139143 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-10-06 Thread Malcolm Parsons
Traceback: Traceback (most recent call last): File /usr/bin/apt-listchanges, line 238, in module main() File /usr/bin/apt-listchanges, line 125, in main if config.save_seen and seen.has_key(srcpackage): File bsddb/__init__.py, line 256, in has_key return

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-10-06 Thread dAniel hAhler
Malcolm, please attach your /var/lib/apt/listchanges.db file, so I can have a look. ** Changed in: apt-listchanges (Ubuntu) Assignee: (unassigned) = dAniel hAhler (blueyed) Status: Fix Released = In Progress -- apt-listchanges crashes after python upgrade

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-09-29 Thread Bug Watch Updater
** Changed in: apt-listchanges (Debian) Status: Unknown = New -- apt-listchanges crashes after python upgrade https://bugs.launchpad.net/bugs/139143 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-09-28 Thread Daniel Holbach
Looks good. This should be pushed to Debian too. Uploading. -- apt-listchanges crashes after python upgrade https://bugs.launchpad.net/bugs/139143 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-09-28 Thread dAniel hAhler
apt-listchanges (2.74ubuntu3) gutsy; urgency=low * apt-listchanges.py: remove save_seen database on failure while opening or querying (LP: #139143) -- dAniel hAhler [EMAIL PROTECTED] Thu, 27 Sep 2007 23:41:31 +0200 ** Changed in: apt-listchanges (Ubuntu) Status: Confirmed = Fix

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-09-28 Thread dAniel hAhler
** Bug watch added: Debian Bug tracker #78 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=78 ** Also affects: apt-listchanges (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=78 Importance: Unknown Status: Unknown -- apt-listchanges crashes after

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-09-27 Thread Chad Waters
I found that deleting /var/lib/apt/listchanges.db will remove the error. That is the file that became corrupt. It will be rebuilt on the next use of apt-listchanges. -- apt-listchanges crashes after python upgrade https://bugs.launchpad.net/bugs/139143 You received this bug notification because

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-09-27 Thread Gediminas Paulauskas
The upgrade which broke the db is probably this one python2.5 (2.5.1-5ubuntu2) gutsy; urgency=medium * Revert back to use db4.5 for the bsddb3 extension. The DB_HASH access method databases can lockup the process. If you upgrade often, you had the bsddb version 4.6 for some time. And as

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-09-27 Thread dAniel hAhler
I've patched apt-listchanges.py to catch the anydbm.error exception during loading/lookup. The attached debdiff should fix this error. ** Attachment added: debdiff for Gutsy http://launchpadlibrarian.net/9526475/apt-listchanges_2.74ubuntu3.dsc.diff -- apt-listchanges crashes after python

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-09-26 Thread Erik Meitner
Same here. I purged apt-listchanges and then followed it up by apt-get install but the install would hang on the preconfigure script. I just killed the preconfigure scripts and purged the package. -- apt-listchanges crashes after python upgrade https://bugs.launchpad.net/bugs/139143 You

[Bug 139143] Re: apt-listchanges crashes after python upgrade

2007-09-22 Thread dAniel hAhler
JFI: I could workaround this, by uninstalling apt-listchanges and reinstalling it. It appears like something (in the upgrade process?) really broke the underlying database.. ** Summary changed: - crash after python upgrade + apt-listchanges crashes after python upgrade -- apt-listchanges