*** btami has joined #gnuenterprise good morning *** johannesV has joined #gnuenterprise good morning *** sjc has joined #gnuenterprise *** kilo_ has joined #gnuenterprise good morning good morning johannesV: seems class tag's Filter attrin can't be mixed case in .gcd files, is it ok ? s/attrin/attrib it can't ? gcd fájlok betöltése... DB000: A(z) '/home/tamas/svn/gnue/gnue-packages/supply-chain/billing/billing.gcd' fájl(ok)ban: DB000: A 'billing_head' osztály 'BILLING_Company' szűrője nem található az osztálykönyvtárban g what does that mean in english ? :) sorry the 'BILLING_Company' filter of 'billing_head' class can't find in classlib i have in billing.gcd the module name is 'BILLING' ok, and you get that error on importing the gcd yep ok, so please svn up and try again ... looks like i've forgotten to lower () that filter-names on processing it's ok now thx 2 remaining problems with filters 1. why do you filter the master class whitch has no filter this way i have to do at least one insert first what do you mean with 'filter the master class' if Company is a class and it has no filters at all and Head is filtered with company i can't do login until Company has no record (Head is BILLING_Head here) im not sure if i get your point now there is no filter on Company since company is defined to be the master of head, why do you want to create a head without a company ? i dont but we start a generated form for Company and it still shows the opening form ok asking for the filter ah, now i see ... well, the main problem here is, that appserver cannot detect which filters will be needed by a gfd (even it's generated ones) since trigger-code or procedure-code can introduce virtually every class available so it has to query for 'all' available filters but in your scenario you should be able to select anything for company-filter since it won't get used in that generated form it would be a good idea to have a procedure to disable/change filters from a trigger code ? is it possible to process trigger-code prior to login-dialog ? sorry, my notice is related to another issue it's for changing Company from trigger later in the app you mean i could enter anything for the filter as it doesnt get used? this depends on wether you have records in the company table or not if it's empty, you can enter what you want, otherwise you have to pick a valid one Could you have the login dialog probe for entries in Company and give a default (and exit) if empty? you could give a default via connections.conf and if there are no other fields not having a default, no login-dialog appears anyway ... Solved, right? bbl no parameter for filter BILLING_Company speicifed when Company is empty and quits from login johannesV: the 'no parameter for filter BILLING_Company speicifed' is the message i get if i just press enter, and Company table is empty :) hmm, that's strange ... this should go, as otherwise one would never be able to introduce new companies ... :) i'll look at that a bit later ... yes, this was my initial problem :) i think i've just found a bug in pygtk2.6 ... gtk.RESPONSE_OK == -5 evaluates to True, but gtk.RESPONSE_CANCEL == -4 evaluates to False, although -5 is the result for Ok and -4 is the result for Cancel ... silly things happening again and again ... well, nobody's perfect ... :) johannesV: there is another problem maybe you can remember in Head.gfd the hack you suggested doesn't work now blkHead.update () #HACK invNumber = blkHead.fldNumber.get() print 'invNumber=',invNumber invNumber is empty but invoice created and stored hm, have you noticed it's about 10 o'clock and reinhard isn't here ... just printing it doesn't work again ok, then blame Derek :) where is that Head.gfd located ? gnu-contrib/gnue-invoice s/gnu/gnue ah, there are multiple commits ... after all that restructuring in common, i'm not sure wether this makes sense ... argh, can't paste atm but i think the commit () forces the current records to be requeried anyway so that blkHead.update () shouldn't be necessary you'd have to try ... same error it print's nothing ? it gives error because invNumber is None File "/home/tamas/svn/gnue/.cvsdevelbase/gnue/common/datasources/drivers/DBSIG2/Connection.py", line 261, in makecursor cursor.execute (s, p) File "/usr/lib/python2.3/site-packages/kinterbasdb/__init__.py", line 1582, in execute self.description = _k.execute(self._C_cursor, sql, params) ProgrammingError: (-104, 'isc_dsql_prepare: Dynamic SQL Error. SQL error code = -104. Token unknown - line 1, char 97. ?. ') but invoice had stored in the db what about the statement ? try --debug-level=4 erm level=3 sorry the statement is ok, needs one parameter, but the parameterer is: None or ? None johannesV: will you do that versatile dialog box in curses too? of course, and in win32 too :) will there be gnue for palm? yes i will wx is just sent cool i'll try to do it in win32 too, although i felt a bit uncomfortable with win32 due to the lack of docs sh*t, just tried to make a joke and then you boooinng commit it... if i'm gonna fail i'll let it up to you .. :) oh no, you _CAN_ do it :) wx was kinda hard already ... but finally i got it ... *lol* btami, i promis i'll try to erm, s/promis/promise/ kilo wants a _GOOD_ grod too :))) s/grod/grid the big picture is to replace login-dialogs and jumpTo-dialogs with this i see i told btami: we would need a good grid and a... and a good grid of course there will be more control-types in the future (like numeric controls, spin-buttons and so on ...) right, having a grid should be considered in the future, but that might be quite complex (i.e. a grid with a rows-property :) johannesV: if you fall in love with win32, you can consider rewriting it using MFC instead of API calls the pywin32 MFC support is better than API support oh, what's that ? but i wanted to use the simplest first, to learn how thigs work in win32 land can you point me to some docs msdn and source files in pywin32 what's pywin32 ? the package name on sf.net yeah, but where do i get it ... ah ok is that already a pre-requisite for a windows setup or not ? yes it is yeah, have just noticed ... i already downloaded and installed that ok but isn't that the same way as the loginhandler does it ... ? no win32py has win32ui (MFC calls) and win32gui (API calls) modules in gnue's win32 uidriver i used MFC calls only there was no API func to do it *** havoc has quit IRC like selecting fonts all other cases i used only API calls the win32ui (MFC) is an oo level above API, like gtk/qt ok, so that's what i want, isn't it :) *** dcmwai has quit IRC maybe ahh yes, i think that's what i've been looking for .... i don't know is it a good idea to mix MFC and API anyhow, you will see what is better for you... btw. there is a package called venster on sf.net it's another oo try, but not using pywin32 instead using ctypes from Thomas Heller hm, no i think we shouldn't start something new ... if pywin32 works it's ok yes bbl *** dimas has joined #gnuenterprise hi dimas hi btami dimas: i have working filters, thanks to reinhard there is a bug in xmlrpclib.py before Python 2.3.5 and we have 2.3.4 in UHU-Linux how it affected? unicode string couldnt be dict key... as i have Python 2.3.3 here so that strange unicode error? for (key, val) in value.items (): + # Workaround for a bug xmlrpclib <= Python 2.3.4: No Unicode strings + # possible as dictionary keys. + if isinstance (key, types.UnicodeType): + key = key.encode ('utf-8') result [python_to_rpc (key, exception)] = python_to_rpc (val, exception) return result reinhard has commited it yes bbl *** sjc has quit IRC *** btami has quit IRC *** havoc has joined #gnuenterprise *** lekma has joined #gnuenterprise hi *** kilo_ has quit IRC does gnue support postgresql 8?? *** dcmwai has joined #gnuenterprise johannesV: if you read the logs: given "mod_class" a class name and "mod_prop" a property or calc prop (not known if it's one or the other) name is there a way to know the length and scale and type of the related prop? bbl *** reinhard has joined #gnuenterprise *** johannesV_ has joined #gnuenterprise *** johannesV has quit IRC kilo are you around? here an article about UBL and FOSS http://www.linuxjournal.com/article/8254 *** cilkay has joined #gnuenterprise *** cilkay has left #gnuenterprise * chillywilly was looking at UBL it's a bit complex but I need to make some examplae documents and I think I will be able to use it they need to finish their work though ;) they need more documents apparently there is a java ubl library called hyper ubl true. ok but with invoice and purchase order having two very prominent ones. google is turning up nothing https://hyperubl.dev.java.net/ written by Sun? dunno but its released under bsd licence cool too bad I am not a Java head ;) the chair of the UBL tc is from sun ... yea I know xCBL is still far richer than UBL but they have work to do so I will cut them some slack ;) *** jamest has joined #gnuenterprise hibernate can use a relational database? I see it reads a mapping file doesn't python have a hibernate equivalent? chillywilly when I look at it from far away .... I see gnue-appserver also doing object/relational mapping, caching etc... what about pypersyst? no idea as I am not into python well sucks to be you then ;) there is ActiveRecord in Ruby :) is that what you're using these days? rubdy on rails was looking pretty sweet last I checked these days I am doing lots of running around ;) was writing concepts ... but no programming bah *** rynik has quit IRC *** rynik has joined #gnuenterprise Can you folks tell me what release of subversion your using? Also, I notice that there is a python-subversion, should I pull this down? [ds@exodus samba]$ rpm -qa |grep subversion libsubversion-1.1.2-alt0.M24.3 subversion-1.1.2-alt0.M24.3 The deb packages is 1.1.1-2. Will I be ok with this one? i do not know for sure Ok, thanks dimas. I'l give it a shot. tiredbones: most of the cases you can count on the deb packages will be ok >50% of the developers use debian here, we will always try to be compatible with at least debian testing reinhard: where did you put (path) your working copy of svn. s/./?/ me? /home/reinhard/prj/gnue That looks good. I entered this command - svn co http://svn.gnuenterprise.org/var/gnue/trunk gnue I got this error - PROPFIND reguest failed on "/" PROPFIND of '/': 200 OK (http://svn.gnuenterprise.org) Can someone help? nvermind. i think i found my error. common and appserver should be epydoc clean now :) I gotta get my svn repo back up now btw, I was rooted the other day :( learned some hard lessons I thought I had the wrong path, but I'm still getting the error. Is this the right path http://svn.gnuenterprise.org/var/svn/gnue/trunk Ok, I got it! *** btami has joined #gnuenterprise hi all reinhard: i have vorking filters now, thx for your fix s/v/w *** sjc has joined #gnuenterprise btami: thanks for your debugging btami: you have other problems now or are they resolved? (saw something in the logs this morning) yes i have one remaining no parameter for filter BILLING_Company speicifed when Company is empty and quits from login johannesV: the 'no parameter for filter BILLING_Company speicifed' is the message i get if i just press enter, and Company table is empty :) hmm, that's strange ... this should go, as otherwise one would never be able to introduce new companies ... :) i'll look at that a bit later ... yes, this was my initial problem :) btami: you try to open the generated form of BILLING_Company, right? does BILLING_Company have any reference property? *** chillywilly has quit IRC *** chillywilly has joined #gnuenterprise Is someone working on the svn version of designer? I can't get it to work, np though as I can use the .deb version. *** chillywilly has quit IRC *** chillywilly has joined #gnuenterprise On my working copy of svn, in directory gnue-pointofsale, the INSTALL file has nothing in it. How can I verify that the Repository copy is empty? In other-words, should it be empty. tiredbones: mine is empty ass well... thanks rynik: If one goes to the svn web site, would I have been able to see what was in the file online? I try this to see if something was there, but I wasn't sure if I was doing it right. Tiredbones: I gues so, but I gues there never was anything in there. tiredbones: svn log INSTALL ? I never saw any docs on what ".in" extension are. Can someone inform. *** dcmwai has quit IRC reinhard: no, it hasn't and later: *** Sacha has quit IRC notice, i'm using Ceg instead of Company here at home *** SachaS has joined #gnuenterprise *** cilkay has joined #gnuenterprise *** johannesV_ has quit IRC *** cilkay has quit IRC *** cilkay has joined #gnuenterprise night all happy hacking "hack for freedom" *** SachaS has left #gnuenterprise *** btami has quit IRC FYI - under /usr/share/doc/gnue-forms/, the doc Concept-Guide.sxw is empty. night all *** rynik has quit IRC In the doc "GNUe Forms: User's Guide" , it is suggested that there is support for many types of DB vendors. If this is not true I would like to clean it up. At the moment isn't postgresql only supported and possible mySQL. tiredbones: gnue currently fully supports interbase/firebird, mysql, postgresql, sapdb/maxdb and sqlite and also supports ms sql, access, and oracle except for automatic schema creation also there is limited support for file based backends with csv files, dbase files and ini files and of course for gnue-appserver as a backend I think you can seriously call that "many types" :) reinhard: Great! I'm going to compare the items you tick-off with the docs. reinhard: Does it still support Informix, Sybase and OpenIngres? reinhard: First let me say I'll be glade to do the work.What do you think tiredbones: no, we don't support these any more they have been unmaintained and broken for over a year and we decided to delete them about breaking(separating) GNUe Form User Guide into a doc that just tell users what GNUe does supports and move the install part to the Developer's Guide or the GNUe-Forms technical Reference Guide. I have always been thinking that installation should be a completely separate document This wouls do away with the User Guide. as we hope that at some point most of the users would be able to install from native packages of their distribution of choice and not have to deal with manual installation steps at all any more Well, for now put it some place. I think you would have to talk to jamest about this; forms (and especially the user's guide) is pretty much his work IIRC but actually I can't remember him not accepting any doc contribution :-) Ok, jamest would be the one to talk to about the GNUe Forms: Developer'd Intro/ The document, I just mention, as Jcater name. The document I just mention, as Jcater name. ok, sorry wasn't sure *** jamest has left #gnuenterprise *** havoc has quit IRC *** havoc has joined #gnuenterprise *** cilkay has quit IRC night all *** lekma has quit IRC good night all *** reinhard has quit IRC *** sjc has quit IRC *** tiredbones has quit IRC *** jcater has joined #gnuenterprise @seen jamedt jcater: I have not seen jamedt. @seen jamest jcater: jamest was last seen here 1 day, 2 hours, 43 minutes, and 28 seconds ago saying: bbl *** jcater has quit IRC freaks *** jcater has joined #gnuenterprise *** chillywilly has quit IRC *** chillywilly has joined #gnuenterprise *** dcmwai has joined #gnuenterprise *** chillywilly has quit IRC *** chillywilly has joined #gnuenterprise *** cilkay has joined #gnuenterprise *** cilkay has left #gnuenterprise *** dcmwai has quit IRC *** Vee has quit IRC *** Vee has joined #gnuenterprise