Re: [dabo-users] Dabo and wxPython ("classic") 3.0

2016-05-07 Thread Sibylle Koczian
Am 06.05.2016 um 03:51 schrieb john: On 05/05/2016 11:19 AM, john wrote: Thanks for the code. BTW I normally pass the Datasource and that might a source of the issue - just guessing! I don't think so. One of my Dabo applications uses next(mydatasource) and that doesn't work either. OK I

Re: [dabo-users] Dabo and wxPython ("classic") 3.0

2016-05-07 Thread Sibylle Koczian
Am 06.05.2016 um 16:46 schrieb john: On 05/06/2016 07:43 AM, john wrote: BTW here is the source for __iter__ Which __iter__, in which class? def__iter__(self):ifself._prefetch:res =super(DictCursorBase,self).__iter__()first

Re: [dabo-users] Dabo and wxPython ("classic") 3.0

2016-05-05 Thread Sibylle Koczian
Am 05.05.2016 um 15:23 schrieb john: On 05/05/2016 01:26 AM, Sibylle Koczian wrote: I get other Dabo problems, though, which I'll show as soon as I've got a small example. At the moment it's only one problem: dForm.next() doesn't work with Dabo 2. Example given below. Oh I tried all

Re: [dabo-users] Dabo and wxPython ("classic") 3.0

2016-05-05 Thread Sibylle Koczian
Am 05.05.2016 um 03:34 schrieb john: Ok I'm in trouble at this point. I know that your issue is related to the 'menutype= "check" ' in dBaseMenuBar.py. But if I change the menuitems to just normal items the window will open but it will not display any menus??? (see below) I also noticed that

[dabo-users] Dabo2 on Ubuntu 16.04 (was: your Dabo emails)

2016-05-01 Thread Sibylle Koczian
Hello, as I'm getting mails from the list again, I'm sending to the list. Am 28.04.2016 um 18:30 schrieb john: I have tested on all of the windows VM's I have including xp,vista,7, and 10. I've tried the dabo2 I got from you on windows 10: some things work, some don't, without any changes

Re: [dabo-users] Can't see mails to this list any more

2016-04-28 Thread Detlef und Dr. Sibylle Koczian
Am 27.04.2016 um 22:06 schrieb Edward Leafe: Your account is fine, and the only thing you could do is talk to your ISP to allow mail from my domain. Here’s what I see in the logs: Apr 27 14:57:36 mail postfix/smtp[8562]: 99C26120224: to=,

[dabo-users] Can't see mails to this list any more

2016-04-27 Thread Sibylle Koczian
Hello, something is wrong with my mailing list account and I don't know what. I don't see any mails, not my own, not others. I've checked my subscription options; mail delivery is enabled. I found this message: "We have received some recent bounces from your address. Your current bounce

Re: [dabo-users] dabo2

2016-04-27 Thread Sibylle Koczian
Hello, Am 26.04.2016 um 17:56 schrieb john: Hi, I'm not sure what if anything I might have that is not strictly dabo in this file - but I didn't want you to have to wait for a response. Johnf Same exception as with the original Dabo. I don't quite understand that, because the date of your

[dabo-users] Dabo and wxPython ("classic") 3.0

2016-04-26 Thread Sibylle Koczian
Hello, I've upgraded my Xubuntu installation from 15.10 to 16.04 yesterday and couldn't start the first Dabo application I tried, because wxpython wasn't installed any more. There is no package python-wxgt2.? any more, only python-wxgtk3.0. So I installed that and got this exception:

Re: [dabo-users] Strange behavior of dDataset.filter()

2014-11-18 Thread Sibylle Koczian
Am 16.11.2014 12:52, schrieb Sibylle Koczian: That works as expected if the filter expression is a string (or unicode) and the database column is any kind of text. It works, also, if I filter a date column for dates before / after a fixed day. I don't yet trust this filter method for numbers

Re: [dabo-users] Strange behavior of dDataset.filter()

2014-11-16 Thread Sibylle Koczian
Am 13.11.2014 23:08, schrieb Ed Leafe: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/21/2014 01:05 PM, Sibylle Koczian wrote: It seems that this should help: filtered = [rec for rec in self if expr in ustr(rec[fld] or )] The problem is that some of the values are encoded, and others

[dabo-users] Strange behavior of dDataset.filter()

2014-10-21 Thread Sibylle Koczian
(rec[fld] or )] But I didn't yet really try it out. And I'd like to know most of all why the field type in the bizobj dataset depends on the state of the UI. Greetings, Sibylle -- Dr. Sibylle Koczian Fasanenstrasse 12 D-82293 Mittelstetten E-Postbrief: sibylle.kocz...@epost.de

Re: [dabo-users] No Dabo application starts

2014-10-08 Thread Sibylle Koczian
Hello, Werner, many thanks for the instructions! Am 06.10.2014 10:26, schrieb Werner: I think you are on Windows, if correct I would suggest TortoiseGit: https://code.google.com/p/tortoisegit/wiki/Download I'm using Dabo only on Linux (virtual machines in a Windows Host), so I suppose I'll

Re: [dabo-users] No Dabo application starts

2014-10-08 Thread Sibylle Koczian
Am 08.10.2014 14:34, schrieb Ed Leafe: Yes, it's really very important to learn git, but no, it isn't reasonable to learn it before you can contribute. Instead, why not paste your changes to http://dabo.codepad.org/, and then send the link to the pasted code. I can then post the update.

Re: [dabo-users] No Dabo application starts

2014-10-05 Thread Sibylle Koczian
Am 04.10.2014 16:42, schrieb Ed Leafe: On Oct 4, 2014, at 5:44 AM, Sibylle Koczian sibylle.kocz...@t-online.de wrote: If that works not only with Editor.py, but also with my own application, I'll put the changed modules into codepad, ok? Are you familiar with git and GitHub? If so, you

Re: [dabo-users] No Dabo application starts

2014-10-04 Thread Sibylle Koczian
Am 03.10.2014 20:46, schrieb Ed Leafe: On Oct 3, 2014, at 12:19 PM, Sibylle Koczian sibylle.kocz...@t-online.de wrote: I strongly suspect similar problems at other places in the Dabo code; at least I've intermittent unicode related errors I can't explain from my own code. So this should

Re: [dabo-users] No Dabo application starts

2014-10-03 Thread Sibylle Koczian
Am 01.10.2014 17:48, schrieb Sibylle Koczian: Hello, when I try to start a Dabo application I get this: sib@gespenst-lubuntu:~/src/dabo-master/ide$ ./Editor.py Traceback (most recent call last): File ./Editor.py, line 1134, in module main() File ./Editor.py, line 1121, in main

[dabo-users] No Dabo application starts

2014-10-01 Thread Sibylle Koczian
Hello, when I try to start a Dabo application I get this: sib@gespenst-lubuntu:~/src/dabo-master/ide$ ./Editor.py Traceback (most recent call last): File ./Editor.py, line 1134, in module main() File ./Editor.py, line 1121, in main app.setup() File

Re: [dabo-users] No Dabo application starts

2014-10-01 Thread Sibylle Koczian
Am 01.10.2014 18:34, schrieb john: On 10/01/2014 08:48 AM, Sibylle Koczian wrote: Hello, when I try to start a Dabo application I get this: sib@gespenst-lubuntu:~/src/dabo-master/ide$ ./Editor.py Traceback (most recent call last): File ./Editor.py, line 1134, in module main() File

Re: [dabo-users] No Dabo application starts

2014-10-01 Thread Sibylle Koczian
Can I assume you have changed the _checkForUpdates to False to insure that the app is not attempting to connect to Dabo? No, I haven't changed anything in the Dabo code. I'll try that as soon as I've got the time (this Dabo problem hit me at exactly the wrong moment, moreover it's getting late

Re: [dabo-users] Problem about Dabo

2014-07-10 Thread Sibylle Koczian
Am 09.07.2014 19:58, schrieb John Fabiani: Sibylle Can I assume when installing firebird the employee table is installed too? Yes. The Quick Start Guide mentions a sample database as part of all of the download kits, and I'm sure this is still the same sample as before. On Linux it might be

Re: [dabo-users] Problem about Dabo

2014-07-09 Thread Sibylle Koczian
Am 08.07.2014 16:50, schrieb John Fabiani: As far as Firebird is concerned I'm sure the module would not work since it depends on 'kinterbasdb'. IOW the import kinterbasdb should immediately fail. That said, you might try and fixing and replacing the init code in dbFirebird.py (dabo/db/). The

Re: [dabo-users] Problem about Dabo

2014-07-09 Thread Sibylle Koczian
Am 09.07.2014 15:11, schrieb John Fabiani: On 07/09/2014 04:11 AM, Sibylle Koczian wrote: I've tried to use fdb in dbFirebird.py, but without success OK what are the issues? I've always thought that anything follows the dbapi should work. I've put the changed dbFirebird.py on codepad

Re: [dabo-users] Problem about Dabo

2014-07-09 Thread Sibylle Koczian
Is it possible to connect to a firebird database that you control - remotely? I have some time today and would like to try and fix this. No, sorry. I don't even know what I would need to make that possible ... that's why I used the Employee database for testing. I thought whoever does

[dabo-users] Class designer: no Sans Serif???

2013-10-23 Thread Sibylle Koczian
Hello, a new problem using the class designer on Linux: Starting ClassDesigner with the name of an existing .cdxml file: sib@gespenst-suse:~/bin/einkauf ~/src/dabo-master/ide/ClassDesigner.py ./wahlpanel.cdxml 2013-10-22 16:32:50 - ERROR - Die Schriftart 'Sans Serif' existiert auf diesem

[dabo-users] Still too much useless updating

2013-10-13 Thread Sibylle Koczian
Hello, I still don't get my dPageSelect to update only the selected page (which is itself a dPageFrame). I tried two things: In the afterInit() method of the form I set the UpdateInactivePages property of the dPageSelect to False and in the afterInit() method of the common base class of all

[dabo-users] Dabo wiki unavailable?

2013-09-30 Thread Sibylle Koczian
Hello, I can't reach the Dabo wiki (wiki.dabodev.com) any more, for at least a week. What's the matter? Thank you, Sibylle ___ Post Messages to: Dabo-users@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users

Re: [dabo-users] Update for control called, why?

2013-09-28 Thread Sibylle Koczian
Am 25.09.2013 21:07, schrieb Paul McNett: On 9/25/13 7:27 AM, Sibylle Koczian wrote: For a dCheckListBox on one of these panels I've overridden the update() method like this: def update(self): dabo.ui.callAfterInterval(200, self.doUpdate) The doUpdate method of the checklist contains

[dabo-users] Update for control called, why?

2013-09-25 Thread Sibylle Koczian
Hello, my application consists of a dPageSelect with several pages, all of them subclasses of a common BasePage class which is a subclass of dPage. Every page contains a dPanel with all the controls needed, this dPanel is created using the ClassDesigner. For a dCheckListBox on one of these

Re: [dabo-users] ClassDesigner: moving controls in a grid

2013-06-23 Thread Sibylle Koczian
Am 22.06.2013 16:20, schrieb Ed Leafe: Version info? I just ran it and it is working as expected. The one thing I did notice is that if I delete the control, occasionally the layout panel that replaces it doesn't get placed in the right position, leaving a 'hole' in the design. But any action

[dabo-users] ClassDesigner: moving controls in a grid

2013-06-22 Thread Sibylle Koczian
Hello, a new problem concerning the ClassDesigner: In a dGridSizer with two columns I move a control from the right to the left column (right click on the control, Move left one slot). That works, but then there is no layout panel at the old place and I can't move back the control. The only

Re: [dabo-users] Web update doesn't work

2013-06-10 Thread Sibylle Koczian
Am 10.06.2013 02:08, schrieb Ed Leafe: On May 26, 2013, at 5:46 AM, Sibylle Kocziansibylle.kocz...@t-online.de wrote: File /home/sib/src/dabo-master/dabo/ui/uiwx/uiApp.py, line 223, in checkForUpdates notes = [%s: %s % tuple(nt) for nt in updates.get(notes, )] TypeError: not all

[dabo-users] dDateTextBox: width not adapted for font size

2013-06-10 Thread Sibylle Koczian
Hello, after copying my Dabo applications from a virtual machine running Xubuntu (with XFCE 4 as desktop manager) to another one running KDE on openSUSE, all my dDateTextBox instances are just a little bit too small. So I looked into the dDateTextBox part of the DaboDemo and it seems that

Re: [dabo-users] Firebird: kinterbasdb not maintained, fdb usable?

2013-05-30 Thread Sibylle Koczian
Am 29.05.2013 21:29, schrieb Ed Leafe: On May 22, 2013, at 7:28 AM, Sibylle Kocziansibylle.kocz...@t-online.de wrote: File /home/sib/src/dabo-master/dabo/biz/dBizobj.py, line 300, in __init__ apply(secondary.__init__, (self,) + args, kwargs) TypeError: __init__() takes exactly 3 arguments (2

[dabo-users] Web update doesn't work

2013-05-26 Thread Sibylle Koczian
Hello, another problem: when I start a Dabo application it should check for updates. If an update exists I get this exception: sib@gespenst-xubuntu:~/src/dabo-master/demo$ ./DaboDemo.py Traceback (most recent call last): File ./DaboDemo.py, line 24, in module main() File

Re: [dabo-users] Firebird: kinterbasdb not maintained, fdb usable?

2013-05-22 Thread Sibylle Koczian
Hello, I still can't get Dabo to work with fdb. Am 18.05.2013 12:43, schrieb Sibylle Koczian: First results: doesn't work out of the box. From dbFirebird.py I removed line 25 to 43, as fdb doesn't need the initialization. Replaced kinterbasdb with fdb, didn't change anything else. Next change

Re: [dabo-users] Firebird: kinterbasdb not maintained, fdb usable?

2013-05-18 Thread Sibylle Koczian
Am 16.05.2013 13:47, schrieb Sibylle Koczian: Am 15.05.2013 14:58, schrieb Werner F. Bruhin: But it would obviously be good if FDB would get more testing and Pavel seems to do a good job to keep on top of issues as I see regular fixes posted on the list: firebird-pyt...@yahoogroups.com Quite

Re: [dabo-users] Firebird: kinterbasdb not maintained, fdb usable?

2013-05-16 Thread Sibylle Koczian
Am 15.05.2013 14:58, schrieb Werner F. Bruhin: On 15/05/2013 12:53, Sibylle Koczian wrote: You should be able to get kinterbasdb 3.3 from the Firebird SQL site: http://www.firebirdsql.org/en/python-driver/ With that link I only could find version 3.2. Uwe Grauer sent me another which led

Re: [dabo-users] Firebird: kinterbasdb not maintained, fdb usable?

2013-05-16 Thread Sibylle Koczian
Am 16.05.2013 14:18, schrieb Werner F. Bruhin: On 16/05/2013 13:47, Sibylle Koczian wrote: Am 15.05.2013 14:58, schrieb Werner F. Bruhin: On 15/05/2013 12:53, Sibylle Koczian wrote: You should be able to get kinterbasdb 3.3 from the Firebird SQL site: http://www.firebirdsql.org/en/python

[dabo-users] Firebird: kinterbasdb not maintained, fdb usable?

2013-05-15 Thread Sibylle Koczian
Hello, I've installed a new virtual machine with OpenSuse and now I've got a problem using Dabo with Firebird: While Ubuntu still offers a kinterbasdb 3.3 package, Suse never had this, so I always had to install from source. But now I can't find version 3.3, on SourceForge there is only

Re: [dabo-users] Error while using class designer

2013-04-22 Thread Sibylle Koczian
Am 22.04.2013 05:58, schrieb Paul McNett: On 4/21/13 6:06 PM, Sabarish Sridhar wrote: Open a new class designer page. Add a panel to the background , use a vertical sizer, divide into 2 parts. Choose any one part and select DisplayControl and then addbox. Now edit the RegId of the box. It

Re: [dabo-users] performance increase

2013-04-20 Thread Sibylle Koczian
Hello, Am 18.04.2013 16:11, schrieb John Fabiani: I had to make several small changes [self.super() to super(cls,self)] I've got a problem with this change: I suppose the cls in super(cls,self) is a placeholder for the actual class? It's easy to replace this, if the class is created in my

Re: [dabo-users] ClassDesigner: new sort of crash

2013-03-18 Thread Sibylle Koczian
Am 17.03.2013 21:57, schrieb Ed Leafe: On Mar 17, 2013, at 10:17 AM, Paul McNettp...@ulmcnett.com wrote: How do I get the old versions? Preferably without having to learn too much about git ... Go to https://github.com/dabodev/dabo/tags and then for each version you want to download click

[dabo-users] ClassDesigner: new sort of crash

2013-03-17 Thread Sibylle Koczian
Hello, the ClassDesigner crashes again, this time no stack trace but a segmentation fault. It happens when I try to change something in the object inspector, no matter what or so it seems to me at the moment. Clicking into a checkbox in the object inspector changes it to an edit field with

Re: [dabo-users] ClassDesigner: new sort of crash

2013-03-17 Thread Sibylle Koczian
Am 17.03.2013 16:17, schrieb Paul McNett: Would you mind doing a bit of regression testing? Loading up dabo 0.9.5 and seeing if the error is still there, if not then 0.9.6, etc.? It would help to know when this behavior went south. How do I get the old versions? Preferably without having to

Re: [dabo-users] dGrid with CustomEditorClass: crash

2013-03-07 Thread Sibylle Koczian
Am 06.03.2013 22:41, schrieb Paul McNett: I see two problems I can't explain: 1) no data in the grid until I hit save(), even though the form's status bar shows the 2 records. If I click once or sometimes twice into one of the header cells I see the records. Save does the same. 2)

Re: [dabo-users] dGrid with CustomEditorClass: crash

2013-03-06 Thread Sibylle Koczian
Am 05.03.2013 14:26, schrieb Paul McNett: I'm not going to be able to look at that for a few days. Could you add commentary to it at the top that details the problems I should try to reproduce? Done. New link: http://dabo.codepad.org/DlevAQHc Sibylle

Re: [dabo-users] dGrid with CustomEditorClass: crash

2013-03-05 Thread Sibylle Koczian
Am 03.03.2013 19:18, schrieb Paul McNett: On 3/3/13 3:27 AM, Sibylle Koczian wrote: Should I put the changed example to dabo.codepad.org? Sure, then we are on the same page as far as the test code we are looking at goes. Done: http://dabo.codepad.org/PwBGHuod Sibylle

[dabo-users] dGrid with CustomEditorClass: crash

2013-03-03 Thread Sibylle Koczian
Hello, finally I found the time to try out a dGrid using the Editor from the dDateTextBox for a date column. First I ran your example: https://gist.github.com/4542964 In that application the date editing shortcuts work (but I didn't try all of them), but the calendar popup doesn't: it

[dabo-users] Opening existing cdxml file: ClassDesigner crashes

2013-03-01 Thread Sibylle Koczian
Hello, when I try to open an existing .cdxml file with the ClassDesigner, I get this: sib@gespenst-xubuntu:~/src/dabo-trunk/ide$ ./ClassDesigner.py Traceback (most recent call last): File ./ClassDesigner.py, line 4474, in module clsDes = ClassDesigner(f) File ./ClassDesigner.py, line

Re: [dabo-users] Grid column with dates - EditorClass?

2013-01-16 Thread Sibylle Koczian
Am 16.01.2013 00:01, schrieb Paul McNett: On 1/15/13 11:23 AM, Sibylle Koczian wrote: I created a sample for you: https://gist.github.com/4542964 Unfortunately, running it highlighted that it doesn't work (because dGrid converts the Value to string instead of leaving it at date or datetime

[dabo-users] Grid column with dates - EditorClass?

2013-01-15 Thread Sibylle Koczian
Hello, in a dGrid I'd like to edit a column with DataType date, using the same shortcuts as in a dDateTextBox. How can I do that? Does the column get the right DataType from the bizobj? Do I have to set the ClassEditor explicitly, if yes, to what value? If I just put the dGrid into my form

Re: [dabo-users] New Xubuntu version, Dabo application crashes

2012-11-14 Thread Sibylle Koczian
Am 06.11.2012 18:19, schrieb Sibylle Koczian: Things I've changed: upgraded to Xubuntu 12.10. Afterwards tried svn up in my Dabo directory, got an error message and did svn upgrade instead. No use of Dabo applications in between. After that, crash with applications using crypto keys and no menu

Re: [dabo-users] New Xubuntu version, Dabo application crashes

2012-11-06 Thread Sibylle Koczian
Am 05.11.2012 03:57, schrieb Paul McNett: At this point I think I may wait until wxPython claims to work on Python 3.x and then really ante up to move all my stuff to Python 3. That would be a very good thing. I'd much prefer to have all my Python applications running with Python 3 - but some

Re: [dabo-users] New Xubuntu version, Dabo application crashes

2012-11-06 Thread Sibylle Koczian
Am 06.11.2012 13:13, schrieb Ed Leafe: On Nov 6, 2012, at 4:39 AM, Sibylle Kocziansibylle.kocz...@t-online.de wrote: No menu. Just an empty window with a title bar. I'm using XCFE as windows manager, could changes in that be the reason for this problem? I've never tested XCFE with

Re: [dabo-users] New Xubuntu version, Dabo application crashes

2012-11-06 Thread Sibylle Koczian
Am 06.11.2012 15:00, schrieb Paul McNett: On 11/6/12 4:13 AM, Ed Leafe wrote: On Nov 6, 2012, at 4:39 AM, Sibylle Kocziansibylle.kocz...@t-online.de wrote: No menu. Just an empty window with a title bar. I'm using XCFE as windows manager, could changes in that be the reason for this

[dabo-users] New Xubuntu version, Dabo application crashes

2012-11-04 Thread Sibylle Koczian
Hello, the Dabo application I've been using for more than a year crashes today with this stack trace: sib@gespenst-xubuntu:~/bin/haushalt$ pflichten_aktuell/main.py Traceback (most recent call last): File pflichten_aktuell/main.py, line 10, in module app =

Re: [dabo-users] New Xubuntu version, Dabo application crashes

2012-11-04 Thread Sibylle Koczian
Am 04.11.2012 15:36, schrieb Paul McNett: On 11/4/12 6:10 AM, Sibylle Koczian wrote: I can't get the usual version information, because those Dabo applications that start at all have lost their menu (especially the applications in the Dabo ide directory). I've updated to Xubuntu 12.10

Re: [dabo-users] Struggling with connection editor

2012-07-21 Thread Sibylle Koczian
Am 21.07.2012 17:27, schrieb Dave Kelly: Hello, I tried to use the connection editor under Windows 7 and after a successful test, when I went to use the connection, I received an error. Taking a look at the file, it had a zero length. I deleted the file and tried again in Windows and I

Re: [dabo-users] CxnEditor raises exception, why?

2012-07-12 Thread Sibylle Koczian
Am 12.07.2012 15:48, schrieb Ed Leafe: On Jul 12, 2012, at 6:51 AM, Sibylle Koczian wrote: I want to change the database backend for an existing (test) application from SQLite to PostgreSQL. The table structures are identical, so I thought I just had to do three things: - create

Re: [dabo-users] CxnEditor raises exception, why?

2012-07-12 Thread Sibylle Koczian
Am 12.07.2012 16:14, schrieb John Fabiani: app = dabo.dApp(myCryptoKey) - Checking the dApp() I do not see where you can pass the myCryptoKey. You can of course set a property such as Crypto or 'CryptoKey'. But I've been wrong in the past. Quite right, that was wrong in any case, and that

Re: [dabo-users] Can't find dCheckList in ClassDesigner control lists

2012-07-10 Thread Sibylle Koczian
Am 09.07.2012 16:28, schrieb Ed Leafe: On Jul 8, 2012, at 11:10 AM, Sibylle Koczian wrote: using the ClassDesigner for a change I just ran into a problem: I need a dCheckList on the page, but I can't find it in the different lists of controls the context menu of the ClassDesigner gives me

[dabo-users] Can't find dCheckList in ClassDesigner control lists

2012-07-08 Thread Sibylle Koczian
Hello, using the ClassDesigner for a change I just ran into a problem: I need a dCheckList on the page, but I can't find it in the different lists of controls the context menu of the ClassDesigner gives me. So how to do it? I don't know if the version information is important, but here it is:

Re: [dabo-users] M-M-Relations

2011-12-10 Thread Sibylle Koczian
Hello, Am 30.11.2011 19:50, schrieb Sibylle Koczian: Am 30.11.2011 17:40, schrieb Ed Leafe: The database is the recipes database from the PyCon tutorial, ported to sqlite, no other changes. No, there aren't any examples, as the MM stuff was a much more recent addition, and as far

Re: [dabo-users] M-M-Relations

2011-12-03 Thread Sibylle Koczian
Am 02.12.2011 17:14, schrieb Ed Leafe: On Dec 1, 2011, at 3:27 PM, Ed Leafe wrote: OK, I think I found the problem. I've just posted a fix to dBizobj; let me know if that helps. Thank you, yes, it does. I found another bug in the script I pasted to codepad (my own unaided work this

[dabo-users] M-M-Relations

2011-11-30 Thread Sibylle Koczian
Hello, I'm trying to use the new methods for many-to-many relationships. I've taken a small program using the recipes database from the PyCon tutorial: just one window with a datagrid showing the recipes and a checklist showing the categories, with the categories for the selected recipe

Re: [dabo-users] M-M-Relations

2011-11-30 Thread Sibylle Koczian
Am 30.11.2011 17:40, schrieb Ed Leafe: On Nov 30, 2011, at 9:09 AM, Sibylle Koczian wrote: Should I put the complete script to dabo.codepad.org? It's not very long. Please do - it would make debugging a lot easier. Done: http://dabo.codepad.org/Kl9eb4kM The database is the recipes

Re: [dabo-users] Child doesn't relate to Parent

2011-11-23 Thread Sibylle Koczian
Hello, Am 23.11.2011 04:33, schrieb Dewald Jacobs: The problem is that the child is not behaving like it does in the screencast. It simply displays everything from child table in the grid. In the screencast only the related content from the child would be shown to correspond to the

Re: [dabo-users] complex relationship : how to define

2011-08-12 Thread Sibylle Koczian
Am 12.08.2011 11:05, schrieb Vineet Deodhar: For simple relationships of bizobjs, I can handle the bizobj coding. Now I have come across the a tricky relationship. A simplified version of tables is reproduced below--- 'model' : table contains info about car-models fields : (mdlid, mdlcode,

Re: [dabo-users] dGrid in ClassDesigner

2011-05-04 Thread Sibylle Koczian
Am 03.05.2011 17:15, schrieb Sibylle Koczian: If I start the ClassDesigner on Linux and try to open an existing class it crashes. On Windows it starts normally. Sadly I don't remember which of my two Python versions I used to create my last ClassDesigner-made application on Windows (very small

Re: [dabo-users] dGrid in ClassDesigner

2011-05-04 Thread Sibylle Koczian
Am 04.05.2011 14:51, schrieb Ed Leafe: On May 4, 2011, at 5:22 AM, Sibylle Koczian wrote: This was very silly. On Linux I tried to open a .cdxml file containing a dGrid, on Windows I used one without a dGrid. In fact on both OS the ClassDesigner crashes with Python 2.7.1 and a .cdxml

Re: [dabo-users] dGrid in ClassDesigner

2011-05-04 Thread Sibylle Koczian
Am 04.05.2011 18:49, schrieb Paul McNett: On 5/4/11 9:13 AM, Sibylle Koczian wrote: The ClassDesigner opens and shows the design for a very short time, then it's gone. The error message is always the same, including the lineno: XXX lineno: 568, opcode: 0 Speicherzugriffsfehler (translated

Re: [dabo-users] Finally starting, falling at the first, SQLite the other one

2011-04-22 Thread Sibylle Koczian
Am 22.04.2011 12:41, schrieb Mark Stanton: Open a terminal (or cmd.exe in Windows) and simply type 'python' and press Enter. You will then be at an interactive prompt; you should be able to type 'import dabo' from there. Yup, I thought that. It says ImportError: No module named Dabo. I've

Re: [dabo-users] Putting two different reports in one .pdf file

2011-04-17 Thread Sibylle Koczian
Should have gone to the list in the first place! Sorry, Sibylle Am 16.04.2011 20:46, schrieb Adrian Klaver: Actually it does seem to work. Using the demo invoice.rfxml file either of the methods below seem to work: pdfName = myreps.pdf rw = ReportWriter() with open(pdfName, w) as outFile:

Re: [dabo-users] Putting two different reports in one .pdf file

2011-04-16 Thread Sibylle Koczian
Am 15.04.2011 21:39, schrieb Adrian Klaver: Creating and showing either one of the reports using the file name as rw.OutputFile property and rw.write() works as expected, so the reports themselves seem to be correct. But I want to get them into one file and print them on one page, without

Re: [dabo-users] Putting two different reports in one .pdf file

2011-04-16 Thread Sibylle Koczian
Am 15.04.2011 21:47, schrieb Paul McNett: On 4/15/11 12:02 PM, Sibylle Koczian wrote: Creating and showing either one of the reports using the file name as rw.OutputFile property and rw.write() works as expected, so the reports themselves seem to be correct. But I want to get them into one

[dabo-users] Putting two different reports in one .pdf file

2011-04-15 Thread Sibylle Koczian
Hello, after reading the documentation I thought I could get two reports in one file like this: pdfName = myreps.pdf rw = ReportWriter() with open(pdfName, w) as outFile: rw.ReportFormFile = myform_1.rfxml rw.OutputFile = outFile # for testing rw.UseTestCursor = True

Re: [dabo-users] Using ReportDesigner: data? bizobj?

2011-03-29 Thread Sibylle Koczian
Am 27.03.2011 17:10, schrieb Ed Leafe: On Mar 27, 2011, at 10:51 AM, Sibylle Koczian wrote: I did put the application on the wiki, but at the wrong place: as a subtopic of the sandbox. And something seems to be wrong with the instructions at How to move Wiki pages: no reparent button anywhere

Re: [dabo-users] Using ReportDesigner: data? bizobj?

2011-03-29 Thread Sibylle Koczian
Am 29.03.2011 17:29, schrieb Ed Leafe: On Mar 29, 2011, at 11:08 AM, Sibylle Koczian wrote: No buttons for me (except the create button), and no (reasonably obvious) possibility to re-parent on the backlinks page. Can't be the browser, can it (Firefox 4.0 and 3.6.16)? Permissions

Re: [dabo-users] Using ReportDesigner: data? bizobj?

2011-03-27 Thread Sibylle Koczian
Hello, Am 26.03.2011 19:12, schrieb John Fabiani: I had to look - I did mycur=self.Application.getConnectionByName('pgConnection').getDaboCursor() mycur.execute(%s Limit 10 % (self.sqlID.Value)) # where self.sqlID is the sql statement written in a edit box. I don't know what the

Re: [dabo-users] Using ReportDesigner: data? bizobj?

2011-03-27 Thread Sibylle Koczian
Am 27.03.2011 11:14, schrieb Sibylle Koczian: Exactly. I'll try it out a little more and then put it on the wiki. Not tested with MS SQL Server and MySQL, but if the SQL statement isn't changed by the application that shouldn't matter. I did put the application on the wiki, but at the wrong

Re: [dabo-users] Using ReportDesigner: data? bizobj?

2011-03-26 Thread Sibylle Koczian
Hello, Am 17.03.2011 21:20, schrieb Sibylle Koczian: I've got it and will try it out. But that will take time and some questions on this list. I've changed the part for getting the right connection data: now the application asks for a connection file, the connection name and the crypto key

[dabo-users] Using ReportDesigner: data? bizobj?

2011-03-17 Thread Sibylle Koczian
Hello, how do I start designing a new report, if I don't want to create an AppWizard application first? More specifically, how do I tell the ReportDesigner about the table or view that should be used? In the API documentation for dReportWriter a Cursor is mentioned in the introductory text,

Re: [dabo-users] Using ReportDesigner: data? bizobj?

2011-03-17 Thread Sibylle Koczian
Am 17.03.2011 20:46, schrieb John Fabiani: On Thursday, March 17, 2011 10:21:37 am Paul McNett wrote: On 3/17/11 9:31 AM, John Fabiani wrote: That's exactly what my createReport apps does. Sets up the connection. Then allows you to pass a SQL statement, then creates the blank report with the

Re: [dabo-users] Not enough documentation for parameter placeholder?

2011-02-05 Thread Sibylle Koczian
Am 05.02.2011 19:02, schrieb Paul McNett: On 2/5/11 9:50 AM, John Fabiani wrote: I don't know but can't the pyformat be used or maybe the named. Actually, I don't really see the need - DAPI 2.0 allows all sorts of ways to pass parameters - so where's the issue? Do we need one and only one

Re: [dabo-users] Not enough documentation for parameter placeholder?

2011-02-05 Thread Sibylle Koczian
Am 05.02.2011 19:49, schrieb Ed Leafe: On Feb 5, 2011, at 1:39 PM, Sibylle Koczian wrote: True, but if you don't always want to get complete tables into your bizobj you'd normally need parameterized SQL. The select pages of AppWizard applications should contain lots of it (can't find

Re: [dabo-users] Not enough documentation for parameter placeholder?

2011-02-05 Thread Sibylle Koczian
Am 05.02.2011 20:41, schrieb John Fabiani: Yes we have two of each Postgres and MySQL use %s and SQLite uses '?' and FireBird uses both the '?' and ':name' (at least it did when I worked with it). Therefore, I think I'm aware of the issue. First let me say I am biased. I love using

Re: [dabo-users] CD: dColumn.ListEditorChoices misbehaving

2011-01-30 Thread Sibylle Koczian
Am 30.01.2011 01:41, schrieb Ed Leafe: On Jan 29, 2011, at 6:06 AM, Sibylle Koczian wrote: Should I open a ticket? Yes, please, and attach your .cdxml file. Is the grid/column bound to data? Done, ticket No. 1406. The grid is bound to a table of a small SQLite database (which I

[dabo-users] CD: dColumn.ListEditorChoices misbehaving

2011-01-29 Thread Sibylle Koczian
Hello, still not all well regarding the dGrid when using the class designer: no crashes, but the dColumn property ListEditorChoices fills up, even if I don't touch it. At first it's [] as it probably should. Then I do something with the class, save it, close the class designer. When I open

Re: [dabo-users] dGrid on dPage: Headers vanished

2011-01-25 Thread Sibylle Koczian
Am 24.01.2011 19:40, schrieb Jacek Kałucki: Użytkownik Sibylle Koczian napisał: Done (rev. 6341), but no change. I ran two of the problem applications, but didn't edit them. Could you try current SVN version after commit 6342? I did, now the column headers have returned. So I didn't put

Re: [dabo-users] Newbie problem?

2011-01-25 Thread Sibylle Koczian
Hello, Am 25.01.2011 07:10, schrieb Kai Peters: C:\Projects\Dabo\ZooBaseZooBase.py XXX lineno: 642, opcode: 0 Traceback (most recent call last): File c:\python27\dabo_download\dabo\dabo\ui\uiwx\dControlMixin.py, line 27, in _onWxHit self.raiseEvent(dEvents.Hit, evt, *args,

[dabo-users] dGrid on dPage: Headers vanished

2011-01-24 Thread Sibylle Koczian
Hello, a new problem with dGrids placed on a dPage: the column headers aren't visible anymore. The grid has ShowHeaders set to True, all the columns have headers defined, but they aren't visible, neither in the Class Designer nor at runtime. One of two applications with grids on pages is in

Re: [dabo-users] dGrid on dPage: Headers vanished

2011-01-24 Thread Sibylle Koczian
Am 24.01.2011 12:34, schrieb Jacek Kałucki: Użytkownik Sibylle Koczian napisał: Hello, a new problem with dGrids placed on a dPage: the column headers aren't visible anymore. The grid has ShowHeaders set to True, all the columns have headers defined, but they aren't visible, neither

Re: [dabo-users] Hand coded form with .cdxml panel: exception

2011-01-22 Thread Sibylle Koczian
Hello, Am 16.01.2011 14:17, schrieb Sibylle Koczian: Hello, Am 15.01.2011 22:38, schrieb Ed Leafe: On Jan 13, 2011, at 10:53 AM, Sibylle Koczian wrote: Done, here it is: http://dabo.codepad.org/ZhkzIwkr OK, thanks, that helped. Turns out that some of the column properties were choking

Re: [dabo-users] Hand coded form with .cdxml panel: exception

2011-01-22 Thread Sibylle Koczian
Am 22.01.2011 18:44, schrieb Ed Leafe: On Jan 22, 2011, at 5:23 AM, Sibylle Koczian wrote: No change with Rev. 6334. Should I perhaps open a ticket on the tracker, so this doesn't get lost? Normally, that would be a good idea, but I think it should be OK now; I just posted a fix

Re: [dabo-users] dabo.ui.AreYouSure

2011-01-16 Thread Sibylle Koczian
Hello, Am 16.01.2011 04:51, schrieb Ed Leafe: On Jan 15, 2011, at 9:59 PM, Carey Gagnon wrote: Can afterSave be bypassed some how? Sure - by skipping save() altogether. You said this is in your beforeSave() method; one of the purposes of this method is to prevent the save() from continuing

Re: [dabo-users] Hand coded form with .cdxml panel: exception

2011-01-16 Thread Sibylle Koczian
Am 15.01.2011 22:38, schrieb Ed Leafe: Done, here it is: http://dabo.codepad.org/ZhkzIwkr OK, thanks, that helped. Turns out that some of the column properties were choking because their underlying attributes had not been initialized. I've posted a fix; let me know if that works for you.

Re: [dabo-users] Getting record data from a form field.

2011-01-16 Thread Sibylle Koczian
Hello, Am 16.01.2011 03:43, schrieb Gabriel Martin del Campo y Eternod: Hi, I hope you could help me... I'm trying to make a customer form. The database has more than 10,000 records. Following the tutorial I use a dDropdownListhttp://wiki.dabodev.com/DDropdownListbut for that many records

Re: [dabo-users] Hand coded form with .cdxml panel: exception

2011-01-16 Thread Sibylle Koczian
Hello, Am 15.01.2011 22:38, schrieb Ed Leafe: On Jan 13, 2011, at 10:53 AM, Sibylle Koczian wrote: Done, here it is: http://dabo.codepad.org/ZhkzIwkr OK, thanks, that helped. Turns out that some of the column properties were choking because their underlying attributes had not been

Re: [dabo-users] ClassDesigner: Add from data environment - exception

2011-01-15 Thread Sibylle Koczian
Am 15.01.2011 19:44, schrieb Ed Leafe: The very first: I select it, get the dialog to select a connection and at the same moment I see the error message in the terminal. Before I do anything in this dialog. OK, I see the problem. This should be fixed in that latest commit. Thank you,

  1   2   3   >