*** chillywilly has joined #gnuenterprise *** chillywi1ly has quit IRC *** reinhard has joined #gnuenterprise *** sjc has joined #gnuenterprise *** btami has joined #gnuenterprise *** kilo has joined #gnuenterprise good morning morning off to customer *** ciccio has joined #gnuenterprise Hi. I'm still trying to see gnue in action on a debian unstable. the examples are supposed to work? which example did you try? those for gnue-forms. did intro work? it opens and with with ctrl-pgup/dn I can switch tabs. something else which is supposed to work here? There where several problems. If I try the connection test, it opens the window, but when I click on the test button, I get a seg fault and on 2nd tab of intro? conn test is a special case try the zipcode sample too Yes, the second tab also seems to work. the zipcode gives an error. looks like I'm missing table zipcode. Where can I find that? found it. but now I get the error, that table zipcode lacks column zip did you create the db? yes I did. and I inserted the sql file from location from location? ah drop that table, then use gnue-schema to feed in zipcode.gsd to the db drop only table zipcode? that file created several other tables as well i would drop all ok. now it opens, but I don't know, what I can do with that. Any query returns nothing But I can insert cities (in uppercase), save that and the query returns that. hence I think this example is working now. which should I try next? what are you after? what do you want to use gnue for? I thought maybe it's possible to recreate some old clipper stuff here. so I found a howto which explains how to do that but it suggests to make first all those examples. also it appends a file which doesn't work because it requires a file (base.gsd) which I can't find btw states.gfd works and you can query that which howto did you read? Yes. state.gfd works here, and it finds the two entries I created in zipcode.gfd «Howto create a new GNUe application» by Sacha Schlegel It's from march 2004 that one is deprecated is there a better one? not yet any suggestion? * kilo input coffee see the devguide for forms first in the doc dir then devguide for common if you decide to do n-tier apps then gnue-contrib is a good collection of samples I'll do that. in schlegel's howto, there is an explanation of the terminology. Is that still correct? svn svn://svn.gnuenterprise.org/var/svn/gnue-contrib gnue-contrib got to check, plz wait In particular, he explains that a module is essentially a database (I would have expected it to correspond to a sql schema). does this mean, that a module for say stock maintenance will be in a different database than another module, say accounting? well, a module is a logical grouping. a class is like a table, a property is like a field there exists only ONE database thus, the classes of different modules are not separated anyhow within that database. is this correct? only by name ciccio: http://www.gnuenterprise.org/tools/appserver/docs/whitepaper/whitepaper.html to use svn, I need "subversion", right? yes, subversion Just type your commandline above for contrib but I get "unknown command". ok, sorry, it should begin with: svn co svn://.... co = checkout got it gsscvs doesn't exist here. I'm using the regular debian packages. I guess gsscvs is gnue-schema. What is the best way to do it? Should I create links? use it like 'gcvs gnue-schema'. gcvs is in gnue-common/scripts or if it doesnt help, you can use gnue-schema --connections=path_to_your_connections.conf instead of gsscvs gcvs nor gnue-common/scripts come with the debian package. I had already seen that gsscvs can be replaced by gnue-schema, it's just that this seems to be called by the scripts in contrib babyerp doesn't like me. The idendifier 'accountsReceivable_invoiceTransaction' exceeds the maximum length of 31 characters *** johannesV has joined #gnuenterprise ciccio: babyerp is dead :) RIP try something from gnue-contrib instead babyerp is (alphabetically) the first item in gnue-contrib which I just retrieved using your command line * btami asks kilo to kill that bad-bad baby right now! btami: sorry. Just saw that btami != kilo (it was the command line I got from kilo) np we are sitting 1m from each other :) don't come closer ;) * kilo threw babyerp to Attic gnue-designer would be the proper tool to create any new module? gnue-designer is for creating forms visually, or reports or a schema but if you look at a form's source, you will surely realize that it is very easy to hand-code it I'm an old C guy (almost K&R) and find any HTML/XML difficult to grasp C is best That's what I thought. Specially without ++ i like both what exactly is a schema in gnue? a gsd file, describing the db tables/constraints/keys/indexes, and also the data in the table. look at zipcode.gsd for an example Thanks. I guess there isn't any walk through example for using gnue-designer yet, is there? hmm, dunno but this is how i use it. run it, file/new/wizard/simple form. the wizard asks some simple questions and whoa, tha form is generated. I save and exit from here, and do all other work manually I'll give it a try remember to save VERY often, it tends to segfault sometimes ok. but I just saw, that I'll have to create the tables the conventional way, as the wizard will give me only the choice of existing tables. Or did I miss something? hmm, yes, manually try to produce a form for the zipcode table I can use any postgresql data types or are there constraints? dunno, as we use firebird here. johannesV: I can use any postgresql data types or are there constraints? ciccio, except blobs everything should work fine thanks, btw. in gnue terminology, what is a block? see http://www.gnuenterprise.org/tools/forms/ doc section, end developer documentation *** sjc has quit IRC around page 50 iirc I just created a table in my gnue database which can be seen in psql but doesn't show up in gnue-designer. Isn't it enough to create that table? bbl *** johannesV has quit IRC you created the table and started designer after that or before that? I started the designer after exiting psql where I checked that it was actually there and could be accessed by user gnue hmm. and do you see the other tables that were created before? Yes. I can see them all. The only difference is, that the owner of the other tables is user gnue, and the owner of this one is /me hm. There is another difference. All tables include an underscore, but mine doesn't. well, try to change owner then. underscore??? address_country has an underscore between address and country hm. but state and zipcode do not. Then, in gnue-designer I didn't see these two neither you need an entry in connections.conf that points to your db. dfid you choose the right connection in the wizard? [gnue] isn't enough? I do see for instance address_country. I only defined one connection to the database and one to the application server. In forms, I chose the application server sorry in the designer I chose the application server If I choose the direct database connection, many tables show up, which I can't even see with \d in psql, including the one I created. Does this mean, that the designer can't use the application server? you should chose the [appserver] for appserver, not the direct ones. s/chose/choose In that case, I can't see the table I created. Is this a bug in the designer? Using the direct database connection, I get a gfd file which seems to work, but which doesn't allow me to insert a new Item (Edit/Insert New Record is disabled). no. the table you created is not in appserver. to put it in the appserver, you should use the GCD format (an XML format). see appserver's devguide for more. does this render gnue-designer useless? edit/insert is disabled, that's ok. put some chars in an entry amd you can save it (ie Insert) Yes. I had managed to insert a first item. But when I tried to insert a second one, the first one was overwritten rather than appended as a new record. the switch to edit button was not pressed and the button to create a new one is disabled. Ah. Got it. I must not press the save button, but the insert button which is enabled as soon as there is something to save. sorry I was confused. yes. all data is cached so you dont have to press save each time but back to the other issue. Does this mean, that I can't use gnue-designer using the application server? Will I have to type the XML stuff manually? you can. appserver must be running though. and then you select [appserver] as connection and choose from the classes known by appserver Ah. the gcd file is used only to introduce my table to the appserver. Is this correct? yes is this http://www.gnuenterprise.org/tools/appserver/docs/appserver_howto.pdf also deprecated? Oops. Seems to be the same I already had (from march 2004) just having a different name. it is basically the same *** havoc has quit IRC *** havoc has joined #gnuenterprise *** holycow has joined #gnuenterprise *** dcmwai has quit IRC *** tiredbones has joined #gnuenterprise *** dimas has quit IRC *** reinhard has left #gnuenterprise *** btami has quit IRC *** johannesV has joined #gnuenterprise *** johannesV has joined #gnuenterprise *** tiredbones has quit IRC *** tiredbones has joined #gnuenterprise *** kilo has quit IRC *** reinhard has joined #gnuenterprise *** lekma has joined #gnuenterprise hi everyone *** titopbs has joined #gnuenterprise *** dcmwai has joined #gnuenterprise *** johannesV_ has joined #gnuenterprise *** johannesV has quit IRC *** jcater has joined #gnuenterprise * johannesV_ has found a lot of leaks in common and appserver today but is still hunting some of them ... bbl *** titopbs has quit IRC *** titopbs has joined #gnuenterprise *** btami has joined #gnuenterprise *** holycow has quit IRC back again johannesV_: hunting leaks?? :) lekma, yes indeed i've found a lot of them till now a big part has to do with calculated fields, especially with the PythonExecutionContext () in the python-adapter there were a lot of 'dead' refs lying around ... but also a lot of refs were broken in common's dbdriver where the single connections had a ref to the connections (manager) which never got freed i'm hunting the last bunch of leakin objects with appserver-processed conditions, if they're defined with dicts this is a bit strange, cause if a find () uses a prefixNotation-condition everything seems fine ... but i think i'll fix it quite soon ... *** kilo has joined #gnuenterprise yeah ... strike looks like i've fixed the last leaks .. * johannesV_ still testing yes, i think i can 'wipe-out' the debug-stuff and commit a non-leaking version of appserver/common reinhard, shall i leave the sigusr1-thingy in geasRpcServer, which fires the gc-debugging ? johannesV_: yes, I think that would be a good idea ok, so i'll refine it a bit (so others could read and understand the code :) lekma, if you find some time, please svn up and do your tests again ... appserver should run without any leaks now i'll do this later tonight i'm eager to test great! are the fixes done by reinhard commited also?? ie recursion pb and list id ? of course i did it against current svn ok *** dcmwai has quit IRC *** jamest_ has joined #gnuenterprise bbl *** johannesV_ has quit IRC @@ -81,6 +81,10 @@ result [python_to_rpc (key, exception)] = python_to_rpc (val, exception) return result + # Binary + elif isinstance (value, xmlrpclib.Binary): + return xmlrpclib.Binary (value.data) + small patch to typeconv.py to transport base64 encoded binaries over xmlrpc (python to rpc) the binary should already be an xmlrpc object which sucks but this can be a temp solution for people like me who have to do it *** mnemoc has quit IRC *** mnemoc has joined #gnuenterprise *** holycow has joined #gnuenterprise *** SachaS has joined #gnuenterprise *** sjc_ has joined #gnuenterprise *** johannesV has joined #gnuenterprise *** sjc_ has quit IRC *** sjc_ has joined #gnuenterprise *** havoc_ has joined #gnuenterprise *** johannesV has quit IRC *** wendall911 has joined #gnuenterprise *** tiredbones has quit IRC *** mnemoc has quit IRC *** michael301080 has joined #gnuenterprise *** mnemoc has joined #gnuenterprise *** ciccio has left #gnuenterprise hello is anyone here? michael301080: more or less yes johannesV: it seems you got rid of memory leaks bravo and thx oh hello to all I've been here a few times, but didn't find anyone here. I've been interested in gnue for quite a while. are there any case studies of it being implemented somewhere? *** SachaS has quit IRC michael301080: don't think so jamest_: is a actually implemented somewhere (case study available or not)? I mean are there companies that use GNUe on a day by day basis. yes it's the backend of our web order submission our invoicing system our inventory control system every new program I write is based on common i believe the appserver guys use it daily now as well we have 33 front end forms hitting against our db directly that end users use wow, that's great several more only in use by me and my assistant this should be known to more people... well all the apps are gnue-common based but custom what's your business, if I may ask? insurance replacement *** tiredbones has joined #gnuenterprise ah we work for insurance companies to replace damaged and stollen items to what degree can you extend programs based on gnue-common? eg: an app that talks bluetooth... or with a USB GPS device ... or talking to a µC is that kind of stuff possible? i don't see how it'd be a problem I want to implement an app that does the management of jumping competitions do timing of jumping courses (= talking to µC) manage the starting list of competitors (=pretty straightforward) managing result lists and publish these to PDF files (is this more dificult?) also putting the results to a website automatically and have the app send info to a socket server so that other apps can see the info appear in real-time are there things that you think that aren't possible with gnue? I ask these questions because I'm pretty new to Python, and I don't really know my way around yet most of the things you mentioned would require several external libraries. gnue isn't monolithic. All this stuff is fairly easy to do common is a framework completely optional oh OK, so with importing the extra libraries it's possible though using it as the base app gets you quite a few features out of the box for free yes common is a set of python modules a few of which happen to be GClientApp and GServerApp that give you lots of stuff out of the box it doesn't really limit you in any way uhu ... for instance, after about a year off, i've restarted work on a pet project that's nice to hear. thanks already for the info guys where I'm writing a 3d RPG game engine based on soya3d and gnue-common whow, that's nice using gnue's xml object mappings, configuration system, trigger system, etc jamest_: soya is nice soya is evil! at least to me at the moment :) i had it working last year, until real life got too busy, now I'm porting up to the latest soya heh, at least the rendering I've seen is very good and it's really been brutal to my old design soya is nice just i shouldn't have stopped for a year :) jamest_: I've played with crystal space as well, it's very good also that was my original 3d engine i worked on the python support for a while but soya code is soooo much easier to work with jamest_: I must say that slune is pretty impressive though its not even funny jamest_: do you also use other parts of gnue? like designer, navigator, ... or do you use the app server? the only thing I'm not using atm is appserver and that's mainly cause I can't just graft it into my existing systems it maintains the table structures automagically and I have a few older java apps that have to get to the data does that mean you also use bayonne and report output to Hylafax? probably not (just curious) whoops, i don't use bayonne but I do use hylafax there also Asterisk of course whow that's cool again... and at previous job used gnue-reports to bulk fax out customized letters to schools across ks Do you use it to automatically send reports to contacts or what? via hylafax do you still have a seperate accounting / bookkeeping application? or is this functionality available in gnue? our gl is quickbooks, but we do AR in a custom dbase app that I'm redoing in gnue considering tax laws and legislation are different everywhere but again, most this is custom so you have the integration with quickbooks done in python / gnue? not at all oh, that's still seperate then.. my 1st stab at that will be trying to tie a gnue based timeclock to quickbooks for payroll ah, I see but i haven't a clue where to start (the timeclock is done) as our owner wants people to time in/out at their desks and the report I generate now will have to be re-entered manually into QB payroll at there desks? yes so the employee runs the timeclock app and pushes the "now leaving" button? more or less ... on there PC or terminal we're an LTSP shop hey, that's super cool except for the shipping computer and the QB computers I have an LTSP server myself we're also KDE so I have a kde menu that is all our stuff with a timeclock entry I also have kde on my laptop timeclock is a simple qt3/gnue based apps that prompts for username and has a time in /out button can another employee time you in /out then ? currently, yes we're not actively using it atm ah, I see all it does now is hit our LDAP server to see if the user is valid but it's no worse than the punch clock in the hall this isn't in production yet don't have any experience with that. but we're planning to swtich to it once we complete a move into our new building so this is very proof of concept oh the users can currently use it, the reports seem to work fine but we don't actually pay based on it yet hopefully by april we'll have switched over nice and more than likely i'll be tying it to real authentication *** jcater has quit IRC as the others being able to clock in someone (cover for them) was an issue brought up by accounting can't you "single sign on" ? i don't we have a single user id/passwd system wide maybe fingerprint reader on every terminal then (LOL) but I always make people login to things seperately and I didn't want to slow down people logging in too much Yeah, that way they remember there PW as people tend to get to work at 1 minute till start so you have lots of terminals booting at the same time only about 25 we're moving as we're out of space the new building will give us about 5 times the room at which point the call center will support about 50 where are you located? KS I'm in Antwerp, Belgium where is KS sorry Manhattan, KS USA are you sys admin as well as programmer then? yip and hardware guy :) great * kilo spent honeymoon in Antwerp I'm 24 now, into programming and little sys admin stuff I'm planning on starting my own business ***kilo: Had a nice honeymoon? michael301080: you going to fosdem? aye, stayed at Novotel for a week (after a week in Gouda) kilo: congrats wendall911: 't was 5 yrs ago 8-))) but anyway, thx kilo: :) shouldre-run it... kilo: My wife and I will be married 6 yrs in July and haven't ever went on a honeymoon I can relate reinhard: I probably should go, but I have to work hmm, will be 6 yrs too in May. damn reinhard: I'm here to support the developers of gnue a bit :) michael301080: reinhard is *the man* when it comes to appserver and gnue in general as of late :) I noticed it on the site. he owns a business and has himself and a co-worker gnue'n a lot thumbs up for reinhard :-D for a job well done michael301080: if you go to fosdem meet me there on the fsf europe booth Reinhard: Well, I hope I can make it on saturday. Anyway, thanks for all the info guys... *** michael301080 has left #gnuenterprise *** SachaS has joined #gnuenterprise *** btami has quit IRC *** mnemoc has quit IRC *** titopbs has quit IRC *** jamest_ has left #gnuenterprise *** wendall911 has quit IRC *** reinhard has quit IRC *** kilo has quit IRC *** wendall911 has joined #gnuenterprise *** holycow has quit IRC *** sjc has quit IRC *** mnemoc has joined #gnuenterprise *** tiredbones has quit IRC *** dcmwai has joined #gnuenterprise *** dcmwai_ has joined #gnuenterprise *** holycow has joined #gnuenterprise *** jcater has joined #gnuenterprise *** jcater has quit IRC