Re: [dabo-users] Leaving dabo/Python (was: Tab-Index of UI-Objects?)

2017-01-13 Thread Henning Hraban Ramm
> As far as NodeJS - well I like the fact that it is well supported by the > community - but so is Django. I don't believe NodeJS's asynchronous I/O is > faster than Django when comes to serving data - at least not for small > websites. So I wouldn't leave Django for NodeJS. Django is good

Re: [dabo-users] Tab-Index of UI-Objects?

2017-01-13 Thread Henning Hraban Ramm
Am 2017-01-13 um 17:01 schrieb john : > To be honest I believe I will soon will be moving on to Electron (uses > html,css,JavaScript, Chrome, NodeJS to create the ui for a desktop app). I hear you – for web apps I’m leaving my beloved Python/Django behind for

Re: [dabo-users] AppWizard not working on Windows 7: special characters like ñ, ó, é, etc.

2016-12-27 Thread Henning Hraban Ramm
Am 2016-12-27 um 05:21 schrieb William López Miranda : > The special characters of the Spanish language: > > First of all I want to thank Ed Leaf and Paul McNett for Frame Dabo. > I come from programming in Visual Foxpro and I have looked for an option to > program that

[dabo-users] API docs

2015-01-27 Thread Henning Hraban Ramm
Hi Paul Ed, may I remind you of setting up the API docs again? I’d really like to continue working with dabo. Or can I access the docs somehow else? Greetlings, Hraban --- http://www.fiee.net https://www.cacert.org (I'm an assurer) ___ Post

Re: [dabo-users] API docs

2015-01-27 Thread Henning Hraban Ramm
Am 2015-01-27 um 20:26 schrieb Ed Leafe e...@leafe.com: may I remind you of setting up the API docs again? I’d really like to continue working with dabo. Or can I access the docs somehow else? I';ve got them sort of working again, but haven't finished the part that uploads them to the

Re: [dabo-users] syntax error in dbMsSQL?

2012-08-05 Thread Henning Hraban Ramm
Am 2012-08-03 um 14:57 schrieb Ed Leafe: On Aug 2, 2012, at 3:42 PM, Henning Hraban Ramm wrote: python2.6/site-packages/dabo-trunk/dabo/db/dbMsSQL.py, line 61 return tuple([{col: row[col] for col in row if type(col) != int} ^ SyntaxError: invalid syntax

Re: [dabo-users] syntax error in dbMsSQL?

2012-08-05 Thread Henning Hraban Ramm
Am 2012-08-05 um 17:03 schrieb Ed Leafe: On Aug 5, 2012, at 8:58 AM, Henning Hraban Ramm wrote: Thank you, that works. (I.e. I didn’t check if it works with MS SQL, but it’s valid Python again.) Sorry that I didn’t bother to fix/research it myself, I was in a hurry. Understood

[dabo-users] syntax error in dbMsSQL?

2012-08-02 Thread Henning Hraban Ramm
Using py2app with Python 2.6 and current dabo trunk I get a syntax error in dbMsSQL (that I don’t need at all): File /Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/modulegraph/modulegraph.py, line 709, in find_head_package q = self.import_module(head,

Re: [dabo-users] new user

2012-06-28 Thread Henning Hraban Ramm
2012/6/27 sharon abadom sharonnext4r...@yahoo.com: Hi, I am intending to create a desktop application as volunteer work for a free clinic in Africa, and since there is no internet over there, I decided to search for a tool I can use. I stumbled on this tool and I have some questions to ask

Re: [dabo-users] Reenv: Problem in Dabo demo

2011-05-20 Thread Henning Hraban Ramm
Am 2011-05-20 um 09:06 schrieb melkarth0: Ok, thank you, Hraban. I've already checked that dTextBox works fine outside the dabo demo; I'm worried about it no more. I'll try to play with your solution, but my priority now is to keep learning Dabo. But since you're learning Python as you

Re: [dabo-users] Problem in Dabo demo

2011-05-19 Thread Henning Hraban Ramm
Am 2011-05-19 um 00:21 schrieb melka...@terra.es: Hi! I'm a total novice to Dabo and (almost) to Python. Welcome! UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 0: ordinal not in range(128) As Ed said, maybe it’s already fixed, but it might be a problem of an

Re: [dabo-users] Reenv: Problem in Dabo demo

2011-05-19 Thread Henning Hraban Ramm
Am 2011-05-19 um 15:48 schrieb melkarth0: As I said to Hraban, I have tested my programs with UTF-8 and they also worked ok, I will use this coding in them from now on, instead of latin-1. I'm using an unicode wxPython, and dEditBox runs fine. I think it must be something inside

Re: [dabo-users] cascading dropdown controls selections

2011-04-07 Thread Henning Hraban Ramm
Am 2011-04-07 um 16:22 schrieb John Fabiani: Hi, I have always had issues with dropdowns selection determining the a second control. Now I have need to have fours dropdowns and each of the dropdowns data (or Choices) will depend on the preceding dropdown selection. Does anyone

Re: [dabo-users] cascading dropdown controls selections

2011-04-07 Thread Henning Hraban Ramm
Am 2011-04-07 um 17:06 schrieb John Fabiani: No that's right - I will be using OnHit. But the problem is not as straight forward as you suggest. If I set the first dropdown the second, third, and forth must match. If I set the second the third and forth data choices must match what

Re: [dabo-users] Sphinx doc - gallery and control appearance

2011-03-30 Thread Henning Hraban Ramm
Am 2011-03-30 um 10:42 schrieb Werner F. Bruhin: I updated the web with the new images. Some samples: http://thewinecellarbook.com/daboDocTestAlt/dabo.ui.uiwx.dGrid.dGrid.html http://thewinecellarbook.com/daboDocTestAlt/dabo.ui.uiwx.dCalendar.dCalendar.html I haven't done anything about

Re: [dabo-users] Dabo Docs - quirck

2011-02-28 Thread Henning Hraban Ramm
Am 2011-02-28 um 13:19 schrieb Werner F. Bruhin: I see that I need more and more css know how, which I don't have. So, can anyone suggest a good book on css? I could send you a copy of CSS kurz gut by O’Reilly (in German - I understand you understand that ;-) Unfortunately I already gave

Re: [dabo-users] Dabo Docs - quirck

2011-02-28 Thread Henning Hraban Ramm
Am 2011-02-28 um 19:15 schrieb Werner F. Bruhin: On 28/02/2011 17:32, Henning Hraban Ramm wrote: Am 2011-02-28 um 13:19 schrieb Werner F. Bruhin: I see that I need more and more css know how, which I don't have. So, can anyone suggest a good book on css? I could send you a copy of CSS kurz

Re: [dabo-users] Dabo documentation not searchable - what about Sphinx

2011-02-18 Thread Henning Hraban Ramm
Am 2011-02-16 um 20:31 schrieb Paul McNett: On 2/16/11 7:42 AM, Henning Hraban Ramm wrote: I'd rather suggest to un-i18n all the docstrings! (Even if I translated most of them into German already.) Can you tell us the reasons why? Why I translated them? Because they were on launchpad. Why

Re: [dabo-users] Dabo documentation not searchable - what about Sphinx

2011-02-15 Thread Henning Hraban Ramm
Am 2011-02-14 um 23:43 schrieb Ed Leafe: Anyway, as it is, it's a wonderful work. +1! +1 But: If I look at some widget, e.g. http://thewinecellarbook.com/daboDocTest/dabo.ui.dButton.dButton.html for most properties there are just unlinked references to getters and setters. I think

Re: [dabo-users] Dabo documentation not searchable - what about Sphinx

2011-02-15 Thread Henning Hraban Ramm
Am 2011-02-15 um 18:56 schrieb Paul McNett: On 2/15/11 9:21 AM, Werner F. Bruhin wrote: Can I start proposing patches for doc strings to make them reST/ Sphinx compliant? +1 from me. I'll give you commit access if you want to make the changes yourself, which would have a higher

Re: [dabo-users] Dabo Setup Questions

2011-02-01 Thread Henning Hraban Ramm
Am 2011-02-01 um 11:19 schrieb Uwe Grauer: On 02/01/2011 08:55 AM, Simon Cropper wrote: Paul, Generally not as painful as I thought.. - created the /opt/dabo/ directory then used svn co http://svn.dabodev.com/dabo/trunk dabo This created a subdirectory called dabo that I moved to

Re: [dabo-users] Mini-mac and my code

2011-01-22 Thread Henning Hraban Ramm
Am 2011-01-22 um 20:31 schrieb John Fabiani: The tabs are not tabs. dPageFrame with appended pages looks like a bar across the top with push buttons. Completely normal Mac UI, like it or not. dButtons with with background colors do not display the background color and strangely the

Re: [dabo-users] Springboard for linux ?

2010-11-02 Thread Henning Hraban Ramm
Am 2010-11-02 um 17:31 schrieb Ed Leafe: On Nov 2, 2010, at 12:26 PM, chaouche yacine wrote: Our application will target mainly Linuxes and few Macs. Any news about a linux version of Springboard ? Sorry, but I haven't had the time to focus on Springboard lately. It seemed

Re: [dabo-users] dLabel with multiline caption (was: Demo)

2010-10-17 Thread Henning Hraban Ramm
Am 2010-10-17 um 14:52 schrieb Ed Leafe: On Oct 16, 2010, at 7:55 AM, Henning Hraban Ramm wrote: In addition to the dBitmapButton demo not working correctly, the label explaining the behavior doesn't wordwrap on Windows or Mac, so there are multiple issues to address. I just found out

Re: [dabo-users] dLabel with multiline caption (was: Demo)

2010-10-16 Thread Henning Hraban Ramm
Am 2010-10-14 um 16:18 schrieb Paul McNett: In addition to the dBitmapButton demo not working correctly, the label explaining the behavior doesn't wordwrap on Windows or Mac, so there are multiple issues to address. I just found out that/how dLabel fails on OSX with multi line captions: -

Re: [dabo-users] incomplete API docs

2010-10-15 Thread Henning Hraban Ramm
Am 2010-10-14 um 19:53 schrieb Paul McNett: I tried a few systems before rolling my own, and the reason I rolled my own was that I felt there was far too much noise in the output, mostly due to all of the classes involved in a given Dabo object. I couldn't seem to get control over

Re: [dabo-users] incomplete API docs

2010-10-15 Thread Henning Hraban Ramm
Am 2010-10-15 um 08:58 schrieb Henning Hraban Ramm: Am 2010-10-14 um 19:53 schrieb Paul McNett: I tried a few systems before rolling my own, and the reason I rolled my own was that I felt there was far too much noise in the output, mostly due to all of the classes involved in a given Dabo

[dabo-users] properties of type list

2010-10-15 Thread Henning Hraban Ramm
Since I struggled too long while trying to append items to dDropdownList.Choices: Would you care to add a hint to the docstrings of dControlItemMixin that list properties aren't usable like normal Python lists? Greetlings from Lake Constance! Hraban --- http://www.fiee.net

Re: [dabo-users] properties of type list

2010-10-15 Thread Henning Hraban Ramm
Am 2010-10-15 um 16:32 schrieb Paul McNett: On 10/15/10 7:16 AM, Henning Hraban Ramm wrote: Since I struggled too long while trying to append items to dDropdownList.Choices: Would you care to add a hint to the docstrings of dControlItemMixin that list properties aren't usable like normal

Re: [dabo-users] properties of type list

2010-10-15 Thread Henning Hraban Ramm
Am 2010-10-15 um 17:18 schrieb Ed Leafe: Funny that this point is raised now. I was working on a class that will eliminate this problem, but so far only have append() working. I should have time to finish it this weekend. Nothing happens by chance ;-) Great if it works. Greetlings

[dabo-users] BasePrefKey

2010-10-14 Thread Henning Hraban Ramm
Consider this snippet: app = dabo.dApp() app.BasePrefKey = 'myapp' app.MainFormClass = mainTest app.start() At start the app warns (four times!) that there wasn't a BasePrefKey set and constructs one from the file's path. That would be fine if I hadn't set BasePrefKey

[dabo-users] incomplete API docs

2010-10-14 Thread Henning Hraban Ramm
Is there a reason that some classes aren't in the API docs (e.g. dPref)? Can you change it to include all dabo classes? Or are there other API docs than http://paul.dabodev.com/doc/api/dabodoc/ ? Greetlings from Lake Constance! Hraban --- http://www.fiee.net https://www.cacert.org (I'm an

[dabo-users] i18n / launchpad

2010-10-14 Thread Henning Hraban Ramm
Do you still use launchpad's translations (https://translations.launchpad.net/dabo/)? I don't know what the problem is, but at least the German locale is incomplete (I'm running from SVN trunk), not only with longer docstrings that I didn't care to translate in launchpad yet, but also bits

Re: [dabo-users] incomplete API docs

2010-10-14 Thread Henning Hraban Ramm
Am 2010-10-14 um 16:24 schrieb Paul McNett: On 10/14/10 2:52 AM, Henning Hraban Ramm wrote: Is there a reason that some classes aren't in the API docs (e.g. dPref)? Can you change it to include all dabo classes? They are quto-generated and include all dabo classes it can find. Here's

Re: [dabo-users] BasePrefKey

2010-10-14 Thread Henning Hraban Ramm
Am 2010-10-14 um 14:33 schrieb Ed Leafe: It would be easier to simply pass it when you instantiate the app, then: app = dabo.dApp(BasePrefKey='myapp') Ah, good idea! Didn't think of that. Works great, so that's my way to go. Thank you! Greetlings from Lake Constance! Hraban ---

Re: [dabo-users] custom events

2010-10-13 Thread Henning Hraban Ramm
Here's a minimal example: http://dabo.codepad.org/2uDYsOis - a custom event - two panels - first Panel sends custom event - second Panel can't receive it What's wrong? Greetlings from Lake Constance! Hraban --- http://www.fiee.net https://www.cacert.org (I'm an assurer)

Re: [dabo-users] custom events

2010-10-13 Thread Henning Hraban Ramm
Am 2010-10-13 um 15:30 schrieb Paul McNett: On 10/13/10 2:52 AM, Henning Hraban Ramm wrote: Here's a minimal example: http://dabo.codepad.org/2uDYsOis - a custom event - two panels - first Panel sends custom event - second Panel can't receive it What's wrong? The event gets raised

Re: [dabo-users] custom events

2010-10-13 Thread Henning Hraban Ramm
Am 2010-10-13 um 16:40 schrieb John Fabiani: how about putting in on the wiki Here you are: http://wiki.dabodev.com/Events One could write a lot more, but I don't know too much ;-) E.g. - is there a connection between dabo and wx events? - are dabo events usable for async programming? - how

Re: [dabo-users] custom events

2010-10-13 Thread Henning Hraban Ramm
Am 2010-10-13 um 18:41 schrieb Paul McNett: - how can non-GUI objects work with events? (possibly without inheriting dObject) You'd need to inherit dabo.lib.eventMixin.EventMixin. It is a pretty simple implementation. Yes, I thought so, and that was what I tried first - but EventMixin

[dabo-users] custom events

2010-10-12 Thread Henning Hraban Ramm
I thought I got this right... I subclassed my events from dEvent like this: class OpenFile(dEvents.dEvent): pass and then raise it from a button Hit handler like this: self.raiseEvent(events.OpenFile, filename=self.FileName.Value) Some handler object that inherits from EventMixin

Re: [dabo-users] custom events

2010-10-12 Thread Henning Hraban Ramm
Am 2010-10-12 um 16:24 schrieb Ed Leafe: self.raiseEvent(events.OpenFile, filename=self.FileName.Value) You need to define the appliesToClass() classmethod for your event class. From dEvent.py: ... Look at some of the classes in dEvent.py for examples of how this method

Re: [dabo-users] Cool new interactive Python interpreter

2010-09-21 Thread Henning Hraban Ramm
Am 2010-09-21 um 22:52 schrieb Paul McNett: On 9/21/10 11:59 AM, Ed Leafe wrote: Check out 'bpython': http://bpython-interpreter.org/ Haven't used it, but it sure looks interesting. I use 'ipython' all the time, so if anyone who tries this has also used ipython, I'd be

Re: [dabo-users] Packaging Dabo Apps

2010-08-27 Thread Henning Hraban Ramm
Am 2010-08-27 um 19:27 schrieb Paul McNett: It was trial and error, trial and error, and it consumed many many hours just to get it working on Windows. Then it was many many hours getting it working on Mac. The same for me. Here's a sample of a setup.py that works for me on the Mac and

Re: [dabo-users] PyCon Tutorial - Adding the Billing Grid

2010-08-26 Thread Henning Hraban Ramm
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. The SQLite

Re: [dabo-users] PyCon Tutorial - Adding the Billing Grid

2010-08-26 Thread Henning Hraban Ramm
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,

Re: [dabo-users] PyCon Tutorial - Adding the Billing Grid

2010-08-23 Thread Henning Hraban Ramm
2010/8/23 Monte Milanuk memila...@gmail.com: 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

Re: [dabo-users] Mapping backend types to Dabo types (MsSQL)

2010-08-10 Thread Henning Hraban Ramm
Am 2010-08-10 um 15:49 schrieb Jacek Kałucki: Oh, maybe MySQL adapter does, don't know, I don't use MySQL. This is thread about _MsSQL_, and it doesn't remap types. He used MySQL only as an example. This is a logfile excerpt: DBQueryException encountered in save(): SQL Server message 207,

Re: [dabo-users] Need direction for project

2010-08-09 Thread Henning Hraban Ramm
Am 2010-08-10 um 00:20 schrieb Paul McNett: Or you could review the section in the Pycon tutorial white paper (Ed, what's the URL?) The paper covers way more than we had time to cover in the talk. https://docs.google.com/View?id=dg79jzmg_85f737ww6x linked clearly from

Re: [dabo-users] Dabo on non-English (Japanese) systems

2010-08-05 Thread Henning Hraban Ramm
Am 2010-08-05 um 08:32 schrieb Laurence Anthony: Earlier, Ed wrote in reply to a comment I changed the Windows language setup to English and both Dabo and Dabo Runtime are working. Well, at least that identifies the problem, but it's not a very good solution. Just because Paul and I

Re: [dabo-users] Dabo on non-English (Japanese) systems

2010-08-05 Thread Henning Hraban Ramm
Am 2010-08-05 um 11:35 schrieb Laurence Anthony: Hraban, Minimally copy Dabo's English locale to Japanese. Better help preparing a real Japanese translation at https://translations.launchpad.net/dabo And how do I go about copying Dabo's English locale to Japanese? I looked in the locale

Re: [dabo-users] New to Dabo

2010-07-07 Thread Henning Hraban Ramm
Am 2010-07-07 um 14:19 schrieb Monte Milanuk: Last login: Tue Jul 6 22:10:58 on ttys000 macbook:~ monte$ python Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type help, copyright, credits or license for more information. import MySQLdb

Re: [dabo-users] New to Dabo

2010-07-05 Thread Henning Hraban Ramm
Am 2010-07-05 um 01:55 schrieb Monte Milanuk: New guy here! Welcome! Speaking of questions... as I prepare to download the various bits and pieces necessary for dabo on my computers (PC running Windows Vista, older Macbook upgraded to Snow Leopard 10.6.3) ... I see the runtime binary

Re: [dabo-users] New to Dabo

2010-07-05 Thread Henning Hraban Ramm
Am 2010-07-05 um 17:25 schrieb Monte Milanuk: Getting all the pre-requisites installed and working on Mac OS X seems to be a bit of a chore... dabo requires(recommends?) ReportLab, ReportLab recommends PIL, PIL requires several other image libraries... the status of PIL binaries for

Re: [dabo-users] Change PYcon PagEditRecipes.py to not run test

2010-04-13 Thread Henning Hraban Ramm
Am 2010-04-11 um 14:41 schrieb Andrew Stirling: https://www.cacert.org (I'm an assurer) gave me The site's security certificate is not trusted! That's exactly what I meant with: It's a shame that our root certificate isn't more wide spread Your browser doesn't trust cacert.org or any other

Re: [dabo-users] Change PYcon PagEditRecipes.py to not run test

2010-04-11 Thread Henning Hraban Ramm
Am 2010-04-11 um 00:18 schrieb Paul McNett: No, it is a self-signed certificate[1] is all. You trust me, right? :) Paul [1] Actually, it's a smidgen better: a CACert-signed certificate. Only a smidgen? For a commercial certificate you can fax anyone's passport or just pay. For a CAcert

Re: [dabo-users] zwiki (was: i18n py2app writeup)

2010-02-24 Thread Henning Hraban Ramm
Am 2010-02-24 um 14:20 schrieb Ed Leafe: On Feb 24, 2010, at 8:05 AM, Henning Hraban Ramm wrote: (BTW: I found zwiki's markup abilities really annoying, I guess yours is an old version, since it doesn't understand ReST...) Really? http://zwiki.org/RestructuredText I'm used to write

Re: [dabo-users] cdxml vs. coding

2010-01-21 Thread Henning Hraban Ramm
I code everything Python by hand and just don't like GUI tools for development work – at the moment I'm working on a Delphi application for a customer, and I hate it ;-) I get accustomed to Delphi's GUI tools, though, but often switch to the code view of forms, e.g. I can use search replace

Re: [dabo-users] Warning Python noob needs help

2010-01-05 Thread Henning Hraban Ramm
You finally figured out Python's string formatting, but not completely: Record successfully saved.\nYour new DC number is DC10-%03d % stringID See also http://docs.python.org/library/stdtypes.html#string-formatting Greetlings from Lake Constance! Hraban --- http://www.fiee.net

Re: [dabo-users] Are many projects (commercial ) created using dabo?

2010-01-05 Thread Henning Hraban Ramm
Am 2010-01-04 um 20:31 schrieb Nate Lowrie: I have found that using dabo for the administration of a website built in whatever you want is much faster than building the admin interface on the web. Seems like you never tried django? Its batteries included admin app is just great and a big

Re: [dabo-users] Choice of Database (was: Design Question)

2009-09-15 Thread Henning Hraban Ramm
Am 2009-09-15 um 01:41 schrieb Adrian Klaver: For version 8.4 it is not a requirement that it run under C locale. See section 22.2.2. Setting the Character Set for some examples. The LC_CTYPE and LC_COLLATE can be set for each database. You are correct that for 8.3- the LC_CTYPE is

Re: [dabo-users] Choice of Database (was: Design Question)

2009-09-14 Thread Henning Hraban Ramm
Am 2009-09-13 um 22:07 schrieb John: I've a lot of experience with MySQL and a bit with SQLite. After all the praise for PostgreSQL on this list I tried to use it when I recently set up a new webserver. After searching the docs and the Internets for a while I had to conclude that

Re: [dabo-users] Choice of Database (was: Design Question)

2009-09-13 Thread Henning Hraban Ramm
Am 2009-09-12 um 21:08 schrieb Jeff Johnson: I would like to express an opinion regarding MSSql vs. PostgreSQL just in case someone might be interested. I created two databases based on an actual MSSql database that I will be pulling from in production. One in MSSql and one in

Re: [dabo-users] will this work for a Mac?

2009-08-10 Thread Henning Hraban Ramm
Am 2009-08-09 um 16:00 schrieb John: I created a pth file to point to the uno.py folder and it works for me. That will be my suggestion to the reader instead of helping them find the file. I suggest to pop up a dialog asking Where is OpenOffice.app? if you can't find it in

Re: [dabo-users] Complete Applications

2009-06-28 Thread Henning Hraban Ramm
Am 2009-06-28 um 15:18 schrieb Nate Lowrie: I know that almost all of my completed applications are proprietary stuff I did for my former employer. I think that Paul's and John's stuff is mostly they same. I will try to get some open source stuff up soon. I know that Ed wrote an open

Re: [dabo-users] Drag'n'drop on a dGrid

2008-12-03 Thread Henning Hraban Ramm
Am 2008-12-03 um 04:35 schrieb Ed Leafe: OK, I've just committed a change to the code that handles DroppedFileHandler and DroppedTextHandler for grids. Grab the latest SVN trunk and let me know how it works for you. That works now, thank you very much! Greetlings from Lake Constance!

Re: [dabo-users] Drag'n'drop on a dGrid

2008-12-02 Thread Henning Hraban Ramm
Am 2008-12-01 um 23:35 schrieb Ed Leafe: Another DnD problem: I'd like my dGrid to receive dropped files, but neither implementing processDroppedFiles nor setting DroppedFileHandler does anything. Any idea, what I could try? I'm betting that this is because the grid is not a single

Re: [dabo-users] Drag'n'drop on a dApp

2008-12-01 Thread Henning Hraban Ramm
Am 2008-11-30 um 18:02 schrieb Ed Leafe: Sorry, can't try at the moment, I'm on the run... ;-) Will try it probably on monday. Cool; no rush. Just let me know if it works for you. in uiApp def MacReopenApp(self, filename=None, *args, **kwargs):

[dabo-users] Drag'n'drop on a dGrid

2008-12-01 Thread Henning Hraban Ramm
Another DnD problem: I'd like my dGrid to receive dropped files, but neither implementing processDroppedFiles nor setting DroppedFileHandler does anything. Any idea, what I could try? Greetlings from Lake Constance! Hraban --- http://www.fiee.net https://www.cacert.org (I'm an assurer)

Re: [dabo-users] Drag'n'drop on a dApp

2008-11-30 Thread Henning Hraban Ramm
Am 2008-11-30 um 01:13 schrieb Ed Leafe: OK, I did some reading on what MacOpenFile is, and it's a bound method of wx.App, so of course you can't simply assign it like that. What I'll have to do is write some code to pass the wx.App event to a dApp handler. This might take a few minutes,

Re: [dabo-users] Drag'n'drop on a dApp

2008-11-30 Thread Henning Hraban Ramm
Am 2008-11-30 um 16:55 schrieb Ed Leafe: I'd suggest to implement those four methods in dabo's wx-uiApp and provide a hook in dApp - probably in a unified way, that works also with Windows and GTK. (If Windows or GTK provide something similar at all.) Good suggestion - that's what I

[dabo-users] Drag'n'drop on a dApp

2008-11-29 Thread Henning Hraban Ramm
Hi there, I'd like to make my dabo application a drop target for files i.e. 1. DnD on the icon 2. DnD on the main window For 1 I'd need to implement wx.App.MacOpenFile; but a dApp is no wx.App. Where must I stuff that method, or is there a better dabo way? For 2 I've no clue, any documentation

Re: [dabo-users] Drag'n'drop on a dApp

2008-11-29 Thread Henning Hraban Ramm
Am 2008-11-29 um 19:06 schrieb Ed Leafe: I'd like to make my dabo application a drop target for files i.e. 1. DnD on the icon 2. DnD on the main window The main window is simple enough: set the window's DroppedFileHandler property to the object that will handle the dropped files, and

Re: [dabo-users] Drag'n'drop on a dApp

2008-11-29 Thread Henning Hraban Ramm
Am 2008-11-29 um 19:39 schrieb Ed Leafe: For DnD on the icon I need to implement MacOpenFile within wx.App, as I wrote; wx's event loop (or whatever) cares for the OpenFile apple event. I tried monkey patching wx.App via uiApp, but I run into the same problem as John: uiApp should be

Re: [dabo-users] Drag'n'drop on a dApp

2008-11-29 Thread Henning Hraban Ramm
Am 2008-11-29 um 22:26 schrieb Ed Leafe: There really is no hook for this point of the app creation code. I think it would be a good idea to add an afterSetup() hook method to dApp, which would be called after the UI has been initialized. Let me play with it a little bit, and I should

Re: [dabo-users] Dabo: first questions

2008-10-27 Thread Henning Hraban Ramm
Am 2008-10-27 um 22:04 schrieb Emanuele Gesuato: Is it possible to use dabo without the ide you provided ? Of course, it's just Python. Greetlings from Lake Constance! Hraban --- http://www.fiee.net https://www.cacert.org (I'm an assurer) ___

Re: [dabo-users] Progress Dialog for long running tasks

2008-10-20 Thread Henning Hraban Ramm
Am 2008-10-20 um 16:15 schrieb Nate Lowrie: I have done this several times. The most important thing that I can say is in your thread which is running the long task, never have any lines of code that set the properties of UI widgets. You will get a strange error if you try to set them outside

Re: [dabo-users] dApp.DatabaseActivityLog and non-ASCII database content

2008-10-02 Thread Henning Hraban Ramm
Am 2008-10-02 um 18:21 schrieb Sibylle Koczian: Without the line app.DatabaseActivityLog = sys.stdout the application works as expected, field content with non-ASCII characters is saved normally. On the one hand I should have thought of this, because sys.stdout.write(u'äöü') raises the

Re: [dabo-users] A new Dabo meaning

2008-10-01 Thread Henning Hraban Ramm
Am 2008-09-30 um 21:53 schrieb Henning Hraban Ramm: But a quick look gives some more Dabos. You should add any that are missing to: http://dabodev.com/wiki/DaboDefined I'd like to, but I found no way to edit or register/login. Ed provided me with a login, so I enhanced the list a bit

Re: [dabo-users] A new Dabo meaning

2008-09-30 Thread Henning Hraban Ramm
Am 2008-09-30 um 16:21 schrieb Ed Leafe: The word's more popular than ever! Here's one I've never seen before: http://www.ifish.net/board/showthread.php?t=217205 Yes, Dabo is good (even if you strive for greatness, it's still good). But a quick look gives some more Dabos. Most

Re: [dabo-users] treeFromStructure()

2008-09-30 Thread Henning Hraban Ramm
Am 2008-10-01 um 00:45 schrieb Mike Mabey: return _controls_.TreeCtrl_DeleteAllItems(*args, **kwargs) TypeError: in method 'TreeCtrl_DeleteAllItems', expected argument 1 of type 'wxPyTreeCtrl *' I don't know if I'm just not using treeFromStructure correctly, or if there's something

Re: [dabo-users] Manually entered PK: records not saved

2008-09-24 Thread Henning Hraban Ramm
Am 2008-09-24 um 19:49 schrieb Paul McNett: No, the biz shouldn't be aware of the ui at all. If it were me, I'd keep the PK invisible from the UI (and keep it meaningless), and just define another field for the abbreviation field that may well be unique but isn't *the* pk. Just to add

Re: [dabo-users] Curious to use dabo with twisted

2008-09-19 Thread Henning Hraban Ramm
Am 2008-09-17 um 02:18 schrieb Stephen Waterbury: Henning Hraban Ramm wrote: Am 2008-09-15 um 06:05 schrieb Stephen Waterbury: I would counsel against using wxreactor as it is broken[1], and the twisted developers are disinclined to try to fix it. I can't find any answer to your bug report

Re: [dabo-users] Curious to use dabo with twisted

2008-09-16 Thread Henning Hraban Ramm
Am 2008-09-15 um 06:05 schrieb Stephen Waterbury: I would counsel against using wxreactor as it is broken[1], and the twisted developers are disinclined to try to fix it. I can't find any answer to your bug report - what makes you think they won't fix it - if it's a bug at all and not only a

Re: [dabo-users] RegID problem

2008-08-27 Thread Henning Hraban Ramm
Am 2008-08-27 um 18:26 schrieb Ed Leafe: On Aug 26, 2008, at 5:13 PM, Henning Hraban Ramm wrote: Hello, please, if you implement something in this direction, think about switching to standard logging - you can direct that to anything. You will be pleased to find that the new debug

Re: [dabo-users] RegID problem

2008-08-26 Thread Henning Hraban Ramm
Am 2008-08-26 um 22:38 schrieb Ed Leafe: On Aug 26, 2008, at 2:41 PM, johnf wrote: Please may sure I can turn off the output to the GUI. I like the fact that tracebacks and print statement are directed to standard out. There would be no output by the framework. It would be for

Re: [dabo-users] Making an OS X App

2008-07-01 Thread Henning Hraban Ramm
Here's a sample setup.py from one of my projects. Never tested the windows part: #!/usr/bin/env python # -*- coding: utf-8 -*- Setup settings for TerraTool Usage (MacOS X): python setup.py py2app Usage (Windows): python setup.py py2exe import ez_setup ez_setup.use_setuptools()

Re: [dabo-users] Bug? ClassDesigner doesn't exit

2008-04-09 Thread Henning Hraban Ramm
Am 2008-04-09 um 19:53 schrieb Ed Leafe: Started class designer from CMD in W2k. Working on a panel class project. Saved it. Hit the X in the upper right on the 3 windows. The windows go away, but the prompt in the shell (CMD) never returns. Task manager shows python still running. Hitting

Re: [dabo-users] Pass through SQL

2008-02-12 Thread Henning Hraban Ramm
Am 2008-02-11 um 01:45 schrieb Adrian Klaver: Actually we are both correct. It does come in the binary distributions but not when you compile from source (probably not an issue for most folks) which is what tripped me up. If you compile Python from source you have to provide several

[dabo-users] i18n suggestion

2008-01-21 Thread Henning Hraban Ramm
There was a discussion about i18n in dabo more than once... I just came across a library that might help (and remove the need to cope with that strange gettext tools): http://babel.edgewall.org (I didn't try it yet. Its target are web apps, but it has no dependencies other than pytz.)

Re: [dabo-users] Standalone dabo games not running

2007-12-04 Thread Henning Hraban Ramm
def _openDialog(self,evt): # need to receive the evt (in this case a click or Hit) evt.stop() theDialog=dabo.ui.dFileDialog(self) theDialog.show() if sys.platform == 'win32': myseperator

Re: [dabo-users] Standalone dabo games not running

2007-12-02 Thread Henning Hraban Ramm
Am 2007-12-01 um 20:40 schrieb johnf: Let's get started. ... A grid sizer is a spreadsheet where I set the column size and the number of columns a control can span. Will you put all that explanatory text in the Wiki? I like it. You could compare the grid sizer to a HTML table rather than

Re: [dabo-users] SecurityManager and py2app

2007-09-29 Thread Henning Hraban Ramm
Am 2007-09-28 um 17:45 schrieb Paul McNett: You should include dabo.icons as there are lots of icons in there that will likely get used on your toolbars, etc. While you don't need the dabo icon itself if you don't use it, it wouldn't add too much to your overhead to just include it if that's

Re: [dabo-users] SecurityManager and py2app

2007-09-29 Thread Henning Hraban Ramm
Am 2007-09-29 um 22:09 schrieb Paul McNett: Henning Hraban Ramm wrote: My small* app doesn't need any toolbars or other icons. Of course I tried to include the icons, but I didn't manage to find the right path for them - can't stuff them into the site- packages.zip. Just import dabo.icons

Re: [dabo-users] SecurityManager and py2app (was: No translation file found)

2007-09-28 Thread Henning Hraban Ramm
Traceback (most recent call last): File /Users/user/Documents/workspace/akzent.maus.info/non-web/dist/edNet Exporter.app/Contents/Resources/__boot__.py, line 137, in module _run('exporter.py') File /Users/user/Documents/workspace/akzent.maus.info/non-web/dist/edNet

Re: [dabo-users] No translation file found

2007-09-28 Thread Henning Hraban Ramm
My py2app data_files use the locales: localeDir = os.path.join(os.path.split(dabo.__file__)[0], 'locale') locales = [ ('dabo.locale', ( os.path.join(localeDir, 'dabo.pot'), ) ), ('dabo.locale/de/LC_MESSAGES', (os.path.join(localeDir, 'de', 'LC_MESSAGES', 'dabo.mo'),)),

[dabo-users] No translation file found

2007-09-28 Thread Henning Hraban Ramm
Hi there, following the advice Paul gave to Simen I tried to get my application running again, but had no sucess yet. File dabo/__init__.pyc, line 128, in module File dabo/dLocalize.pyc, line 53, in install File dabo/dLocalize.pyc, line 73, in setLanguage File gettext.pyc, line 469, in

Re: [dabo-users] Python Version Survey

2007-09-07 Thread Henning Hraban Ramm
2007/9/6, Henning Hraban Ramm [EMAIL PROTECTED]: I'm using still Python 2.4.4 because it works for me - pure laziness to upgrade all those modules. I know why I hesitated: There's still no pre-built MySQLdb for Python 2.5 on OS X. Just trying to build it myself, but since you need the MySQL

Re: [dabo-users] Python Version Survey

2007-09-06 Thread Henning Hraban Ramm
Am 2007-09-06 um 19:04 schrieb Ed Leafe: Just an informal survey: how many people out there are using Python versions *earlier* than 2.5? And out of those, how many would not be able to upgrade, or would not want to upgrade? Please explain why upgrading would not be possible/desirable.

Re: [dabo-users] dabo as fat-client for a web service?

2007-08-17 Thread Henning Hraban Ramm
ARGL, I should spellcheck my postings... 2007/8/17, Henning Hraban Ramm [EMAIL PROTECTED]: I'm using a dabo client successfully with a webclient: We've an editorial content management system as a web app. The client pulls the articles, formats them as InDesign tagged text (event calendar

Re: [dabo-users] dabo as fat-client for a web service?

2007-08-17 Thread Henning Hraban Ramm
So... Dabo is pure GUI. Do you use the dApp object? Do you subclass and instantiate Dabo's UI classes or just instantiate and use? I use subclasses of dApp, dSecurityManager, and several UI classes, and only a few original UI classes (I often sublass even for single use, because I find it more

  1   2   >