Your message dated 15 Jun 2002 17:19:07 -0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#150086: Acknowledgement (python-apt: Cache object method
not working)
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 15 Jun 2002 17:05:53 +0000
>From [EMAIL PROTECTED] Sat Jun 15 12:05:53 2002
Return-path: <[EMAIL PROTECTED]>
Received: from line104-47.adsl.actcom.co.il (green.zadka.com) [192.117.104.47]
by master.debian.org with smtp (Exim 3.12 1 (Debian))
id 17JGzp-00088k-00; Sat, 15 Jun 2002 12:05:53 -0500
Received: (qmail 19362 invoked by uid 1000); 15 Jun 2002 17:05:18 -0000
Date: 15 Jun 2002 17:05:18 -0000
Message-ID: <[EMAIL PROTECTED]>
Subject: python-apt: Cache object method not working
X-Mailer: PMS 0.2.12 (http://pythonms.sourceforge.net)
From: Moshe Zadka <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Package: python-apt
Severity: normal
Version: 0.5.4.3
[EMAIL PROTECTED]:~$ /usr/bin/python2.1 bugfile
Reading Package Lists... Done
Building Dependency Tree... Done
Traceback (most recent call last):
File "bugfile", line 4, in ?
a.Packages()
TypeError: object of type 'pkgCache::PkgIterator' is not callable
[EMAIL PROTECTED]:~$ cat bugfile
import apt_pkg
apt_pkg.init()
a=apt_pkg.GetCache()
a.Packages()
Is there some other way to call .Packages()? It seems to be some internal
problem within .Packages(), where it is calling a wrong object.
Thanks in advance,
Moshe Zadka
---------------------------------------
Received: (at 150086-close) by bugs.debian.org; 15 Jun 2002 17:19:41 +0000
>From [EMAIL PROTECTED] Sat Jun 15 12:19:41 2002
Return-path: <[EMAIL PROTECTED]>
Received: from line104-47.adsl.actcom.co.il (green.zadka.com) [192.117.104.47]
by master.debian.org with smtp (Exim 3.12 1 (Debian))
id 17JHDA-0000KO-00; Sat, 15 Jun 2002 12:19:41 -0500
Received: (qmail 19453 invoked by uid 1000); 15 Jun 2002 17:19:07 -0000
Date: 15 Jun 2002 17:19:07 -0000
Message-ID: <[EMAIL PROTECTED]>
Subject: Re: Bug#150086: Acknowledgement (python-apt: Cache object method not
working)
References: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
X-Mailer: PMS 0.2.12 (http://pythonms.sourceforge.net)
From: Moshe Zadka <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Never mind, my bad.
One is not supposed to call "Packages" at all, it is an attribute, not
a method.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]