Article View: news.software.readers
Article #165485[XPN 0.4.5] Type Error
From: Patrick Lamaizière
Date: Sun, 17 Apr 2005 12:46
Date: Sun, 17 Apr 2005 12:46
27 lines
2304 bytes
2304 bytes
Hi,
I've got a "TypeError" with Xpn :
./xpn.py:2145: GtkDeprecationWarning: gtk.FALSE is deprecated, use False
instead
self.vbox1 = gtk.VBox(gtk.FALSE,0)
Traceback (most recent call last):
File "./xpn.py", line 2276, in ?
main=MainWin(options.use_home,options.custom_dir)
File "./xpn.py", line 2150, in __init__
self.menubar=MainMenuBar(self.window)
File "/home/patrick/xpn-0.4.5/xpn_src/MenuBar.py", line 80, in
__init__
self.menuitems["group"]=self.insert_menu_item(menu_subscribed,_("_View
Next Group"),"white.xpm",accel_group,"G",gtk.FALSE)
File "/home/patrick/xpn-0.4.5/xpn_src/MenuBar.py", line 23, in
insert_menu_item
menuitem.add_accelerator("activate",accel_group,ord(accel_key),
modifier, gtk.ACCEL_VISIBLE)
TypeError: flag values must be strings, ints or tuples
--------
I use gtk-2.6.7, py24-gtk-2.6.1, python-2.4.1 under FreeBSD (5.4RC2)
May be a version problem between py24-gtk-2.6.1 and gtk-2.6.7 ?
Thanks.
Technical Details
Message-ID:
<Xns38FF773BAB3F5plam@nulle.invalid>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!fr.ip.ndsoftware.net!proxad.net!feed.ac-versailles.fr!news.httrack.net!news.davenulle.org!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <Xns38FF773BAB3F5plam@nulle.invalid>
Subject: [XPN 0.4.5] Type Error
Date: Sun, 17 Apr 2005 14:46:04 +0200
From: Patrick Lamaizière <adresse@est.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!fr.ip.ndsoftware.net!proxad.net!feed.ac-versailles.fr!news.httrack.net!news.davenulle.org!not-for-mail
Newsgroups: news.software.readers
Organization: >/dave/nulle
Lines: 27
Reply-To: Patrick Lamaizière <patnews@davenulle.org>
NNTP-Posting-Host: 192.168.0.200
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
X-Trace: news.davenulle.org 1113741968 3355 192.168.0.200 (17 Apr 2005
X-Complaints-To: abuse@davenulle.org
NNTP-Posting-Date: Sun, 17 Apr 2005 12:46:08 +0000 (UTC)
User-Agent: KNode/0.9.0 Mime-proxy/2.0.a.3 (NetBSD)
X-No-Archive: yes
X-Face: U`ZY:md"a8A6D5I7E!-G'QqJErJDkXN}?Yh|^|N|q-Wc+?1ATRGB2syWIb&pXA1TJ#sJzdr1m)[5l!QDq{Cxut4i0|v(,E4C_rFouV;
K'; G+|L/\/R2VoIl