GNUe Traffic #39 For 27 Jul 2002
By Peter Sullivan
"we don't have many 7-11s up here" - "no 7/11 means no super squishies" -
"we're not at all interested in your private life"
Table Of Contents
* Standard Format
* Text Format
* XML Source
* Introduction
* Threads Covered
1. 17 Jul 2002 Query toolbar icons bug with multiple
Forms
2. 17 Jul 2002 - 19 Jul 2002 Technical Notes for GNUe
3. 17 Jul 2002 Contact and Donor Management
application for FSF
4. 18 Jul 2002 - 23 Jul 2002 (4 Response speed/time-out problem with
posts) Application Server
5. 18 Jul 2002 - 22 Jul 2002 Event handling for scroll bar widget
6. 18 Jul 2002 xml2sql for Firebird/Interbase
7. 18 Jul 2002 - 23 Jul 2002 GNUe Designer plug-in support
8. 21 Jul 2002 Possible methods to add to GNUe
Application Server
9. 21 Jul 2002 Overview of GNUe Tools on Windows 2000
10. 21 Jul 2002 Current status of acclite/NOLA
11. 22 Jul 2002 Using schema creation tools to set up
GNUe Applications
12. 22 Jul 2002 Background colours and images for
Forms
13. 22 Jul 2002 Application Server package in Debian
3.0 (woody) depreciated
14. 23 Jul 2002 GNU Enterprise overview
15. 23 Jul 2002 Using Forms as an alternative
front-end for gnumed
16. 23 Jul 2002 Problems with php globals off in DCL
17. 23 Jul 2002 GNUe and DCL in eWeek
Introduction
This Cousin covers the three main mailing lists for the GNU Enterprise project,
gnue (http://mail.gnu.org/mailman/listinfo/gnue) , gnue-dev (http://
mail.gnu.org/mailman/listinfo/gnue-dev) and gnue-announce (http://mail.gnu.org/
mailman/listinfo/gnue-announce) . It also covers the #gnuenterprise IRC
channel. A great deal of development discussion for this project goes on in
IRC. You can find #gnuenterprise on irc.openprojects.net:6667, or you can
review the logs (http://www.gnuenterprise.org/irc-logs/) . For more information
about the GNU Enterprise project, see their home page at http://
www.gnuenterprise.org (http://www.gnuenterprise.org) .
1. Query toolbar icons bug with multiple Forms
17 Jul 2002 Archive Link: "[IRC] 18 Jul 2002"
Topics: Forms
People: Dmitry Sorokin, James Thompson, ra3vat
Dmitry Sorokin (ra3vat) reported a problem with multiple Forms open at once -
"i did five forms instead of 5 pages in one tabbled - "connected" them with
navigator - now if I open one, get all rows with F8,F9, then open another
(first one still exist), query in second is not working" . James Thompson
(jamest) said he had observed the same behaviour - "what I found is that
multiple forms opened in navigator link the toolbar to the first form - the
keyboard should do the right thing" . He confirmed this was a bug rather than a
feature.
2. Technical Notes for GNUe
17 Jul 2002 - 19 Jul 2002 Archive Link: "[IRC] 18 Jul 2002"
People: Jason Cater, Derek Neighbors, Peter Sullivan, Nick Rusnov
Jason Cater (jcater) reported "we have a basic technotes system in each of the
modules - read */doc/technotes/00000.txt for more information or */doc/
technotes/index.txt for a listing of technotes (which are few and far between
at the moment)" . Derek Neighbors (dneighbo) wondered "should we make these
reallly really basic xml?" - "so you can make a nice index" . Jason said he had
"have a script that does that - it'd be trivial to do an html converter if need
be" . He emphasised that these technotes were not ""Docs" in traditional sense"
- just technical notes for developers.
Some days later (http://www.gnuenterprise.org/irc-logs/
gnue-public.log.20Jul2002) , Peter Sullivan (psu) asked "do you think that your
new tech notes could/should form the basis for the developer docs section on
website" ? Jason felt "it could be a big part. My thought process on the tech
notes: it takes time for us to open up tech references using XXXX editor,
figure out where something we're working on internally should go (or even if it
should), and then work it into the existing structure - but I can whip up a
tech note on something i am doing in 5 min or less which can later be put in to
the tech reference properly. /me sees technotes used a lot. Plus we could put
really internal stuff in there that probably has no business in a tech
reference" . He preferred not to use XML for these, as "simplicity is the key
here - i.e., literally whip up a technote in 5-10 min while still fresh in your
mind" .
Nick Rusnov (nickr) suggested "just use [] for section headings, ** for bold,
__ for undeline, plain ascii all the way. :)" Derek said he would prefer either
"a. its raw text with NO rules to formatting - b. if youhave formatting rules
you do it with xml" Nick said he was "proposing a tool that simply eases typing
xml - not a replacement format" . He would "write a demonstration program for
you, because you're so annoying and ornery" - "I'm going to write it in perl
because it'll take 5 minutes in perl because thats WHAT PERL DOES" . Jason said
"I had intended on a) - I see NO need for formatting in technotes" .
3. Contact and Donor Management application for FSF
17 Jul 2002 Archive Link: "[IRC] 18 Jul 2002"
Topics: Why GNUe?, Customer Relations, DCL
People: Bradley Kuhn, Jason Cater, Derek Neighbors
Bradley Kuhn (bkuhn) said the Free Software Federation (FSF) was "getting close
to really needing some hacker talent to build a functional contact and donor
management system" . They hoped to "make something other non-profits could find
useful." Jason Cater (jcater) noted thta Derek Neighbors had been "working on
such a beast" . He himself had been "writing a Rental Property management app
using our tools - and it is a piece of cake - the biggest problem I have is
defining exactly what I want" . He would release this as a GNUe application -
"if not official gnue, at least "endorsed" and free :)" . Bradley said "cool.
It would be good to see some apps out there that use the tools." Jason agreed -
"that's our biggest problem - Both jamest and I (we're the main forms, reports,
and designer coders) use GNUe extensively at work - so we know what it can do -
but until we get some real-world apps out it's hard to explain to people
exactly what we are capable of" .
Bradley asked "BTW, your forms library can have multiple interface generators
right?" Jason confirmed this - "GTK / Win32 is well supported - Curses / KDE /
HTML started, but not completed" , adding "at this stage, we are really
need-driven - so if there's a need, it gets coded - (we consider FSF a "need"
:)" .
Bradley said that the FSF had already "done a data analysis. RMS is pushing us
to do a simple hack so that we don't need to spend much staff time on it, which
would be sad, because I know the GNUe stuff could get us something really nice.
So my hope is to find volunteers who can help so we can spend minimal staff
time, and get something nice for FSF and the world -- instead of something
"barely adequate" for just FSF." Jason said "In all honesty, using GNUe would
probably be even quicker than a quick hack - the trouble is getting ppl started
on it" . Bradley agreed - "Any suggestions to get people started? What can FSF
do to spur things on?" Jason said his view was "we should do one or two USABLE
and USEFUL screens that you could start using right away - this would
accomplish several things: 1. Show that GNUe is capable of what you need - 2.
Get your users acquanted (and get feedback - positive or negative - from their
viewpoint) 3. Give your staff (if they are going to help us do your project)
example forms to work from" .
Bradley said one major issue would be importing and merging the data - "we have
existing data in a really shitty format that is big. To make the system useful
right off, it needs to have the imported data." This was "a big text file that
is transaction, not "contact" oriented. So, if you bought things /donated from
FSF twice in the last five years, we'd have you in twice, likely with slightly
different entries." He might be able to get some sample data, "although I have
to check that my script that removes sensative data works without fail." At the
moment, the data was maintained in "A hacked together Emacs Lisp application."
He expected that "The import process would have to be user directed." but "If
we can get to the point where we have a good table layout, we could do that in
house" - "asking the user: "Are these two transactions actually refering to the
same person?"" .
Later, Derek (dnieghbo) confirmed "i have the spec just havent had time" -
based on other feedback, he had "put a little on back burner until i could talk
to brad and got busy and didnt" . He did not have a problem with working to
deadlines, but was more concerned about starting from the data elements -
"thats how a hacker does it - im a business analyst - i want to talk to the
users" . Bradley said this was not a problem - "however, we don't have a ton of
time for needs analysis" and a good deal of work had already been done
internally on this. Derek said he had already had some discussions, "and some
of the needs weren't full developed (i.e. the questioning needed to go further)
" . Bradley said "I really invision doing something that can do some basic
things, and then improving over time with more needs analysis, user wishlist s,
etc." Derek agreed - "basic contact data - then build more" .
However, his contacts at FSF had been talking about much more complex data
analysis - "i.e. pulling up a company and trying to view the employees of that
company - by region - by name - and how important was it to manage 'companies'
as well as 'people'" . Bradley agreed - "one of the biggest things Ravi needs
is being able to tell the difference between "This company donates, and this is
our contact there" vs. "this person donates, and they happen to work at a
company" - right now, we have no clue to tell the difference" and they really
needed to be able to do both. Derek said he had already mocked up some possible
data layouts "working with postgres with the DCL contact data (iirc)" . He
suggested "i am thinking maybe i just get the data spec completely done" and
reviewed by the end users - "then perhaps you all could provide me with a copy
of the existing data store - and i can work on pushing the data into it (unless
you all would rather do that) - but im thinking just looking at the data and
attempting to map it on even conceptional level will give me MUCH greater
insight as to what you are tracking and will prompt me with LOTS of questoins
for" end users about how they would expect to handle different business
scenarios. Bradley agreed, but said "we do need a way for a user-directed data
cleanup" and "we don't want to focus too much on what we are tracking now,
becaues our whole current tracking doesn't work for what the organization needs
to be doing. We have an opportunity to do it right from scratch, becaues there
is really NOTHING there now. Just a big honking text file."
Derek also asked if the application could cover "copyright assignment's too" ,
to register details of copyright assignments by coders to FSF for GNU projects
(including GNU Enterprise). He had "been using dcl for it and its MUCH nicer
for me to bug poor youmans :) - but all the time i get asked does so and so
have assignment - and i woudl love to fire up an ssh tunnel to a db - and open
the fsf contact manager and tell them in like 10 seconds :)" . Bradley said
"actually, our GPL Compliance guy has a system that will grok copryight.list
into an SQL databse." He had some "security concerns with merging these two
databases. We have anonymous donors, etc." Derek said that "RBAC = Role Based
Access Control" should handle that, but Bradley was not fully convinced.
However, he noted "we just need to get a donor managment system running first.
;)" Derek agreed - it was more a personal convenience issue that he did not
always have access to his ssh keys to the FSF machine with the project's
copyright.list file.
4. Response speed/time-out problem with Application Server
18 Jul 2002 - 23 Jul 2002 (4 posts) Archive Link: "Error 110 testing appserver"
Topics: Application Server, Common
People: Vitor Figueiro, Jan Ischebeck, Reinhard M?ller, Arturas Kriukovas
Vitor Figueiro reported a problem "While testing appserver" . It was "Unable to
load locale information falling back to default English" and then saying
"Error: (110, 'Connection timed out')" . Jan Ischebeck said this "seems to have
something todo with your database setting, you should check if connection.conf
is holding the correct values. You need a [gnue] database def. in there. The
error message you got, should be changing to a better one, because I've fixed
the OnErr function in cvs." He had tried to reproduce the error on his machine,
but could not. He suggested "this is a RPC problem so you possibly want to try
the pw-xmlrpc adapter instead. You can activate it with gacvs -Z --rpc-type
pw_xmlrpc." . Vitor reported "that a client connection is always successfull at
the second attempt" which suggested that it was genuine response speed time
out. "The same happens when I run appservertest.gfd from a Windows client
connected to the same server. It only works when I call the form for the 2nd
time without shutting down the server" .
On IRC (http://www.gnuenterprise.org/irc-logs/gnue-public.log.19Jul2002) ,
Reinhard M?ller (reinhard) asked Arturas Kriukovas (Arturas) to have a look,
"as it seems to have something to do with encoding" . Jan Ischebeck (siesel)
said that "Although the error on the mailing list has nothing to do with
encoding (its seems to be a database problem) there is an other error in
combination with encodings. Because appserver isn't using an config file there
is no way to get it working with a "encoding = gConfig('encoding')" line. It
should be changed back to "encoding = connectData['encoding']"." Arturas said
"as far as i saw, connectData['encoding'] raised exception because it was empty
or not defined and database encoding was not set" . He would "add aditional
checking if connectData['encoding'] is defined and if not will read it's value
from config file - is this ok?" Jan said "there seems to be a check, if its not
defined (except KeyError) and if its wrong or empty (except
self._databaseError), possibly one of the error handlers has problems :)" He
updated CVS with a quick fix the problem, "but if you could look at it later
and possibly improve it, that would be great."
5. Event handling for scroll bar widget
18 Jul 2002 - 22 Jul 2002 Archive Link: "[IRC] 19 Jul 2002"
Topics: Forms
People: Marcos Dione, Jason Cater
Further to Issue #38, Section #6 (11 Jul 2002: Scrollbars and their events) ,
Marcos Dione (StyXman) queried why he had to "declare a default behaviour" in
GFInstance, "but then I override it in gfsb" . He wondered "if I do
self._eventHandler (event) in the wx's event handler, am I not skipping the
whole event mechanism?" Jason Cater (jcater) "thinks GFInstance provides the
handler - not the default handler" . Marcos said that his wx scrollbar widget
was "so specific that I'm rather reluctant to put it in gfinstance..." It would
"scroll the 'current;' datasource - where current is the datasource associated
to the block in which the sb is declared." Jason thought this sounded fine.
Marcos said that, ideally, "I would put a dummy behaviour in gfinstance and the
real behaviour in GFsb - because I prefer to keep the ui/gf relation tight -
but, it's your design."
Some days later (http://www.gnuenterprise.org/irc-logs/
gnue-public.log.23Jul2002) , Marcos said he still did not feel comfortable
putting the behaviour for a scrollbar "in the gfinstance 'multpiplexor'..."
rather than the GFScrollBar module. Jason explained "you need a single
controller monitoring behavior - it's next to impossible to keep track of the
"current" scrollbar and catch it's GFEvents exclusively - i.e., if you have all
GFScrollBars listen in on the events then you have to distinguish which one
should actually respond" . Marcos said he "thought there was a link between the
uiobj and the gfobl, and that way the behaviour could go directly in the gfobj
- and I have some problems cause I think I'll get some circular event
launching. The behaviout I want to give to the sb is to scroll the current
block datasource. So, when the 'cursor' of the datasource changes, the sb
should change, and vice versa..." Jason agreed - "that's why I think you can't
do it within the GFScrollbar code - or you at least have to multiplex the
request through GFInstance. The GFDisplayHandler uses the multiplexing route.
So, there are two things you can do: 1) Have GFInstance handle it all (easiest)
- 2) Have GFInstance listen for the requestSCROLLBAR event and then determines
which scrollbar/datasource is the current one, and directly call a method of
this scrollbar which then handles the logic." Either way, "you really can't
have GFScrollbar listening for the events - as all the Scrollbars in the form
would get the event" . Most Forms widgets used the first method "but the
GFDisplayHandler (keystrokes, et al) use #2 - the only reason GFDisplayHandler
is different is that each entry widget can have a different *type* of
displayhandler" .
Marcos noted that "in UIbutton's buttonHAndler" this was done by "a call to
_eventHandler instead of 'raising' a event." Jason was not conviced that
UIbutton was a good model - it worked that way "only because UIbutton doesn't
have its own dispatchEvent" , which was the more standard way of handling this
- "search for event.eventHandler = self.dispatchEvent" . Marcos said things
were becoming "_a little_ clear now..." .
Marcos asked "how do I 'hook' a new listener to certain event? I need to know
when the datasource does something with the visible records... with
registerEventListeners?" Jason agreed - "you will need to hook into GFBlock
(add some code there)" . Marcos confirmed "like, doing a special event just for
a ocassional scrollbar?" .
Later, he uncovered another problem - "I added a method on gfblock that
registers scrollbars.\ a scroll bar created registers itself as a scrollbar for
that block. then, the block, when updates, updates the scrollbars registered.
*but* now I'm registering" using the User Interface ScrollBar module rather
than the generic GNUe Forms ScrollBar module.
6. xml2sql for Firebird/Interbase
18 Jul 2002 Archive Link: "[IRC] 19 Jul 2002"
Topics: Common, Designer
People: Bajusz Tam?s, Jason Cater
Following on from Issue #38, Section #11 (12 Jul 2002: Including data in GNUe
Application Server schema definitions) , Bajusz Tam?s (btami) asked for "some
help on xml2sql - i try to make a firebird.xsl" but was having problems with
the tags for Primary Keys. Jason Cater (jcater) said "the "correct" way will be