*** derek has joined #gnuenterprise *** johannesV has joined #gnuenterprise good morning *** btami has joined #gnuenterprise good morning good morning *** sjc has joined #gnuenterprise *** reinhard has joined #gnuenterprise good morning good morning hi *** sjc has quit IRC *** johannesV_ has joined #gnuenterprise *** johannesV has quit IRC *** siesel has joined #gnuenterprise hi hi siesel hi reinhard btw. i found some strange bug in case of using sqlite and appserver sqlite just allows one thread to access one object you talking about sqlite3? or sqlite2? sqlite3 ok we are working on that we = johannesV_ :) ? erm, not sure though let me precise we are working on some strange behaviour with sqlite3 not sure if it is related to your problem currently i try to reproduce it .. wait a second .. hmm, murphy anti law is working. If you want to reproduce a bug .. it will work fine :( lol *** kilo has joined #gnuenterprise good morning hi kilo reinhard, I got the error again. just by opening three form instances and changing the content of the same record what does it say? http://www.gnuenterprise.org/~jan/Screenshot.png it occured when calling "close" woot you sure there isn't a session mismatch? i.e. one session tries to close a connection that another session opened ? how could this happpen? by passing the wrong session id parameter not sure if it really makes sense what I'm saying and my understanding of the error message is limited starting with the fact that I thought appserver would fork new processes and not make threads at least per default sorry i switched to threading ah oh what happens when you switch to forking? oh I think I got it you close the HTTP connection in between? so you get a new thread on the server side for the new HTTP connection so when switching to forking, you should receive an error message that this session does not exist yes, that would be the reason btw yep if you want beautiful error messages, you can cut what you get from the backend at occurances of character 0x91 first part is the exception type err first part is the exception kind (system, user, application) second part is the exception class third part is the error message fourth part is the complete traceback off to lunch I already thought about making some better error page. Then I will remember it siesel: the idea of exception kind is guten hunger please note: appserver really *needs* persistent http connections that for "user" exceptions you would only show the error message * johannesV_ off to lunch while for other kinds you could show a "detail >>" button to show the traceback you can look at the gtk2 implementation of the error message box to get an idea off now for real, too ok. thx. * siesel is missing real german/austrian food ;) sushi is great, but .... *** btami has quit IRC *** lekma has joined #gnuenterprise hi all from an rpc client perspective what would be the cleanest way to logout? _call(sessobj, "close") ? and then closing the connection? or is closing the connection enough? i know reinhard explained it to me yesterday, but i'm still confused... *** kilo has left #gnuenterprise calling "close" on the session object is the clean way although just closing the connection should also clean up everything server side you can even keep your connection open and close the session and open a new one without closing the connection in between or have several sessions within one single HTTP connection then just close one session and leave another one open however when the HTTP connection is closed, all things are kinda "emergency cleaned up" reinhard: thx for the clarification looking at the code, I'm not really sure how perfect this "emergency cleanup" is, so it would be preferable to explicitly close the connection. you mean explicitely close the session, don't you? err yes of course off for a while, kids want to play with the computer ;-) cu *** reinhard has quit IRC *** btami has joined #gnuenterprise *** jamest_ has joined #gnuenterprise *** mawimawi has joined #gnuenterprise hi, is there a minitutorial for gnue-designer somewhere? found nothing in wiki so far. I want to start with something like a "hello world" - application... I managed to install gnue, have a postgresql database running, can start gnue-designer but then I'm stuck :( mawimawi: "hello world" type application does not require designer, so do not be stuck not if you want a database with table "continents", table "countries" and would like to browse through the continents and see the countries in a sub form ;-) if I remeber right, there are some tips for gnue-designer in the forms tutorial that might be something bigger than "hello world", but it covers the world, right? johannes: still here? can a persistent HTML/1.1 connection pass a proxy? ah, found something when googling for gnue forms: "www.gnuenterprise.org/tools/forms/docs/Developers-Guide.pdf" - thanks! hope it gets me started :) yes, thats it *** jcater has joined #gnuenterprise *** reinhard has joined #gnuenterprise hm. now I created my form in designer (with two fields from my table), but when I select "run form", it gives me: DB000: XML markup error in '[unknown]' at line 1: DB000: :1:1: not well-formed (invalid token) in the background shell window. any ideas? ha! saving the form and opening it with "$ gnue-forms myform" worked! now I can navigate through my continents :) so "Hello world !" :) yessss!!!! success! but it's strange that I can't do that inside designer. I'm using the svn-version of gnue, all modules installed system-wide (with sudo python setup.py install) . might that be the reason? could be a designer bug, ... it shouldn't be connected to your installation I think but concerning designer you probably better ask jcater or jamest lekma, you around? what are your next steps? I got the rpc part of the webfrontend updated and want to include it into xul now. which file extension does gnue-designer want? I cannot start "$ gnue-designer myform" - because it tells me "Init'ing \n I do not know what to do with a . file!" usually .gfd thanks. that works. "File- Open" seems to be broken in gnue-designer's cvs version. *** klasstek has joined #gnuenterprise first XUL version of the webfrontend is working: http://www.gnuenterprise.org/~jan/XUL%20forms%20client.png looks very nice siesel doing xul :) *** SachaAway is now known as SachaS nice reinhard: thx hi SachaS hi siesel reinhard: now I just have to reactivate the parser and create the xul out of a gfd and do some clean up *** derek has quit IRC Probably I can publish an pre-alpha XPI tomorrow SachaS, you are still doing ebXML? siesel yes ebXML. have you come across ebXML in Japan? no, ok. I just care for organisational structure and process organisation now :( but I want to switch to IT stuff, and I'm not shure what thing I should start to learn to get a better job. and you were thinking of ebXML? yes, as its an open standart, so I can get information easily nice :) in which sectors is it already in use? automotive, finance, ...., SME? high tech (telecommunications) in europe *** derek has joined #gnuenterprise automotive in us and now in europe apparently people seem to do ebXML in asia (japan south korea, hong kong?) I think you pointed me to some ebXML client in Hongkong some years ago. client like client server I mean. I think I have to investigate the topic a bit deeper. ok, have to go to sleep. good night all *** siesel has quit IRC *** btami has quit IRC *** mawimawi has quit IRC *** derek has quit IRC *** derek has joined #gnuenterprise *** sjc has joined #gnuenterprise siesel: a good source of open source ebxml implementations is: http://www.freebxml.org *** johannesV__ has joined #gnuenterprise *** johannesV_ has quit IRC after a resultSet.post() it should contain values that were alterd by the backend shouldn't it? nope siesel: if you need an ebXML contact in Japan, I am sure I can get you one. reinhard: i swore there was support for refreshing now jamest_: no swearing here ;) http://www.gnuenterprise.org/tools/common/docs/api/public/gnue.common.datasources.drivers.Base.ResultSet.ResultSet-class.php#post read the docs ;-) you must call requery subsequently *** johannesV__ has quit IRC or set requery to true on the __init__? no the point is that you would call the commit() of the connection between the post() and the requery() then what is the requery param for on the __init__? requery - If this is set to True, the ResultSet reqeries its values from the backend after posting, in case a backend trigger has changed something. it basically decides whether the requery() does something or not ah, ok it is usually initialized from the datasource so the description is a bit off on the docs on the init then yes? so you always have the same code calling both post() and requery() but if you do then requery() simply does nothing brb back I agree that the description is not good trying to improve it now improved it (I hope) * derek notes having docs for a free software project is kind of taboo having current and meaningful docs may very well be illegal in some countries and/or states reinhard: still sounds like it automatically does it sorat sorta well it *does* it automatically not calling requery() is a mistake either way, no matter whether you want the backend to be queried again or not oh i'm setting here playing with the wording and so far anything I write I dislike more than what's there (that's what I wanted to express with the changed comments actually) :) I'm open to suggestions of course :) yeah, i was trying, but i think it'll do the method name "requery" is misleading to start with but it started with really only doing this but ended up doing other things as well post() and requery() should actually be post_phase_1() and post_phase_2() ah ok *** lekma has quit IRC cu all *** reinhard has quit IRC *** jcater has left #gnuenterprise *** jcater has joined #gnuenterprise *** yure has joined #gnuenterprise *** kilo has joined #gnuenterprise *** jcater has left #gnuenterprise *** jcater has joined #gnuenterprise *** jamest_ has quit IRC *** ajmitch has quit IRC *** ajmitch has joined #gnuenterprise *** sjc has quit IRC *** klasstek has quit IRC *** derek has quit IRC *** derek has joined #gnuenterprise *** kilo has left #gnuenterprise *** derek has quit IRC *** jamest has quit IRC *** derek has joined #gnuenterprise