<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-17346</id>
	<title>Nabble - Dabo</title>
	<updated>2008-08-30T02:09:10Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/Dabo-f17346.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Dabo-f17346.html" />
	<subtitle type="html">&lt;a href=&quot;http://dabodev.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo&lt;/a&gt;&amp;nbsp;is a 3-tier, cross-platform application development framework, written in Python atop the wxPython GUI toolkit.</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-19231662</id>
	<title>Re: Step by Step Guide(different topic)</title>
	<published>2008-08-30T02:09:10Z</published>
	<updated>2008-08-30T02:09:10Z</updated>
	<author>
		<name>Sibylle Koczian-2</name>
	</author>
	<content type="html">Am Donnerstag, 28. August 2008 23:22:03 schrieb John Aherne:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The problem I have with the step by step guide is that it implies I can
&lt;br&gt;&amp;gt; save a record from the hours screen without having to change anything in
&lt;br&gt;&amp;gt; code. It says that setting valueMode = 'Key' will make the backend save
&lt;br&gt;&amp;gt; the record using the clientfk and not the name in the dropdownlist.The
&lt;br&gt;&amp;gt; datasource property for the dropdownlist is the clientfk field. However,
&lt;br&gt;&amp;gt; the database complains that it is using the name to go into a integer
&lt;br&gt;&amp;gt; field.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Do I have to handle this myself somewhere or am I overlooking something.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;This is quite strange. You are sure that nowhere in the getClients() method of 
&lt;br&gt;the Hours bizobj or in the afterInit() method of the dropdown list the fields 
&lt;br&gt;from the Clients table (&amp;quot;clientname&amp;quot; and &amp;quot;pkid&amp;quot;) have changed places by 
&lt;br&gt;mistake? Because that would give exactly the error you described, I think.
&lt;br&gt;&lt;br&gt;&amp;gt; Does anyone else get this problem when doing the Step by Step guide.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Another point about the guide. It chooses to add the clients.clientname
&lt;br&gt;&amp;gt; to the Hours bizobj. If this is left in when I try to make the save it
&lt;br&gt;&amp;gt; thinks this field is part of the hours table and errors with a fieldname
&lt;br&gt;&amp;gt; not present in the table. I just comment it out and the problem is cleared.
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;You can set
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.NonUpdateFields = [&amp;quot;clientname&amp;quot;]
&lt;br&gt;in BizHours.initProperties(), then it works. That was the answer I got to the 
&lt;br&gt;same question (&lt;a href=&quot;http://leafe.com/archives/showFullThd/395297#0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/showFullThd/395297#0&lt;/a&gt;).
&lt;br&gt;&lt;br&gt;Something else: the &amp;quot;summary&amp;quot; page of the Hours form only shows the newly 
&lt;br&gt;entered records and doesn't show the client name. Adding 
&lt;br&gt;&lt;br&gt;def onPageEnter(self, evt):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.Form.requery()
&lt;br&gt;&lt;br&gt;for this page helps.
&lt;br&gt;&lt;br&gt;And now of course we'd like to know what controls should go to the bottom slot 
&lt;br&gt;of the summary page and what they should do.
&lt;br&gt;&lt;br&gt;Sibylle
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Dr. Sibylle Koczian
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19231662&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-users@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-users&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-users&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/200808301109.10557.Sibylle.Koczian@t-online.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/200808301109.10557.Sibylle.Koczian@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-users-f17347.html&quot; embed=&quot;fixTarget[17347]&quot; target=&quot;_top&quot; &gt;dabo-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Step-by-Step-Guide%28different-topic%29-tp19209428p19231662.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19229717</id>
	<title>Re: Weird menu caption problem</title>
	<published>2008-08-29T18:47:08Z</published>
	<updated>2008-08-29T18:47:08Z</updated>
	<author>
		<name>Paul McNett</name>
	</author>
	<content type="html">Paul McNett wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Paul McNett wrote:
&lt;br&gt;&amp;gt;&amp;gt; See the following screenshot:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://paulmcnett.com/sbs.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://paulmcnett.com/sbs.png&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Notice that the Close menu caption is corrupted somehow. Does this ring 
&lt;br&gt;&amp;gt;&amp;gt; a bell for anyone / any ideas?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; BTW, that's a dBaseMenuBar instance, with the Open and Database menu 
&lt;br&gt;&amp;gt; appended with appendMenu(). Running dBaseMenuBar.py directly shows the 
&lt;br&gt;&amp;gt; close caption just fine.
&lt;/div&gt;&lt;br&gt;Oh, and of course this problem doesn't occur on Linux or Mac. I'm 
&lt;br&gt;tempted just to remove the Close menu and re-append it. Been trying to 
&lt;br&gt;get this app out the door all week.
&lt;br&gt;&lt;br&gt;Paul
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19229717&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-dev@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-dev&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-dev&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/48B8A69C.1030706@ulmcnett.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/48B8A69C.1030706@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-dev-f17348.html&quot; embed=&quot;fixTarget[17348]&quot; target=&quot;_top&quot; &gt;dabo-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Weird-menu-caption-problem-tp19229667p19229717.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19229697</id>
	<title>Re: Weird menu caption problem</title>
	<published>2008-08-29T18:43:03Z</published>
	<updated>2008-08-29T18:43:03Z</updated>
	<author>
		<name>Paul McNett</name>
	</author>
	<content type="html">Paul McNett wrote:
&lt;br&gt;&amp;gt; See the following screenshot:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://paulmcnett.com/sbs.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://paulmcnett.com/sbs.png&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Notice that the Close menu caption is corrupted somehow. Does this ring 
&lt;br&gt;&amp;gt; a bell for anyone / any ideas?
&lt;br&gt;&lt;br&gt;BTW, that's a dBaseMenuBar instance, with the Open and Database menu 
&lt;br&gt;appended with appendMenu(). Running dBaseMenuBar.py directly shows the 
&lt;br&gt;close caption just fine.
&lt;br&gt;&lt;br&gt;Paul
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19229697&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-dev@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-dev&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-dev&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/48B8A5A7.3010500@ulmcnett.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/48B8A5A7.3010500@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-dev-f17348.html&quot; embed=&quot;fixTarget[17348]&quot; target=&quot;_top&quot; &gt;dabo-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Weird-menu-caption-problem-tp19229667p19229697.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19229667</id>
	<title>Weird menu caption problem</title>
	<published>2008-08-29T18:38:36Z</published>
	<updated>2008-08-29T18:38:36Z</updated>
	<author>
		<name>Paul McNett</name>
	</author>
	<content type="html">See the following screenshot:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://paulmcnett.com/sbs.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://paulmcnett.com/sbs.png&lt;/a&gt;&lt;br&gt;&lt;br&gt;Notice that the Close menu caption is corrupted somehow. Does this ring 
&lt;br&gt;a bell for anyone / any ideas?
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Paul
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19229667&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-dev@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-dev&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-dev&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/48B8A49C.5060103@ulmcnett.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/48B8A49C.5060103@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-dev-f17348.html&quot; embed=&quot;fixTarget[17348]&quot; target=&quot;_top&quot; &gt;dabo-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Weird-menu-caption-problem-tp19229667p19229667.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19229091</id>
	<title>Re: can't catch the delete key</title>
	<published>2008-08-29T16:49:09Z</published>
	<updated>2008-08-29T16:49:09Z</updated>
	<author>
		<name>Paul McNett</name>
	</author>
	<content type="html">johnf wrote:
&lt;br&gt;&amp;gt; Paul can I send you the file for testing (the problem is on windows). &amp;nbsp;I would 
&lt;br&gt;&amp;gt; submit it via a Dabo ticket but I think this my problem. &amp;nbsp;BTW have you taken 
&lt;br&gt;&amp;gt; me off your black list? 
&lt;br&gt;&lt;br&gt;John I'm drowning in other stuff right now. You are welcome to send it 
&lt;br&gt;to me but I'm not sure if I'll get to it or not. Trac is probably better 
&lt;br&gt;- it sounds like you've found a platform inconsistency, so if you have a 
&lt;br&gt;reduced-down sample that works on linux but not Windows, post it!
&lt;br&gt;&lt;br&gt;You've never been on my black list, John. As I recall, At one time I 
&lt;br&gt;tried to send you personal mail but it was rejected by *your* isp.
&lt;br&gt;&lt;br&gt;Paul
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19229091&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-dev@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-dev&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-dev&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/48B88AF5.9040100@ulmcnett.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/48B88AF5.9040100@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-dev-f17348.html&quot; embed=&quot;fixTarget[17348]&quot; target=&quot;_top&quot; &gt;dabo-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/can%27t-catch-the-delete-key-tp19224069p19229091.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19228722</id>
	<title>Re: can't catch the delete key</title>
	<published>2008-08-29T16:01:08Z</published>
	<updated>2008-08-29T16:01:08Z</updated>
	<author>
		<name>johnf</name>
	</author>
	<content type="html">On Friday 29 August 2008 12:48:25 pm johnf wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Friday 29 August 2008 11:40:56 am Paul McNett wrote:
&lt;br&gt;&amp;gt; &amp;gt; johnf wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; On Friday 29 August 2008 10:28:13 am Paul McNett wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; I'm not seeing which key event you are binding, but try KeyDown,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; KeyUp, and KeyChar to see if there's any difference. KeyChar most
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; likely won't fire.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; It works for the backspace? &amp;nbsp;But I did attempt to bind the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; dEvents.KeyEvent without success.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Try KeyDown and KeyUp too.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Paul
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; New clue. &amp;nbsp;The delete works on Linux?????
&lt;/div&gt;&lt;br&gt;Paul can I send you the file for testing (the problem is on windows). &amp;nbsp;I would 
&lt;br&gt;submit it via a Dabo ticket but I think this my problem. &amp;nbsp;BTW have you taken 
&lt;br&gt;me off your black list? 
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;John Fabiani
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19228722&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-dev@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-dev&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-dev&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/200808291601.08080.jfabiani@yolo.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/200808291601.08080.jfabiani@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-dev-f17348.html&quot; embed=&quot;fixTarget[17348]&quot; target=&quot;_top&quot; &gt;dabo-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/can%27t-catch-the-delete-key-tp19224069p19228722.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19226355</id>
	<title>Re: can't catch the delete key</title>
	<published>2008-08-29T12:48:25Z</published>
	<updated>2008-08-29T12:48:25Z</updated>
	<author>
		<name>johnf</name>
	</author>
	<content type="html">On Friday 29 August 2008 11:40:56 am Paul McNett wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; johnf wrote:
&lt;br&gt;&amp;gt; &amp;gt; On Friday 29 August 2008 10:28:13 am Paul McNett wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I'm not seeing which key event you are binding, but try KeyDown, KeyUp,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; and KeyChar to see if there's any difference. KeyChar most likely won't
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; fire.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; It works for the backspace? &amp;nbsp;But I did attempt to bind the
&lt;br&gt;&amp;gt; &amp;gt; dEvents.KeyEvent without success.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Try KeyDown and KeyUp too.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Paul
&lt;/div&gt;New clue. &amp;nbsp;The delete works on Linux?????
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;John Fabiani
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19226355&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-dev@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-dev&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-dev&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/200808291248.25778.jfabiani@yolo.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/200808291248.25778.jfabiani@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-dev-f17348.html&quot; embed=&quot;fixTarget[17348]&quot; target=&quot;_top&quot; &gt;dabo-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/can%27t-catch-the-delete-key-tp19224069p19226355.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19225377</id>
	<title>Re: can't catch the delete key</title>
	<published>2008-08-29T11:40:56Z</published>
	<updated>2008-08-29T11:40:56Z</updated>
	<author>
		<name>Paul McNett</name>
	</author>
	<content type="html">johnf wrote:
&lt;br&gt;&amp;gt; On Friday 29 August 2008 10:28:13 am Paul McNett wrote:
&lt;br&gt;&amp;gt;&amp;gt; I'm not seeing which key event you are binding, but try KeyDown, KeyUp,
&lt;br&gt;&amp;gt;&amp;gt; and KeyChar to see if there's any difference. KeyChar most likely won't
&lt;br&gt;&amp;gt;&amp;gt; fire.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; It works for the backspace? &amp;nbsp;But I did attempt to bind the dEvents.KeyEvent 
&lt;br&gt;&amp;gt; without success.
&lt;br&gt;&lt;br&gt;Try KeyDown and KeyUp too.
&lt;br&gt;&lt;br&gt;Paul
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19225377&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-dev@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-dev&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-dev&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/48B842B8.5070009@ulmcnett.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/48B842B8.5070009@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-dev-f17348.html&quot; embed=&quot;fixTarget[17348]&quot; target=&quot;_top&quot; &gt;dabo-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/can%27t-catch-the-delete-key-tp19224069p19225377.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19225252</id>
	<title>dabo Commit 4488</title>
	<published>2008-08-29T11:32:14Z</published>
	<updated>2008-08-29T11:32:14Z</updated>
	<author>
		<name>Paul McNett</name>
	</author>
	<content type="html">dabo Commit
&lt;br&gt;Revision 4488
&lt;br&gt;Date: 2008-08-29 11:32:14 -0700 (Fri, 29 Aug 2008)
&lt;br&gt;Author: Paul
&lt;br&gt;Trac: &lt;a href=&quot;http://svn.dabodev.com/trac/dabo/changeset/4488&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.dabodev.com/trac/dabo/changeset/4488&lt;/a&gt;&lt;br&gt;&lt;br&gt;Changed:
&lt;br&gt;U &amp;nbsp; trunk/dabo/ui/uiwx/dGrid.py
&lt;br&gt;&lt;br&gt;Log:
&lt;br&gt;Worked around a substantial source of the flickering of dGrid on Windows, by caching the cell values for 10 seconds to avoid unneccesary calls to biz.getFieldVal(). This will probably improve performance on Mac and Lin as well, even though those platforms didn't exhibit the flickering. Now, the windows grid will flicker at most once every 10 seconds. Call grid.update() or grid.refresh() will clear all cached values immediately.
&lt;br&gt;&lt;br&gt;Diff:
&lt;br&gt;Modified: trunk/dabo/ui/uiwx/dGrid.py
&lt;br&gt;===================================================================
&lt;br&gt;--- trunk/dabo/ui/uiwx/dGrid.py	2008-08-28 22:21:01 UTC (rev 4487)
&lt;br&gt;+++ trunk/dabo/ui/uiwx/dGrid.py	2008-08-29 18:32:14 UTC (rev 4488)
&lt;br&gt;@@ -30,9 +30,12 @@
&lt;br&gt;&amp;nbsp;class dGridDataTable(wx.grid.PyGridTableBase):
&lt;br&gt;&amp;nbsp;	def __init__(self, parent):
&lt;br&gt;&amp;nbsp;		super(dGridDataTable, self).__init__()
&lt;br&gt;+		self._clearCache()
&lt;br&gt;&amp;nbsp;		self.grid = parent
&lt;br&gt;&amp;nbsp;		self._initTable()
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+	def _clearCache(self):
&lt;br&gt;+		self.__cachedVals = {}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	def _initTable(self):
&lt;br&gt;&amp;nbsp;		self.colDefs = []
&lt;br&gt;@@ -321,6 +324,16 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	def GetValue(self, row, col):
&lt;br&gt;+		try:
&lt;br&gt;+			cv = self.__cachedVals.get((row, col))
&lt;br&gt;+		except KeyError:
&lt;br&gt;+			cv = None
&lt;br&gt;+
&lt;br&gt;+		if cv:
&lt;br&gt;+			diff = time.time() - cv[1]
&lt;br&gt;+			if diff &amp;lt; 10: &amp;nbsp;## if it's been less than this # of seconds.
&lt;br&gt;+				return cv[0]
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;		bizobj = self.grid.getBizobj()
&lt;br&gt;&amp;nbsp;		col_obj = self.grid.Columns[col]
&lt;br&gt;&amp;nbsp;		field = col_obj.DataField
&lt;br&gt;@@ -338,6 +351,7 @@
&lt;br&gt;&amp;nbsp;				ret = &amp;quot;&amp;quot;
&lt;br&gt;&amp;nbsp;		if ret is None:
&lt;br&gt;&amp;nbsp;			ret = self.grid.NoneDisplay
&lt;br&gt;+		self.__cachedVals[(row, col)] = (ret, time.time()) 
&lt;br&gt;&amp;nbsp;		return ret
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	def getStringValue(self, val):
&lt;br&gt;@@ -1866,6 +1880,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	def update(self):
&lt;br&gt;&amp;nbsp;		self.super()
&lt;br&gt;+		self._Table._clearCache()
&lt;br&gt;&amp;nbsp;		self._syncRowCount()
&lt;br&gt;&amp;nbsp;		self._syncColumnCount()
&lt;br&gt;&amp;nbsp;		self._syncCurrentRow()
&lt;br&gt;@@ -3008,6 +3023,7 @@
&lt;br&gt;&amp;nbsp;			self._refreshAfterSort = False
&lt;br&gt;&amp;nbsp;			self._restoreSort()
&lt;br&gt;&amp;nbsp;			self._refreshAfterSort = ref
&lt;br&gt;+		self._Table._clearCache()
&lt;br&gt;&amp;nbsp;		self._syncColumnCount()
&lt;br&gt;&amp;nbsp;		self._syncRowCount()
&lt;br&gt;&amp;nbsp;		self._syncCurrentRow()
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19225252&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-dev@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-dev&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-dev&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/20080829183214.AAAA23189F1@mail.paulmcnett.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/20080829183214.AAAA23189F1@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-dev-f17348.html&quot; embed=&quot;fixTarget[17348]&quot; target=&quot;_top&quot; &gt;dabo-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/dabo-Commit-4488-tp19225252p19225252.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19224355</id>
	<title>Re: can't catch the delete key</title>
	<published>2008-08-29T10:32:47Z</published>
	<updated>2008-08-29T10:32:47Z</updated>
	<author>
		<name>johnf</name>
	</author>
	<content type="html">On Friday 29 August 2008 10:28:13 am Paul McNett wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; johnf wrote:
&lt;br&gt;&amp;gt; &amp;gt; I'm using the code from the dComboBox.py to create a jKey type of
&lt;br&gt;&amp;gt; &amp;gt; control. &amp;nbsp;I am very close to having everything working. &amp;nbsp;But I can not
&lt;br&gt;&amp;gt; &amp;gt; catch the detele key in my code (see below) and I can't determine the
&lt;br&gt;&amp;gt; &amp;gt; cause. &amp;nbsp;This is on windows with the latest svn (have not checked Linux).
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I import dKeys and I'm checking to see if the evt.keycode
&lt;br&gt;&amp;gt; &amp;gt; =dKeys.key_Delete. However, the key stoke never gets to the code. &amp;nbsp;The 
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;dKeys.key_Back&amp;quot; get there so I sure I'm not doing anything to stop it. 
&lt;br&gt;&amp;gt; &amp;gt; I think something in Dabo is stopping the delete key and the reason I'm
&lt;br&gt;&amp;gt; &amp;gt; posting in dev-list. &amp;nbsp;I also can't see the delete in the dComboBox code.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; def jKey(self,evt):
&lt;br&gt;&amp;gt; &amp;gt; 		self.mytimer.start()
&lt;br&gt;&amp;gt; &amp;gt; 		if not self:
&lt;br&gt;&amp;gt; &amp;gt; 			# The control is being destroyed
&lt;br&gt;&amp;gt; &amp;gt; 			return
&lt;br&gt;&amp;gt; &amp;gt; 		keyChar = evt.keyChar
&lt;br&gt;&amp;gt; &amp;gt; 		print evt.keyCode
&lt;br&gt;&amp;gt; &amp;gt; 		if evt.keyCode in (dKeys.key_Back, dKeys.key_Delete, &amp;nbsp;dKeys.key_Left,
&lt;br&gt;&amp;gt; &amp;gt; dKeys.key_Numpad_delete, dKeys.key_Home):
&lt;br&gt;&amp;gt; &amp;gt; 			keyChar=''
&lt;br&gt;&amp;gt; &amp;gt; 			choiceStr=self.Choices[self.GetSelection()]
&lt;br&gt;&amp;gt; &amp;gt; 			themarks=self.GetMark()
&lt;br&gt;&amp;gt; &amp;gt; 			self.localString=choiceStr[themarks[0]:themarks[1]]
&lt;br&gt;&amp;gt; &amp;gt; 			if len(self.localString) &amp;gt; 1:
&lt;br&gt;&amp;gt; &amp;gt; 				self.localString= self.localString[:-1]
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; 		if keyChar is not None and (keyChar.isalnum() or keyChar.isspace() or
&lt;br&gt;&amp;gt; &amp;gt; keyChar==''
&lt;br&gt;&amp;gt; &amp;gt; 				or keyChar in &amp;quot;&amp;quot;&amp;quot;,./&amp;lt;&amp;gt;?;':&amp;quot;[]\\{}|`~!@#$%%^&amp;*()-_=+&amp;quot;&amp;quot;&amp;quot;):
&lt;br&gt;&amp;gt; &amp;gt; 			localStr= self.localString+keyChar
&lt;br&gt;&amp;gt; &amp;gt; 			#if evt.EventObject.Value is not None:
&lt;br&gt;&amp;gt; &amp;gt; 				#txt =evt.EventObject.Value+keyChar
&lt;br&gt;&amp;gt; &amp;gt; 			#else:
&lt;br&gt;&amp;gt; &amp;gt; 				#txt=keyChar
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; 			findcntr = 0
&lt;br&gt;&amp;gt; &amp;gt; 			foundOK=False
&lt;br&gt;&amp;gt; &amp;gt; 			for i in self.Choices:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; 				if re.match('^'+localStr.upper(),i.upper()) is not None:
&lt;br&gt;&amp;gt; &amp;gt; 					self.PositionValue=findcntr
&lt;br&gt;&amp;gt; &amp;gt; 					#self.SelectAll=False
&lt;br&gt;&amp;gt; &amp;gt; 					#self.InsertionPoint=len(txt)
&lt;br&gt;&amp;gt; &amp;gt; 					self.select(1, len(self.localString))
&lt;br&gt;&amp;gt; &amp;gt; 					self.SetMark(0,len(localStr))
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; 					self.localString=localStr
&lt;br&gt;&amp;gt; &amp;gt; 					foundOK=True
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; 					break
&lt;br&gt;&amp;gt; &amp;gt; 				findcntr=findcntr+1
&lt;br&gt;&amp;gt; &amp;gt; 			if not foundOK:
&lt;br&gt;&amp;gt; &amp;gt; 				dabo.ui.beep()
&lt;br&gt;&amp;gt; &amp;gt; 				self.SetMark(0,len(self.localString))
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; 			evt.stop()
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm not seeing which key event you are binding, but try KeyDown, KeyUp,
&lt;br&gt;&amp;gt; and KeyChar to see if there's any difference. KeyChar most likely won't
&lt;br&gt;&amp;gt; fire.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Paul
&lt;/div&gt;It works for the backspace? &amp;nbsp;But I did attempt to bind the dEvents.KeyEvent 
&lt;br&gt;without success.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;John Fabiani
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19224355&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-dev@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-dev&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-dev&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/200808291032.47570.jfabiani@yolo.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/200808291032.47570.jfabiani@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-dev-f17348.html&quot; embed=&quot;fixTarget[17348]&quot; target=&quot;_top&quot; &gt;dabo-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/can%27t-catch-the-delete-key-tp19224069p19224355.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19224328</id>
	<title>Re: dDataControlMixin bug?</title>
	<published>2008-08-29T10:30:51Z</published>
	<updated>2008-08-29T10:30:51Z</updated>
	<author>
		<name>johnf</name>
	</author>
	<content type="html">On Friday 29 August 2008 10:25:34 am Paul McNett wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; johnf wrote:
&lt;br&gt;&amp;gt; &amp;gt; def select(self, position, length):
&lt;br&gt;&amp;gt; &amp;gt; 		&amp;quot;&amp;quot;&amp;quot; Select all text from &amp;lt;position&amp;gt; for &amp;lt;length&amp;gt; or end of string.&amp;quot;&amp;quot;&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; 		try:
&lt;br&gt;&amp;gt; &amp;gt; 			self.SetInsertionPoint(1)
&lt;br&gt;&amp;gt; &amp;gt; 			self.SetSelection(position, length)
&lt;br&gt;&amp;gt; &amp;gt; 		except AttributeError:
&lt;br&gt;&amp;gt; &amp;gt; 			# Only works for text controls
&lt;br&gt;&amp;gt; &amp;gt; 			pass
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; If I attempt to use &amp;quot;select&amp;quot; from dDataContorlMixin.py as in
&lt;br&gt;&amp;gt; &amp;gt; self.select(0,3)
&lt;br&gt;&amp;gt; &amp;gt; I get an error
&lt;br&gt;&amp;gt; &amp;gt; ItemContainer_SetSelection() takes exactly 2 arguments (3 given)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Unfortunately, wxPython uses the SetSelection() method to mean different
&lt;br&gt;&amp;gt; things in different contexts. For text controls, it means the selected
&lt;br&gt;&amp;gt; text and takes pos, length args. For ItemContainer objects (like
&lt;br&gt;&amp;gt; combobox, etc.) it means 'select the item at this index'.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Can you try changing that to:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; def select(self, position, length):
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;try:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.SetInsertionPoint(position)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.SetInsertionPointEnd(length)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;except AttributeError:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;pass
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If it works, test that it doesn't break text controls, and then commit
&lt;br&gt;&amp;gt; if good?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If it doesn't work, we could at least catch TypeError as well as
&lt;br&gt;&amp;gt; AttributeError and have the function do nothing.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Paul
&lt;/div&gt;I will very shortly - need to feed some workers at my home. &amp;nbsp;Thanks for info 
&lt;br&gt;on the different way's wx handles this.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;John Fabiani
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19224328&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-dev@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-dev&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-dev&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/200808291030.51835.jfabiani@yolo.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/200808291030.51835.jfabiani@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-dev-f17348.html&quot; embed=&quot;fixTarget[17348]&quot; target=&quot;_top&quot; &gt;dabo-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/dDataControlMixin-bug--tp19223862p19224328.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19224299</id>
	<title>Re: can't catch the delete key</title>
	<published>2008-08-29T10:28:13Z</published>
	<updated>2008-08-29T10:28:13Z</updated>
	<author>
		<name>Paul McNett</name>
	</author>
	<content type="html">johnf wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I'm using the code from the dComboBox.py to create a jKey type of control. &amp;nbsp;I 
&lt;br&gt;&amp;gt; am very close to having everything working. &amp;nbsp;But I can not catch the detele 
&lt;br&gt;&amp;gt; key in my code (see below) and I can't determine the cause. &amp;nbsp;This is on 
&lt;br&gt;&amp;gt; windows with the latest svn (have not checked Linux).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I import dKeys and I'm checking to see if the evt.keycode =dKeys.key_Delete. &amp;nbsp;
&lt;br&gt;&amp;gt; However, the key stoke never gets to the code. &amp;nbsp;The &amp;nbsp;&amp;quot;dKeys.key_Back&amp;quot; get 
&lt;br&gt;&amp;gt; there so I sure I'm not doing anything to stop it. &amp;nbsp;I think something in Dabo 
&lt;br&gt;&amp;gt; is stopping the delete key and the reason I'm posting in dev-list. &amp;nbsp;I also 
&lt;br&gt;&amp;gt; can't see the delete in the dComboBox code.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; def jKey(self,evt):
&lt;br&gt;&amp;gt; 		self.mytimer.start()
&lt;br&gt;&amp;gt; 		if not self:
&lt;br&gt;&amp;gt; 			# The control is being destroyed
&lt;br&gt;&amp;gt; 			return
&lt;br&gt;&amp;gt; 		keyChar = evt.keyChar
&lt;br&gt;&amp;gt; 		print evt.keyCode
&lt;br&gt;&amp;gt; 		if evt.keyCode in (dKeys.key_Back, dKeys.key_Delete, &amp;nbsp;dKeys.key_Left, 
&lt;br&gt;&amp;gt; dKeys.key_Numpad_delete, dKeys.key_Home):
&lt;br&gt;&amp;gt; 			keyChar=''
&lt;br&gt;&amp;gt; 			choiceStr=self.Choices[self.GetSelection()]
&lt;br&gt;&amp;gt; 			themarks=self.GetMark()
&lt;br&gt;&amp;gt; 			self.localString=choiceStr[themarks[0]:themarks[1]]
&lt;br&gt;&amp;gt; 			if len(self.localString) &amp;gt; 1:
&lt;br&gt;&amp;gt; 				self.localString= self.localString[:-1]
&lt;br&gt;&amp;gt; 				
&lt;br&gt;&amp;gt; 		if keyChar is not None and (keyChar.isalnum() or keyChar.isspace() or 
&lt;br&gt;&amp;gt; keyChar=='' 
&lt;br&gt;&amp;gt; 				or keyChar in &amp;quot;&amp;quot;&amp;quot;,./&amp;lt;&amp;gt;?;':&amp;quot;[]\\{}|`~!@#$%%^&amp;*()-_=+&amp;quot;&amp;quot;&amp;quot;):
&lt;br&gt;&amp;gt; 			localStr= self.localString+keyChar
&lt;br&gt;&amp;gt; 			#if evt.EventObject.Value is not None:
&lt;br&gt;&amp;gt; 				#txt =evt.EventObject.Value+keyChar
&lt;br&gt;&amp;gt; 			#else:
&lt;br&gt;&amp;gt; 				#txt=keyChar
&lt;br&gt;&amp;gt; 			
&lt;br&gt;&amp;gt; 			findcntr = 0
&lt;br&gt;&amp;gt; 			foundOK=False
&lt;br&gt;&amp;gt; 			for i in self.Choices:
&lt;br&gt;&amp;gt; 				
&lt;br&gt;&amp;gt; 				if re.match('^'+localStr.upper(),i.upper()) is not None:
&lt;br&gt;&amp;gt; 					self.PositionValue=findcntr
&lt;br&gt;&amp;gt; 					#self.SelectAll=False
&lt;br&gt;&amp;gt; 					#self.InsertionPoint=len(txt)
&lt;br&gt;&amp;gt; 					self.select(1, len(self.localString))
&lt;br&gt;&amp;gt; 					self.SetMark(0,len(localStr))
&lt;br&gt;&amp;gt; 					
&lt;br&gt;&amp;gt; 					self.localString=localStr
&lt;br&gt;&amp;gt; 					foundOK=True
&lt;br&gt;&amp;gt; 					
&lt;br&gt;&amp;gt; 					break
&lt;br&gt;&amp;gt; 				findcntr=findcntr+1
&lt;br&gt;&amp;gt; 			if not foundOK:
&lt;br&gt;&amp;gt; 				dabo.ui.beep()
&lt;br&gt;&amp;gt; 				self.SetMark(0,len(self.localString))
&lt;br&gt;&amp;gt; 				
&lt;br&gt;&amp;gt; 			evt.stop()
&lt;/div&gt;&lt;br&gt;I'm not seeing which key event you are binding, but try KeyDown, KeyUp, 
&lt;br&gt;and KeyChar to see if there's any difference. KeyChar most likely won't 
&lt;br&gt;fire.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Paul
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19224299&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-dev@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-dev&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-dev&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/48B831AD.9070906@ulmcnett.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/48B831AD.9070906@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-dev-f17348.html&quot; embed=&quot;fixTarget[17348]&quot; target=&quot;_top&quot; &gt;dabo-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/can%27t-catch-the-delete-key-tp19224069p19224299.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19224265</id>
	<title>Re: can't catch the delete key</title>
	<published>2008-08-29T10:25:57Z</published>
	<updated>2008-08-29T10:25:57Z</updated>
	<author>
		<name>Ed Leafe</name>
	</author>
	<content type="html">On Aug 29, 2008, at 12:14 PM, johnf wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; I think something in Dabo
&lt;br&gt;&amp;gt; is stopping the delete key and the reason I'm posting in dev-list. &amp;nbsp; 
&lt;br&gt;&amp;gt; I also
&lt;br&gt;&amp;gt; can't see the delete in the dComboBox code.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Can you try with a pure wx example? I don't know of anything we're &amp;nbsp;
&lt;br&gt;doing in Dabo that would 'stop' that keypress from being processed.
&lt;br&gt;&lt;br&gt;-- Ed Leafe
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19224265&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-dev@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-dev&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-dev&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/098179B7-8DC0-40A2-9F8B-B98271D2BFEB@leafe.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/098179B7-8DC0-40A2-9F8B-B98271D2BFEB@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-dev-f17348.html&quot; embed=&quot;fixTarget[17348]&quot; target=&quot;_top&quot; &gt;dabo-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/can%27t-catch-the-delete-key-tp19224069p19224265.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19224262</id>
	<title>Re: dDataControlMixin bug?</title>
	<published>2008-08-29T10:25:34Z</published>
	<updated>2008-08-29T10:25:34Z</updated>
	<author>
		<name>Paul McNett</name>
	</author>
	<content type="html">johnf wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; def select(self, position, length):
&lt;br&gt;&amp;gt; 		&amp;quot;&amp;quot;&amp;quot; Select all text from &amp;lt;position&amp;gt; for &amp;lt;length&amp;gt; or end of string.&amp;quot;&amp;quot;&amp;quot;
&lt;br&gt;&amp;gt; 		try:
&lt;br&gt;&amp;gt; 			self.SetInsertionPoint(1)
&lt;br&gt;&amp;gt; 			self.SetSelection(position, length)
&lt;br&gt;&amp;gt; 		except AttributeError:
&lt;br&gt;&amp;gt; 			# Only works for text controls
&lt;br&gt;&amp;gt; 			pass
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If I attempt to use &amp;quot;select&amp;quot; from dDataContorlMixin.py as in
&lt;br&gt;&amp;gt; self.select(0,3)
&lt;br&gt;&amp;gt; I get an error 
&lt;br&gt;&amp;gt; ItemContainer_SetSelection() takes exactly 2 arguments (3 given)
&lt;/div&gt;&lt;br&gt;Unfortunately, wxPython uses the SetSelection() method to mean different 
&lt;br&gt;things in different contexts. For text controls, it means the selected 
&lt;br&gt;text and takes pos, length args. For ItemContainer objects (like 
&lt;br&gt;combobox, etc.) it means 'select the item at this index'.
&lt;br&gt;&lt;br&gt;Can you try changing that to:
&lt;br&gt;&lt;br&gt;def select(self, position, length):
&lt;br&gt;&amp;nbsp; &amp;nbsp;try:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;self.SetInsertionPoint(position)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;self.SetInsertionPointEnd(length)
&lt;br&gt;&amp;nbsp; &amp;nbsp;except AttributeError:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;pass
&lt;br&gt;&lt;br&gt;If it works, test that it doesn't break text controls, and then commit 
&lt;br&gt;if good?
&lt;br&gt;&lt;br&gt;If it doesn't work, we could at least catch TypeError as well as 
&lt;br&gt;AttributeError and have the function do nothing.
&lt;br&gt;&lt;br&gt;Paul
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19224262&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-dev@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-dev&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-dev&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/48B8310E.2010101@ulmcnett.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/48B8310E.2010101@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-dev-f17348.html&quot; embed=&quot;fixTarget[17348]&quot; target=&quot;_top&quot; &gt;dabo-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/dDataControlMixin-bug--tp19223862p19224262.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19224069</id>
	<title>can't catch the delete key</title>
	<published>2008-08-29T10:14:46Z</published>
	<updated>2008-08-29T10:14:46Z</updated>
	<author>
		<name>johnf</name>
	</author>
	<content type="html">I'm using the code from the dComboBox.py to create a jKey type of control. &amp;nbsp;I 
&lt;br&gt;am very close to having everything working. &amp;nbsp;But I can not catch the detele 
&lt;br&gt;key in my code (see below) and I can't determine the cause. &amp;nbsp;This is on 
&lt;br&gt;windows with the latest svn (have not checked Linux).
&lt;br&gt;&lt;br&gt;I import dKeys and I'm checking to see if the evt.keycode =dKeys.key_Delete. &amp;nbsp;
&lt;br&gt;However, the key stoke never gets to the code. &amp;nbsp;The &amp;nbsp;&amp;quot;dKeys.key_Back&amp;quot; get 
&lt;br&gt;there so I sure I'm not doing anything to stop it. &amp;nbsp;I think something in Dabo 
&lt;br&gt;is stopping the delete key and the reason I'm posting in dev-list. &amp;nbsp;I also 
&lt;br&gt;can't see the delete in the dComboBox code.
&lt;br&gt;&lt;br&gt;def jKey(self,evt):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.mytimer.start()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if not self:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # The control is being destroyed
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; keyChar = evt.keyChar
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print evt.keyCode
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if evt.keyCode in (dKeys.key_Back, dKeys.key_Delete, &amp;nbsp;dKeys.key_Left, 
&lt;br&gt;dKeys.key_Numpad_delete, dKeys.key_Home):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; keyChar=''
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; choiceStr=self.Choices[self.GetSelection()]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; themarks=self.GetMark()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.localString=choiceStr[themarks[0]:themarks[1]]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if len(self.localString) &amp;gt; 1:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.localString= self.localString[:-1]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if keyChar is not None and (keyChar.isalnum() or keyChar.isspace() or 
&lt;br&gt;keyChar=='' 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; or keyChar in &amp;quot;&amp;quot;&amp;quot;,./&amp;lt;&amp;gt;?;':&amp;quot;[]\\{}|`~!@#$%%^&amp;*()-_=+&amp;quot;&amp;quot;&amp;quot;):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; localStr= self.localString+keyChar
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #if evt.EventObject.Value is not None:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #txt =evt.EventObject.Value+keyChar
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #else:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #txt=keyChar
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; findcntr = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; foundOK=False
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for i in self.Choices:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if re.match('^'+localStr.upper(),i.upper()) is not None:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.PositionValue=findcntr
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #self.SelectAll=False
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #self.InsertionPoint=len(txt)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.select(1, len(self.localString))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.SetMark(0,len(localStr))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.localString=localStr
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; foundOK=True
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; findcntr=findcntr+1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if not foundOK:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dabo.ui.beep()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.SetMark(0,len(self.localString))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; evt.stop()
&lt;br&gt;-- 
&lt;br&gt;John Fabiani
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19224069&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-dev@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-dev&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-dev&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/200808291014.46854.jfabiani@yolo.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/200808291014.46854.jfabiani@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-dev-f17348.html&quot; embed=&quot;fixTarget[17348]&quot; target=&quot;_top&quot; &gt;dabo-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/can%27t-catch-the-delete-key-tp19224069p19224069.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19223862</id>
	<title>dDataControlMixin bug?</title>
	<published>2008-08-29T10:00:43Z</published>
	<updated>2008-08-29T10:00:43Z</updated>
	<author>
		<name>johnf</name>
	</author>
	<content type="html">def select(self, position, length):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;&amp;quot;&amp;quot; Select all text from &amp;lt;position&amp;gt; for &amp;lt;length&amp;gt; or end of string.&amp;quot;&amp;quot;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.SetInsertionPoint(1)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.SetSelection(position, length)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; except AttributeError:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # Only works for text controls
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pass
&lt;br&gt;&lt;br&gt;If I attempt to use &amp;quot;select&amp;quot; from dDataContorlMixin.py as in
&lt;br&gt;self.select(0,3)
&lt;br&gt;I get an error 
&lt;br&gt;ItemContainer_SetSelection() takes exactly 2 arguments (3 given)
&lt;br&gt;-- 
&lt;br&gt;John Fabiani
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19223862&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-dev@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-dev&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-dev&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/200808291000.43589.jfabiani@yolo.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/200808291000.43589.jfabiani@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-dev-f17348.html&quot; embed=&quot;fixTarget[17348]&quot; target=&quot;_top&quot; &gt;dabo-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/dDataControlMixin-bug--tp19223862p19223862.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19217673</id>
	<title>Re: (python:12507): Gtk-CRITICAL **:	gtk_window_set_modal: assertion	`GTK_IS_WINDOW (window)' failed</title>
	<published>2008-08-29T03:50:38Z</published>
	<updated>2008-08-29T03:50:38Z</updated>
	<author>
		<name>Bob Mathias - Sysero llc Business Group</name>
	</author>
	<content type="html">Dear John Fabiani
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I appreciate the help you gave me and I did tar dabo to my system. &amp;nbsp;The
&lt;br&gt;problem has gone away. In the future I I will use &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19217673&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dabo-users@...&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;Thank You
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Bob Mathias
&lt;br&gt;&lt;br&gt;On Thu, 2008-08-28 at 20:49 -0700, johnf wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thursday 28 August 2008 07:47:25 pm Bob Mathias - Sysero llc Business Group 
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; Running under:
&lt;br&gt;&amp;gt; &amp;gt; Ubuntu 8.04 running in Gnome
&lt;br&gt;&amp;gt; &amp;gt; Dabo
&lt;br&gt;&amp;gt; &amp;gt; Platform: GTK
&lt;br&gt;&amp;gt; &amp;gt; Python Version: 2.5.2 on linux2
&lt;br&gt;&amp;gt; &amp;gt; Dabo Version: Version 0.8.4; Revision ~4487
&lt;br&gt;&amp;gt; &amp;gt; UI Version: 2.8.7.1 on wxGTK(gtk2)
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp;I am new to both Dabo, Python and linux and been using NetBeans 6.1
&lt;br&gt;&amp;gt; &amp;gt; running sun-java6. &amp;nbsp;I am developing a commercial database desktop
&lt;br&gt;&amp;gt; &amp;gt; application for small business in Cincinnati Ohio.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp;I installed Dabo with the install instructions and had no problems.
&lt;br&gt;&amp;gt; &amp;gt; I was even able to run the test program with out any problem but I did
&lt;br&gt;&amp;gt; &amp;gt; get in the terminal:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; -------------------------
&lt;br&gt;&amp;gt; &amp;gt; sysero@sysero-rkm-laptop:~/dabo$ set -ex
&lt;br&gt;&amp;gt; &amp;gt; ++ echo -ne '\033]0;sysero@sysero-rkm-laptop: ~/dabo\007'
&lt;br&gt;&amp;gt; &amp;gt; sysero@sysero-rkm-laptop:~/dabo$ cd demo
&lt;br&gt;&amp;gt; &amp;gt; + cd demo
&lt;br&gt;&amp;gt; &amp;gt; ++ echo -ne '\033]0;sysero@sysero-rkm-laptop: ~/dabo/demo\007'
&lt;br&gt;&amp;gt; &amp;gt; sysero@sysero-rkm-laptop:~/dabo/demo$ ls
&lt;br&gt;&amp;gt; &amp;gt; + ls --color=auto
&lt;br&gt;&amp;gt; &amp;gt; DaboDemo.cdxml &amp;nbsp;DaboDemo.py &amp;nbsp;media &amp;nbsp;Modules.py &amp;nbsp;samples &amp;nbsp;setup.py
&lt;br&gt;&amp;gt; &amp;gt; ++ echo -ne '\033]0;sysero@sysero-rkm-laptop: ~/dabo/demo\007'
&lt;br&gt;&amp;gt; &amp;gt; sysero@sysero-rkm-laptop:~/dabo/demo$ python DaboDemo.py
&lt;br&gt;&amp;gt; &amp;gt; + python DaboDemo.py
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; (python:15963): Gtk-CRITICAL **: gtk_widget_add_accelerator: assertion
&lt;br&gt;&amp;gt; &amp;gt; `GTK_IS_WIDGET (widget)' failed
&lt;br&gt;&amp;gt; &amp;gt; -------------------------
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; I tried to look for answers by Googling the error:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; (python:15963): Gtk-CRITICAL **: gtk_widget_add_accelerator: assertion
&lt;br&gt;&amp;gt; &amp;gt; `GTK_IS_WIDGET (widget)' failed
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; but my background in python is very limited.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp;I ran the lesson on THE Step-By-Step Guide to Programming which was
&lt;br&gt;&amp;gt; &amp;gt; very helpful in learning Dabo, which I found easier to work with than
&lt;br&gt;&amp;gt; &amp;gt; NetBeans or eclipse.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp;When I reached the part to click Finish after I 'Don't add bizobj
&lt;br&gt;&amp;gt; &amp;gt; code', and then click 'Finish'. &amp;nbsp;At that point the Class Designer is
&lt;br&gt;&amp;gt; &amp;gt; closed unexpectedly. &amp;nbsp;In my terminal window at the last few lines I get:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; --------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dPemMix
&lt;br&gt;&amp;gt; &amp;gt;in.py&amp;quot;, line 1219, in update self.raiseEvent(dEvents.Update)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dPemMix
&lt;br&gt;&amp;gt; &amp;gt;in.py&amp;quot;, line 926, in raiseEvent super(dPemMixin,
&lt;br&gt;&amp;gt; &amp;gt; self).raiseEvent(eventClass, nativeEvent, *args, **kwargs)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/lib/eventMixin.
&lt;br&gt;&amp;gt; &amp;gt;py&amp;quot;, line 92, in raiseEvent bindingFunction(event)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dPemMix
&lt;br&gt;&amp;gt; &amp;gt;in.py&amp;quot;, line 1196, in __onUpdate self.update()
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/dDataControl
&lt;br&gt;&amp;gt; &amp;gt;MixinBase.py&amp;quot;, line 134, in update self.Value = srcatt
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dContro
&lt;br&gt;&amp;gt; &amp;gt;lItemMixin.py&amp;quot;, line 382, in _setValue self.StringValue = value
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dContro
&lt;br&gt;&amp;gt; &amp;gt;lItemMixin.py&amp;quot;, line 356, in _setStringValue raise ValueError, _(&amp;quot;String
&lt;br&gt;&amp;gt; &amp;gt; must be present in the choices.&amp;quot;)
&lt;br&gt;&amp;gt; &amp;gt; ValueError: String must be present in the choices.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; (python:12507): Gtk-CRITICAL **: gtk_window_set_modal: assertion
&lt;br&gt;&amp;gt; &amp;gt; `GTK_IS_WINDOW (window)' failed
&lt;br&gt;&amp;gt; &amp;gt; Segmentation fault
&lt;br&gt;&amp;gt; &amp;gt; sysero@sysero-rkm-laptop:~/dabo/ide$
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; -----------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp;When I first started ClassDesigner.py my terminal displayed:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; ------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dPemMix
&lt;br&gt;&amp;gt; &amp;gt;in.py&amp;quot;, line 1219, in update self.raiseEvent(dEvents.Update)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dPemMix
&lt;br&gt;&amp;gt; &amp;gt;in.py&amp;quot;, line 926, in raiseEvent super(dPemMixin,
&lt;br&gt;&amp;gt; &amp;gt; self).raiseEvent(eventClass, nativeEvent, *args, **kwargs)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/lib/eventMixin.
&lt;br&gt;&amp;gt; &amp;gt;py&amp;quot;, line 92, in raiseEvent bindingFunction(event)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dPemMix
&lt;br&gt;&amp;gt; &amp;gt;in.py&amp;quot;, line 1196, in __onUpdate self.update()
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/dDataControl
&lt;br&gt;&amp;gt; &amp;gt;MixinBase.py&amp;quot;, line 134, in update self.Value = srcatt
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dContro
&lt;br&gt;&amp;gt; &amp;gt;lItemMixin.py&amp;quot;, line 382, in _setValue self.StringValue = value
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dContro
&lt;br&gt;&amp;gt; &amp;gt;lItemMixin.py&amp;quot;, line 356, in _setStringValue raise ValueError, _(&amp;quot;String
&lt;br&gt;&amp;gt; &amp;gt; must be present in the choices.&amp;quot;)
&lt;br&gt;&amp;gt; &amp;gt; ValueError: String must be present in the choices.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; (python:12507): Gtk-CRITICAL **: gtk_window_set_modal: assertion
&lt;br&gt;&amp;gt; &amp;gt; `GTK_IS_WINDOW (window)' failed
&lt;br&gt;&amp;gt; &amp;gt; Segmentation fault
&lt;br&gt;&amp;gt; &amp;gt; sysero@sysero-rkm-laptop:~/dabo/ide$
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;-------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; I have no idea how to solve this problem.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; Thank You
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;Bob Mathias
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It is best if you move these questions to the Dabo Users list 
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19217673&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dabo-users@...&lt;/a&gt;&amp;gt;. &amp;nbsp;You'll get faster responses.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Let's deal with the ClassDesigner first. &amp;nbsp;Currently the svn version has a bug 
&lt;br&gt;&amp;gt; that causes the seg fault. &amp;nbsp;I'm sure some time tomorrow someone will fix the 
&lt;br&gt;&amp;gt; problem. &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; (python:15963): Gtk-CRITICAL **: gtk_widget_add_accelerator: assertion
&lt;br&gt;&amp;gt; &amp;gt; `GTK_IS_WIDGET (widget)' failed
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The message is normal for a running Dabo app. &amp;nbsp;For now you can disregard it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; And most important &amp;quot;Welcome to world of Dabo&amp;quot;. &amp;nbsp;I'm sure you will find Dabo to 
&lt;br&gt;&amp;gt; be one of the simplest frameworks to work with available for desktop apps.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19217673&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-dev@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-dev&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-dev&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/1220007038.9304.5.camel@sysero-rkm-laptop&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/1220007038.9304.5.camel@sysero-rkm-laptop&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-dev-f17348.html&quot; embed=&quot;fixTarget[17348]&quot; target=&quot;_top&quot; &gt;dabo-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/%28python%3A12507%29%3A-Gtk-CRITICAL-**%3A-gtk_window_set_modal%3A-assertion%09%60GTK_IS_WINDOW-%28window%29%27-failed-tp19212814p19217673.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19213218</id>
	<title>Re: (python:12507): Gtk-CRITICAL **: gtk_window_set_modal: assertion	`GTK_IS_WINDOW (window)' failed</title>
	<published>2008-08-28T20:49:12Z</published>
	<updated>2008-08-28T20:49:12Z</updated>
	<author>
		<name>johnf</name>
	</author>
	<content type="html">On Thursday 28 August 2008 07:47:25 pm Bob Mathias - Sysero llc Business Group 
&lt;br&gt;wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Running under:
&lt;br&gt;&amp;gt; Ubuntu 8.04 running in Gnome
&lt;br&gt;&amp;gt; Dabo
&lt;br&gt;&amp;gt; Platform: GTK
&lt;br&gt;&amp;gt; Python Version: 2.5.2 on linux2
&lt;br&gt;&amp;gt; Dabo Version: Version 0.8.4; Revision ~4487
&lt;br&gt;&amp;gt; UI Version: 2.8.7.1 on wxGTK(gtk2)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;I am new to both Dabo, Python and linux and been using NetBeans 6.1
&lt;br&gt;&amp;gt; running sun-java6. &amp;nbsp;I am developing a commercial database desktop
&lt;br&gt;&amp;gt; application for small business in Cincinnati Ohio.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;I installed Dabo with the install instructions and had no problems.
&lt;br&gt;&amp;gt; I was even able to run the test program with out any problem but I did
&lt;br&gt;&amp;gt; get in the terminal:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -------------------------
&lt;br&gt;&amp;gt; sysero@sysero-rkm-laptop:~/dabo$ set -ex
&lt;br&gt;&amp;gt; ++ echo -ne '\033]0;sysero@sysero-rkm-laptop: ~/dabo\007'
&lt;br&gt;&amp;gt; sysero@sysero-rkm-laptop:~/dabo$ cd demo
&lt;br&gt;&amp;gt; + cd demo
&lt;br&gt;&amp;gt; ++ echo -ne '\033]0;sysero@sysero-rkm-laptop: ~/dabo/demo\007'
&lt;br&gt;&amp;gt; sysero@sysero-rkm-laptop:~/dabo/demo$ ls
&lt;br&gt;&amp;gt; + ls --color=auto
&lt;br&gt;&amp;gt; DaboDemo.cdxml &amp;nbsp;DaboDemo.py &amp;nbsp;media &amp;nbsp;Modules.py &amp;nbsp;samples &amp;nbsp;setup.py
&lt;br&gt;&amp;gt; ++ echo -ne '\033]0;sysero@sysero-rkm-laptop: ~/dabo/demo\007'
&lt;br&gt;&amp;gt; sysero@sysero-rkm-laptop:~/dabo/demo$ python DaboDemo.py
&lt;br&gt;&amp;gt; + python DaboDemo.py
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (python:15963): Gtk-CRITICAL **: gtk_widget_add_accelerator: assertion
&lt;br&gt;&amp;gt; `GTK_IS_WIDGET (widget)' failed
&lt;br&gt;&amp;gt; -------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; I tried to look for answers by Googling the error:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (python:15963): Gtk-CRITICAL **: gtk_widget_add_accelerator: assertion
&lt;br&gt;&amp;gt; `GTK_IS_WIDGET (widget)' failed
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; but my background in python is very limited.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;I ran the lesson on THE Step-By-Step Guide to Programming which was
&lt;br&gt;&amp;gt; very helpful in learning Dabo, which I found easier to work with than
&lt;br&gt;&amp;gt; NetBeans or eclipse.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;When I reached the part to click Finish after I 'Don't add bizobj
&lt;br&gt;&amp;gt; code', and then click 'Finish'. &amp;nbsp;At that point the Class Designer is
&lt;br&gt;&amp;gt; closed unexpectedly. &amp;nbsp;In my terminal window at the last few lines I get:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dPemMix
&lt;br&gt;&amp;gt;in.py&amp;quot;, line 1219, in update self.raiseEvent(dEvents.Update)
&lt;br&gt;&amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dPemMix
&lt;br&gt;&amp;gt;in.py&amp;quot;, line 926, in raiseEvent super(dPemMixin,
&lt;br&gt;&amp;gt; self).raiseEvent(eventClass, nativeEvent, *args, **kwargs)
&lt;br&gt;&amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/lib/eventMixin.
&lt;br&gt;&amp;gt;py&amp;quot;, line 92, in raiseEvent bindingFunction(event)
&lt;br&gt;&amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dPemMix
&lt;br&gt;&amp;gt;in.py&amp;quot;, line 1196, in __onUpdate self.update()
&lt;br&gt;&amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/dDataControl
&lt;br&gt;&amp;gt;MixinBase.py&amp;quot;, line 134, in update self.Value = srcatt
&lt;br&gt;&amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dContro
&lt;br&gt;&amp;gt;lItemMixin.py&amp;quot;, line 382, in _setValue self.StringValue = value
&lt;br&gt;&amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dContro
&lt;br&gt;&amp;gt;lItemMixin.py&amp;quot;, line 356, in _setStringValue raise ValueError, _(&amp;quot;String
&lt;br&gt;&amp;gt; must be present in the choices.&amp;quot;)
&lt;br&gt;&amp;gt; ValueError: String must be present in the choices.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (python:12507): Gtk-CRITICAL **: gtk_window_set_modal: assertion
&lt;br&gt;&amp;gt; `GTK_IS_WINDOW (window)' failed
&lt;br&gt;&amp;gt; Segmentation fault
&lt;br&gt;&amp;gt; sysero@sysero-rkm-laptop:~/dabo/ide$
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;When I first started ClassDesigner.py my terminal displayed:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dPemMix
&lt;br&gt;&amp;gt;in.py&amp;quot;, line 1219, in update self.raiseEvent(dEvents.Update)
&lt;br&gt;&amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dPemMix
&lt;br&gt;&amp;gt;in.py&amp;quot;, line 926, in raiseEvent super(dPemMixin,
&lt;br&gt;&amp;gt; self).raiseEvent(eventClass, nativeEvent, *args, **kwargs)
&lt;br&gt;&amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/lib/eventMixin.
&lt;br&gt;&amp;gt;py&amp;quot;, line 92, in raiseEvent bindingFunction(event)
&lt;br&gt;&amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dPemMix
&lt;br&gt;&amp;gt;in.py&amp;quot;, line 1196, in __onUpdate self.update()
&lt;br&gt;&amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/dDataControl
&lt;br&gt;&amp;gt;MixinBase.py&amp;quot;, line 134, in update self.Value = srcatt
&lt;br&gt;&amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dContro
&lt;br&gt;&amp;gt;lItemMixin.py&amp;quot;, line 382, in _setValue self.StringValue = value
&lt;br&gt;&amp;gt; &amp;nbsp; File
&lt;br&gt;&amp;gt; &amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dContro
&lt;br&gt;&amp;gt;lItemMixin.py&amp;quot;, line 356, in _setStringValue raise ValueError, _(&amp;quot;String
&lt;br&gt;&amp;gt; must be present in the choices.&amp;quot;)
&lt;br&gt;&amp;gt; ValueError: String must be present in the choices.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (python:12507): Gtk-CRITICAL **: gtk_window_set_modal: assertion
&lt;br&gt;&amp;gt; `GTK_IS_WINDOW (window)' failed
&lt;br&gt;&amp;gt; Segmentation fault
&lt;br&gt;&amp;gt; sysero@sysero-rkm-laptop:~/dabo/ide$
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;-------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; I have no idea how to solve this problem.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; Thank You
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;Bob Mathias
&lt;/div&gt;&lt;br&gt;It is best if you move these questions to the Dabo Users list 
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19213218&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dabo-users@...&lt;/a&gt;&amp;gt;. &amp;nbsp;You'll get faster responses.
&lt;br&gt;&lt;br&gt;Let's deal with the ClassDesigner first. &amp;nbsp;Currently the svn version has a bug 
&lt;br&gt;that causes the seg fault. &amp;nbsp;I'm sure some time tomorrow someone will fix the 
&lt;br&gt;problem. &amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;gt; (python:15963): Gtk-CRITICAL **: gtk_widget_add_accelerator: assertion
&lt;br&gt;&amp;gt; `GTK_IS_WIDGET (widget)' failed
&lt;br&gt;&lt;br&gt;The message is normal for a running Dabo app. &amp;nbsp;For now you can disregard it.
&lt;br&gt;&lt;br&gt;And most important &amp;quot;Welcome to world of Dabo&amp;quot;. &amp;nbsp;I'm sure you will find Dabo to 
&lt;br&gt;be one of the simplest frameworks to work with available for desktop apps.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;John Fabiani
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19213218&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-dev@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-dev&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-dev&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/200808282049.12418.jfabiani@yolo.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/200808282049.12418.jfabiani@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-dev-f17348.html&quot; embed=&quot;fixTarget[17348]&quot; target=&quot;_top&quot; &gt;dabo-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/%28python%3A12507%29%3A-Gtk-CRITICAL-**%3A-gtk_window_set_modal%3A-assertion%09%60GTK_IS_WINDOW-%28window%29%27-failed-tp19212814p19213218.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19212814</id>
	<title>(python:12507): Gtk-CRITICAL **: gtk_window_set_modal: assertion	`GTK_IS_WINDOW (window)' failed</title>
	<published>2008-08-28T19:47:25Z</published>
	<updated>2008-08-28T19:47:25Z</updated>
	<author>
		<name>Bob Mathias - Sysero llc Business Group</name>
	</author>
	<content type="html">Running under:
&lt;br&gt;Ubuntu 8.04 running in Gnome
&lt;br&gt;Dabo
&lt;br&gt;Platform: GTK
&lt;br&gt;Python Version: 2.5.2 on linux2
&lt;br&gt;Dabo Version: Version 0.8.4; Revision ~4487
&lt;br&gt;UI Version: 2.8.7.1 on wxGTK(gtk2)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;I am new to both Dabo, Python and linux and been using NetBeans 6.1
&lt;br&gt;running sun-java6. &amp;nbsp;I am developing a commercial database desktop
&lt;br&gt;application for small business in Cincinnati Ohio.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;I installed Dabo with the install instructions and had no problems.
&lt;br&gt;I was even able to run the test program with out any problem but I did
&lt;br&gt;get in the terminal:
&lt;br&gt;&lt;br&gt;-------------------------
&lt;br&gt;sysero@sysero-rkm-laptop:~/dabo$ set -ex
&lt;br&gt;++ echo -ne '\033]0;sysero@sysero-rkm-laptop: ~/dabo\007'
&lt;br&gt;sysero@sysero-rkm-laptop:~/dabo$ cd demo
&lt;br&gt;+ cd demo
&lt;br&gt;++ echo -ne '\033]0;sysero@sysero-rkm-laptop: ~/dabo/demo\007'
&lt;br&gt;sysero@sysero-rkm-laptop:~/dabo/demo$ ls
&lt;br&gt;+ ls --color=auto
&lt;br&gt;DaboDemo.cdxml &amp;nbsp;DaboDemo.py &amp;nbsp;media &amp;nbsp;Modules.py &amp;nbsp;samples &amp;nbsp;setup.py
&lt;br&gt;++ echo -ne '\033]0;sysero@sysero-rkm-laptop: ~/dabo/demo\007'
&lt;br&gt;sysero@sysero-rkm-laptop:~/dabo/demo$ python DaboDemo.py
&lt;br&gt;+ python DaboDemo.py
&lt;br&gt;&lt;br&gt;(python:15963): Gtk-CRITICAL **: gtk_widget_add_accelerator: assertion
&lt;br&gt;`GTK_IS_WIDGET (widget)' failed
&lt;br&gt;-------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; I tried to look for answers by Googling the error:
&lt;br&gt;&lt;br&gt;(python:15963): Gtk-CRITICAL **: gtk_widget_add_accelerator: assertion
&lt;br&gt;`GTK_IS_WIDGET (widget)' failed
&lt;br&gt;&lt;br&gt;but my background in python is very limited.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;I ran the lesson on THE Step-By-Step Guide to Programming which was
&lt;br&gt;very helpful in learning Dabo, which I found easier to work with than
&lt;br&gt;NetBeans or eclipse.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;When I reached the part to click Finish after I 'Don't add bizobj
&lt;br&gt;code', and then click 'Finish'. &amp;nbsp;At that point the Class Designer is
&lt;br&gt;closed unexpectedly. &amp;nbsp;In my terminal window at the last few lines I get:
&lt;br&gt;&lt;br&gt;--------------------------------------------------------
&lt;br&gt;&amp;nbsp; File
&lt;br&gt;&amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dPemMixin.py&amp;quot;, line 1219, in update
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.raiseEvent(dEvents.Update)
&lt;br&gt;&amp;nbsp; File
&lt;br&gt;&amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dPemMixin.py&amp;quot;, line 926, in raiseEvent
&lt;br&gt;&amp;nbsp; &amp;nbsp; super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args,
&lt;br&gt;**kwargs)
&lt;br&gt;&amp;nbsp; File
&lt;br&gt;&amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/lib/eventMixin.py&amp;quot;, line 92, in raiseEvent
&lt;br&gt;&amp;nbsp; &amp;nbsp; bindingFunction(event)
&lt;br&gt;&amp;nbsp; File
&lt;br&gt;&amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dPemMixin.py&amp;quot;, line 1196, in __onUpdate
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.update()
&lt;br&gt;&amp;nbsp; File
&lt;br&gt;&amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/dDataControlMixinBase.py&amp;quot;, line 134, in update
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.Value = srcatt
&lt;br&gt;&amp;nbsp; File
&lt;br&gt;&amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dControlItemMixin.py&amp;quot;, line 382, in _setValue
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.StringValue = value
&lt;br&gt;&amp;nbsp; File
&lt;br&gt;&amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dControlItemMixin.py&amp;quot;, line 356, in _setStringValue
&lt;br&gt;&amp;nbsp; &amp;nbsp; raise ValueError, _(&amp;quot;String must be present in the choices.&amp;quot;)
&lt;br&gt;ValueError: String must be present in the choices.
&lt;br&gt;&lt;br&gt;(python:12507): Gtk-CRITICAL **: gtk_window_set_modal: assertion
&lt;br&gt;`GTK_IS_WINDOW (window)' failed
&lt;br&gt;Segmentation fault
&lt;br&gt;sysero@sysero-rkm-laptop:~/dabo/ide$ 
&lt;br&gt;&lt;br&gt;-----------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;When I first started ClassDesigner.py my terminal displayed:
&lt;br&gt;&lt;br&gt;------------------------------------------------------
&lt;br&gt;&amp;nbsp; File
&lt;br&gt;&amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dPemMixin.py&amp;quot;, line 1219, in update
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.raiseEvent(dEvents.Update)
&lt;br&gt;&amp;nbsp; File
&lt;br&gt;&amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dPemMixin.py&amp;quot;, line 926, in raiseEvent
&lt;br&gt;&amp;nbsp; &amp;nbsp; super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args,
&lt;br&gt;**kwargs)
&lt;br&gt;&amp;nbsp; File
&lt;br&gt;&amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/lib/eventMixin.py&amp;quot;, line 92, in raiseEvent
&lt;br&gt;&amp;nbsp; &amp;nbsp; bindingFunction(event)
&lt;br&gt;&amp;nbsp; File
&lt;br&gt;&amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dPemMixin.py&amp;quot;, line 1196, in __onUpdate
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.update()
&lt;br&gt;&amp;nbsp; File
&lt;br&gt;&amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/dDataControlMixinBase.py&amp;quot;, line 134, in update
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.Value = srcatt
&lt;br&gt;&amp;nbsp; File
&lt;br&gt;&amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dControlItemMixin.py&amp;quot;, line 382, in _setValue
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.StringValue = value
&lt;br&gt;&amp;nbsp; File
&lt;br&gt;&amp;quot;/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dControlItemMixin.py&amp;quot;, line 356, in _setStringValue
&lt;br&gt;&amp;nbsp; &amp;nbsp; raise ValueError, _(&amp;quot;String must be present in the choices.&amp;quot;)
&lt;br&gt;ValueError: String must be present in the choices.
&lt;br&gt;&lt;br&gt;(python:12507): Gtk-CRITICAL **: gtk_window_set_modal: assertion
&lt;br&gt;`GTK_IS_WINDOW (window)' failed
&lt;br&gt;Segmentation fault
&lt;br&gt;sysero@sysero-rkm-laptop:~/dabo/ide$ 
&lt;br&gt;&lt;br&gt;&amp;nbsp;-------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; I have no idea how to solve this problem.
&lt;br&gt;&lt;br&gt;&amp;nbsp; Thank You
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Bob Mathias
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19212814&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-dev@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-dev&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-dev&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/1219978045.19703.0.camel@sysero-rkm-laptop&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/1219978045.19703.0.camel@sysero-rkm-laptop&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-dev-f17348.html&quot; embed=&quot;fixTarget[17348]&quot; target=&quot;_top&quot; &gt;dabo-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/%28python%3A12507%29%3A-Gtk-CRITICAL-**%3A-gtk_window_set_modal%3A-assertion%09%60GTK_IS_WINDOW-%28window%29%27-failed-tp19212814p19212814.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19211773</id>
	<title>Re: RadioList Error</title>
	<published>2008-08-28T17:31:06Z</published>
	<updated>2008-08-28T17:31:06Z</updated>
	<author>
		<name>Paul McNett</name>
	</author>
	<content type="html">Ed Leafe wrote:
&lt;br&gt;&amp;gt; On Aug 28, 2008, at 6:22 PM, Paul McNett wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; The dropdown list is getting set to a Value of 0. The Keys property
&lt;br&gt;&amp;gt;&amp;gt; doesn't have a key on 0. That is the direct cause of the error.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	What are your thoughts on catching this error and logging it &amp;nbsp;
&lt;br&gt;&amp;gt; dabo.errorLog instead of causing a traceback?
&lt;br&gt;&lt;br&gt;Honestly, I like the traceback because it forces the appdev to deal with 
&lt;br&gt;it up front (and us to make it easier to deal with, if appropriate). 
&lt;br&gt;This particular issue is a bummer, because it is so common, but perhaps 
&lt;br&gt;it'll force us to come up with a better solution.
&lt;br&gt;&lt;br&gt;Currently I think my best advice is to make sure DefaultValues in the 
&lt;br&gt;bizobj is set appropriately for each field.
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; Just for giggles, please set these properties in the radiolist:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Choices = [&amp;quot;&amp;lt; zero &amp;gt;&amp;quot;, &amp;quot;1&amp;quot;, &amp;quot;2&amp;quot;, &amp;quot;3&amp;quot;, &amp;quot;4&amp;quot;]
&lt;br&gt;&amp;gt;&amp;gt; Keys = {0:0, 1:1, 2:2, 3:3, 4:4}
&lt;br&gt;&amp;gt;&amp;gt; ValueMode = &amp;quot;Key&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	I'm sure you know this, but for the newcomers: you don't need to set &amp;nbsp;
&lt;br&gt;&amp;gt; Keys to a dict; you can use a simple list, as long as the keys are 1:1 &amp;nbsp;
&lt;br&gt;&amp;gt; matched to the Choices. So this code could more simply read:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Choices = [&amp;quot;&amp;lt; zero &amp;gt;&amp;quot;, &amp;quot;1&amp;quot;, &amp;quot;2&amp;quot;, &amp;quot;3&amp;quot;, &amp;quot;4&amp;quot;]
&lt;br&gt;&amp;gt; Keys = [0, 1, 2, 3, 4]
&lt;br&gt;&amp;gt; ValueMode = &amp;quot;Key&amp;quot;
&lt;/div&gt;&lt;br&gt;Yes, so the index of the Keys list is the index of the Choices list. But 
&lt;br&gt;in this case, I was anticipating a possible next step:
&lt;br&gt;&lt;br&gt;Choices = [&amp;quot;1&amp;quot;, &amp;quot;2&amp;quot;, &amp;quot;3&amp;quot;, &amp;quot;4&amp;quot;]
&lt;br&gt;Keys = {0:0, 1:0, 2:1, 3:2, 4:3}
&lt;br&gt;&lt;br&gt;IOW, both 0 and 1 map to choice &amp;quot;1&amp;quot;, if that's a sensible default.
&lt;br&gt;&lt;br&gt;Of course, the right way to do this if the default should be 1 would be 
&lt;br&gt;to set it in the bizobj.
&lt;br&gt;&lt;br&gt;Paul
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19211773&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-users@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-users&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-users&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/48B7434A.5080003@ulmcnett.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/48B7434A.5080003@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-users-f17347.html&quot; embed=&quot;fixTarget[17347]&quot; target=&quot;_top&quot; &gt;dabo-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/RadioList-Error-tp19077257p19211773.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19211286</id>
	<title>Re: RadioList Error</title>
	<published>2008-08-28T16:38:12Z</published>
	<updated>2008-08-28T16:38:12Z</updated>
	<author>
		<name>Ed Leafe</name>
	</author>
	<content type="html">On Aug 28, 2008, at 6:22 PM, Paul McNett wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; The dropdown list is getting set to a Value of 0. The Keys property
&lt;br&gt;&amp;gt; doesn't have a key on 0. That is the direct cause of the error.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; What are your thoughts on catching this error and logging it &amp;nbsp;
&lt;br&gt;dabo.errorLog instead of causing a traceback?
&lt;br&gt;&lt;br&gt;&amp;gt; Just for giggles, please set these properties in the radiolist:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Choices = [&amp;quot;&amp;lt; zero &amp;gt;&amp;quot;, &amp;quot;1&amp;quot;, &amp;quot;2&amp;quot;, &amp;quot;3&amp;quot;, &amp;quot;4&amp;quot;]
&lt;br&gt;&amp;gt; Keys = {0:0, 1:1, 2:2, 3:3, 4:4}
&lt;br&gt;&amp;gt; ValueMode = &amp;quot;Key&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I'm sure you know this, but for the newcomers: you don't need to set &amp;nbsp;
&lt;br&gt;Keys to a dict; you can use a simple list, as long as the keys are 1:1 &amp;nbsp;
&lt;br&gt;matched to the Choices. So this code could more simply read:
&lt;br&gt;&lt;br&gt;Choices = [&amp;quot;&amp;lt; zero &amp;gt;&amp;quot;, &amp;quot;1&amp;quot;, &amp;quot;2&amp;quot;, &amp;quot;3&amp;quot;, &amp;quot;4&amp;quot;]
&lt;br&gt;Keys = [0, 1, 2, 3, 4]
&lt;br&gt;ValueMode = &amp;quot;Key&amp;quot;
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- Ed Leafe
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19211286&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-users@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-users&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-users&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/754848B8-B42E-46E1-9A78-FF21744EEA4F@leafe.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/754848B8-B42E-46E1-9A78-FF21744EEA4F@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-users-f17347.html&quot; embed=&quot;fixTarget[17347]&quot; target=&quot;_top&quot; &gt;dabo-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/RadioList-Error-tp19077257p19211286.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19211132</id>
	<title>Re: RadioList Error</title>
	<published>2008-08-28T16:22:49Z</published>
	<updated>2008-08-28T16:22:49Z</updated>
	<author>
		<name>Paul McNett</name>
	</author>
	<content type="html">Mike Mabey wrote:
&lt;br&gt;&amp;gt; ValueError: Trying to set dDropdownList1.Value to these invalid selections:
&lt;br&gt;&amp;gt; [0L]
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm really trying to understand this traceback on my own, because I'm sure
&lt;br&gt;&amp;gt; you're getting sick of my emails, but I can't see what in my code could be
&lt;br&gt;&amp;gt; causing this. &amp;nbsp;I've added debugging print satements in the onUpdate() method
&lt;br&gt;&amp;gt; for the dropdown list, and none of them print, which suggests to me that I'm
&lt;br&gt;&amp;gt; probably looking in the wrong place for what's causing the error. &amp;nbsp;Any
&lt;br&gt;&amp;gt; suggestions?
&lt;br&gt;&lt;br&gt;The dropdown list is getting set to a Value of 0. The Keys property 
&lt;br&gt;doesn't have a key on 0. That is the direct cause of the error.
&lt;br&gt;&lt;br&gt;Okay, I know that you were originally trying to get this to work with 
&lt;br&gt;the default ValueMode of &amp;quot;String&amp;quot;, with Choices of [&amp;quot;1&amp;quot;, &amp;quot;2&amp;quot;, &amp;quot;3&amp;quot;, &amp;quot;4&amp;quot;]. 
&lt;br&gt;However I then gave you an example using ValueMode of &amp;quot;Key&amp;quot; which it 
&lt;br&gt;appears you are still using.
&lt;br&gt;&lt;br&gt;Just for giggles, please set these properties in the radiolist:
&lt;br&gt;&lt;br&gt;Choices = [&amp;quot;&amp;lt; zero &amp;gt;&amp;quot;, &amp;quot;1&amp;quot;, &amp;quot;2&amp;quot;, &amp;quot;3&amp;quot;, &amp;quot;4&amp;quot;]
&lt;br&gt;Keys = {0:0, 1:1, 2:2, 3:3, 4:4}
&lt;br&gt;ValueMode = &amp;quot;Key&amp;quot;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Paul
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19211132&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-users@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-users&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-users&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/48B73349.2000204@ulmcnett.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/48B73349.2000204@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-users-f17347.html&quot; embed=&quot;fixTarget[17347]&quot; target=&quot;_top&quot; &gt;dabo-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/RadioList-Error-tp19077257p19211132.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19210818</id>
	<title>Re: RadioList Error</title>
	<published>2008-08-28T15:57:54Z</published>
	<updated>2008-08-28T15:57:54Z</updated>
	<author>
		<name>Mike Mabey</name>
	</author>
	<content type="html">On Thu, Aug 28, 2008 at 3:23 PM, Paul McNett &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19210818&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;p@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Mike Mabey wrote:
&lt;br&gt;&amp;gt; &amp;gt; Sorry it has taken me so long to reply to your suggestions.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On Fri, Aug 22, 2008 at 3:51 PM, Paul McNett &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19210818&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;p@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; As I suspected, that Value attribute entry in the cdxml is getting
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; evaluated as an int instead of a str. You tried removing the Value
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; attribute from the cdxml?
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Yes, and I'm not sure if it was because of the way I changed it or what,
&lt;br&gt;&amp;gt; but
&lt;br&gt;&amp;gt; &amp;gt; now I'm getting a whole new error. &amp;nbsp;I've tried everything I can think of
&lt;br&gt;&amp;gt; to
&lt;br&gt;&amp;gt; &amp;gt; fix it, including making sure that the credentials in the cnxml file are
&lt;br&gt;&amp;gt; &amp;gt; correct, testing the connection with CxnEditor, and printing self.AutoSQL
&lt;br&gt;&amp;gt; &amp;gt; and executing the generated SQL statements in the database. &amp;nbsp;Everything
&lt;br&gt;&amp;gt; &amp;gt; seems to be fine as far as I can tell, but maybe you can make sense of
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; &amp;gt; traceback:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Traceback (most recent call last):
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;main.py&amp;quot;, line 13, in &amp;lt;module&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; app.start()
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\src\dabo\dApp.py&amp;quot;, line 315, in start
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self.setup()
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\src\dabo\dApp.py&amp;quot;, line 280, in setup
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self.initUIApp()
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\src\dabo\dApp.py&amp;quot;, line 307, in initUIApp
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self.uiApp.setup()
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\src\dabo\ui\uiwx\uiApp.py&amp;quot;, line 302, in setup
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; frm = self.dApp.MainForm = dabo.ui.createForm(mfc)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\src\dabo\ui\uiwx\__init__.py&amp;quot;, line 1121, in createForm
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; frm = cls(*args, **kwargs)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;c:\docume~1\mike\locals~1\temp\tmpahmzdo.py&amp;quot;, line 64, in
&lt;br&gt;&amp;gt; __init__
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; obj = self.getCustControlClass('dRadioList_9826983053')(currParent)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;c:\docume~1\mike\locals~1\temp\tmpahmzdo.py&amp;quot;, line 229, in
&lt;br&gt;&amp;gt; __init__
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; dabo.ui.dRadioList.__init__(self, parent=parent,
&lt;br&gt;&amp;gt; &amp;gt; attProperties=attProperties, *args, **kwargs)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\src\dabo\ui\uiwx\dRadioList.py&amp;quot;, line 145, in __init__
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; cim.dControlItemMixin.__init__(self, preClass, parent, properties,
&lt;br&gt;&amp;gt; &amp;gt; attProperties, *args, **kwargs)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\src\dabo\ui\uiwx\dControlItemMixin.py&amp;quot;, line 20, in __init__
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; super(dControlItemMixin, self).__init__(*args, **kwargs)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\src\dabo\ui\dDataControlMixinBase.py&amp;quot;, line 22, in __init__
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; dabo.ui.dControlMixin.__init__(self, *args, **kwargs)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\src\dabo\ui\uiwx\dPemMixin.py&amp;quot;, line 185, in __init__
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self._afterInit()
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\src\dabo\ui\uiwx\dPemMixin.py&amp;quot;, line 319, in _afterInit
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self.afterInit()
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;c:\docume~1\mike\locals~1\temp\tmpahmzdo.py&amp;quot;, line 236, in
&lt;br&gt;&amp;gt; afterInit
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; print biz.getFieldVal('level')
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Take this line out. I'm just guessing this is in the afterInit() of your
&lt;br&gt;&amp;gt; form. You are trying to get the value from the bizobj before it's been
&lt;br&gt;&amp;gt; requeried.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Either take that line out, or bracket it like:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; try:
&lt;br&gt;&amp;gt; &amp;nbsp; print biz.getFieldVal('level')
&lt;br&gt;&amp;gt; except dabo.dException.NoRecordsException:
&lt;br&gt;&amp;gt; &amp;nbsp; print &amp;quot;not requeried yet.&amp;quot;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Wow, sorry about that. &amp;nbsp;Okay, so I've removed Value=&amp;quot;1&amp;quot; from the cdxml file
&lt;br&gt;and the &amp;quot;No radio button matching...&amp;quot; error is still showing up two or three
&lt;br&gt;times. &amp;nbsp;And now the dropdown menu is giving this error:
&lt;br&gt;&lt;br&gt;Traceback (most recent call last):
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\Python25\lib\site-packages\wx-2.8-msw-ansi\wx\_misc.py&amp;quot;, line
&lt;br&gt;1341, i
&lt;br&gt;n Notify
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.notify()
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\Python25\lib\site-packages\wx-2.8-msw-ansi\wx\_core.py&amp;quot;, line
&lt;br&gt;13932,
&lt;br&gt;in Notify
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.result = self.callable(*self.args, **self.kwargs)
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\src\dabo\ui\uiwx\dForm.py&amp;quot;, line 147, in __update
&lt;br&gt;&amp;nbsp; &amp;nbsp; super(BaseForm, self).update()
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\src\dabo\ui\uiwx\dPemMixin.py&amp;quot;, line 1219, in update
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.raiseEvent(dEvents.Update)
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\src\dabo\ui\uiwx\dPemMixin.py&amp;quot;, line 926, in raiseEvent
&lt;br&gt;&amp;nbsp; &amp;nbsp; super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args,
&lt;br&gt;**kwargs)
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\src\dabo\lib\eventMixin.py&amp;quot;, line 92, in raiseEvent
&lt;br&gt;&amp;nbsp; &amp;nbsp; bindingFunction(event)
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\src\dabo\ui\uiwx\dPemMixin.py&amp;quot;, line 1196, in __onUpdate
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.update()
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\src\dabo\ui\uiwx\dPemMixin.py&amp;quot;, line 1219, in update
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.raiseEvent(dEvents.Update)
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\src\dabo\ui\uiwx\dPemMixin.py&amp;quot;, line 926, in raiseEvent
&lt;br&gt;&amp;nbsp; &amp;nbsp; super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args,
&lt;br&gt;**kwargs)
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\src\dabo\lib\eventMixin.py&amp;quot;, line 92, in raiseEvent
&lt;br&gt;&amp;nbsp; &amp;nbsp; bindingFunction(event)
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\src\dabo\ui\uiwx\dPemMixin.py&amp;quot;, line 1196, in __onUpdate
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.update()
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\src\dabo\ui\dDataControlMixinBase.py&amp;quot;, line 116, in update
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.Value = src.getFieldVal(self.DataField)
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\src\dabo\ui\uiwx\dControlItemMixin.py&amp;quot;, line 380, in _setValue
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.KeyValue = value
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\src\dabo\ui\uiwx\dControlItemMixin.py&amp;quot;, line 239, in _setKeyValue
&lt;br&gt;&amp;nbsp; &amp;nbsp; raise ValueError, _(&amp;quot;Trying to set %s.Value to these invalid selections:
&lt;br&gt;%s&amp;quot;) % (self.Name, invalidSelections)
&lt;br&gt;ValueError: Trying to set dDropdownList1.Value to these invalid selections:
&lt;br&gt;[0L]
&lt;br&gt;&lt;br&gt;I'm really trying to understand this traceback on my own, because I'm sure
&lt;br&gt;you're getting sick of my emails, but I can't see what in my code could be
&lt;br&gt;causing this. &amp;nbsp;I've added debugging print satements in the onUpdate() method
&lt;br&gt;for the dropdown list, and none of them print, which suggests to me that I'm
&lt;br&gt;probably looking in the wrong place for what's causing the error. &amp;nbsp;Any
&lt;br&gt;suggestions?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Mike M.
&lt;br&gt;&lt;br&gt;&lt;br&gt;--- StripMime Report -- processed MIME parts ---
&lt;br&gt;multipart/alternative
&lt;br&gt;&amp;nbsp; text/plain (text body -- kept)
&lt;br&gt;&amp;nbsp; text/html
&lt;br&gt;---
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19210818&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-users@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-users&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-users&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/89fe67110808281557p1413b034r31790064febb57d9@mail.gmail.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/89fe67110808281557p1413b034r31790064febb57d9@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-users-f17347.html&quot; embed=&quot;fixTarget[17347]&quot; target=&quot;_top&quot; &gt;dabo-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/RadioList-Error-tp19077257p19210818.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19210541</id>
	<title>Re: dabo Commit 4483</title>
	<published>2008-08-28T15:34:47Z</published>
	<updated>2008-08-28T15:34:47Z</updated>
	<author>
		<name>johnf</name>
	</author>
	<content type="html">On Thursday 28 August 2008 03:24:54 pm Paul McNett wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; johnf wrote:
&lt;br&gt;&amp;gt; &amp;gt; On Thursday 28 August 2008 02:46:19 pm Paul McNett wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; dabo Commit
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Revision 4483
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Date: 2008-08-28 14:46:19 -0700 (Thu, 28 Aug 2008)
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Author: Paul
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Trac: &lt;a href=&quot;http://svn.dabodev.com/trac/dabo/changeset/4483&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.dabodev.com/trac/dabo/changeset/4483&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Changed:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; U &amp;nbsp; trunk/dabo/ui/uiwx/dGrid.py
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Log:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Attempted fix to current problem with grid in ClassDesigner.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Return False from IsEmptyCell unconditionally, which takes away
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; the need for a round-trip to the bizobj.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; That fixed the traceback I was getting but the ClassDesigner still fails
&lt;br&gt;&amp;gt; &amp;gt; with a Seg Fault as reported by Dave Rowe.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is there a simple set of steps to repro the segfault, as I'm not seeing
&lt;br&gt;&amp;gt; it on Windows or Linux. Can you regression test and find the revision to
&lt;br&gt;&amp;gt; blame for the segfault? 4440 would be a good place to start testing.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Paul
&lt;/div&gt;&lt;br&gt;From Dave's posting
&lt;br&gt;&lt;br&gt;Today just is not my day...
&lt;br&gt;&lt;br&gt;Going through the ClassDesigner, I created a vertical sizer (2 slots),
&lt;br&gt;bottom slot, proportion 0 (for Save, Cancel, etc), top slot, Add Controls
&lt;br&gt;from Data Environment.  Get the below traceback.  After continuing with the
&lt;br&gt;design (edit captions and such), I leave 'Add bixobj code' selected, click
&lt;br&gt;'Finish', and get Segmentation Fault in the terminal.  Any ideas?
&lt;br&gt;&lt;br&gt;Open the ClassDesigner
&lt;br&gt;Right click on the form
&lt;br&gt;add a vertical sizer (change the number of slot to 2)
&lt;br&gt;Right click on the bottom slot and chose the &amp;quot;edit sizer&amp;quot;
&lt;br&gt;and change the proportion from 1 to 0
&lt;br&gt;Click into the top slot 
&lt;br&gt;right click on the top slot and chose the add from the a dataset
&lt;br&gt;select a connection
&lt;br&gt;chose a table
&lt;br&gt;select all
&lt;br&gt;and keep click on next until it seg faults
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;John Fabiani
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19210541&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-dev@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-dev&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-dev&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/200808281534.47346.jfabiani@yolo.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/200808281534.47346.jfabiani@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-dev-f17348.html&quot; embed=&quot;fixTarget[17348]&quot; target=&quot;_top&quot; &gt;dabo-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/dabo-Commit-4483-tp19209790p19210541.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19210405</id>
	<title>Re: dabo Commit 4483</title>
	<published>2008-08-28T15:24:54Z</published>
	<updated>2008-08-28T15:24:54Z</updated>
	<author>
		<name>Paul McNett</name>
	</author>
	<content type="html">johnf wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thursday 28 August 2008 02:46:19 pm Paul McNett wrote:
&lt;br&gt;&amp;gt;&amp;gt; dabo Commit
&lt;br&gt;&amp;gt;&amp;gt; Revision 4483
&lt;br&gt;&amp;gt;&amp;gt; Date: 2008-08-28 14:46:19 -0700 (Thu, 28 Aug 2008)
&lt;br&gt;&amp;gt;&amp;gt; Author: Paul
&lt;br&gt;&amp;gt;&amp;gt; Trac: &lt;a href=&quot;http://svn.dabodev.com/trac/dabo/changeset/4483&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.dabodev.com/trac/dabo/changeset/4483&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Changed:
&lt;br&gt;&amp;gt;&amp;gt; U &amp;nbsp; trunk/dabo/ui/uiwx/dGrid.py
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Log:
&lt;br&gt;&amp;gt;&amp;gt; Attempted fix to current problem with grid in ClassDesigner.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Return False from IsEmptyCell unconditionally, which takes away
&lt;br&gt;&amp;gt;&amp;gt; the need for a round-trip to the bizobj.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; That fixed the traceback I was getting but the ClassDesigner still fails with 
&lt;br&gt;&amp;gt; a Seg Fault as reported by Dave Rowe.
&lt;/div&gt;&lt;br&gt;Is there a simple set of steps to repro the segfault, as I'm not seeing 
&lt;br&gt;it on Windows or Linux. Can you regression test and find the revision to 
&lt;br&gt;blame for the segfault? 4440 would be a good place to start testing.
&lt;br&gt;&lt;br&gt;Paul
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19210405&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-dev@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-dev&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-dev&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/48B725B6.9000808@ulmcnett.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/48B725B6.9000808@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-dev-f17348.html&quot; embed=&quot;fixTarget[17348]&quot; target=&quot;_top&quot; &gt;dabo-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/dabo-Commit-4483-tp19209790p19210405.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19210351</id>
	<title>dabo Commit 4486</title>
	<published>2008-08-28T15:20:59Z</published>
	<updated>2008-08-28T15:20:59Z</updated>
	<author>
		<name>Paul McNett</name>
	</author>
	<content type="html">dabo Commit
&lt;br&gt;Revision 4486
&lt;br&gt;Date: 2008-08-28 15:20:58 -0700 (Thu, 28 Aug 2008)
&lt;br&gt;Author: Paul
&lt;br&gt;Trac: &lt;a href=&quot;http://svn.dabodev.com/trac/dabo/changeset/4486&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.dabodev.com/trac/dabo/changeset/4486&lt;/a&gt;&lt;br&gt;&lt;br&gt;Changed:
&lt;br&gt;U &amp;nbsp; trunk/dabo/ui/uiwx/dGrid.py
&lt;br&gt;&lt;br&gt;Log:
&lt;br&gt;Turns out we do need to sync up the number of row/columns during update.
&lt;br&gt;&lt;br&gt;Diff:
&lt;br&gt;Modified: trunk/dabo/ui/uiwx/dGrid.py
&lt;br&gt;===================================================================
&lt;br&gt;--- trunk/dabo/ui/uiwx/dGrid.py	2008-08-28 22:05:01 UTC (rev 4485)
&lt;br&gt;+++ trunk/dabo/ui/uiwx/dGrid.py	2008-08-28 22:20:58 UTC (rev 4486)
&lt;br&gt;@@ -1863,6 +1863,14 @@
&lt;br&gt;&amp;nbsp;		self.bindEvent(dEvents.GridHeaderMouseRightClick, self._onGridHeaderMouseRightClick)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	
&lt;br&gt;+
&lt;br&gt;+	def update(self):
&lt;br&gt;+		self.super()
&lt;br&gt;+		self._syncRowCount()
&lt;br&gt;+		self._syncColumnCount()
&lt;br&gt;+		self._syncCurrentRow()
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;	def GetCellValue(self, row, col):
&lt;br&gt;&amp;nbsp;		try:
&lt;br&gt;&amp;nbsp;			ret = self._Table.GetValue(row, col)
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19210351&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-dev@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-dev&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-dev&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/20080828222059.2ACEB318621@mail.paulmcnett.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/20080828222059.2ACEB318621@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-dev-f17348.html&quot; embed=&quot;fixTarget[17348]&quot; target=&quot;_top&quot; &gt;dabo-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/dabo-Commit-4486-tp19210351p19210351.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19210090</id>
	<title>dabo Commit 4484</title>
	<published>2008-08-28T15:04:10Z</published>
	<updated>2008-08-28T15:04:10Z</updated>
	<author>
		<name>Paul McNett</name>
	</author>
	<content type="html">dabo Commit
&lt;br&gt;Revision 4484
&lt;br&gt;Date: 2008-08-28 15:04:09 -0700 (Thu, 28 Aug 2008)
&lt;br&gt;Author: Paul
&lt;br&gt;Trac: &lt;a href=&quot;http://svn.dabodev.com/trac/dabo/changeset/4484&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.dabodev.com/trac/dabo/changeset/4484&lt;/a&gt;&lt;br&gt;&lt;br&gt;Changed:
&lt;br&gt;U &amp;nbsp; trunk/dabo/ui/uiwx/dGrid.py
&lt;br&gt;&lt;br&gt;Log:
&lt;br&gt;update() isn't needed in dGrid, because of its virtual nature. That fillGrid() 
&lt;br&gt;must have been from way back when.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Diff:
&lt;br&gt;Modified: trunk/dabo/ui/uiwx/dGrid.py
&lt;br&gt;===================================================================
&lt;br&gt;--- trunk/dabo/ui/uiwx/dGrid.py	2008-08-28 21:46:19 UTC (rev 4483)
&lt;br&gt;+++ trunk/dabo/ui/uiwx/dGrid.py	2008-08-28 22:04:09 UTC (rev 4484)
&lt;br&gt;@@ -3006,11 +3006,6 @@
&lt;br&gt;&amp;nbsp;		super(dGrid, self).refresh()
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	def update(self):
&lt;br&gt;-		super(dGrid, self).update()
&lt;br&gt;-		self.fillGrid()
&lt;br&gt;-
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;	def _getWxHeader(self):
&lt;br&gt;&amp;nbsp;		&amp;quot;&amp;quot;&amp;quot;Return the wx grid header window.&amp;quot;&amp;quot;&amp;quot;
&lt;br&gt;&amp;nbsp;		return self.GetGridColLabelWindow()
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19210090&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-dev@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-dev&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-dev&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/20080828220410.0F694318621@mail.paulmcnett.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/20080828220410.0F694318621@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-dev-f17348.html&quot; embed=&quot;fixTarget[17348]&quot; target=&quot;_top&quot; &gt;dabo-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/dabo-Commit-4484-tp19210090p19210090.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19209891</id>
	<title>Re: dabo Commit 4483</title>
	<published>2008-08-28T14:52:01Z</published>
	<updated>2008-08-28T14:52:01Z</updated>
	<author>
		<name>johnf</name>
	</author>
	<content type="html">On Thursday 28 August 2008 02:46:19 pm Paul McNett wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; dabo Commit
&lt;br&gt;&amp;gt; Revision 4483
&lt;br&gt;&amp;gt; Date: 2008-08-28 14:46:19 -0700 (Thu, 28 Aug 2008)
&lt;br&gt;&amp;gt; Author: Paul
&lt;br&gt;&amp;gt; Trac: &lt;a href=&quot;http://svn.dabodev.com/trac/dabo/changeset/4483&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.dabodev.com/trac/dabo/changeset/4483&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Changed:
&lt;br&gt;&amp;gt; U &amp;nbsp; trunk/dabo/ui/uiwx/dGrid.py
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Log:
&lt;br&gt;&amp;gt; Attempted fix to current problem with grid in ClassDesigner.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Return False from IsEmptyCell unconditionally, which takes away
&lt;br&gt;&amp;gt; the need for a round-trip to the bizobj.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;That fixed the traceback I was getting but the ClassDesigner still fails with 
&lt;br&gt;a Seg Fault as reported by Dave Rowe.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;John Fabiani
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Post Messages to: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19209891&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dabo-dev@...&lt;/a&gt;
&lt;br&gt;Subscription Maintenance: &lt;a href=&quot;http://leafe.com/mailman/listinfo/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/mailman/listinfo/dabo-dev&lt;/a&gt;&lt;br&gt;Searchable Archives: &lt;a href=&quot;http://leafe.com/archives/search/dabo-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/search/dabo-dev&lt;/a&gt;&lt;br&gt;This message: &lt;a href=&quot;http://leafe.com/archives/byMID/200808281452.01516.jfabiani@yolo.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leafe.com/archives/byMID/200808281452.01516.jfabiani@...&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/dabo-dev-f17348.html&quot; embed=&quot;fixTarget[17348]&quot; target=&quot;_top&quot; &gt;dabo-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/dabo-Commit-4483-tp19209790p19209891.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19209790</id>
	<title>dabo Commit 4483</title>
	<published>2008-08-28T14:46:19Z</published>
	<updated>2008-08-28T14:46:19Z</updated>
	<author>
		<name>Paul McNett</name>
	</author>
	<content type="html">dabo Commit
&lt;br&gt;Revision 4483
&lt;br&gt;Date: 2008-08-28 14:46:19 -0700 (Thu, 28 Aug 2008)
&lt;br&gt;Author: Paul
&lt;br&gt;Trac: &lt;a href=&quot;http://svn.dabodev.com/trac/dabo/changeset/4483&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.dabodev.com/trac/dabo/changeset/4483&lt;/a&gt;&lt;br&gt;&lt;br&gt;Changed:
&lt;br&gt;U &amp;nbsp; trunk/dabo/ui/uiwx/dGrid.py
&lt;br&gt;&lt;br&gt;Log:
&lt;br&gt;Attempted fix to current problem with grid in ClassDesigner. 
&lt;br&gt;&lt;br&gt;Return False from IsEmptyCell unconditionally, which takes away
&lt;br&gt;the need for a round-trip to the bizobj.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Diff:
&lt;br&gt;Modified: trunk/dabo/ui/uiwx/dGrid.py
&lt;br&gt;===================================================================
&lt;br&gt;--- trunk/dabo/ui/uiwx/dGrid.py	2008-08-28 21:16:02 UTC (rev 4482)
&lt;br&gt;+++ trunk/dabo/ui/uiwx/dGrid.py	2008-08-28 21:46:19 UTC (rev 4483)
&lt;br&gt;@@ -299,6 +299,7 @@
&lt;br&gt;&amp;nbsp;	def IsEmptyCell(self, row, col):
&lt;br&gt;&amp;nbsp;		if row &amp;gt;= self.grid.RowCount:
&lt;br&gt;&amp;nbsp;			return True
&lt;br&gt;+		return False
&lt;br&gt;&amp;nbsp;		bizobj = self.grid.getBizobj()
&lt;br&gt;&amp;nbsp;		field = self.grid.Columns[col].DataField
&lt;br&gt;&amp;nbsp;		if bizobj:
&lt;br&gt;@@ -333,7 +334,7 @@
&lt;br&gt;&amp;nbsp;		else:
&lt;br&gt;&amp;nbsp;			try:
&lt;br&gt;&amp;nbsp;				ret = self.grid.DataSet[row][field]
&lt;br&gt;-			except (IndexError, KeyError):
&lt;br&gt;+			except (TypeError, IndexError, KeyError):
&lt;br&gt;&