*** wt has joined #gnuenterprise *** wt has joined #gnuenterprise *** holycow has joined #gnuenterprise *** wt has quit IRC anyone here? ... is is possible to specify external .py files for triggers, in forms and/or in gcd files .. I'm getting lots of "Sourcecode contains tab character at position xxx" errors, that I can't fix ok, now, when I posted my problems here, I figured them out:p It seems, that gnue doesn't like tab's in python code indentation *** btami has joined #gnuenterprise *** holycow has quit IRC erkki_: you can use file="someexternalcode.py" for triggers in .gfd and .gcd files ok, thanks *** btami has quit IRC *** dimas_ has quit IRC *** dimas has joined #gnuenterprise *** erkki_ has quit IRC *** btami has joined #gnuenterprise dimas: you here? yep hello btami hello do you mind,if i remove fontFace option support from win32 ui s/fontFace/faceName from gnue-conf [forms] section i do not know how it could affect me i'm trying to change from win32ui (MFC) font handling to win32gui (API) but most probably if it works foryou it would work for me also ok :) how can i dump the content of my classes on gnue-appserver in an easy to re-import way? (without messing with the backend) anyhow wx and gtk2 never supported it, so i think it will not hurt anybody mnemoc_: gnue-gsdgen ? i just found it... ggcvs :) dimas: thanks np it dumps data only,not classes IIRC hmm,if content==data, i said nothing sorry :) dimas: back to packaging a bit btami: i meaned data, but now i wonder about classes... dimas: was there any other conclusion other than textwrap missing from setup.py ? mnemoc_: you have your classes in your .gcd files, arn't you? btami: yes... it was curiosity _if_ someday i loose my svn and my backups :p lol has anyone tested by tiny gcd2dot script? not me :( i'm quite happy with my diagrams anyway :) we have .dia files in our custom app (maintained by kilo) mnemoc_: where is the script? http://svn.geeks.cl/oss/gnue/gcd2dot/ mnemoc_: thanks :) thanks you for testing it :) btami: i tried with dia first, but auto-distributing boxes on dia is a mess or i was missing some dia feature yes it's far from perfect, but it works btami: only textwrap for the moment ok, thx btami: http://www.geeks.cl/~amery/socomep.png <-- did is 100% autogenerated s/did/this/ dimas: added it, and committed mnemoc_: looks nice btami: if you have other testcases, any feedback is welcomed *** ahz has joined #gnuenterprise btami: may be also to put more clearly in the README what inno's download is needed sure, i will, thx mnemoc_: i just tried it, and get tamas@beus:~/svn/berado/schema$ LANG=C ./gcd2png.sh bank.gcd ceg.gcd jogv.gcd szemely.gcd mnyp.gcd cim.gcd payroll.gcd ./gcd2png.sh: line 11: dot: command not found /home/tamas/svn/berado/schema/gcd2dot.sh: line 16: 4161 Done cat < `grep -h '^ `grep -hv '^ EOT 4163 Broken pipe | xsltproc $XSLDIR/gcd2dot.xsl - you need graphviz ghostscript and libxslt ok, i think i have them except graphviz i should add validations on top np, just apt-getting it 0.4 will check for the requirements :) http://www.gnuenterprise.org/~btami/output.png and the handmade dia: http://www.gnuenterprise.org/~btami/BerClass.dia may i file a feature request for 0.4 ? what do you think about adding background colors for modules ? btw. all our .gcd files are in http://www.gnuenterprise.org/~btami/berado.tar.gz in schema subdir mnemoc_: do you plan to contribute it to gnue? btami: sure i think all developers likes autogenerated diagrams in releases cool :) then you have to assign a copyright assignmet http://www.gnuenterprise.org/developers/copyleft.php i plan to contribute to GNUe itself after i finish this semester, but this toys are also free^5 also for this toy? i think so but jamest/jcater/derek/reinhard are the core, so ask them first and johannes too you have a trouble with graphviz/font-config there ? what are we talking about? I saw my name *** erkki_ has joined #gnuenterprise jcater: you where named as core member of GNUe btami: can you try gcd2dot.sh an see if you get any warning? btami: your graph is improperly rendered btami: i get it this way: http://www.geeks.cl/~amery/berado.png tamas@beus:~/svn/berado/schema$ LANG=C ./gcd2png.sh -o output.png bank.gcd ceg.gcd jogv.gcd szemely.gcd mnyp.gcd cim.gcd payroll.gcd Error: Could not find/open font : Times in /usr/X11R6/lib/X11/fonts/TrueType:/usr/X11R6/lib/X11/fonts/truetype:/usr/X11R6/lib/X11/fonts/TTF:/usr/share/fonts/TrueType:/usr/share/fonts/truetype:/usr/openwin/lib/X11/fonts/TrueType:/usr/X11R6/lib/X11/fonts/Type1:/usr/common/share/fonts/ttf on gcd2dot.xsl remove that line, or change it for a font you have i have /usr/share/fonts/TTF, but there is no Times at all just ljuba* vera* luxi* fc-list should give you a list but you can set any font you want on .xsl file i'll think how to add a way to let you give the font you want, or detect onw available Where do I send bug reports? On the web site, the bug report page is 404. gnue-dev@gnu.org but what is the url giving a 404? From:http://www.gnuenterprise.org/developers/involve.php To: http://www.gnuenterprise.org/developers/bugs.php ah that should be /community/bugs.php I'll fix... thx night all *** btami has quit IRC jcater: while your're at it.. the link on main page titled "Other projects", linked http://www.gnuenterprise.org/contrib/ is also broken bah anyone here to note a little typo in appserver's devguide? section 6.14, second paragraph, "on validate" should be "on delete" ... or I really need to get some sleep:p *** dimas has quit IRC *** jcater has quit IRC What is the gcvs program required to install appserver? *** reinhard has joined #gnuenterprise dumb question, what's the method to see if a dict contains some key? (i hate how python ref is structured) dict.has_key (key) (hi all, back from linuxtag) thanks wb reinhard reinhard: what good python reference would you recomend? http://www.python.org/doc/2.4/lib/ <--- this one looks better mnemoc_: yes, that's what I use rofl about psu's dream (reading the logs of the last 3 days) reinhard: could you tell me what should I use to refresh a form in a trigger.. I tried useing datasource.requeryAll() but that threw an exception Traceback (most recent call last): File "", line 21, in __main___NAMED_callOrderForm File "/usr/lib/gnue/common/logic/NamespaceCore.py", line 210, in __getattr__ raise AttributeError, '%s' % (name) AttributeError: requeryAll erkki_: what exactly do you want? using* refetch the data from the backend? I'm editing something in a dialog form, and after commiting that, I'd like to refresh some fields/or the entire form to make visible changes that other people did meanwhile? ah I think that would be datasource.update () ok, tnx, I'll try that erkki_: for the log: it's not gnue that doesn't like tabs, it's python reinhard: that didn't quite work.. after closing the dialog form, the old form isn't updated/redrawn, but at the same time, the record is changed, meaning that I can't quit/query something else without hitting the save button.. the save button get's also redrawn only when trying to query/quit ..using gtk2 frontend the tabs things i what i hate most of python .. the same on wx mnemoc: that's the beauty of python:p erkki_: will have to look into that ok, I'll mess around with other stuff no hurry a bit tired now (after having been at Linuxtag for 2 1/2 days) and still got some > 200 mails to read... haha i understand indentaion thing, but you can do that also with tabs wrt the typo in the devguide, you were right, just fixed it k ahz: I don't understand your question about "what gcvs program to use..." reinhard: using block.update() did the trick... "grep update gnue-invoice/* -R" also helped:p *** holycow has joined #gnuenterprise Open Question: Why don't you split gnue into GNUe, the framework, and the 'powered by GNUe' ERP? to avoid confusions in people who can't understand GNUe is a framework? different repositories and webpage it's not my decision :) but what do you think? I would be ok with it actually gnue-luca (the "powered by GNUe" app I would be working at) *is* in a separate repository a restructurization on the website to promote 'powered by GNUe' apps, with a list... starting with gnue-luca would clarify the things even if they are also housed at www.gnuenterprise.org ... or luca.gnue.org ... who 'owns' GNUe? the domain? or the code? the leader or the leaders or the mentor, etc... the project leaders are jamest, jcater, derek (cd ../..; echo "import src; print src.VERSION" | gcvs) >> version.texi <---- when installing appserver, what is gcvs? appserver installation fails because I do not have gcvs gcvs exists only if you work over svn you install appserver from svn? you would have to run setup-cvs.py in gnue-common before that I downloaded appserver from svn and tried to package it: python setup.py install --root=foo ok yes, please try to run setup-cvs.py in common or download tarballs instead of svn to build packages From SVN, should I be able to build packages (with setup-cvs.py)? no setup-cvs.py will give you gcvs and then you can continue like you did before hmmmmm just looking at the tinyerp source #---------------------------------------------------------- # python imports #---------------------------------------------------------- import os, signal, sys #---------------------------------------------------------- # get logger #---------------------------------------------------------- import netsvc logger = netsvc.Logger() #---------------------------------------------------------- # init net service #---------------------------------------------------------- dispatcher = netsvc.Dispatcher() dispatcher.monitor(signal.SIGINT) nice commenting style ;-)) ---- I can't help the feeling that this developer had a few looks at gnuenterprise.... good night all *** reinhard has quit IRC *** jcater has joined #gnuenterprise *** jcater has quit IRC *** dimas has joined #gnuenterprise *** yure has quit IRC *** mnemoc_ has joined #gnuenterprise *** mnemoc has quit IRC Ahhh I missed Linuxtag. *** SachaS has quit IRC