From owner-freebsd-python@FreeBSD.ORG Tue Jul 3 17:52:11 2012 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B514106566B; Tue, 3 Jul 2012 17:52:11 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward5h.mail.yandex.net (forward5h.mail.yandex.net [84.201.186.23]) by mx1.freebsd.org (Postfix) with ESMTP id DF9E98FC1E; Tue, 3 Jul 2012 17:52:10 +0000 (UTC) Received: from smtp4h.mail.yandex.net (smtp4h.mail.yandex.net [84.201.186.21]) by forward5h.mail.yandex.net (Yandex) with ESMTP id E591CD01771; Tue, 3 Jul 2012 21:51:42 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1341337903; bh=QY79Ahg7VrCnJGYV3hrGuyVDaTs4tZ4nbA2ipuTtKOg=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=TF6alJsLEp/HsLWqZA9/fOkbbn7BCiNBgSAtqD0Bqb7KW3FjgFekq5rixfVXpB/tS K5RSWs4n4EWM7nRWHgjUolNWpoBXidODRmCFGdv+4lsw0d10h7rbuNs0R9PEfxG2uk +JeiTVInPrtQedDEAsPqS+tF79YIa2qwGcMQACdo= Received: from smtp4h.mail.yandex.net (localhost [127.0.0.1]) by smtp4h.mail.yandex.net (Yandex) with ESMTP id 87E892C0068; Tue, 3 Jul 2012 21:51:42 +0400 (MSK) Received: from unknown (unknown [178.76.224.133]) by smtp4h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id pf3OiQdc-pg3SOOb9; Tue, 3 Jul 2012 21:51:42 +0400 X-Yandex-Rcpt-Suid: jesper.schmitz.mouridsen@gmail.com X-Yandex-Rcpt-Suid: python@FreeBSD.org X-Yandex-Rcpt-Suid: eadler@freebsd.org X-Yandex-Rcpt-Suid: timothyf@lavabit.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1341337902; bh=QY79Ahg7VrCnJGYV3hrGuyVDaTs4tZ4nbA2ipuTtKOg=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=FXkBHmeCjmeTotn5p00yUPyea9XELHNnTydi8jEBlFuqNoC7c8/pzt8dgr25kONau 56lQjOH8sa3O4z8SEFgEv07lNXisIT1OvGxsO2C1t4+NS5/HgF9C6cwUCA4dLYdhz5 PO4TKDvViEDAknwO0EcwMyEvOZ6X/Gh3vaOF1ihE= Message-ID: <4FF330E5.8020602@yandex.ru> Date: Tue, 03 Jul 2012 21:50:29 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120619 Thunderbird/13.0.1 MIME-Version: 1.0 To: Jesper Schmitz Mouridsen References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Timothy J Frahm , Eitan Adler , python@FreeBSD.org Subject: Re: twisted/internet gtk2reactor.py issue. (breaks for instance deluge); X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2012 17:52:11 -0000 Hi, Jesper Schmitz Mouridsen wrote on 23.06.2012 11:50: > Hello maintainers of python. > > I'm using python27 from ports (upgraded) > > This is an issue with gtk2reactor.py > > running > # > import gobject > from twisted.internet import gtk2reactor > reactor = gtk2reactor.install() > # > > gives : > /usr/local/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:40: > RuntimeWarning: tp_compare didn't return -1 or -2 for exception > from gtk import _gtk > ImportError: No module named gi Jesper, this issue was just fixed in ports with your solution, thank you. It seems it was triggered by this commit: http://twistedmatrix.com/trac/ticket/5494 I'll contact upstream about this problem. -- Regards, Ruslan Tinderboxing kills... the drives.