Hello Uwe,
/So which version of Python, kinterbasdb, Dabo, wxPython are you using?
What connection parameters did you specify in the Connection Editor?
/
I use those versions:
- python 2.5.4 on win32
- wxPython2.8-win32-unicode-2.8.9.1-py25
- Dabo Version: Version 0.9.2; Revision ~5568
- UI Version: 2.8.10.1 on wxMSW
- kinterbasdb-3.2.win32-FB-2.0-py2.5
- Firebird-2.0.1.12855-1-Win32.exe *or*
- Firebird-2.1.2.18118_0_Win32
I made a small Python program to connect to a Firebird DB 2.1, that
did not work.
The same program with the Firebird 2.0 was working.
After some search in internet I used a pa*t*ch for the kinterbasdb
__init__.py, which solved the problem with Firebird 2.1.
For test with the Connection Editor, I used those for example:
Database Type Firebird
Host localhost
Port 3050
Database e:/fbver/fbver.fdb
Username sysdba
Password masterkey
*or as shown in the Step-By-Step Guide to Dabo Programming*
Database Type Firebird
Host dabodev.com
Port 3050
Database daboconsult
Username dabotutorial
Password tutorial
If you can make a test with the connection to the host dabodev.com
as comparison ...
When I use the Connection Editor with the database type Firebird,
it crashes, whatever I set into the entry fields.
Regarding the use of Boa or Komodo, I want to integrate program parts
from DABO with program modules designed by Boa, I think, it should
work.
Do you use DABO in bigger applications and do you work often with that
framework ?
If the Firebird connection works with your equipement, that would give
me some hope, bacause I need the Firebird in my applications.
Best regards, freundliche Grüße
Peter
Uwe Grauer schrieb:
> Peter Panczyk wrote:
>
>> Hi,
>>
>> I'm completely new in Dabo and try to evaluate, if can can use this
>> promising framework.
>>
>> Right now I have 2 problems:
>>
>> 1) when I try to connect to a local or server Firebird DB with
>> the Connection Editor (as well as Class Designer) the program
>> is crashing, no error message etc.
>> When I connect to the MySQL DB at dabodev.com, it works fine.
>>
>> The kinterbasedb is available and working correct on FireBird 2.0
>> and after pathing also with FireBird 2.1.
>>
>> 2) When I test with the connection editor and the program daboconsult,
>> I can run the program within the connection editor.
>> But when I run the program from the command line or with Boa Constructor
>> or with Komodo, I get an error message:
>>
>> File "C:\Programme\Dabo
>> Runtime\ide\wizards\AppWizard\daboconsult\ui\FrmMain.py", line 23, in
>> fillFileOpenMenu
>> fileMenu.prependMenu(MenFileOpen(fileMenu))
>> AttributeError: 'NoneType' object has no attribute 'prependMenu'
>>
>> where the code is:
>>
>> def fillFileOpenMenu(self):
>> """Add the File|Open menu, with menu items for opening each form."""
>> app = self.Application
>> fileMenu = self.MenuBar.getMenu("File")
>> fileMenu.prependMenu(MenFileOpen(fileMenu))
>>
>> Would be happy, if I could pass these starting problems.
>>
>>
>> /*Peter Panczyk*/
>> f+p datensysteme gmbh
>>
>
> Welcome Peter,
>
> I might be able to help with your connection errors to Firebird if you
> give more infos on your used versions.
> So which version of Python, kinterbasdb, Dabo, wxPython are you using?
> What connection parameters did you specify in the Connection Editor?
>
> I do not understand what you mean with the following:
>
>>> The kinterbasedb is available and working correct on FireBird 2.0
>>> and after pathing also with FireBird 2.1.
>>>
> What do you mean with "after pathing"?
>
> Please do not run Dabo programs from within Komodo or Boa because some
> IDEs can change the environment in a way which could prevent Dabo from
> normal function.
>
> I also don't know anything about the program daboconsult.
> Do you use the Runtime version of Dabo?
> I think the runtime doesn't use any localy installed kinterbasdb module.
> How did you test if kinterbasdb is working within the Dabo runtime?
>
> Uwe
> _______________________________________________
> Post Messages to: [email protected]
> Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
> Searchable Archives: http://leafe.com/archives/search/dabo-users
> This message: http://leafe.com/archives/byMID/[email protected]
>
>
>
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]