*** siesel has quit IRC *** reinhard has joined #gnuenterprise *** kilo has joined #gnuenterprise *** btami has joined #gnuenterprise good morning good morning good morning *** johannesV has joined #gnuenterprise *** johannesV_ has joined #gnuenterprise *** johannesV_ has quit IRC *** johannesV has quit IRC *** chillywilly has quit IRC *** dimas has quit IRC *** Amorphous has quit IRC *** btami has quit IRC *** kilo has quit IRC *** reinhard has quit IRC *** mnemoc has quit IRC *** nickr has quit IRC *** havoc has quit IRC *** bigbrother has joined #gnuenterprise *** bigbrother has joined #gnuenterprise *** havoc has joined #gnuenterprise *** nickr has joined #gnuenterprise *** mnemoc has joined #gnuenterprise *** reinhard has joined #gnuenterprise *** kilo has joined #gnuenterprise *** btami has joined #gnuenterprise *** yure has joined #gnuenterprise hello all getting error when run reports DB000: File "/home/ds/svn/gnue/.cvsdevelbase/gnue/common/definitions/GParser.py", line 454, in startElementNS DB000: if baseAttrs.has_key ('file') and attr == 'file': DB000: UnboundLocalError: local variable 'baseAttrs' referenced before assignment worked fine about a week ago hmm wait a moment... dimas: please svn up, and try again gnue-common works again btami: thanks it was with reports, wasn't it? exactly btw. what report filter are you using? * btami is just curious -f html - is it about a filter? i mean in report-filters.conf have not looked in there for a long time simple tabulation with engine=? :) tabulator? ok *** johannesV has joined #gnuenterprise *** johannesV has quit IRC *** johannesV has joined #gnuenterprise *** kilo has quit IRC *** jcater has joined #gnuenterprise *** titopbs has joined #gnuenterprise *** mnemoc_ has joined #gnuenterprise *** mnemoc has quit IRC *** kilo has joined #gnuenterprise *** jamest has joined #gnuenterprise *** btami has quit IRC *** titopbs has quit IRC *** johannesV has quit IRC *** johannesV has joined #gnuenterprise *** johannesV has quit IRC *** titopbs has joined #gnuenterprise hmmm i thought datasources automagically requeried after a commit er, post they should unless you explicitly set requery=False but they only do if a rowid is available hmmm maybe I'm doing something wrong then I'm pretty sure :) because otherwise it would mean a bug in gnue i'm using a resultSet from a trigger in gnue forms and that's outside all possibilities, isn't it? explicitfields="claim_no, packslip_id" requery="y"/> psRs = dtsPackslip.createResultSet(query=False) record = psRs.insertRecord() record['claim_no'] = claimNumber psRs.post() packslipId = record['packslip_id'] is the trigger packslipId is always None ah fwiw, i had to add the query= support to the trigger resultSet er trigger createResultSet but figured the requery would work without me needing to do anything since I set it at the DS level http://www.gnuenterprise.org/tools/common/docs/api/public/gnue.common.datasources.drivers.Base.ResultSet.ResultSet-class.php#post whoops didn't see the requery() option you want to add a psRs.requery() directly after the post() ja they are separate because usually you have the commit() right between them hmmmm would master/detail work from datasources only used in a trigger iirc i had some code that tried to do this a while back it should but it was in the middle of the datasource cleanup/rewrite and it didn't work right m/d doesn't depend on the existance of a block at all right must leave for lug meeting cu all l8r *** reinhard has quit IRC *** johannesV has joined #gnuenterprise *** johannesV_ has joined #gnuenterprise would any datasource ever really have a field name that begins with a because if you set an explicitfields="this, will, screw, you" the field names are "this", " will", " screw", " you" i'd like to add a strip() to those names unless someone has a reason not to *** johannesV has quit IRC *** jcater_ has joined #gnuenterprise *** SachaS has joined #gnuenterprise *** johannesV_ has quit IRC *** jcater has quit IRC *** titopbs has quit IRC *** titopbs has joined #gnuenterprise *** docelic has joined #gnuenterprise *** titopbs has quit IRC *** jcater has quit IRC *** jamest has left #gnuenterprise *** kilo has quit IRC *** reinhard has joined #gnuenterprise gack!!!! sarge has been released *** yure has quit IRC *** reinhard has quit IRC *** SachaS has quit IRC *** jamest has joined #gnuenterprise *** dcmwai has joined #gnuenterprise *** jamest has quit IRC