*** dimas has joined #gnuenterprise *** btami has joined #gnuenterprise *** kilo has joined #gnuenterprise *** johannesV has joined #gnuenterprise good morning good morning good morning *** reinhard has joined #gnuenterprise the last days i've thought about a logo or an icon for gnue but i had no good idea and as i was thinking about icons and the like i thougth we have no chance to set an individual icon for a forms-application or do we ? so if one creates 5 forms (gfd's) they all have the same icon maybe create a new property for the form? yeah, which should hold an URL pointing to the icon i think one gnue icon is enough for all gnue, at least for me :) well, if i create two apps using gnue (like a cd database app and an address book) it'd be fine to give them different icons i agree with johannesV yes so one icon for one app, but ok, then another problem is the kind of icon to set (like an .ico for MSW and a xpm for GTK ...) not for one form btami, that's right ... i think all forms of the same "top-level"-form should have the same then that's fine imho ok no need to overuse it ok, so wrt a logo for gnue ... what do you associate with gnue ? a gnu with some money :) ok what else ? only money ... ? :)) whisky? *lol* but that goat was nice too... dunno so we need a big fat ugly rich gnu with a bottle in hand a citicen kane type of gnue? err gnu hm erm actually, did I say good morning already? no? good morning all :-) have we have to use an animal at all? no we don't have to how would you visualize the word "enterprise" ? a company ? a network ? people, money ... ? some unrecognizable object in some network what about a picture of the starship enterprise, replacing "NCC 1701-E" with "GNU" ? j/k :) oh no then we all have to put strange metallic thingies on our foreheads? ah well our captain jamest kirk.... right :) *** johannesV has quit IRC *** johannesV has joined #gnuenterprise *** yure has joined #gnuenterprise *** johannesV has quit IRC *** johannesV has joined #gnuenterprise *** siesel has joined #gnuenterprise cu all *** reinhard has quit IRC *** lekma has joined #gnuenterprise hi all johannesV: you around? playing with new RPC inteface all i get after an open() is {'__rpc_datatype__': 'object', '__id__': '-1216151060'} no login(), logout(), etc. so, is there a way to get a session object using std xmlrpc lib? lekma, that's actually a session object lekma, are you using gnue xmlrpc client interface ? johannesV: nope ah, ok i'm trying to acces from outside gnue * johannesV phone hi lekma ok, back hi kilo how are you? well, lekma, I've introduce the object oriented rpc interface fine thx :) this means you get an object handle back from open () and you? any new projects in sight? gnue's xml rpc client library transforms this into a rpc-proxy class johannesV: hmm i have to look at how the client library does that... on a call to this proxy - like login () - the proxy class transforms this into an rpc call like call ('login', object-dict) yeah that'd surely the best thing you can do it's not very complicated anyway :) hi johannes, do you have any desciption about what goes over the wire, except of the client library kilo: i'm fine been busy, but now fully working on my pet project : axul client for appserver lekma, why don't you use gnue's rpc lib ? siesel, no i haven't written any docs about our doc is the code :)) johannesV: i'd like to avoid having gnue as a requirement i mean having xulrunner btw. i've added an implementation for pyro too and pyxpcom so you're not limited to xmlrpc as requirements is already heavy lekma, that's ok ... we knwe that we're breaking some code with this change to the oo rpc-interface pyro seems nice but as it has been in our todo-list for a very long time siesel, what kind of doc are you missing ? do you mean a document for 'non-developers' ? no. I just want to spare some time. ah, ok, sorry ... johannesV: on another topic (i have some catchup to do) what is the state of authentication and generated forms? In the past I created a javascript rpc stub out of the grpc file lekma, nothing changed regarding authentication but without grpc file anymore ... siesel, grpc has been removed lekma, there's still that basic authentication (as this was a topic for a 0.6 release i think ...) siesel, how is that javascript interface working ? lekma, what kind of client are you writing? (just in a big picture) xul lekma: cool, that's what I writing currently too. i'd like appserver to handle a kind of template siesel: joining efforts? siesel: i'm trying to use pyxpcom johannes: basicly a precompiled gfd file (to html) access javascript functions and uses xmlrpc to connect to appserver to have native python objects lekma: yep, i would like to lekma: do you mean to share code with base gnue? siesel: i don't know it depends on the gnue people :) but i'm willing to share code with anyone maybe i can sum up what is my status now? as you discuss this on #gnuenterprise, all codebase are belongs to gnue, i suppose :) wow what a nice move it would be... lekma: yes, what is it? dimas: i think it's more of a licence issue, cause xul its friends are all MPL and i don't know if FSF wants to provide code wich is under another licence than GPL understandable so if FSF don't want to include it in gnue we can always provide it separately so you mean, that a firefox extension, or xulrunner application has to be licenses as MPL? but one thing is sure: all i'm writing will be freely available siesel: i'm not sure about it that's my point if you use say the DOM Inspector i know for sure it is MPL so what can be the licence of a product that redistribute DOM Inspector ? back to status: last year we had a project to bring appserver in production with a xul interface ok the soft was working but was not good and the project failed (we had to reimburse the client) so based on last year mistakes i think that what would be really nifty: - that the xul client don't rely to much on javascript - that appserver had a kind of template engine that would dinamically render forms what i have now are say the foundations: there are a lot of separate template engines, is there a need for one more? what do you think about these images: http://www.gnuenterprise.org/~johannes/gnue-1.png and http://www.gnuenterprise.org/~johannes/gnue-2.png ? which one do you prefer ? a xulrunner app with python enabled and a few set of extensions that lekma, that would be great. johannesV: 2nd needs more scratch to cover the US though :D johannesV: second maybe a hurricane? But how difficult is it to install python on a standart mozilla / xulrunner installation johannesV: the earth is to detailed i think :) but this one shows the us ... :) siesel: well there are two things first the original pyxpcom implementation that is now in HEAD branch of mozilla but Mark Hammond (of the famous win32 python exts) is working on a lang agnostic implementation of the dom with python as it's first lang so when this lands (he says in a few weeks) we will have something great that would be cool. which allow to have python script directly in xul files but in the meantime i work with the current impl which allow the use of python components that can be used by javascript i spent a great deal of time sorting out all of the pbs to have a xulrunner build with python cause xul has the same default as gnue, ie: lack of docs!!! yes, i got the same impression siesel: do you run linux or win32 ? we *have* docs. stored in johannesV/reinhard... linux and win32 and i run the application on firefox what kind of development env do you use? can i send you a 7,5mb archive ? yep. it's what i have done since i restarted (from scratch) i think that you may have to make a symlink to have it work cd /usr/lib/python2.4/config ok, wait a second ln -s /usr/lib/libpython2.4.so *** btami has quit IRC siesel: it's only the local part, as i hope that we can generate all the rest from appserver (that's what we did last year, but in an inefficient way) where does xchat put its files... ~/.xchat/download... or .xchat2/downloads yep, version 2 well i was sure ye could make that up :D i don't have a place on the net anymore to put such things i nedd a new hosting provider :( ok, I have started it and get a nice looking gui :) can it already connect to appserv? that'all there is to it for the moment i was trying to get a hand on the new rpc stuff what's interesting though (i think) is that everything is extensions you even have extensions of extensions :) so if you think i'm in the rigth direction maybe we can combine efforts but there is a lot to discuss... yes. i hope to have the connection stuff done next week (if i understand it) with which language do make the connection? python or javascript i think python is our best bet we would have native python objects I've connection code and client code almost ready in javascript and i didn't find any xmlrpc library in javascript good enough hmm... do you use your own xmlrpc stuff it has just to been adapted to the new object code I'm using vcXMLRPC.js or do you use nsXmlRpcClient component from mozilla vcXMLRPC gave me a lot of headaches last year what kind of? it has a few bus in treating dates, and long strings but the major headache was the prototyping thing cause it added a lot of cruft to std objects but really i don't know i think we should choose the more efficient approach and i'm a little biased against javascript it's kind of ugly and its handling of asynchronous connections for example my aim is to have a easy to use frontend for appserver, which can be run on as many platforms as possible. siesel: same for me :) In case much installing effort is needed, the original gnue client can be used. but python is common enough now (and cross platform) (and it comes with batteries included) yep. I think if we can install python in firefox as easy as f.e. a flash plugin,... it would be great. well (in theory) you can build pyxpcom as a standalone component http://kb.mozillazine.org/Standalone_PyXPCOM sorry, I have to leave for 1-2 hours but you still need python installed hmmm, ok, in 1-2 hours let talk more ok.. ok bbl *** kilo has left #gnuenterprise *** jamest has joined #gnuenterprise hi jamest hi hi jamest hi *** jcater has quit IRC *** jcater has joined #gnuenterprise hi jcater *** btami has joined #gnuenterprise *** dino4k has joined #gnuenterprise lekma: I had a closer look at your application I'm just getting too tired. let us discuss tomorrow *** siesel has quit IRC johannesV: i had a look at the gnue xml rpc client driver from what i understand the following should work: server = xmlrpclib.ServerProxy("http://192.168.123.3:8765") sessobj = server.open({"_username": "", "_password": "", "_language": "en"}) print sessobj print server._call(sessobj , "login", ({"_username": "", "_password": ""})) but i get an ObjectNotFoundError ObjectNotFoundError: Element of type \'object\' with id \'-1216303284\' not found in store\n' *** klasstek has joined #gnuenterprise lekma, and sessobj is a dict having __type__ and __id__ in it ? yes lekma, what if you use server.call (sessobj, "login", (...)) {'__rpc_datatype__': 'object', '__id__': '-1215895028'} cause this would automagically call the typeconf.rpc_to_python for all args as well as changes sessobj into self on the serverside not __type__ but __rpc_datatype__ yeah that's ok there is no call method available, is there? of course it should be ['_call', '_destroy', 'getFilters', 'open', 'system.listMethods', 'system.methodHelp', 'system.methodSignature', 'updateRepository'] that's the result of server.system.listMethods() ah, ok that's correct ... hmm but in _call () the storedObject argument is already a python-object (as identified by the object-id-dict ) so, maybe we'd have to publish call () as well no what would be the client in call? actually that should work ... as the wrapping should be done internally lekma, have you tried using call instead of _call i'm afraid it's more to do with the xmlrpclib yes, same error hmm, actually it should work with the _call, as the clientadapter just calls the same johannesV: is the session object removed from the store as soon as the conncetion is "closed" (in the http sense)? ah you're not using persistent connections ? it seems std xmlrpclib uses HTTP/1.0 so i'd say no if you look at gnue.common.rpc.drivers.xmlrpc.ClientAdapter .... there i've created a class implementing persistent http connection yes i've seen it and wondered why so we don't have to create a new http connection per rpc request which is a big drawback on performance ok ah, and aside from that there's a bug in the python lib somewhere ... (don't remember exactly) *** jcater has left #gnuenterprise so i just did a fix for us there ... hmm... so i'm in need of an xmlrpc lib that does it's connection using HTTP/1.1... :) /win 11 woops yep lekma, it's not that hard to accomplish; ie. you could copy from ClientAdapter johannesV: :) bbl *** derek has quit IRC *** sjc has joined #gnuenterprise *** derek has joined #gnuenterprise *** jcater has joined #gnuenterprise *** reinhard has joined #gnuenterprise johannesV: still around? johannesV: i can connect!!! great there's still smthing that bothers me; server._call(sessobj , "login", "hacker", "secret") works but shouldn't it be server._call(sessobj , "login", ("hacker", "secret")) or server._call(sessobj , "login", ["hacker", "secret"]) no first parameter is object, second parameter is method name, 3rd to nth parameter are 1st to n-2th parameter of the function btw good to see you back on gnue and excellent to see you and siesel joining forces :) should i systematically call transport.close() when a session is over? or is this connection reused by other session? another thing _destroy(session) is the counterpart of open, isn't it? why the underscore? usually _destroy isn't called directly, but it is called implicitly at the time when a client side object dies (however this is client side implementation specific) closing the HTTP connection will kill the server side process that was forked for this connection, and will require a new authentication on next connection so closing the connection should be a very good an safe approach *** johannesV_ has joined #gnuenterprise *** johannesV has quit IRC *** johannesV_ has quit IRC *** johannesV has joined #gnuenterprise back hmm, that setup-cvs.py doesn't install all images under forms/images/default ... ah, ok, got it workin *** btami has quit IRC *** johannesV has quit IRC *** dino4k has quit IRC *** yure has quit IRC *** lekma has quit IRC *** jamest has left #gnuenterprise night all *** reinhard has quit IRC *** jamest has joined #gnuenterprise *** jcater has quit IRC *** derek has quit IRC *** jamest has left #gnuenterprise *** jamest has joined #gnuenterprise *** jamest has left #gnuenterprise *** jamest has joined #gnuenterprise *** klasstek has quit IRC *** sjc has quit IRC *** derek has joined #gnuenterprise *** derek has quit IRC *** derek has joined #gnuenterprise *** derek has quit IRC