[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#150086: marked as done (python-apt: Cache object method not working)



Your message dated 15 Jun 2002 17:19:07 -0000
with message-id <20020615171907.19452.qmail@green.zadka.com>
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 moshez@green.zadka.com Sat Jun 15 12:05:53 2002
Return-path: <moshez@green.zadka.com>
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: <[🔎] 20020615170518.19361.qmail@green.zadka.com>
Subject: python-apt: Cache object method not working
X-Mailer: PMS 0.2.12 (http://pythonms.sourceforge.net)
From: Moshe Zadka <m@moshez.org>
To: submit@bugs.debian.org
Delivered-To: submit@bugs.debian.org

Package: python-apt
Severity: normal
Version: 0.5.4.3

moshez@darjeeling:~$ /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
moshez@darjeeling:~$ 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 moshez@green.zadka.com Sat Jun 15 12:19:41 2002
Return-path: <moshez@green.zadka.com>
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: <20020615171907.19452.qmail@green.zadka.com>
Subject: Re: Bug#150086: Acknowledgement (python-apt: Cache object method not working)
References: <handler.150086.B.102416075331320.ack@bugs.debian.org>, <[🔎] 20020615170518.19361.qmail@green.zadka.com>
X-Mailer: PMS 0.2.12 (http://pythonms.sourceforge.net)
From: Moshe Zadka <m@moshez.org>
In-Reply-To: <handler.150086.B.102416075331320.ack@bugs.debian.org>
To: 150086-close@bugs.debian.org
Delivered-To: 150086-close@bugs.debian.org

Never mind, my bad.

One is not supposed to call "Packages" at all, it is an attribute, not
a method. 


-- 
To UNSUBSCRIBE, email to deity-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: