*** mixi^ has joined #gnuenterprise *** mixi has quit IRC *** reinhard has joined #gnuenterprise *** kilo has joined #gnuenterprise *** johannesV has joined #gnuenterprise good morning good morning johannesV: just reading the commit email now. :) using firebird-s32-server on my debian is working it's a bit slow because of some 'additional?' queries ... but it's working svnupping now, will check soon i hated to manually add properties to the database 8-)) :) and it works like charm well, so i'm happy i could help :) * kilo is busy filling up the appserver with tons of classes and like *** derek has joined #gnuenterprise *** btami has joined #gnuenterprise *** dneighbo_ has quit IRC johannesV: errr....may i dare to report an error again? btami, kilo: is there a way to see which statements are executed by a firebird db ? kilo: yes *** nickr has quit IRC i cant save a procedure. classes are added, properties are added, but saving a procedure it reports an error GFForm: Váratlan kivétel: ------------------------------------------------------------ Traceback (most recent call last): File "/home/gabor/SVN/gnue/gnue-common/.cvsdevelbase/gnue/forms/GFForm.py", line 544, in commit block.processCommit() File "/home/gabor/SVN/gnue/gnue-common/.cvsdevelbase/gnue/forms/GFObjects/GFBlock.py", line 513, in processCommit self._dataSourceLink._dataObject.commit() File "/home/gabor/SVN/gnue/gnue-common/.cvsdevelbase/gnue/common/datasources/drivers/Base/DataObject.py", line 151, in commit self._connection.commit() File "/home/gabor/SVN/gnue/gnue-common/.cvsdevelbase/gnue/common/datasources/drivers/appserver/appserver/Connection.py", line 100, in commit self._sm.commit (self._sess_id) File "/home/gabor/SVN/gnue/gnue-common/.cvsdevelbase/gnue/common/rpc/drivers/Base.py", line 232, in __call__ return self._adapter._runMethod (self._methodname, *args, **params) File "/home/gabor/SVN/gnue/gnue-common/.cvsdevelbase/gnue/common/rpc/drivers/xmlrpc/pw_xmlrpc/ClientAdapter.py", line 96, in _runMethod raise client.DistantError, e.faultString DistantError: Invalid value 'None' for property 'gnue_code' though the code editor field was filled with very intelligent code (ie print "blahblah") *** nickr has joined #gnuenterprise hmm, have to check ... one moment please ok kilo: this is working fine for me ... oh 8-(( i've added a new procedure using parameters and a result .. so are you sure there was a code in the field ? :)) yes, there was johannesV: i know it is possible(track sql), koz delphi has a tool for this, but kilo: can you reproduce the error ? i don't know such a tool for linux btami: ok, but there's no syslog-facility where such stuff is logged into ? there is a log file, but i can't find any docs about this issue ok, thanks yes, error is reproducable hmm kilo: can you explain the steps you're doin to me ? sure, in 1 min, i have to advice my friend who wants to buy a good whisky in Scotland :) whisky advice is done so back to classre...gfd i have a module, in it two classes Classes tab, Query mode, i select my module and execute query there are my two clesses, filled with properties ok selecting one of them i change to the Procedure tab i see the class name at the top ok, first i select a class and then change to proc-tab fully qualified name, ie module_classname ok i write something in each line, but nullable, and also choose the module from the dropdown do you choose the module by typing or via mouse via mouse ok no parameters given, i enter code like print "blah" ok and now i push the save button ok, so did i i didn't get an error and nor do i :) wow, johannesV cured it magically via the internet!!! yeah ! wait, i must have done something maybe only talking about whiskies helped? * johannesV lookin for some coffee well at least i can produce an error, if i update the procedure code and save the same procedure you've inserted before ? same error ? the same proc, yes. i put a second line in the code and tried to save DistantError: (-902, 'execute.isc_dsql_execute: internal error. ') exactly ok, so i'll try to catch this one :) this is strange, cause updates worked well on sample.gfd hehe, ok 8-)) btw what does it mean that a procedure is nullable? this means a procedure is allowed to return "None" as result otherwise returning 'nothing' or None would raise an error ok, i see which should point out where procedures are 'not well defined/programmed' and should parameters be filled right at creation time? or is it required to save the proc first and then add params? btw. sample.gfd still works well; i think this could be a problem with the blobs you can add parameters in the same step as defing the procedure no save-first, save-second needed ok, so it is unlike class-properties well, actually this should work there too hmm, at least i think so .. the internal error is a problem raised by gnue_code's datatype (BLOB) this was why I initially forced the interbase sql-processor to translate 'unlimited strings' into 'varchar (32767)' instead of blob blob is always a bit tricky to handle *** bluesbaron_ has joined #gnuenterprise i used blobs with an interbase db project to store compiled regexp objects in the db, and it worked quite well *** bluesbaron_ has left #gnuenterprise http://kinterbasdb.sourceforge.net/example_code/simple_blob_pickle_example.zip shows the way how to use blobs should i send the code to you? just downloaded that zip-file ... kilo: yes please send the code line 199 and in the latter line 53 ok, i see i think the problem is the update-statement update set gnue_code = 'blahbla' where gnue_code = ? and gnue_id = ? parameters: ['old text', , '12313213112'] the first two params won't match in type and value so if we would change the code so they match in type there's still the db which don't like this (have tried it) ah this form of an update is diffrent from your samples in that way that the blob-value is used in the condition part yes, i dont use it in comparisons seems as if there's no quick fix for this problem there's the more general question how to treat blobs anyway which needs some 'think-over' ok, this problem can be overriden by deleting and adding the procedure again, se it can be lived with hmm, yeah for the moment; but i don't think this is a 'solution' :) no, but a wuick hack. s/wuick/quick what are the plans about supporting lists and dictionaries? you mean as datatypes ? yes there are no real 'plans' to do so, but we have thought about lists (arrays) i see would they cause RPC problems? not sure about; but using lists as 'parameters' or 'procedure-results' would be easier than making a 'list-type' available as persistent database-type since rdbms's are quite different in handling such types (if they do so) and what if they were stored as blobs? *lol*, this will imply we have a 'usable' solution for the 'blob-problem' anyway, a list of the same type of information is against the codd's normalform like name_1, name_2, name_3 this should be a detail-table with one single 'name' field having multiple entries instead hmmm, true anyway, appserver should support list-fields (list-properties) with it's version 0.2 after all we haven't discussed the implementation details so, this might make the discussion about 'array'-types obsolete ok *** reinhard_ has joined #gnuenterprise *** reinhard has quit IRC bbl *** reinhard has quit IRC johannesV: we tried using a blob field in where clause *** Vee has joined #gnuenterprise it works in isql, and in forms when useParameters != 1 ie it is commented out in gnue.conf but it doesnt work using appserver, even if useParameters is commented out but it throws an other type of error, this time again boolean matters the sql statement is: UPDATE gnue_procedure SET gnue_code='try: return self.__cache[kod][1] except: return None #aaa',gnue_nullable=TRUE WHERE gnue_code='try: return self.__cache[kod][1] except: return None' AND gnue_id='60164400889888615052419736243989' AND gnue_nullable='1' *** havoc has quit IRC gnue_nullable=TRUE, tha is problematic *** havoc has joined #gnuenterprise bbl *** btami has quit IRC *** kilo has quit IRC *** dsmith has joined #gnuenterprise *** jamest has joined #gnuenterprise *** johannesV_ has joined #gnuenterprise *** johannesV has quit IRC *** mixi^_ has joined #gnuenterprise *** mixi^ has quit IRC *** dimas has quit IRC *** dimas has joined #gnuenterprise *** jcater has joined #gnuenterprise for the record if you ever do a fk lookup and you list in the field a max length that is not the same as the value in the lookup it will behave MOST oddly on "prepare/execute" queries ;) hmmm jcater: i think that designer keeps resizing my form w/o me telling it too i will see if i can verify a simple sample and send to you for verfication if you drag and drop fields onto it from schema navigator yes, it resizes to fit all of the new ones hmm i dont think that is the issue (though it could be) i think if you make a form smaller than the "toolbar" if it's doing it some other time I've never seen it and it's likely a bug when you open the form in designer it resizes it to be big enough for the toolbar i will triple check and see if its repeatable and file bug accordingly can you have a fk on existing datasource er let me rephrase that i ahve table foo with field bar and bar desc actually never mind *** reinhard has joined #gnuenterprise cool I like neverminds if you were trying to ask what I think you were then the answer would've been it may let you, but I would be nervous doing so as such a setup may break in the future actually i think i changed my question and found the answer it works but not really (as it breaks in query mode) wtf how can a combo contain the value correctly on every record but the list is empty? * dneighbo is not getting this one simple we do that on purpose if you have existing records w/values that are not in the results of the query for that dropdown we don't want the form to bomb as that record does exist if you change the value of that field, however, you wouldn't be able to select the old non-valid value again i.e., we can't enforce the dropdown's foreign key values on existing records if that makes sense no here is the deal i have a field called activity i do a lookup to get the description (and valid activities) so the value in the table is NPRG but i do a lookup on the ACTV table to get NPRG - NON PROGRAM that is what displays i go to the next record 9999 and 9999 - PCARD is displayed but if i click on the combo box arrow there are no entries my point being where the hell is it getting the "description" from to display if nothing is in the box? obviously it is binding to the lookup table to get the value only thing i can think is i added this datasource in a different manner than the others that do work OR that this table is already being used as another datasource basically i have deptprog as a master table it has fields of dept and activity then it links to the actv (where actv is the detail table) joined on fy and activity and i get a several reporting fields off the actv table for display purposes (all those work fine) and the dept lookup works fine but i needed an activity lookup originally i was going to use the existing datasource of actv (but thought that might be risky) so added another datasource for actv to be the lookup and now its behaving oddly ah I wish I had a mockup of your database w/dummy data your issues are hard to debug :) i can send them bah you were supposed to say "I wish I could... but I could get in trouble" then I'd say, "oh well" i did say that your irc client must have retranslated on the fly *** sjc has joined #gnuenterprise *** bluesbaron_ has joined #gnuenterprise *** wendall911 has joined #gnuenterprise *** bluesbaron_ has quit IRC *** bluesbaron_ has joined #gnuenterprise *** bluesbaron_ has left #gnuenterprise *** johannesV_ has quit IRC cd wahl sigh doh *** reinhard has quit IRC *** reinhard_ has joined #gnuenterprise jamest: 2.6.6 is working great for me, btw dsmith: ? was 2.6.x giving you trouble? mouse issues jamest: May it was someone else who told me what modules to load. s/May/Maybe/ *** jcater has quit IRC *** jcater has joined #gnuenterprise *** siesel has joined #gnuenterprise hi guys hi siesel hi jamest, how are your ZOPE servers working at Kansas University? *** flax07 has joined #gnuenterprise hi there - can anyone tell me the status of the financials package? ...the status bits of the website dont seem to work... flax07 we have mostly concentrated on the tools and custom applications *** Vee has quit IRC there is no working financial package to download there are tools that you could use to write such a package sure - ive been tracking the project for a year or two - hoping that a decent free accounts package would appear! i think along with exchange, and a non-java based office suite - these are crucial to business getting off M$ flax07: the Access Killer yep - as well - openoffice has good, if different to ...M$, database access. there are some exchange-killer apps appearing - but still nothing that does decent business accounts bbiab *** dneighbo has quit IRC *** kilo has joined #gnuenterprise *** dneighbo has joined #gnuenterprise fwiw: one of the other developers here has hit the "empty" dropdown box problem *** kilo has quit IRC *** Vee has joined #gnuenterprise is there a way to make it so when you enter a field that the text is highlighted already? not currently that shouldn't be hard to do though i think :) funny, I thought it already did that sigh no, it just positions at the end yeah, that's what I said * jcater coughs holy shit most windows ide's set the default to highlight the current data so that is what windows developers and users are expecting :( at least here neighbors commited * jamest runs away in terror yeah but it was jcater's code ah whew don't do that to me i thought for sure the entire system would collapse svn barely works 24 hrs at a time w/o neighborly love *** dsmith has quit IRC *** Vee has quit IRC *** Vee has joined #gnuenterprise *** flax07 has quit IRC *** flax07 has joined #gnuenterprise *** jcater has quit IRC *** jamest has left #gnuenterprise *** sjc has left #gnuenterprise jcater: you still here? how do you do sql directly in common apps actually i probably just need a way to do "distinct" *** jamest has joined #gnuenterprise jamest: in gnue common apps (not forms) how can you set distinct = true *** reinhard_ has quit IRC *** siesel_ has joined #gnuenterprise *** dnWork has quit IRC *** siesel has quit IRC *** jcater has joined #gnuenterprise *** mixi^ has joined #gnuenterprise *** flax07 has quit IRC *** R45 has joined #gnuenterprise *** mixi^_ has quit IRC *** wendall911 has quit IRC *** chillywilly has quit IRC *** dneighbo has joined #gnuenterprise *** chillywilly has joined #gnuenterprise *** derek has quit IRC