Subject: pkg/32497: problem using pygtk (pkgsrc 2005Q4)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <pparkkin@iki.fi>
List: pkgsrc-bugs
Date: 01/11/2006 11:55:00
>Number:         32497
>Category:       pkg
>Synopsis:       problem using pygtk (pkgsrc 2005Q4)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 11 11:55:00 +0000 2006
>Originator:     Paavo Parkkinen
>Release:        NetBSD 3.0, pkgsrc 2005Q4
>Organization:
>Environment:
System: NetBSD sukka.rantapelto.jyu.fi 3.0 NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:04:02 UTC 2005 builds@works.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/i386/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:

> python
Python 2.3.5 (#1, Jan  5 2006, 11:31:57) 
[GCC 3.3.3 (NetBSD nb3 20040520)] on netbsd3
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygtk
>>> pygtk.require("2.0")
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/pkg/lib/python2.3/site-packages/pygtk.py", line 47, in require
    versions = _get_available_versions()
  File "/usr/pkg/lib/python2.3/site-packages/pygtk.py", line 34, in _get_available_versions
    for filename in os.listdir(dir):
OSError: [Errno 2] No such file or directory: '/usr/pkg/lib/python23.zip'

>How-To-Repeat:

See above.

>Fix: