*** mnemoc_ has joined #gnuenterprise *** reinhard has joined #gnuenterprise *** mnemoc has quit IRC erkki_: are you still here? could it be that your LANG= is not set to anything? *** johannesV has joined #gnuenterprise good morning *** dcmwai has quit IRC *** kilo has joined #gnuenterprise reinhard: now I am:p good morning I'll take a look.. *** ayers has joined #gnuenterprise *** johannesV_ has joined #gnuenterprise *** johannesV has quit IRC reinhard: the LANG enviroment variable was not set to anything, but manually setting it to "C" didn't fix the issue Dispatching: Session.getFilters ('C',) Dispatching: Session.open ({'comment': 'Connection to the GNUe Application Server', 'host': 'localhost', 'rpctype': 'xmlrpc', 'provider': 'appserver', '_language': 'C', 'password': 'secret', 'port': '8765', 'transport': 'http', 'user': 'hacker'},) Dispatching: Session.request (-1217131892, 'gnue_class', ['and', ['eq', ['Field', 'gnue_name'], ['Const', 'person']], ['eq', ['Field', 'gnue_module.gnue_name'], ['Const', 'address']]], [], ['gnue_name', 'gnue_id', 'gnue_module']) Dispatching: Session.count (-1217131892, -1217099124) Dispatching: Session.fetch (-1217131892, -1217099124, 0, 5) Dispatching: Session.call (-1217131892, 'gnue_class', ['11d9e1be528451de921a0004616607d3'], 'gnue_form', {'connection': 'appserver', 'formheight': 20, 'language': '', 'formwidth': 80}) that's what appserver sees strange what if you set LANG=en_US (or whatever is appropriate for you)? btw, johannesV_ this looks like a bug :) reinhard: yes, I was just doing that, now it worked.. my enviroment variables were slightly messed up, but I guess forms should try to default to "C" or something? yep *** yure has joined #gnuenterprise *** dimas has joined #gnuenterprise *** dimas_ has joined #gnuenterprise *** kilo has quit IRC *** titopbs has joined #gnuenterprise *** holycow has quit IRC *** jamest has joined #gnuenterprise hi jamest please tell me if you have a minute reinhard: what you need? (i'll be slow to respond) I have a last functional change in mind before I would consider the datasources cleanup done but want to get your input on it currently, a ResultSet.post() does not move the record pointer around but some kludge is done to redirect access to the "current" record to the record actually being posted in on-commit triggers most kludgy thing appearantly being the getPostingRecordset thingy for the delete - GFBlock.delete deletes the record just being posted, and GDataSource.delete deltes the current record (that is being shown on the form) I consider changing ResultSet.post() to store the current record pointer at the start then move the record pointer while posting, so every on-commit trigger sees the postig record as the "current" record even including detail resultsets being loaded correctly then if the post() succeeds, reset the pointer to where it was before of course the UI would *not* follow the movement of the record pointer while posting as an additional advantage, an exception in posting (constraint violation or such) could just let the record pointer stay where it is and tell the UI to follow, causing the UI to automatically jump to the erroneous record on exception (instead of just displaying the record number) could you follow my thoughts? yes if memory serves me correctly this will reduce the code in forms that has to figure out current record after a post which has been buggy off and on in the past when dealing with deletes so i think it's a good thing and off the top of my head I can't see this breaking anything elif mode == 'precommit': value = self._block._preCommitWorkingRecord.getField(self.field) else: this would go away more or less ok so I'll go for it brb *** reinhard has quit IRC *** reinhard has joined #gnuenterprise *** titopbs has quit IRC reinhard: http://pastebin.ca/15315 ^---- problem updating schema with gcdcvs johannesV_: can you look at that? - looks like a problem in readgcd no looks like a partially updated svn-tree updateSchema is no longer available ... (in GConnections) please make sure to use same svn-version for appserver and common uhm i'll re-update ok if it still doesn't work we've to dig into it *** dimas has quit IRC *** dimas has joined #gnuenterprise *** jamest has quit IRC *** jcater has joined #gnuenterprise johannesV_: now it works :) :) ok, great :) does gld suppor anything else than pos and search? there are samples of more complex forms? *** SachaS has joined #gnuenterprise mnemoc: no complex forms with gld if you want complex forms you still have to write your own gfd (where currently even master/detail counts as "complex") can i add .gfd-s to my appserver? no usually you would have them on a shared directory but we've been talking about providing a way to "download" them through appserver as well just not yet implemented do you have written ideas about that? written? you mean documented???? technotes :) bwahahahaha ;-) sorry, no i would like to help you implementing stuff... after i get more familiar with python i need to do a POS over appserver/curses in the next months and i guess i would have to learn and code a lot *** dimas_ has joined #gnuenterprise *** dimas has quit IRC what ui is more mature at gnue? gtk2? qt? win32? wx? I would consider gtk2 most mature win32 should be quite ok curses and wx work more or less qt is not functional and unmaintained AFAICT hey! I've committed to qt within the last 2 years how can you call that unmaintained? oh sorry I take that back :) :) hehe sigh I miss gnue'n fwiw, we put in our order for our new T1s last week which means I hope to move ash in 4-6 weeks cool looking forward to a more stable ash I plan to start from scratch -- new server, etc then transfer data over as ash is showing his age that will also minimize downtime reinhard: did you tried gcd2dot? mnemoc: sorry, no time yet but from looking at the output I really like it have to run again cu tomorrow cu reinhard :) *** reinhard has quit IRC *** johannesV_ has quit IRC *** wendall911 has joined #gnuenterprise *** kilo has joined #gnuenterprise *** kilo_ has joined #gnuenterprise *** ayers has quit IRC *** dcmwai has joined #gnuenterprise *** kilo has quit IRC *** ayers has joined #gnuenterprise *** erkki_ has quit IRC *** erkki_ has joined #gnuenterprise how can i see how many month have passed between two mx.DateTime ? *** titopbs has joined #gnuenterprise *** jamest has joined #gnuenterprise *** yure has quit IRC *** dcmwai has quit IRC *** sjc has joined #gnuenterprise *** erkki_ has quit IRC *** chillywilly has quit IRC *** reinhard has joined #gnuenterprise *** erkki_ has joined #gnuenterprise *** ayers has quit IRC reinhard: this is going to sound pathetic hey, is there a trigger that would excecute when you change focus in a form but I recall the quoted fields in the select statement were for something that was broken for me ..I thought, that onChange would do that, but t doesn't seem to erkki_: post-focusout or pre-focusout on-change fires per alteration to a field IIRC ok, thanks.. I didn't see these triggers in the appserver documentation.. do they belong to forms or common? *** jcater has quit IRC *** kilo has joined #gnuenterprise jamest: yes it was 3 days ago, I still remember ;-) it was for not showing too weird behaviour for explicitfields=["foo,bar"] but we have to think about something else there erkki_: they belong to forms appserver can't fire a trigger on focus change, basically because appserver isn't even informed about a focus change :) reinhard: ok should the forms triggers otherwise work fine if displaying a form directly from appserver? as to my understanding, there should be no difference:p right, yes appserver is just another backend for forms ok, I'm glad I'm gaining some understanding here:p good night all *** reinhard has quit IRC *** chillywilly has joined #gnuenterprise *** jamest has left #gnuenterprise *** jcater has joined #gnuenterprise *** kilo has left #gnuenterprise *** sjc has quit IRC *** titopbs has quit IRC *** mdean has quit IRC *** jcater has quit IRC *** jcater has joined #gnuenterprise hi word I am having a problem saving in gnue-designer: DB000: File "/usr/lib/gnue/gnue/designer/uidrivers/wx/Base.py", line 206, in dialogSaveFile DB000: style=wxSAVE) DB000: File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_windows.py", line 2490, in __init__ DB000: newobj = _windows_.new_FileDialog(*args, **kwargs) DB000: PyAssertionError: C++ assertion "wxAssertFailure" failed in ../src/common/filefn.cpp(1675): missing '|' in the wildcard string! I don't know if it has been tested with wx 2.6 there may need to be some changes made to designer Everyone else is using wx 2.4? afaik, yes for some reason, debian doesn't have 2.6 yet *** jcater has quit IRC Fedora doesn't have 2.4 :) If I send copyright assignment info to fsf-records@gnu.org and info@gnue.org, does it go on a public archive (such a mailing list)? not sure about info@gnue.org, but the fsf one shouldn't info@gnue.org is broken: ): host /mnt/storage/var/imap/socket/lmtp[/mnt/storage/var/imap/socket/lmtp] said: 550-Mailbox unknown. Either there is no mailbox associated with this 550-name or you do not have authorization to see it. 550 5.1.1 User unknown aha :) email derek@gnue.org then his address should still work thanks ajmitchie! hello chillywilly *** SachaS has quit IRC *** wendall911 has quit IRC *** holycow has joined #gnuenterprise