jcater: are you there??? is DCL (Double Chocco Lautte) uses GNUe??? i could see only web based interface in DCL... Mr_You: there???? derek: are you there??? SachaS (~Sacha@dialup-196-176.wasp.net.au) left irc: Remote closed the connection mdean (~mdean@mkc-65-28-72-76.kc.rr.com) left irc: Read error: 113 (No route to host) mdean (~mdean@mkc-65-28-72-76.kc.rr.com) joined #gnuenterprise. Varadhan: I'm not sure where the GNUe Forms are for DCL in cvs, you'll probably want to ask derek. SachaS (~Sacha@dialup-196-176.wasp.net.au) joined #gnuenterprise. rdean (~rdean@12-221-229-247.client.insightBB.com) left irc: "Client Exiting" ds_ (~ds@ics.elcom.ru) joined #gnuenterprise. hi hi ajmitch hi ajmitch Arturas (~arturas@fmgs-03.vtu.lt) joined #gnuenterprise. Hello hi SachaS (~Sacha@dialup-196-176.wasp.net.au) got netsplit. Maniac (~User@h24-82-132-209.wp.shawcable.net) got netsplit. Remosi (dahoose@port-219-88-247-104.jet.net.nz) got netsplit. gnuebot (~eggdrop@65.101.4.211) got netsplit. fixe (~adam@dsl081-147-022.chi1.dsl.speakeasy.net) got netsplit. derek (~dneighbo@cpe-24-221-112-50.az.sprintbbd.net) got netsplit. jcater (~jcater@cpe-066-061-083-220.midsouth.rr.com) got netsplit. drochaid (~drochaid@pc2-kirk1-3-cust16.renf.cable.ntl.com) got netsplit. grib (~grib@grib.customer.jump.net) got netsplit. ajmitch (~me@wlg1-port38.jetstart.maxnet.co.nz) got netsplit. dres (~dres@mail.lewismoss.org) got netsplit. Mr_You (~car@gso167-138-145.triad.rr.com) got netsplit. nickr (~panphage@e-64-35-146-236.empnet.net) got netsplit. dtm ([YdUiiN5Ft@ip66.promontory.sfo.interquest.net) got netsplit. dtm ([YdUiiN5Ft@ip66.promontory.sfo.interquest.net) returned to #gnuenterprise. derek (~dneighbo@cpe-24-221-112-50.az.sprintbbd.net) returned to #gnuenterprise. SachaS (~Sacha@dialup-196-176.wasp.net.au) returned to #gnuenterprise. Maniac (~User@h24-82-132-209.wp.shawcable.net) returned to #gnuenterprise. Remosi (dahoose@port-219-88-247-104.jet.net.nz) returned to #gnuenterprise. fixe (~adam@dsl081-147-022.chi1.dsl.speakeasy.net) returned to #gnuenterprise. gnuebot (~eggdrop@65.101.4.211) returned to #gnuenterprise. #gnuenterprise: mode change '+oo derek gnuebot' by calvino.freenode.net Action: Remosi reads the latest GNUe KC with interest nickr (~panphage@e-64-35-146-236.empnet.net) got lost in the net-split. Mr_You (~car@gso167-138-145.triad.rr.com) got lost in the net-split. dres (~dres@mail.lewismoss.org) got lost in the net-split. ajmitch (~me@wlg1-port38.jetstart.maxnet.co.nz) got lost in the net-split. grib (~grib@grib.customer.jump.net) got lost in the net-split. drochaid (~drochaid@pc2-kirk1-3-cust16.renf.cable.ntl.com) got lost in the net-split. jcater (~jcater@cpe-066-061-083-220.midsouth.rr.com) got lost in the net-split. grib (~grib@grib.customer.jump.net) joined #gnuenterprise. Mr_You (~car@gso167-138-145.triad.rr.com) joined #gnuenterprise. dres (~dres@mail.lewismoss.org) joined #gnuenterprise. Arturas (~arturas@fmgs-03.vtu.lt) left irc: Read error: 60 (Operation timed out) drochaid (~drochaid@pc2-kirk1-3-cust16.renf.cable.ntl.com) joined #gnuenterprise. ajmitch (~me@wlg1-port38.jetstart.maxnet.co.nz) joined #gnuenterprise. SachaS (~Sacha@dialup-196-176.wasp.net.au) left irc: Read error: 110 (Connection timed out) Mr_You: thank you... derek: are you there??? Varadhan: wait a little when he is wake up ra3vat: Do you know about DCL??? Does it use GNUe??? ra3vat: i downloaded the source from DCL.sf.net.. but it contains only web interface... i could not find anything related to GNUe in that... Yurik (~yrashk@as5300.kharkov.ukrtel.net) joined #gnuenterprise. ra3vat: Please guide me... :( DCL is existent pho application that now is part of GNUe project and one day will be redone with GNUe tools re hi Yurik ra3vat: hi Varadhan: for now i think there are few forms developed that works with dcl db data ra3vat: can you pls say how to run them??? Yurik (~yrashk@as5300.kharkov.ukrtel.net) left irc: "later" ra3vat: because, i think, the DCL web interface doesn't have an option to open a GNUe form, as of now... are you able to run sample form? yes... SachaS (~Sacha@dialup-196-176.wasp.net.au) joined #gnuenterprise. Varadhan: why do you want to run that dcl forms? ToyMan (~stuq@glvv-dsl1-116.citlink.net) joined #gnuenterprise. Action: drochaid is back (gone 00:50:04) jcater (~jcater@cpe-066-061-083-220.midsouth.rr.com) joined #gnuenterprise. ra3vat: actually i have to show a demo application using GNUe... ra3vat: so, if i get an existing application, that would be helpful for me... ra3vat: is it possible to write web based application using GNUe forms??? not yet, few web interfaces for forms exist but in very early stages Varadhan: if you have test database with your own data and you do few forms and run them via GNUe navigator it would be more helpful ra3vat: yeah.. i am doing the same now... ra3vat: but to be frank.. i am new to application programming... so can you give some small spec about a banking application??? Arturas (~arturas@fmgs-03.vtu.lt) joined #gnuenterprise. Varadhan: banking application? it may be a huge list of different applications, even more forms if you have any problem when doing your small :) demo application I'll try to answer :) Yurik (~yrashk@as5300.kharkov.ukrtel.net) joined #gnuenterprise. ra3vat: not everything in the banking... just a small portion of it... since i want the demo application to be a little bit professional one.. rather than a "Hello World!!!" kinda thing... :) Yurik (~yrashk@as5300.kharkov.ukrtel.net) left irc: Read error: 104 (Connection reset by peer) have you tried to use designer? Yurik (~yrashk@as5300.kharkov.ukrtel.net) joined #gnuenterprise. siesel (jan@dial-213-168-88-86.netcologne.de) joined #gnuenterprise. hi all hi siesel: hi hi ra3vat, hi Yurik, how's going? uh, looking at the person who was saying that "LDAP doesn't have security, have you guys considered ActiveDirectory" is missing the realisation that "ActiveDirectory" is LDAP with specific schema's. LDAP can be very secure siesel: i'm fine playing with test forms application right now, and how are you? siesel: i'm fine, thx Action: siesel fine too :) Action: Remosi tags my previous comment for PSU, and then goes to sleep i have a button on page "Page_1" of form1, upon clicking it, i should bring up the page_2 of the same form... how do i do this??? jcater: i have a button on page "Page_1" of form1, upon clicking it, i should bring up the page_2 of the same form... how do i do this??? Mr_You: i have a button on page "Page_1" of form1, upon clicking it, i should bring up the page_2 of the same form... how do i do this??? siesel: i have a button on page "Page_1" of form1, upon clicking it, i should bring up the page_2 of the same form... how do i do this??? Yurik (~yrashk@as5300.kharkov.ukrtel.net) left irc: "later" you have to extend the trigger name space. switching between pages is done via a event .... (/me looks in the source) what '.gpd' extension stands for??? sorry, no need to extend the trigger name space. siesel: then, how to do it??? you can just use the command "setFocus()" in a trigger like fieldX is the first entry of the second page, then you just call setFocus(fieldX) .gpd = GNUe Process Definition ~ the filetype for navigator siesel: Oh!!! lemme try... anyway thanx... if you want to try contacts.gpd, you will fail. :( siesel: what if i dont have a tabbed interface??? add an option tabbed to the
attribute I think. tabbed="top" for example Oh!!! ok... Is it possible to disable the toolbar of gnue-forms at runtime??? Varadhan: When do you have to show that gnue demo? form.setFeature('GUI:MENUBAR:SUPPRESS', 0) form.setFeature('GUI:TOOLBAR:SUPPRESS', 0) add those to siesel: tomorrow morning!!! IST (indian standard time) and change 0 to 1 ra3vat: On-Exit... Varadhan: On-Exit? ra3vat: we have to reset them back to 1 on "On-Exit".. isn't it??? or no need for that!!! i'm only today found that feature, not sure what you need and what possible found out though that switching off bars brakes status bar somehow Varadhan: you could get gnue-sb running with some small changes. its a pitty. /me hasn't time to do it today. The main problem are the names for datatypes in the GSDs and a missing schema tag on top of all. siesel: thats not a problem, siesel... anyway i have to learn using gnue tools if i have to work after this demo.. :) Oh!!! is it the bug of gnue-designer??? i have downloaded the CVS version of gnue-sb... but i came to know from jcater that i has broken schema... :( siesel: Well, my forms are ready now... only thing left is to fill in the trigger code... how do i do this?? no, the "bug" is that gnue-sb uses a very old definition siesel: i mean.. does gnue-designer has got any inbuilt editor to fill-in the trigger code??? in designer? siesel: Oh!!! yes. There is a trigger editor. Seems like you found it already :) siesel: Oh!!! cool... siesel: where??? siesel: is it the "Event Navigator"??? yep. btw. you've tried to move fields from the schema navigtor on the work space? no, not yet tried... i mean, my navigational forms are ready.. i just want to verify whether the navigation works properly or not... how do i add a button trigger code thru designer??? siesel: DB000: Traceback (most recent call last): DB000: File "/usr/local/gnue/lib/python/gnue/forms/uidrivers/wx/UIdriver.py", line 741, in buttonHandler DB000: self._eventHandler(action) DB000: File "/usr/local/gnue/lib/python/gnue/forms/GFEvent.py", line 105, in dispatchEvent DB000: handler(event) DB000: File "/usr/local/gnue/lib/python/gnue/forms/GFInstance.py", line 600, in fireTrigger DB000: self._form.fireTrigger(event.data) DB000: File "/usr/local/gnue/lib/python/gnue/forms/GFForm.py", line 508, in fireTriggerDB000: self._triggerDictionary[triggerName](self) DB000: File "/usr/local/gnue/lib/python/gnue/common/GTrigger.py", line 468, in thisTrigger DB000: exec code in triggerns, locals DB000: File "", line 3, in ? DB000: File "/usr/local/gnue/lib/python/gnue/common/GTrigger.py", line 286, in __call__DB000: return self._objectFunction(*args) DB000: File "/usr/local/gnue/lib/python/gnue/forms/GFForm.py", line 688, in triggerSetFocus DB000: print _("If i was working then %s would now have focus") % object._object DB000: AttributeError: _object sorry, have to run siesel (jan@dial-213-168-88-86.netcologne.de) left irc: "Real programmers code it into the client" Yurik (~yrashk@as5300.kharkov.ukrtel.net) joined #gnuenterprise. is any1 there to help me resolve a small problem in my form??? Yurik (~yrashk@as5300.kharkov.ukrtel.net) left irc: Read error: 104 (Connection reset by peer) jbailey (~jbailey@65.48.140.35) joined #gnuenterprise. Action: derek is away: I'm busy Action: derek is back (gone 00:00:02) Varadhan: im here bah. you were never really here. chilly / ajmitch pillar rocked my face off "chilly / ajmitch['s] pillar rocked my face off" - Derek Neighbours. i was center stage front row, it was seriously cool, got to hang with band for a while afterwords picked up their hand written set list and had them sign Action: derek needed a digital camera they have another concert tonight, wife really wants to go, but im old and i think jumping up and down for 3 hours might have done me in :) Send her by herself. they played with a local band 'american general' that was quite good jbailey: she might go with a friend anyhow Varadhan let me know if you are having issues or such Sometimes going to concerts alone can be fun too. I've enjoyed that a couple of times. derek: do i get some more reasonable document on GNUe??? Action: derek cant do that anymore, im too old i think people would feel me a pervert You *are* a pervert. But we love you anyway. =) Varadhan: its 0.4.0 software i think the documentation is quite good for beta software jbailey: true dat derek: i have got the Developer's guide.. but as you know.. it contains more *TODOs* than information.. though i started with that only... Varadhan: its hard to document things that change daily derek: Where's the centre of mass for GNUe developpers in North America? feel free to ask in this channel jbailey: all over arizona, kansas, tennesse counting mdean i think kansas has the most :) derek: okay.. thanx a lot.. till what time will you be online??? Ah, okay. I had the impression that it seemed generally in the middle and a little east. if we were to do a developer conference it would likely be in Branson, MO area What state is MO, please? Missouri as its 'central' derek: as i have started my own sample *banking* application using GNUe.. i will definitely come accross hurdles.. which you might need to resolve.. :) i would like to make LinuxWorld SF our annual conference we had one there its just hard for everyone to get there (finding US map) Varadhan: i will do best i can im in irc generally from about 8:00-24:00 M-F GMT -07:00 and it varies on the weekend like today im here, but have kids so will be spotty Why is it so hard to find a bloody US map? Arturas (~arturas@fmgs-03.vtu.lt) left irc: Read error: 60 (Operation timed out) I don't *care* about vegetation or the west nile virus. What's missoury near? I only know about a third of the states. =( jbailey: north of arkansas east of kansas west of kentucky Kansas -> Missouri <- Kentucky, Tennesse derek: using designer, how can i add events??? for example, i have to add the "On-Startup" even to my form.. what should i do?? hmmm i havent used designer for events you should be able to use trigger editor and property inspector to do so man we need to add that to the feature list North of Arkansaw sound right? I'm soo used to editing triggers in an external editor jcater: me too :) jcater: yep carter, that would be a nice feature... that I forget designer support is lack-luster Remosi: i havent used designer for events :) er re not remosi jbailey: yes MO is north of our kansas but, *newbies* like me have to depend upon the designer.. :( yeah i think cater was alluding to that i.e. that its a feature that needs to make it in the feature map hmm... derek.. ok tell me how to add events to my form??? North? I have it east on Mapquest. =( create your form in designer then save it open it in your favorite editor (emacs is mine) and manually add the tags in your case after the first tag you would do On-Startup btw Action: jcater ducks back out my.lovely.python.code more.lovely.python.code Action: derek isnt sure onStartUp is a valid type but put whatever type you want er whatever VALID type you want here is a real sample for a trigger on a block inpParent.resetForeignKey() you can also iirc actualy make trigger files derek: okie.. lemme try... however, thanx... for your info... and the sample... :) so that you could do something like Action: derek isnt certain on that one its been a wile iirc??? may i know what is that??? Action: jcater steps back in.... i know there is a src tag and i think it can get external files the tag you are thinking of is.... but i dont recall what is 'state of completeness' is or exact syntax yep... actually i am already using it.. :) yeah but that's for named triggers but didnt recall if you put a file name there or used the import 14 hours from here to MO. you can define a trigger that needs to be used in several places as a "named" trigger I've done 12 for a weekend before. you in NY? or Toronto ? Toronto ooooo there's a big conference happening in there we want to visit you on Linux + Businesses in late Spring find a sponsor I live in a one room appartment. So I can't really put people up. bah yeah april nonsense You're all welcome to come over for drinks and crash for a night if you need, though. you have a tub, right? linux world expo in january in NY as well There's a conference here in the Spring? Which one? bah, the name escapes me I know OLS is in the summer or so. jcater: i know the one Varadhan: are you using the CVS version of our tools, or the latest release? (0.4.0) ?? Linux Business Symposium or somethingood liek that jcater: release 0.4.0... jcater, derek: form.setFeature('GUI:MENUBAR:SUPPRESS', 1) is giving error "Attribute error: setFeature"... that was not in 0.4.0 jbailey (~jbailey@65.48.140.35) left irc: Read error: 104 (Connection reset by peer) you might want to grab latest cvs or a snapshot ah!!!!!!!!!!!!! is there anything equivalent for this in 0.4.0??? no that's new Oh!!!!! jbailey (~jbailey@65.48.140.35) joined #gnuenterprise. is CVS version stable??? since it was mentioned as *buggy* in the site.. :) eh? well it has its good days and bad days I think it's probably more stable than 0.4.0 at this point, though we are cleaning up for a release CVS from the 5th seems good enough so far. Varadhan: you can always install the two side-by-side and if cvs causes you problems, you haven't really lost anything Varadhan: install the two side by side jcater: how??? and use snapshots derek: how??? Varadhan: did you install using setup.py ? jcater: yes... so when i find a cvs sversion that has featuures i need and is stable ok, then you are in good shape :) generally i get its tarball unload it and install as toolname-date but it can be a pain seriously i think we are moving to more 'official' releasing Varadhan: we can do one of two things.... Incidentally, folks, I just got my first bug on gnuef. where older releases will be back maintained a little bit jcater: tell me... It's a packaging bug, but still - That means people are installing it. derek: that seems a good idea... jbailey: i think its time for you to leave then ;) oh 1. You can grab thge tarball from http://www.gnuenterprise.org/downloads/snapshots.php someone submitted it derek: Nope. Gnue bugs get handled on weekdays. or not you foudn it, you can stay :) 2. If you have "cvs" installed, you can check it out anonymously If you *can* do #2 I recommend that as if you hit some bug I can commit a fix for you yes i have CVS installed on my machine... and you only have to do a "cvs update" ok Varadhan: The folks here have been known to commit fixes within a few minutes of the bug being reported. Varadhan: http://www.gnuenterprise.org/community/cvs.php jbailey: :) that wiwll explain it better than I can wiwll = will jcater: okay... Varadhan: once you have the repository, change into the gnue directory and run ./setup-cvs.py err sorry run ./setup-devel.py oops I was right the first time anyway that will set up a local copy of the tools (local == for your user) derek: Is it still the case that there's been no useful updates to DCL since July? that won't interfere with the "official" version jcater: i take leave of you all for some time as i have to go for my dinner... will be back in about 30 mins... jcater: Oh!!! cool.... ok it's sad our cvs installation tool is much more powerful than the "official" version :) Very sad. One day you'll see the light and use autoconf. =) no because then we'll have the same issue that prevents us from using setup-cvs.py as the "official" jcater: or else lemme do onething... lemme install the cvs-version in some other machine and work from there... will it do??? :( jbailey: dcl has LOTS of new goodies ya Shouldn't - just set ./configure --prefix=~/bin i just havent tested them all jbailey: last I checked derek: Well, remember to ping me when it's time to update the package. that failed on Win32 i hope mdean is around as it might be this weekend i had my side pretty much done he was fixing new nested product stuff Cool - What's your integration plan with DCL and the rest of GNUe? i know he was close but work might have given him some feature creep derek: Incidentally, I've been talking with dyfet about some telephony hacking I need to do in the new year. jbailey: for right now, my goals are to get it doing some stuff to help with managing consulting operations and gnue then start migrating it to gnue it already uses GNUe Schema Definitions Ah, does it? Cool. IT would be nice to see an example application in GNUe. my production implementation uses GNUe Reports i will likely author some reports for it with GNUe Reports and put themin the DCL distro there are several gfd's for it gnue-sb is the sample application Cool. its coming to a Debian Distro near you soon *lol* jcater is hacking on gsd stuff today which will position me to haul butt on implementation Cool. Like I said, lemme know when you want a DCL update done. (Or any of the GNUe suite) cool hey how do you read encrypted mail? unencrypt it. Silly. someone sent me gpg signed and encrypted mail but i get error Are you sure it was encrypted with your key? gpg: Can't check signature: public key not found That shouldn't fail it. mdean (~mdean@mkc-65-28-72-76.kc.rr.com) left irc: Read error: 60 (Operation timed out) dont know i didnt send it do i need to add the senders fingerprint to something? mdean (~mdean@mkc-65-28-72-76.kc.rr.com) joined #gnuenterprise. what is master and detail when we talk about blocks in form? kids way to quiet must verify they havent slaughtered one another or our property brb You'd notice if it were the property. =) hmm the girls have locked their little brother in their play house guess he's not screaming so who am i to interfere ariel_ (~ariel@ppp-217-133-243-31.dialup.tiscali.it) joined #gnuenterprise. ra3vat: master/detail is parent/child i.e. key relationships table invoice -------------- id number date payee blah table invoice_item -------------- id invoice_id item qty amount blah the parent is invoice, the child is invoice_item the key is invoice.id <-> invoice_item.invoice_id if you select in the 'parent' data source invoice 13232 then the child datasource will auto query invoice_item to only give you invoice_items with the invoice_id of 13232 i hope that makes sense shouls i put child block inside parent? um i dont for this to work? Action: derek isnt sure result you would get you need only to have the widgets you want to use the block in the block you need not nest the blocks iirc Action: derek has never tried to nest them jcater could answer whether that woudl work generally i do blocks aren't meant to be nested I really don't know what would happen but I wouldn't recommend trying :) [11:19] Last message repeated 1 time(s). how blocks will know they related? by datasources assigned to them? the fields need not be in sequence yeah how to assign that relationship in datasources? i only did it for dropdown box is a block name="dtsrcAddress" table="address" masterlink="id" detaillink="personid"/> is its corresponding datasource as you can see address is a chiled of person the key is id and personid so person.id <-> address.personid btw this is straight from gnue/forms/sample/track/forms/contact_manager.gfd that form likely wont work with newest cvs (i will fix it up soon) thanks, will try that now but the datasource stuff shsould still be pretty valid Action: derek thinks you can define parent child stuff in the blocks as well, but i havent done it that way no, not since 0.0.x series i was trying to do that via trigger modifying code a little, may be it is possible to achieve via master/detail but i have a questions anyway you don't really have to use many triggers to get functionality out of forms triggers will usually be for special validation or such similar polish code in block.initQuery() block.processQuery() and many other methods walk through ... for block in self._form._blockList: gack is it OKay or should be moved to form object or other I guess if it works, it works I don't know what you're doing i'm looking into code :) process through list of blocks is not a business of block object (remember that damn business thing?) ra3vat: i have found jcater is accurate forms internals does most DATA work usually you only need triggers to validate data or do spiffy polish type things is it possible to have several blocks on one page and perform query on that blocks separately? so i can get resultset in one of them, walk through and via on-Switch trigger update related info in other block for now query (initQuery?) in any block clears all page not in the current code base i was going from that drochaid (~drochaid@pc2-kirk1-3-cust16.renf.cable.ntl.com) left irc: "Client Exiting" ToyMan (~stuq@glvv-dsl1-116.citlink.net) left irc: Read error: 60 (Operation timed out) drochaid (~drochaid@pc2-kirk1-3-cust16.renf.cable.ntl.com) joined #gnuenterprise. reinhard (~reinhard@M693P020.adsl.highway.telekom.at) joined #gnuenterprise. Action: derek is away: soccer ariel__ (~ariel@ppp-217-133-244-166.dialup.tiscali.it) joined #gnuenterprise. ariel_ (~ariel@ppp-217-133-243-31.dialup.tiscali.it) left irc: Read error: 113 (No route to host) hi all, i am back... wb ty.. jcater: i have checked out the latest gnue... did you "commit"ted the changes??? nickr (~panphage@e-64-35-146-236.empnet.net) joined #gnuenterprise. jbailey (~jbailey@65.48.140.35) left #gnuenterprise ("Client Exiting"). jamest (~jamest@adsl-64-216-107-182.dsl.tpkaks.swbell.net) joined #gnuenterprise. master/detail is doing most of the thing i need now but i'm unable to do changes in the detail block. how to achieve this? only in separate form? how to quit a form?? will form.close() do the job??? should work according to Developers-Guide but it is giving some attribute error!!!! can i call the method to close itself??? form.close() ]]> will the above trigger execute without any error?? i'm using appopriate toolbox button or menu only so no help :(( ariel__ (~ariel@ppp-217-133-244-166.dialup.tiscali.it) left irc: Read error: 60 (Operation timed out) ariel__ (~ariel@ppp-217-133-244-56.dialup.tiscali.it) joined #gnuenterprise. Nick change: ariel__ -> ariel_away chillywilly (danielb@mke-24-167-202-50.wi.rr.com) joined #gnuenterprise. jbailey (~jbailey@65.48.140.35) joined #gnuenterprise. my problem with changes in the detail block is gone but there is interesting thing i would like anyone to confirm if i paste something in entry by mouse it is only looks like it is pasted but i was unable to edit even commit that info any testers? jbailey (~jbailey@65.48.140.35) left #gnuenterprise ("Client Exiting"). Action: derek is away: soccer party soccer is a communist sport ;) hehe, that's what my friend says anyway...it takes away from baseball which is a *real* amercian sport according to him he's a funny guy yopi! chillywilly: i don't remember such a nice thing from communists :) it's just a silly joke that he makes btw, foo Action: chillywilly just wants to stay on topic tell him he have not seen *real* communist most probably :) no, see it's a reference t McCarthyism ;) s/t/to/ pinkos! ra3vat: I still think Karl Marx has many valid points like getting rid of stratification in society, the rising of the proletariat, etc. :) it was not Karl Marx who was established some points here in Russia. They use any valid points for own sake, not sure they really care about proletariat or any other clearly. how i can add order_by="date" _descending_ to datasource definition? ra3vat: try order_by="date desc" Action: jcater is away: food what a surpise?!? jcater is eating?!?! who would've though?!??!!! thought jcater: i have checked out the latest gnue... did you "commit"ted the changes??? Varadhan: all he told you already committed jcater: for your desert if i put order_by="date desc" it constart sql like "select date desc, from table ..." and fail constract even I'm not sure that's a word i use postgresql ra3vat: how can i run a query like "Select max(field1) from table1" in a trigger??? construct? yea, that's it :) thanks :) btw, for the record athentification is NOT a word either it's authentication siesel likes to use that one a lot Action: chillywilly is being a nit picker now ra3vat: how can i run a query like "Select max(field1) from table1" in a trigger??? Varadhan: i was told not doing that much with trigger :0 and that suggestion helped me :) ra3vat: then what should i do to find the maximum value of a column (field)??? ra3vat: is there any equivalent methods available???? i do not know Action: chillywilly suggests waiting for jacater or perhaps it says something about it in the developers guide er, jcater chillywilly: i could not find anything related to this in the developer's guide... :( should be able to find the guide here http://www.gnuenterprise.org/~jcater/ Develpers-Guide.pdf er Developers-Guide.pdf chillywilly: yes, marked as TODO j/k Varadhan: is it possible via defining conditions to datasource? actually I think there's a decent amount of content there now some thing are TODOs, but jcater has been hard at work on it I really need to set aside some time for myself to give it a read yes, great docs yeah.. i too agree with you chillywilly, it has got some good amount of info... ra3vat: i couldn't get how.. can you explain this further??? pass an instance of GCondition is what I think he's talking about GCondition??? whats that??? Varadhan: it was just guess a way to pass conditions: eqals, not equals, gt, lt, etc. lupo_ (~lupo@pD9E6875F.dip.t-dialin.net) joined #gnuenterprise. From D-G.pdf "condition translates directly into a WHERE clause" yea won't give you a max though :) er, :( sure not rdean (~rdean@12-221-229-247.client.insightBB.com) joined #gnuenterprise. how to create a sequence??? Action: jcater is back (gone 01:07:03) Action: jcater thwaps chillywilly jcater: how can i run a query like "Select max(field1) from table1" in a trigger??? Varadhan: re the sequence, in Oracle: create sequence myseqname start with 1000; jcater: Ok... Action: chillywilly barely feels jcater's girly tap jcater: how can i run a query like "Select max(field1) from table1" in a trigger??? Varadhan: hang on I saw the question the first 4 times :) jcater: ok... jcater: should i repeat mine if it was only once? :) ra3vat: I never respond unless my name is spoken 3 times ;) jcater: [15:37] Last message repeated 2 time(s). :)) :) Varadhan: for a quick fix, you can update cvs and then do Datasource.sql("select max(field1) from table1") Varadhan: the proper way is to create a datasource for that and just execute it but I'm only here for a sec and can' t work up a demo of the latter ra3vat: what was your ?? "when will the dev guide be finished?" :) jcater: for your desert if i put order_by="date desc" it constart sql like "select date desc, from table ..." and fail jcater: ok... ah, bugger jcater: how do i access the result of the query??? result = Datasource.sql("select max(field1) from table1")? ok... Action: chillywilly was going to suggest that but did not want to chance being wrong and looking stupid ;) Action: ajmitch thinks '?' keyboard repeat should be turned off :) ?????????????????????? yea, I guess it is kinda annoying ;) what should i need to do to create a field with a sequence attached to it??? ra3vat: can you update CVS and try again? Varadhan: what do you mean "Sequence attached to it" you mean you want it autopopulated with a sequence before an insert or such? jcater: yes... something like autogeneration of values... you'll want to put a Pre-Insert trigger on that field and have the text of the trigger be: if self.isEmpty(): self.autofillBySequence('your_seq_name') iirc at least Ok what do you mean by "iirc"? if I recall correctly Oh! ;) updating bye ppl lupo_ (~lupo@pD9E6875F.dip.t-dialin.net) left #gnuenterprise. jcater: in the SimpleQuery method, the argument is given as "dictionary". What does a "dictionary" mean? Varadhan: http://www.acronymfinder.com/af-query.asp?String=exact&Acronym=iirc&Find=Find ok Varadhan: a python dictionary type? chillywilly: yes... SimpleQuery? Action: chillywilly throws the python tutorial at Varadhan jcater: File "/usr/local/src/cvs/gnue/gnue/.cvsdevelbase/gnue/common/GDataSource.py", line 103 if field[-5:].lower() = 'desc': ^ SyntaxError: invalid syntax ah, bugger again :) ra3vat: I will fix in cvs but all that needs is an extra = :) ok, committed Action: jcater hopes that was the only typo Varadhan: where are you seeing "SimpleQuery" ? what is my preferred editor? cvs up :) the bane of interpreted languages? typos? ra3vat: lol jcater: dev guid... jcater: dev guide... oh, ok I imagine it's expecting some field keys for the query e.g. simpleQuery( {'id': 123} ) jcater: you could fix those types of errors with syntax highlighting ;) would translate into select .... from .... where id = 123; er, avoid chillywilly: actually, I currently have syntax highlighting turned on didn't help use emacs ;) j/k oh ell well jcater: ok jcater: is it possible to use a field without defining it in the block tag??? yes Action: jcater is looking jcater: how? would pull in otherfield1 and otherfield2 even if not referenced as an entry Oh!!.. then, can i use them directly, i mean, without prefixing page_name.block_name etc to it??? I'm not sure about that ok... Varadhan: block_name.otherfield or self.otherfield (i have trigger defined inside block) might work ok.. jcater: now i'm getting initial error Error: Error while communicating with datasource. ERROR: parser: parse error at or near "desc" SELECT num desc,num,origdate,sernum,issue,model,vendor_id,org_id,id FROM reclaims WHERE ((1 = 0)) ORDER BY num desc gack why didn't that work? bugger I see what I did sigh it's committed you know the drill Action: jcater hopes it works this time jcater: now it works, thanks is it possible to put a pre-insert trigger on an entry field? if so, what is the syntax? there is a pre-insert trigger, iirc Varadhan: you should be able to dunno about the syntax, but I bet that nifty guide says smething about it ;) it should be no different than the block-level syntax jcater: but the tag doesn't have any "trigger" attribute.. :( ah it works like this err Your Code Here Oh!!! thanx... that's how it works with everything, except buttons so, this trigger is only for that particular entry.... Action: jcater needs to ask jamest why buttons don't work that way Varadhan: yes jcater: i got it... jcater: moving to first-last record described in menu as Shft+Up Shft+Down but actually Ctrl+Up Ctrl+Down works ok is it correct or may be my mistake with translations? I think it was incorrect on the menu I fixed it Action: ra3vat arms his editor again should be corrected via i18n procedure also Action: derek is back (gone 02:55:06) jcater: just received an exception when trying to insert some records... can i paste the exception message here??? hmmm what does your trigger look like? can you paste the .... ? sure... if self.isEmpty(): self.autofillBySequence('accno_acc_holder') ]]> oops... um was going to say somethign clever but i forgot Action: derek is away: more soccer fun jcater: one more from backlog my problem with changes in the detail block is gone but there is interesting thing i would like anyone to confirm if i paste something in entry by mouse it is only looks like it is pasted but i was unable to edit even commit that info any testers? ra3vat: yeah, known bug for some reason, when you use the mouse to paste wx never generates an event so we never know it happened :( we're still chasing that one down Varadhan: what was that oops for? did you figure it out? yeah.. i thought i resolved it.. but i was resulted with... DB000: object = self.xmlElements[name]['BaseClass']() DB000: File "/usr/local/gnue/lib/python/gnue/forms/GFForm.py", line 53, in __init__ DB000: GRootObj.__init__(self) DB000: TypeError: __init__() takes exactly 4 arguments (1 given) where am i going wrong??? jcater: is it the same cause that i hit one entry by mouse and it looks selected but edit goes into previos? ra3vat: I think so ok Varadhan: eek you do have the trigger as a child of right? it;s within that set of tags it appears that it's outside of your tag even jcater: yeah... i got it corrected.. it is working now... tell me onething... if i keep the designer open when i run the gnue-forms, will it pose any problem?? it shouldn't Ok.. jcater: will the following trigger insert records properly??? form.New_account.blk_acc_holder.newRecord() form.New_account.blk_bank_accounts.newRecord() form.commit() ]]> I'm not sure what you're doing there? actually, i have to insert records to two different tables... but, only to the first table (acc_holder) the records are getting added... the abovesaid trigger will be fired when you press a button to create the records... jcater: shall i mail you the corresponding .gfd file??? ariel_away (~ariel@ppp-217-133-244-56.dialup.tiscali.it) left irc: "Uscita dal client" jcater: are you there??? reinhard (~reinhard@M693P020.adsl.highway.telekom.at) left irc: "Wouldn't it be wonderful if real life supported Control-Z?" ds_ (~ds@ics.elcom.ru) left irc: Remote closed the connection siesel (~chatzilla@port222.waldbroel.ndh.net) joined #gnuenterprise. hi all hi siesel... hello siesel: i have a problem... siesel: actually, i have to insert records to two different tables... siesel: but, only to the first block (acc_holder) the records are getting added... no problem, just use the simpleQuery trigger siesel: the abovesaid trigger will be fired when you press a button to create the records... how do you insert the records? siesel: with a dts.insertRecord? siesel: no... with block.newRecord()... Action: siesel meant that. hmm. there is no master detail relationship between both records right? you are right... no master/detail relationship between them... ./records/datasource/s have you looked at the debug output? gnue-forms --debug-level=12 myform.gfd actually, the entered values are not getting updated the in corresponding fldEntries... no, lemme try now... btw. you shoud add some print lines, to see if anything is breaking. like 'print "first newrecord"' print 'finished' ... i got the debug o/p, shall i paste it here??? (i am not able to understand things correctly from it!!!) siesel: there??? SachaS (~Sacha@dialup-196-176.wasp.net.au) left irc: Read error: 104 (Connection reset by peer) Action: derek is back (gone 01:17:42) Action: derek is away: softball fun.... siesel (~chatzilla@port222.waldbroel.ndh.net) left irc: Remote closed the connection siesel: i found out the problem.. the date field was not properly entered... :) you know siesel? somewhat... why??? DB000: raise MarkupError, _("File has multiple instances of <%s> when only one allowed") % (element) DB000: gnue.common.GParser.MarkupError: File has multiple instances of when only one allowed static datasource was done according to D-G.pdf ra3vat: did the functionality Datasource.sql() got checked into CVS??? ra3vat: i could not find it in the latest source also... :(.. gnue-forms says "Attribute Error: sql"... jcater: i could not find it in the latest source also... :(.. gnue-forms says "Attribute Error: sql"... jcater: did the functionality Datasource.sql() got checked into CVS??? Varadhan: subscribe to gnue-commit mail list will look now in mine Modified files: common/src/dbdrivers/_oracle: DBdriver.py Log message: fixed Oracle's dataobject.sql() extension jcater: static.gfd from testcases does not work also ToyMan (~stuq@glvv-dsl1-116.citlink.net) joined #gnuenterprise. ra3vat: even my copy of the same file has that patch... ra3vat: do i need to restart the appserver of gnue or what??? what appserver are you talking about? gnue... gnue-appserver... something like that is running on my box.. or else what should i do to make that sql method work??? KeithJagrs (trilluser@63.74.24.9) joined #gnuenterprise. hello chillywilly (danielb@mke-24-167-202-50.wi.rr.com) left irc: "Free Your Enterprise! - http://www.gnuenterprise.org" *** msg for siesel, jcater conserning static.gfd error i've removed 'SingleInstance': 1 definition for staticsetrow from xmlElements GDataSource.py file and my form works static.gfd from testcase does not though, error: DB000: raise MarkupError, _("File has multiple instances of <%s> when only one allowed") % (element) DB000: gnue.common.GParser.MarkupError: File has multiple instances of when only one allowed *** Action: ra3vat finally put gnue into production Action: ra3vat hugs GNUe and falls asleep ToyMan (~stuq@glvv-dsl1-116.citlink.net) left irc: ": I'm off to make more toys..." KeithJagrs (trilluser@63.74.24.9) left irc: "later" Action: drochaid is away: not ere, sleeping .. yes that's what I said, SLEEPING rdean (~rdean@12-221-229-247.client.insightBB.com) left irc: "Client Exiting" Action: derek is back (gone 03:36:21) hi derek hi Action: derek smells himself and decides a shower is in order could be a good idea Action: jcater agrees w/derek dude, you stink Varadhan: sorry, that should've been datasource.extensions.sql() as that's considered a datasource "extension" we need to add the connection names to GNUe's trigger namespace so we don't have to use the .extensions. notation Maniac (~User@h24-82-132-209.wp.shawcable.net) left irc: "Client Exiting" IsoosI (dahoose@port-219-88-247-231.jet.net.nz) joined #gnuenterprise. Remosi (dahoose@port-219-88-247-104.jet.net.nz) left irc: Read error: 113 (No route to host) man, derek must've been REALLY dirty that's a long shower KeithJagrs (trilluser@63.74.24.9) joined #gnuenterprise. hello! anybody home? mmmm eggnog I rented a movie . I thought It was an action movie , but was fallin asleep in the comfort of the couch and the lights out. It is a slow movie. better seen in daytime i think watching SNL SNL? saturday night live hmm. HBO, right? mdean (~mdean@mkc-65-28-72-76.kc.rr.com) left irc: Read error: 60 (Operation timed out) --- Sun Nov 10 2002