Pertinent info:
Platform: Win
Python Version: 2.6.5 on win32
Dabo Version: Version 0.9.3; Revision ~6190
UI Version: 2.8.11.0 on wxMSW
I'm using the svn version Pycon Hours tutorial to learn a few things.
When I run the pre made app and add a record, the Client info is not updated
in the grid. All
Am 2010-08-26 um 16:09 schrieb Adrian Klaver:
> For the record the below is the code in dbSQLite.py that handles
> boolean values.
>
> def formatForQuery(self, val, fieldType=None):
>if isinstance(val, bool):
> return ustr(int(val))
>else:
> return super(SQLite, self).formatForQ
On 08/26/2010 04:16 AM, Ed Leafe wrote:
> On Aug 26, 2010, at 12:35 AM, M. Milanuk wrote:
>
>> For starters, I guess, the modifications to def afterInitAll(self):
>> threw me for a loop. Mainly because I'd followed the whole bit with
>> specifying the RegID for dDropdownList as 'ClientList', then
On 8/26/10 7:09 AM, Adrian Klaver wrote:
> On Thursday 26 August 2010 7:01:52 am Paul McNett wrote:
>> On 8/26/10 5:07 AM, Ed Leafe wrote:
>>> On Aug 26, 2010, at 8:03 AM, Henning Hraban Ramm wrote:
>> SQLite doesn't know a real Boolean type, but uses integers.
>> The SQLite backend should
On Thursday 26 August 2010 7:01:52 am Paul McNett wrote:
> On 8/26/10 5:07 AM, Ed Leafe wrote:
> > On Aug 26, 2010, at 8:03 AM, Henning Hraban Ramm wrote:
> SQLite doesn't know a real Boolean type, but uses integers.
> The SQLite backend should take care of that - seems like it doesn't.
>
On 8/26/10 5:07 AM, Ed Leafe wrote:
> On Aug 26, 2010, at 8:03 AM, Henning Hraban Ramm wrote:
>
SQLite doesn't know a real Boolean type, but uses integers.
The SQLite backend should take care of that - seems like it doesn't.
>>>
>>> Being fairly wet-behind-the-ears on this stuff... which
On Aug 26, 2010, at 8:03 AM, Henning Hraban Ramm wrote:
>>> SQLite doesn't know a real Boolean type, but uses integers.
>>> The SQLite backend should take care of that - seems like it doesn't.
>>
>> Being fairly wet-behind-the-ears on this stuff... which backend are
>> you
>> referring to? sql
Am 2010-08-26 um 00:11 schrieb M. Milanuk:
Are you by chance using sqlite as a db? I am and I had to change
billed=false to billed = 0 to get past that error message.
>>> Interesting... that did it in Mac OS X, at least.
>>
>> SQLite doesn't know a real Boolean type, but uses integers.
>
On Aug 26, 2010, at 12:35 AM, M. Milanuk wrote:
> For starters, I guess, the modifications to def afterInitAll(self):
> threw me for a loop. Mainly because I'd followed the whole bit with
> specifying the RegID for dDropdownList as 'ClientList', then referencing
> it as self.ClientList... with
me again.
I had everything working more or less without complaints up until the
beginning of this section. Now... I'm so turned around I don't even
know where to begin.
For starters, I guess, the modifications to def afterInitAll(self):
threw me for a loop. Mainly because I'd followed the
On 8/23/2010 7:51 AM, Henning Hraban Ramm wrote:
> 2010/8/23 Monte Milanuk :
>>> Are you by chance using sqlite as a db? I am and I had to change
>>> billed=false to billed = 0 to get past that error message.
>> Interesting... that did it in Mac OS X, at least.
>
> SQLite doesn't know a real Bool
Użytkownik M. Milanuk napisał:
> On 8/23/2010 2:32 AM, Sibylle Koczian wrote:
>
>
>> Might really be that: try "billed = False" in the second last line.
>>
>>
>
> Doesn't appear so... again I copied that straight out of the tutorial
> document when typing the bizobj file (perhaps a little
2010/8/23 Monte Milanuk :
>> Are you by chance using sqlite as a db? I am and I had to change
>> billed=false to billed = 0 to get past that error message.
> Interesting... that did it in Mac OS X, at least.
SQLite doesn't know a real Boolean type, but uses integers.
The SQLite backend should tak
Jim Byrnes writes:
>
> Are you by chance using sqlite as a db? I am and I had to change
> billed=false to billed = 0 to get past that error message.
>
Interesting... that did it in Mac OS X, at least. I'll check on the one I'm
working on in Win Vista later. Last night I tried renaming the
M. Milanuk wrote:
> Been banging my head on the wall on this one for a while... started over
> from scratch once just to be sure.
>
> At the tail end of the 'Adding the Billing Grid' section of the PyCon
> Tutorial, where we go in and edit the HoursBizobj.py file to add the
> join between the hours
On 8/23/2010 2:32 AM, Sibylle Koczian wrote:
> Might really be that: try "billed = False" in the second last line.
>
Doesn't appear so... again I copied that straight out of the tutorial
document when typing the bizobj file (perhaps a little too faithfully)
but in any event, I changed as you su
Am 23.08.2010 06:53, schrieb M. Milanuk:
> Been banging my head on the wall on this one for a while... started over
> from scratch once just to be sure.
>
> At the tail end of the 'Adding the Billing Grid' section of the PyCon
> Tutorial, where we go in and edit the HoursBizobj.py file to add the
>
Been banging my head on the wall on this one for a while... started over
from scratch once just to be sure.
At the tail end of the 'Adding the Billing Grid' section of the PyCon
Tutorial, where we go in and edit the HoursBizobj.py file to add the
join between the hours and clients table... things
On 8/16/10 1:40 PM, M. Milanuk wrote:
> On 8/16/2010 7:25 AM, Paul McNett wrote:
>> The latter one instantiates the Recipes bizobj, and binds it to the local
>> name
>> bizRecipes. It then adds the instance to the form (self.addBizobj). The
>> former
>> (tutorial) version does this in one line, a
On 8/16/2010 7:25 AM, Paul McNett wrote:
> The latter one instantiates the Recipes bizobj, and binds it to the local
> name
> bizRecipes. It then adds the instance to the form (self.addBizobj). The
> former
> (tutorial) version does this in one line, and doesn't bother binding it to a
> local
On 8/12/10 10:38 PM, M. Milanuk wrote:
> So... I'm progressing through the Appwizard portion of the tutorial, and
> I'm at the point where I'm editing ui/FrmRecipes.py (I think, it kinda
> changes from one file to another in there without a lot of warning), and
> I'm seeing this in the tutorial doc
So... I'm progressing through the Appwizard portion of the tutorial, and
I'm at the point where I'm editing ui/FrmRecipes.py (I think, it kinda
changes from one file to another in there without a lot of warning), and
I'm seeing this in the tutorial document:
24 def afterInit(self):
25 if not
On 4/30/2010 12:30 PM, Ed Leafe wrote:
> On Apr 30, 2010, at 3:25 PM, Jeff Johnson wrote:
>
>> Everything always works on Linux. What's the fun in that? ;^)
>
> Oh, Linux has its own problems. It's just that you can actually fix
> them if you know what you're doing!
>
>
> -- Ed Leafe
>
>
I
On Apr 30, 2010, at 3:25 PM, Jeff Johnson wrote:
> Everything always works on Linux. What's the fun in that? ;^)
Oh, Linux has its own problems. It's just that you can actually fix
them if you know what you're doing!
-- Ed Leafe
___
Post
On 4/30/2010 12:13 PM, Uwe Grauer wrote:
> Jeff Johnson wrote:
>>
>> Ok. What are you guys trying to do to me?!? I started working on the
>> tutorial today and everything works fine. No changes whatsoever except
>> shutting down my computer and starting it up today.
>>
>> Oh well, back to work.
On Friday 30 April 2010 12:20:02 pm Ed Leafe wrote:
> On Apr 30, 2010, at 3:13 PM, Uwe Grauer wrote:
> > When working on Windows a Reboot can cure a lot of Problems.
> > Next time you see a problem - try a Reboot. ;-)
>
> http://www.ubersoft.net/comic/hd/2010/04/definition-insanity
>
> ( -or- http:
On Apr 30, 2010, at 3:13 PM, Uwe Grauer wrote:
> When working on Windows a Reboot can cure a lot of Problems.
> Next time you see a problem - try a Reboot. ;-)
http://www.ubersoft.net/comic/hd/2010/04/definition-insanity
( -or- http://j.mp/c1WgJn )
-- Ed Leafe
_
On Friday 30 April 2010 12:13:51 pm Uwe Grauer wrote:
> Jeff Johnson wrote:
> > Ok. What are you guys trying to do to me?!? I started working on the
> > tutorial today and everything works fine. No changes whatsoever except
> > shutting down my computer and starting it up today.
> >
> > Oh well,
Jeff Johnson wrote:
>
> Ok. What are you guys trying to do to me?!? I started working on the
> tutorial today and everything works fine. No changes whatsoever except
> shutting down my computer and starting it up today.
>
> Oh well, back to work.
>
> Thanks!
>
When working on Windows a Re
On 4/29/2010 2:53 PM, Jeff Johnson wrote:
> On 4/29/2010 2:43 PM, Ed Leafe wrote:
>> On Apr 29, 2010, at 5:33 PM, Jeff Johnson wrote:
>>
Maybe I can answer my own question. I am connecting to the data on the
dabo site which you probably don't want me mucking with. But shouldn't
it
On 4/29/2010 2:43 PM, Ed Leafe wrote:
> On Apr 29, 2010, at 5:33 PM, Jeff Johnson wrote:
>
>>> Maybe I can answer my own question. I am connecting to the data on the
>>> dabo site which you probably don't want me mucking with. But shouldn't
>>> it give me the validation errors?
>>>
>> I verified
On Apr 29, 2010, at 5:33 PM, Jeff Johnson wrote:
>> Maybe I can answer my own question. I am connecting to the data on the
>> dabo site which you probably don't want me mucking with. But shouldn't
>> it give me the validation errors?
>>
> I verified that validateField fires for each field but v
On 4/29/2010 1:53 PM, Jeff Johnson wrote:
> On 4/29/2010 11:40 AM, Jeff Johnson wrote:
>> I am at the section where we are validating the record. When I click
>> save on a new record, there is no message and it adds a blank record
>> with a date to the cursor. When I close the form and reopen it,
On 4/29/2010 11:40 AM, Jeff Johnson wrote:
> I am at the section where we are validating the record. When I click
> save on a new record, there is no message and it adds a blank record
> with a date to the cursor. When I close the form and reopen it, the
> empty records are gone. I have closely
I am at the section where we are validating the record. When I click
save on a new record, there is no message and it adds a blank record
with a date to the cursor. When I close the form and reopen it, the
empty records are gone. I have closely inspected the code and it
matches the downloade
I am using Crimson Editor and I created syntax errors. Now I can run the
report.
jvandal wrote:
>
> Page 26 -29 I try to run GrdRecipes.py and I get the flash as it's
> running and then it goes back to the command line. I don't see anything
> that points to my error.
> What gives?
>
--
View
Page 26 -29 I try to run GrdRecipes.py and I get the flash as it's running
and then it goes back to the command line. I don't see anything that points
to my error.
What gives?
--
View this message in context:
http://old.nabble.com/Pycon-Tutorial-customize-AppWizard-problem-tp28160341p28160341.h
Paul McNett wrote:
> On 4/6/10 1:04 PM, Ricardo Aráoz wrote:
>
>>
>> What about enclosing everything between saves in a transaction, and
>> having a cancel changes button which would roll it back? And it would
>> make a good teaching on how to control transactions from within Dabo.
>> I'd love t
On 4/6/10 1:04 PM, Ricardo Aráoz wrote:
> Paul McNett wrote:
>> On 4/2/10 3:19 PM, Ricardo Aráoz wrote:
>>
>>> Ed Leafe wrote:
>>>
On Apr 2, 2010, at 3:53 PM, Ricardo Aráoz wrote:
> Hi, in the PyCon Tutorial in the section "Creating the Many:Many
> Relationship between R
Paul McNett wrote:
> On 4/2/10 3:19 PM, Ricardo Aráoz wrote:
>
>> Ed Leafe wrote:
>>
>>> On Apr 2, 2010, at 3:53 PM, Ricardo Aráoz wrote:
>>>
>>>
>>>
Hi, in the PyCon Tutorial in the section "Creating the Many:Many
Relationship between Recipes and Categories" when adding th
On 4/2/10 3:19 PM, Ricardo Aráoz wrote:
> Ed Leafe wrote:
>> On Apr 2, 2010, at 3:53 PM, Ricardo Aráoz wrote:
>>
>>
>>> Hi, in the PyCon Tutorial in the section "Creating the Many:Many
>>> Relationship between Recipes and Categories" when adding the
>>> CklCategories control to the PagEditRecipes t
I have just added the grid to the hours form and everything works as
expected. I did notice however, that there is a traceback generated by
Python, whining about "ShowColumnLabels is deprecated". This doesn't seem
to cause a problem with the form but you might want to address it.
C:\Python25\li
Ed Leafe wrote:
> On Apr 2, 2010, at 3:53 PM, Ricardo Aráoz wrote:
>
>
>> Hi, in the PyCon Tutorial in the section "Creating the Many:Many
>> Relationship between Recipes and Categories" when adding the
>> CklCategories control to the PagEditRecipes the code reads :
>>
>> 79 mainSizer.i
On Apr 2, 2010, at 3:53 PM, Ricardo Aráoz wrote:
> Hi, in the PyCon Tutorial in the section "Creating the Many:Many
> Relationship between Recipes and Categories" when adding the
> CklCategories control to the PagEditRecipes the code reads :
>
> 79 mainSizer.insert(0, gs, 1, "expand", b
Hi, in the PyCon Tutorial in the section "Creating the Many:Many
Relationship between Recipes and Categories" when adding the
CklCategories control to the PagEditRecipes the code reads :
79 mainSizer.insert(0, gs, 1, "expand", border=20,
borderSides=("top", "bottom", "left"))
I think
On Apr 1, 2010, at 9:02 PM, Steve Rose wrote:
> After modifying the following lines of the tutorial code, I was finally able
> to make the dropdownlist display its data correctly.
> Here are the changes I made to the afterInitAll method to get it work:
>
> def afterInitAll(self):
> ###client
Thanks for pointing out the typo in my debugging. Now I can see that the
form knows about the clientBizobj. I cut and pasted in the code from the
tutorial for the afterInitAll of the dropdownlist and also the
getNamesAndValues method for the ClientBizobj. When run, the form opened
with all cont
On Apr 1, 2010, at 5:42 PM, Steve Rose wrote:
> bzc = self.getBizobj('client')
> print 'bzc: ', bzc
> ### ---> prints: None
>
> The form didn't seem to know about the clientBizobj, so I checked the
> following:
> In my bz folder I have ClientBizobj.py containing Class ClientBizobj usi
First, please note that I have hand coded my forms for awhile, so I'm rusty
on using the CD.
Using the revised Pycon Tutorial, I tried to get the dropdownlist control
working. I kept getting an error message at runtime that there was no method
called "getNamesAndKeys". I replaced the dropdown's af
On Mar 31, 2010, at 7:23 PM, Steve Rose wrote:
> Should that section of the tutorial be revised or, as a rookie, am I missing
> something?
The tutorial has been revised. Thanks for pointing that out!
-- Ed Leafe
___
Post Messages to: Dabo-
On Mar 31, 2010, at 7:23 PM, Steve Rose wrote:
> I was following along in the tutorial with no problems until I got to the
> section on setting up the Client dropdownlist where you wrote:
>
> "Select the control in the code editing window, and select the afterInit()
> method. Add the following co
I was following along in the tutorial with no problems until I got to the
section on setting up the Client dropdownlist where you wrote:
"Select the control in the code editing window, and select the afterInit()
method. Add the following code to that method:
def getNamesAndKeys(self):
"""Retu
Ed Leafe wrote:
> On Mar 24, 2010, at 10:12 AM, Ricardo Aráoz wrote:
>
>
>> But as far as I can see there is no panel creation (no dPanel) just a
>> form with a label. Either the code or the method call order should
>> probably be changed.
>> Is this correct?
>>
>
>
> The sentences im
On Mar 24, 2010, at 10:12 AM, Ricardo Aráoz wrote:
> But as far as I can see there is no panel creation (no dPanel) just a
> form with a label. Either the code or the method call order should
> probably be changed.
> Is this correct?
The sentences immediately preceding the event listing
Hi,
in the "Developing With Dabo" chapter, "Creating a Simple
Application". After the code of the "HelloPyConForm" you explay the
method call order :
"""
1.
form creation
2.
form.afterInit()
1.
editbox creation
2.
editbox after
55 matches
Mail list logo