Forum > Designer
Fields Editor hangs
Roald:
Hi there
I am having some problems with creating fields for database queries, using the fields editor. The editor comes up just fine, but when I select either add-all-fields option or the create-new-field, the editor hangs. Well, in fact the whole of Lazarus hangs. The problem is the same independent of whether there are any fields already defined or not.
I have tried the "standard" component library, and Zeos. Same thing happens.
Lazarus version: 3.6 (same problem existing before upgrading from 2.6)
FP version: 3.2.2
Database: Postgresql v.16.3
Platform: OpenSuse Thumbleweed 20240905
The problem has been existing through some Postgresql versions and Thumbleweed versions. I assumed (or hoped) that it was a Laz.2.6. problem, so I chose to wait until I upgraded before attacking it. But, alas, all new versions didn't help.
This has been working before, and I suspect that there is something messing up things in on or more of the configuration files. But, as you know, starting the whole configuration from scratch is a hazzle. So, I would like to check if anyone has seen this problem and found a solution.
Ps.: Yes, I have googled, and browsed the forums. I didn't find anything relevant. If there is an obvious solution readily available, please feel free to rub it in my face, but only if you direct me to a solution :D
ginoo:
zeos works fine for me. Try to find out what is wrong with your installation
Roald:
--- Quote from: ginoo on November 04, 2024, 07:40:43 am ---zeos works fine for me. Try to find out what is wrong with your installation
--- End quote ---
Oh, I hadn't though of trying to find out what is wrong. Thank you for that amazing suggestion. No, wait! Of course I have!!!
And, as should be clear from my problem description: The problem is not Zeos (since it also occurs with the standard database components).
marcov:
Does it show database content at all ? Maybe the IDE is not looking for the right DB name. IIRC that is configurable in the params of the zconnection?
(btw windows trunk/trunk with ZEOS7 and postgresql works fine here)
If it does show some database content, it is probably an instability in the graphical libraries of that distro.
Roald:
Yes, everything else database related works just fine. Well, at least those things that I need and have tested.
If I manually add the fields by editing the .pas and the .lfm files, the fields will show up in the Fields Editor and in the component list. And, last but not least, data is handled as normal.
I also have considered that it is related to the distro and/or the graphics libraries. In particular since it worked before, and Thumbleweed updates are, well, not always stable.
I just wanted to check if this is a problem other users have experienced. Running new distro upgrade is next on the list.
Navigation
[0] Message Index
[#] Next page