ra3vat (ds@195.239.64.4) left irc: [x]chat Mr_You (rouzer@mankind.boredom.org) left irc: ircII EPIC4-1.0.1 -- Are we there yet? dres (dres@4.18.171.42) left irc: Ping timeout for dres[4.18.171.42] dres (dres@4.18.171.42) joined #gnuenterprise. dres (dres@4.18.171.42) left irc: Ping timeout for dres[4.18.171.42] reinhard (rm@62.47.44.55) joined #gnuenterprise. ghunt (xavier@uu212-190-122-70.unknown.uunet.be) joined #gnuenterprise. hi all hi ghunt no activity on the channel ? brb oh not at this time usually most of the core developers are from the U.S. they sleep now what time is it over there ? 2 am ? -stuq_- TIME Fri Aug 31 03:43:29 2001 for example :) well 9:40 here depends on which part of the us iirc u.s. has 5 timezones the first to get up is usually neilt east coast ! Fri Aug 31 19:38:27 NZST 2001 hmm, still evening here in NZ :) well it all allows a 24/7 work ! :) Action: ajmitch wonders what this word 'work' is... ;) Action: ghunt lol ghunt: you are belgium, right? yes austria :) not that far :) brb changing computers reinhard (rm@62.47.44.55) left irc: Those who say it can't be done should never stop those who are actually doing it. ajmitch: what do you do for a living ? duff (bdusauso@uu212-190-122-70.unknown.uunet.be) joined #gnuenterprise. reinhard (rm@62.47.44.55) joined #gnuenterprise. back ghunt: i'm a student ;) me too ghunt: university, i presume? yes : commerce school ah, ok i'm a first-year computer science student here entering last year nice ;) i still have a few years to go, i fear ;) i'm in second year computer science, just in case you wanna know :-) it's been hard till there duff: i know is there other students here ? i meen someone else than ajmitch, duff and i :) Action: ghunt is away: reunion at job, i come back reinhard (rm@62.47.44.55) left irc: Ping timeout for reinhard[62.47.44.55] reinhard (rm@62.47.44.55) joined #gnuenterprise. i'm back l8r all reinhard (rm@62.47.44.55) left irc: Those who say it can't be done should never stop those who are actually doing it. ajmitch (ajmitch@p7-max4.dun.ihug.co.nz) left irc: Ping timeout for ajmitch[p7-max4.dun.ihug.co.nz] ajmitch_ (ajmitch@p8-max1.dun.ihug.co.nz) joined #gnuenterprise. Nick change: ajmitch_ -> ajbusy neilt (neilt@dialup-166.90.68.178.Dial1.Chicago1.Level3.net) joined #gnuenterprise. #gnuenterprise: mode change '+o neilt' by ChanServ!s@ChanServ things alright guys ? things are alright here any problems in the developpers paradise ? sth hard to solve ? if you need some help ... :-) (try the best i can) later all, wont be on much today neilt (neilt@dialup-166.90.68.178.Dial1.Chicago1.Level3.net) left irc: bye all ghunt (xavier@uu212-190-122-70.unknown.uunet.be) left irc: going back home Nick change: duff -> manu Nick change: manu -> duff ghunt_ (xavier@uu212-190-122-70.unknown.uunet.be) joined #gnuenterprise. ra3vat (ds@195.239.66.11) joined #gnuenterprise. dres (dres@4.18.171.42) joined #gnuenterprise. duff (bdusauso@uu212-190-122-70.unknown.uunet.be) left irc: Client Exiting Action: ghunt_ has to go bye ghunt_ (xavier@uu212-190-122-70.unknown.uunet.be) left irc: Client Exiting edwardam (edwardam@24.1.59.146) joined #gnuenterprise. hello. Just popping in to ask about gnue hello So exactly how far along is gnue? and what language(s) is it being written in? Not much people today who is much better to ask GEAS written in C client (GForms) in python GForms works in 2-tier mode also directly with mysql, postgresql, oracle, db2 reinhard (rm@62.47.44.55) joined #gnuenterprise. someone can help me now :) some application modules started like accounting, supply chain GEAS is GNU Enterprise Application Server it support postgresql and mysql and communicate with clients via CORBA edwardam: more questions? cool So what exactly (or how) does Gforms store it's forms. in .gfd (GNU Form Definition) format which is XML ra3vat: Cool. I think I may try to re-purpose it for some other stuff. ra3vat: Is the backend sufficently modular? err backend of gforms that is? Is it's backend interfaces sufficently modular ra3vat: Does it depend on anything more than just python plus appropriate db modules? it has ui drivers ra3vat: just pygtk right? most workable now is for wxPython not pygtk yet ra3vat: hmmm ... I'd have to port it over to pygtk then. Is someone doing that? jamest and jcater at LWE now they are gforms guys reinhard and neilt from geas team mostly oh, pygtk. None as I know of Hmmm ... I wonder if I could use an XSLT (or similar) to convert the gforms XML into glade xml. Now that would be cool. :-) edwardam: i know that in the very early days jamest tried to misuse glade to build a forms client I think that is. :) But you'd better talk to derek, jamest, jcater when they come and had a horrible time then reinhard: Oh? I've used it a bunch and it works. We use it for a bunch of stuff for the compaq ipaq running linux yeah sure i think the problem was making the controls data aware and connect them to the database or whatever backend you choose :) reinhard: yeah. You would have to do that in code basically. Are the wxPython controls data aware now? it seems like it was easier to make _them_ data aware than the glade controls but i have tried neither of both :) reinhard: Are you using the xwWindows XML stuff? Or just hand coding the UI? we have form definition files which are xml Acutally I think doing it in pygtk and glade would be really easy since you can use the OO nature of pygtk to just sublcass the normal widgets and write the db logic you need in the new classes. But whatever they define which controls you have on the form edwardam: now seriously the goal is actually to enable as many frontends as possible and make sense got it. I'll just read the code at some point. :-) jamest regards the current version of gnuef as a "reference implementation" and we choose wxWindows because it runs under mutliple platforms IIRC current forms run under Gtk, MSWind~1, and Mac reinhard: I'm not saying wxWindows isn't a good fit. I like wxwindows for the most part. I just like to work with pygtk that's all. that's ok reinhard: you here? yes and you? ;) now when i have initial data in currency, conversion_rule, conversion i need to do more complex query Mr_You (rouzer@mankind.boredom.org) joined #gnuenterprise. for example? in sql terms select last entry from conversion_rule where "to" refer to "SUR" currency load a list of all conversion_rule's where "_to" is the objectid of the SUR currency then get the last element of that list disclaimer: i don't like that there must be a better way i also need to "join" it with conversion to refer to "from" 'USD" let me look at the gcd' s i need to read more about that reference, lookup and list the original plan was that there is a business function currency::conversion.convert (from_currency, to_currency, amount); or something like that and you just have to call it but methods don't work yet :( i think the correct way would be to 1. load the conversion object (there is probably only one instance of that object) but business function should do something I ask you for? yep 2. load the list of conversion_rule's 3. find the element from the list where "to" is "USD" and the dates are ok bbl Nick change: reinhard -> rm-away will be back in an hour or so ok, me too bbl ra3vat (ds@195.239.66.11) left irc: Client Exiting Mr_You (rouzer@mankind.boredom.org) left irc: uggh chillywilly (danielb@d41.as2.nwbl0.wi.voyager.net) joined #gnuenterprise. jbailey (we-refuse-@fencepost.gnu.org) joined #gnuenterprise. yo jbailey yo chilly. man that dobey guy is a jag off was that english? jbailey (we-refuse-@fencepost.gnu.org) left irc: leaving stuq__ (stuq@c5300-1-ip123.albany.thebiz.net) joined #gnuenterprise. stuq_ (stuq@c5300-4-ip246.albany.thebiz.net) left irc: Ping timeout for stuq_[c5300-4-ip246.albany.thebiz.net] rm-away (rm@62.47.44.55) left irc: Those who say it can't be done should never stop those who are actually doing it. ra3vat (ds@195.239.66.11) joined #gnuenterprise. dyfet (dyfet@63.124.177.154) joined #gnuenterprise. dyfet (dyfet@63.124.177.154) left irc: Client Exiting reinhard (rm@62.47.44.55) joined #gnuenterprise. hiya hey chillywilly ra3vat (ds@195.239.66.11) left irc: Ping timeout for ra3vat[195.239.66.11] ra3vat (ds@195.239.66.11) joined #gnuenterprise. reinhard: can you look at currency.gcd for me? yes in class conversion currency::conversion_rule [] rule; yes how does it work? this is like an array of conversion_rule objects you can do my_conversion.getList (rule); and you get a ObjectList of conversion_rule objects what is the right way to enter new conversion object and and? enter new conversion_rule object to properly fill _currency__conversion_rule field there? first what we thought about the data design here: usually, you have a base currency like for you the SUR so you have a single conversion object from = SUR rule[1] = (to = USD, numerator = 12, denominator = 1) rule[2] = (to = ATS, numerator = 4, denominator = 1) etc. and when you convert ATS to USD you take the long way over SUR so this is _what_ you should want now how to get it: :) create a new object conversion then create a new object conversion_rule ra3vat (ds@195.239.66.11) left irc: [x]chat huh? ra3vat (ds@195.239.64.52) joined #gnuenterprise. wb ra3vat got it from the log create a new object conversion then create a new object conversion_rule then use my_conversion.insert ("rule", my_conversion_rule) then create next object conversion_rule and insert it etc. Action: reinhard hopes this was understandable wait, I have only one conversion entry for base currency convert from yes one conversion object multiple conversion_rule objects then use my_conversion.insert ("rule", my_conversion_rule) when I do this what would be insert? in what, say table? insert is a geas function like getObject conversion.rule is a list and conversion.insert ("rule", foo) inserts the conversion_rule object foo in that list think about * in gcd being a pointer to another object and [] about being a list (array) of pointers to other objects a better example is probably the org module class organization (a company or the like) has a field org::contact [] contact; which means for every organization i have multiple contacts and where is org::contact defined/ in the same module just 2 classes above ah, my wrong Mr_You (rouzer@mankind.boredom.org) joined #gnuenterprise. reinhard: on database level it will mean that field _org__organization_contact in org__contact in many rows may refer to org__organization.objectid one particular objectid dres (dres@4.18.171.42) left irc: Read error to dres[4.18.171.42]: Connection reset by peer ra3vat: exactly this is how it is implemented a [] is in fact a backward * ok, let my try to do my_conversion.insert ("rule", my_conversion_rule) right now s/my/me dres (dres@4.18.171.42) joined #gnuenterprise. conv.insert("rule", rate) CORBA.error: IDL:omg.org/CORBA/COMM_FAILURE:1.0 and [function call] [objectcache.c/347] [oc_find_cached_object_by_key] geas-server: classdata.c:1283: odl_class_is_instanceof: Assertion `classname != ((void *)0)' failed. Aborted wow i guess you have a python script that can reproduce this? it mostly consist of comments unreadable for you i should clean it up ah oh -ra3vat- TIME Sat Sep 1 04:50:36 2001 this is not correct, is it? Nick change: ajbusy -> ajmitch reinhard: yep you never sleep? def initialize(self): cur = self.database.loadSingleObject("currency::currency", "code", "USD") conv = self.database.newObject("currency::conversion") conv.setReference("from", cur) [15:53] MSG541 def putRates(self, date, value): gdb = self.database cur = gdb.loadSingleObject("currency::currency", "code", "USD") conv = gdb.loadSingleObject("currency::conversion", "_from", cur.objectID) rub = self.database.loadSingleObject("currency::currency", "code", "SUR") rate = gdb.newObject("currency::conversion_rule") rate.setReference("to", rub) rate.setField("numerator", "1") rate.setField("denominator", value) rate.setField("begin", date) rate.setField("end", date) #conv.insert("rule", rate) indent have been broken when copy&paste any visible mistake(s)? that error have happened when I added #conv.insert("rule", rate) which now commented can you test if conv is an object at all? because when that conv = gdb.loadSingleObject("currency::conversion", "_from", cur.objectID) does not find an object it might return NULL or whatever this is called in python conv object is valid geas crashes if i uncomment that #conv.insert("rule", rate) yeah i will have to test give me a day or two please i am already tired today Action: reinhard wonders if this applies to ra3vat, too but it is certainly a bug without that I have all data fille except of _currency__converson_rule field filled ra3vat: yes that's correct Action: ra3vat is thinking that tomorrow he will get tired even more so he is trying to do the most for today reinhard: thanks for helping ra3vat: sorry for not finding out quick reinhard; you was quick enough to show me a lot reinhard: even wrong timing on my machine :) :) it is about 1:25am here gotta get me some sleep good night i will know more tomorrow bye reinhard (rm@62.47.44.55) left irc: Those who say it can't be done should never stop those who are actually doing it. Nick change: chillywilly -> cwbusy ra3vat (ds@195.239.64.52) left irc: [x]chat Mr_You (rouzer@mankind.boredom.org) left irc: ircII EPIC4-1.0.1 -- Are we there yet? Action: cwbusy is away: I'm busy Nick change: ajmitch -> ajbusy Action: cwbusy is back (gone 00:25:46) Nick change: cwbusy -> chillywilly chillywilly (danielb@d41.as2.nwbl0.wi.voyager.net) left irc: Read error to chillywilly[d41.as2.nwbl0.wi.voyager.net]: EOF from client neilt (neilt@dialup-63.215.118.46.Dial1.Chicago1.Level3.net) joined #gnuenterprise. #gnuenterprise: mode change '+o neilt' by ChanServ!s@ChanServ neilt (neilt@dialup-63.215.118.46.Dial1.Chicago1.Level3.net) left irc: Mr_You (rouzer@mankind.boredom.org) joined #gnuenterprise. Mr_You (rouzer@mankind.boredom.org) left irc: bye Nick change: edwardam -> edwardamDND3e Action: edwardamDND3e is away: I'm busy Nick change: edwardamDND3e -> edwardamZzZz