*** reinhard has joined #gnuenterprise *** jcater has quit IRC *** johannesV has joined #gnuenterprise *** btami has joined #gnuenterprise *** sjc has joined #gnuenterprise btami: just fyi btami: i told you that you have to enclose all callback hooks in try/except in windows driver like we did in gtk2 driver most probably you don't need to do that like we in gtk2 also wouldn't have needed it and therefore removed it again so all you really could do is create a nifty exception message box with a >>detail button to display the traceback (preferredly in a copy&paste-able way) see _showException in gtk2/UIdriver.py reinhard: i'd noticed it all from commit messages :) fortunately, e was lasy enough not to do anything yet :) s/e/i :) btw. what do you think about how/where to define the "default character set" when creating new db for appserver *** wt has joined #gnuenterprise with kinterbasdb we can do that in create_database() if we do nothing, all new db created will have ascii as default and its not too good... what would be the reason to create the database with a (internal) character set other than unicode / utf-8 ? *** sjc has quit IRC s/would/could/ i like unicode too do i understand correctly that internal character set != client encoding ? yes so i'd propose to always use unicode for internal so we can still use any client encoding we want hello i'm ok with this *** sjc has joined #gnuenterprise ajmitch_: hi and don't need another parameter that will just confuse many users not familiar with character sets ok btami: do you know what it would take to change this? reinhard: when's appserver 0.2 due out? 0.1 should be in sarge in 3 days ajmitch_: i'll do the gnome way release version n+1 as soon as n reaches sarge ;-) 0.1.9x? heh ajmitch_: 0.1.90 was released yesterday reinhard: the question is how we can do(can we?) it with postgresql/mysql/etc. database creation i know only the kinterbasdb way ok, should I bother packaging it? :) just didn't get around to announce it yet ajmitch_: please try packaging it no new common? there won't be many changes between 0.1.90 and 0.2 and it would be a test if packaging works as you already did find problems in packaging in the pas past yes, new releases for common and forms reinhard: please tell me that you lowercased the tarball name? ;) they could be packaged in any case and yes, tarballs are lowercase :) yet more releases... especially for you :) excellent! * ajmitch_ looks on the website ajmitch_: however, it might be better to not upload new releases until those before have hit sarge I won't ok it took long enough to get the last ones uploaded ;) 0.2 might take a week or so sarge doesn't appear to be freezing anytime soon if we don't find serious problems do you have a list of what's new in common & forms? we should really test reports & navigator & designer when new releases come out btami: as to postgres, you usually define the internal encoding of the db when you install it btami: so i'm not sure if we should do anything at all there reinhard, but this can be changed on creation of every single db in postgres (diffrent vom setup) johannesV: then it might be good to change it in postgres to always use unicode, too cool CREATE DATABASE name [ [ WITH ] [ OWNER [=] eigentümer ] [ LOCATION [=] 'pfad' ] [ TEMPLATE [=] template ] [ ENCODING [=] kodierung ] ] johannesV: and you could check how that works in mysql (brrr) and sqlite (double brrr) but i'm not sure if this is a *new* feature in 7.4.* johannesV: ah ok well, mysql-driver does *not* support create_db () by now btw. 7.5 is coming! johannesV: please check this out for postgres and sqlite yeah i'll check it morning btami: and if you could care for interbase it'd be great i will and all our main db backends would be up to date again thanks both :) btami, please note there are different versions of kinterbasdb module around the web ajmitch_: as to reports, navigator and designer many people use them from cvs with current common so if your create_database () can handle encoding, please make sure which version you're using so i'm not too worried (last time we had major differences in the win*modules and the linux-modules and the debian-modules) ok see ya later *** SachaS has quit IRC cdbs makes rolling new packages so nice & easy ;) good, only one (intentional) lintian error ajmitch_: fwiw, new forms & appserver depend on new common I guessed that they would :) common & appserver built ajmitch_: thanks, great *** agx has joined #gnuenterprise hi agx morning ;-) ok, new forms just about done as well done ajmitch_: any lintian messages? nothing new only one because I set the distribution to UNRELEASED ;) ah :) *** kilo has joined #gnuenterprise *** sjc has quit IRC *** SachaS has joined #gnuenterprise *** sjc has joined #gnuenterprise good morning hi kilo hi SachaS, how are you? good thanks got a job :) job = paid work oh poor you... *** agx_ has joined #gnuenterprise oh, now i understand everything!!! i've read that an avarage american spends 8.6 hours sleeping and only 3.7 hours working and even worse, they only spend 20 minutes a day thinking :) *** agx_ has quit IRC *** agx has quit IRC *** btami has quit IRC *** lekma has joined #gnuenterprise morning all hi lekma hi kilo *** btami has joined #gnuenterprise *** sjc has quit IRC *** sjc has joined #gnuenterprise is the new release officially out? yes new release of forms & common, I think appserver is a prerelease lekma: fyi tarballs & dirnames inside them are lowercased now ajmitch_: can i use what's on the webserver to update gentoo pakages ? appserver is a release, but a beta version lekma: sure reinhard: ok, wasn't sure what you were calling it :) actually i don't mind very much :) lekma: I presume the ebuilds will need to be updates ajmitch_: yep do you mind if i keep technotes in the doc? shouldn't be a problem I guess :) * ajmitch_ is just a packager lekma: no problem lekma: they are intended for developers, but they are in no way "secret" :) well they are pruned in setup.py so i thought you didn't want them in docs but i find them useful *** sjc has quit IRC ajmitch_: but the official name is still GNUe (uppercase) right? one would assume so.. it's just standard that tarballs be lowercase :-) just to be sure there is still a man page for gnue-import in common eventhough it was removed lekma: excellent bug report this was not a bug report it was:) and the bug is fixed for the next release :-) so i'm doing bug reporting wiyhout knowing it s/wiyhout/without johannesV: if you, on your machine type 'gfcvs foo.gf' so to not be able to open the file, ie produce a file not found error, what happens ? running for lunch have a nice weekend. *** SachaS has quit IRC Unable to open file [Errno 2] Datei oder Verzeichnis nicht gefunden: 'foo.gf' in a nice gtk-error-dialog bos s/bos/box hmmm, i get unicode error... well, shall i try hu-locale if you could johannesV: looks like a %s exception formatting it says i've found a bug in gnue :) reinhard, yes, i think so too yes, yes i can track it down johannesV: and if you change that, please also change it to be only one line i hate multiline exception messages they break exception display in curses ui :) my true love is the 'unexpected internal error'. who expects errors... 8-)) Unable to open file [Errno 2] Nincs ilyen fájl vagy könyvtár: 'foo.gf' is that better ? :) for reinhard: Unable to open file: [Errno 2] Nincs ilyen fájl vagy könyvtár: 'foo.gf' johannesV: locale.getlocale() in i18n returns 1250 not cp1250 on win and ISO8859-2 not iso88569_2 on linux so it's not a valid Python encoding kilo, please svn-up btami, where does that encoding conflict ? errors.py line 127 LookupError: unknown encoding: 1250 /msg johannesV btami is sooo eager to put a Details button somewhere, that he needs a messagebox badly... btami, what does locale.getencoding () return ? we're interessted in encoding at this place not the locale-string ah, damn i mean what does i18n.getencoding () return 1250 and in pyhton: foo = unicode ('bar', '1250') gives an error ? have to leave for lunch now yes, the same maybe i can set up a windows environment for gnue over the weekend and try it there there is no 1250 encoding in Python yust cp1250 hmm, so this seems to be a bug in python or in locale-module s/yust/just :) no locale.getlocale gives som RFC names but Python uses hes own encoding names as you can see in lib/locales or what... lib/encodings it just needs a mapping, like we did it in same dbdrivers bbl *** btami has quit IRC is there any log option for appserver ? i mean logging in a file it seems i've exhausted the patience of people around here... lekma: no except for gnue-appserver > logfile :) i may be wrong (cause it's been long since i did it) but gnue-appserver > logfile send only the startup lines to the file and nothing else, even if you add --debug-level xx then maybe you need to add 2>&1 well it seems i did gnue-setupdb is now all that is needed to setup an initial gnue appserver, right? (i ask all those question just to be sure, even if sometimes they do seem stupid) lekma: correct i may be wrong but gnue-setupdb seems not to be in params['scripts'], it is then not installed... can someone please verify lekma: correct, and fixed that's why we do prereleases :) are common and forms also pre-releases? no we hope there are no serious bugs :) so i'll wait for appserver release to update ebuilds (they seem good so far, i just wish forms and appserver used the same syntax for installing docs as in common) but it's no big deal lekma: i don't understand in gentoo the docs folder are versionned so in common i just have to add params['version'] to the copy_to and in forms i have to replace share/doc/gnue-forms share/doc/gnue-forms-0.5.7 everywhere in appserver it's only 2 lines lekma: hmmm lekma: i might have a look at that maybe i can add a parameter for the doc directory to setup.py install reinhard: ok, but it really is no big deal setup.py install --docdir=/foo/bar if i have time and am bored ;-) did you see my asking for explanations on messages? cause the OnInit case seems strange what should i expect when i call messge('something') ? that returns a string it doesn't display a message or anything else it just gets the string so you can for example well in an OnInit it has a colateral behaviour that it doesn't store new records return message ('foo') that's strange ie when i use it with generated forms will have to test that and on a side note please tell me if my testing various features in a disordered fashion and coming bugging you is annoying ie if i'm a pain in the ass i can stop lekma: please don't lekma: you help massively to improve the quality of gnue lekma: apart from that i want to help where you have problems yeah yeah :-) but also you might have to accept that i can't always react immediately this does *not* mean you are annoying :) * ajmitch_ can do annoying.. :) lekma: it's not annoying, it is called testing... *** SachaS has joined #gnuenterprise *** kilo has quit IRC hmmm this release script starts to become really cool hi reinhard :) alles klar? :) hi SachaS my sister marries in the civil hall this afternoon in about 2 hours, guess I have to get ready ;) * SachaAway is away: away *** gsoti_away has joined #gnuenterprise *** agx has joined #gnuenterprise *** agx has quit IRC *** johannesV has quit IRC *** johannesV has joined #gnuenterprise *** jamest has joined #gnuenterprise *** holycow has quit IRC *** kilo has joined #gnuenterprise anyone know of any open source/free "knowledge base" software? freemind on sf iut'd alos be nice if somehow you could integrate that with bug tracking/issues software like you could take an incident and elevate it to a "knowledge base" article or some such thing i've heard of something named... err... hmm.... gnue, yes, gnue. you can produce your own software with it easily and quickly 8-)) * chillywilly looks at freemind yea I coudl roll my own but I have more important things to do more importan??? 8-)) yea hmm, strange... hi all kilo: would you continue to work on gnue-packages? hi dimas yes, but not alone who's else? :) hmmm, you? i could test already started i would say only testable package is LOC i need comm also doable in reasonable time will you be here at weekend? mainly yes, depends on weather ok *** jcater has joined #gnuenterprise kilo: we have to talk about packages (but not now) reinhard: would you please kick to awake me when you start talking about it? dimas: i can try :) thanks :) in short (so you can think about it over night) i am tempted to view the current loc module as overkill there are 5 classes (== 5 tables in the database) and that doesn't even contain the name if i look what's coming in the person.gcd module it seems like the information like --- Mister Reinhard Müller jr. Enga 2 6890 Lustenau, Vorarlberg Austria --- will be distributed to about 8 tables and i don't have a good feeling about that. that's my main concern apart from little details like i'm not sure we want the module name capitalized or we want separate modules for location, person, communication etc. instead of a single "base" module containing all basic stuff that has to be installed anyway however, gotta go prepare dinner for kids *** holycow has joined #gnuenterprise jamest or jcater: can you please change the channel topic to something more neutral like Watch http://www.gnuenterprise.org/project/news for new releases! reinhard: separate modules for location, person, communication etc. could be a requirements for someone congrats on the release guys :) *** wendall911 has joined #gnuenterprise *** dcmwai has joined #gnuenterprise dimas: i think it'll be about 3 hours from now that i will be here i need more testing first ok, i will be there and you'll see now i use simplified classes in realworld example 8 tables for keeping person's info could be overkill but i can't expect it in 1 table too i dont have time now, will explain it in detail later certanly i need separate entities for person, phones, towns (not so sure about streets/locations) and so *** sjc has joined #gnuenterprise *** nsk has joined #gnuenterprise *** dcmwai has quit IRC *** ChanServ sets mode: +o jcater *** jcater changes topic to "Watch http://www.gnuenterprise.org/project/news for new releases!" *** jcater sets mode: -o jcater *** johannesV has quit IRC *** mixi has quit IRC *** mixi has joined #gnuenterprise *** nsk has left #gnuenterprise *** cilkay has quit IRC jcater: thanks dimas: i agree on separate entity on person and communication as that is a master/detail relationship also i agree on separate country table as that makes sense a sub-country-entity table (like u.s. states) probably makes sense; i can't judge because we don't have such a thing here however a table for zipcodes and towns could already be problematic at least here in at (and afaict also in de) there's no 1:1 relationship between zipcode and town ...dimas: reinhard: separate modules for location, person, communication etc. could be a requirements for someone... could you explain that? for example currently i need separate person, towns, address, communications separated though zip could be included in address info as simple field what do you mean with "separated"? sparate classes or separate modules? separate classes ok, thought you were explaining why they should be separate modules i agree on separate classes acutally after reading through loc.gcd again i am a bit uncomfortable with the street class i do not fully understand the issue (proper use) of modules and the separate fields for number,building,staircase,floor etc. dimas: think gnue module ~= debian package off to watch tv, will be in and out please just write, will answer in advertising breaks addict yesterday i was trying to reduce number of modules in my example, and reducing it even more evil then have too many *** btami has joined #gnuenterprise as after i changed .gcd's i need to change all forms where full qualified names are used there is no street class in loc.gcd and it is overkill for me now how it is done there dimas: you have current svn? i have a street class :) updating. dimas: changing modules is always evil of course the more it's important to have some kind of strategy for modules from the start it was a place class previously, i se it now see rm-tv: if i have zip property defined as string(6) - field on the form constructed from .gld file is too short for it dimas: which ui? should work with gtk2, wx has problems with recognizing the font size IIRC rm-tv: know why savannah went with svn instead of gnu-arch? rm-tv: just curious is all wendall911: savannah went svn? that's new to me you sure?? rm-tv: hmmm, I thought you guys used savannah for svn rm-tv: sorry if I assumed incorrectly you did :) we use our own svn server rm-tv: so why did you guys choose svn over gnu-arch then ;) that was a decision of jamest and jcater i think we discussed svn, arch and even something else rm-tv: ok, cool. I still use cvs for all my projects and am just gathering info. I really like the features of arch *** wt has quit IRC wendall911: we have made quite good experience with svn kilo and dimas: did you actually ever look at base.gcd, base-*.gld and currcalc.gfd? yes, i've even reverse engineered your gl module reverse engineered?? yes, drawn uml dia from that *** cilkay has joined #gnuenterprise *** btami has quit IRC *** sjc has quit IRC *** sjc has joined #gnuenterprise *** sjc has quit IRC yo, people, i am here dimas: wake up *** holycow has quit IRC kilo: did you see my comments on loc.gcd? yes, i am 1) just writing my explanations 2) in a difficult process of chosing... gues what kilo: what whiskey to drink? yessss :) *** sjc has joined #gnuenterprise ls err wrong window kilo: on a side note if we have references address -> zip -> region -> country then the reference address -> country seems to be redundant it is optional either this or that one option would be to enter an address without zip and city? *** wendall911 has left #gnuenterprise rofl I have a theory that it's impossible to prove anything, but I can't prove it. nice quote :) rm-tv: erm, i have written a txt file with all my comments, what should i do now? copy it here? if it's less than 10 kb definitely so shoot :) LOC module notes It is divided into 5 classes just because to be more atomic. I think anyone can bring up an example where only a country, or only a zip code/city name pair is needed. In my own practise there is a firm where all of the streetnames of a given city is stored and only those names are used. So there esixts a need for storing all the streetnames of the town, so that no mistyping or something like that can occur. And envision it like this: county, region, zip and street classes are on the lower level, address class is over them, kind of aggregating them. It is already an example of reuse. It can seem that dividing an address into such detail is not important. Well, it is called LOC module, that is it can be used to store postal addresses or physical locations too. And why number/floor/door and so on are stored in address class? Because we need it here in Hungary to fill in a state tax form, in that divided form. So that is already an example of the use of a module. Accessing a region name like Address.LOC_zip.LOC_region.LOC_name can seem tedious and like overkill. I myself also find it little bit difficult because of the need to write the LOC_ part everywhere. I would be happier if it was simpler, but i can live with that notation, as i know Reinhard has done his best to ease the use of appserver. It is a limitation and we have to use it this way. Such detail can be seen as overkill, but i don't think so. This module as a base module, must serve a good reliable basis for different kind of applications. If someone needs a simpler representation of a postal address, he/she/it can put in a single entry in his own application's gcd for holding that. that's it hmmm you really have an application where all street names of all cities are stored? no, all streetnames of a given city and this company has only customers in that city? yes, its public sector my concern is if we use this address format for, say, the customer database in gnue it means that every gnue user has to fill in the street names table s/table/class/ :) otherwise an address cannot be entered most of the users i know of don't have 2 customers in the same street usually so even if there is a button to add a new street to the streets table i think it's quite annoying for the user to have to do that for every new address he enters however, the division of street/numbers/stair/door etc. for tax form is an argument i understand me likes to have more fields than necessary, and have the forms giving a limited view on it. i agree with that, but i think these two definition modes are both usable kilo: also, i think we have to decide on a general strategy jcater: on a side note, do you remember the blue goat icon i made for designer? will "standard" "official" gnue packages provide the most full-blown data design imagineable take out own street for example. it is calle Makkoserdo sor. it is stated like that on each street table. But it's official spelling is Makkos-erdo sor. So one sitting in an office and entering the streetnam eof a customer could fill it this way once, that way another time. that means a single entity is named two different ways... and users will "switch off" things they don't need cause at this time i made a patch to incorporate it in designer so if you want it, please tell me or do we want to provide a "base" users can extend the former is the SAP way of doing things lekma: sure re base/fullblown: i have looked at several uses and standars defining addresses/locations. this LOC module is a very very little common part of them. in the README i've already pointed out some possible extensions kilo: you are also talking about an address management to be used in an erp system, right? for example to enter customer data, vendor data etc tha mi fallain, tapaidh leibh sorry, not aimed here you can fetch it in http://www.orwex.net/gnue-dev/gnue_overlay_20040812.tar.bz2 in the folder dev-python/gnue-designer/files/gnue-designer-icon.diff yes, address management also it mormally applies cleanly on 0.5.4 to be honest, what i've seen most for that is address-line-1 to address-line-5 probably a distinction between zip and city and probably selection of a country from a list of countries if i understand it correct, it's not possible with your gcd to enter an address with a street not being listed in the street class, right? you can put one entry on a form and then customize the gcd so that it could handle single-line entry and then try to split it considering common-sense use in that country kilo: i'm talking about the street name there re streetname: yes. it is a weak point. maybe there should be two alternative ways to enter it if i live in a street called "Enga" there has to be a record in LOC_Street with the name "Enga", right? ah ok also the distinction between street name and street type seems uncommon to me right, but the business logic could be so that it would recognise str or strasse and put a record in street class street name is purely the name, and type is like street,boulevard, road, etc. this makes it so complicated you have telegraph road in english rue de la fayette in french and in german we even have bahnhofstrasse not to butt-in on a conversation I haven't been following (in one word) but we do millions of pieces of mail here at my office jcater: we know that you always do that ;-) to be honest it should be stored in an other class... but then i would have to hear that there are 6 classes in the module 8-))) j/k and that address scheme is a recipe for disaster imho rm-tv: there's a reason most places have address1 ... 5 just in the US, addresses are very, very inconsistent * jcater couldn't imagine world-wide jcater: i'm not sure what you're trying to hint us here * jcater goes back to his hole i've received a post from an australian guy from here some weeks ago, and the australian post has standards for mail addresses... jcater: you think address 1-5 is better or worse? for the residential part of the address, address1-5 would be more universal but still separate out postal code, country, foreign region, city, etc that's the way I usually see it and for good reason jcater: actually i would 100% agree with you if there wasn't the "etc" which i'm not sure what is behind that :) s/is/could be/ well s/etc/ those are the ones I see jcater: ok, thanks :) kilo: also, your system completely breaks if there is a po box * rm-tv envisions next release of designer New features/chages in 0.5.5: * Added goat icon :) good night night SachaS grrr i always wanted to go to LegoLand once :) ;) what if i tumble in legoland and break up some buildings? Do i have to stay and rebuild it? kilo: i think there is no whiskey in legoland rm-tv: pobox would simply go to address class ;-) i can tumble anywhere regardless of whisky kilo: but then, you need another table where you define what "pobox" is in different languages seriously i dont follow why in the address you have to write for example BYTEWISE Software GmbH Postfach 4711 6890 Lustenau Austria if the po box is a separate property would that hold "4711" or "Postfach 4711"? it is a quiestion of report design. you have to customize that report that prints the address 4711 but if i have a customer in england, too then there is the country info... i would have to write "po box 4711" for that customer and based on the country the report uses another string i am not sure if the levels of complexity we add here are worth it in other words i'm not sure how i would explain this to the average accountant that was used to type his addresses with the typewriter until yesterday i dont agree. with a good ui it can be handled. a do agree on the need to have another way to enter streenames if the modules dont reach a given complexity, imho it is no use to even develop them i dont see no reason behind defining a module for addresses that only holds lines well personally i don't target at a complex system nor do i i target at a system that's easily usable and understandable in pracitce by non-computer-experts let me put it that way i write an invoice system. i dont have to use all the properties of the address class. but i can use the same class to specify the address of an employee, so that i could fill his tax form well that's again the strategy question is the base address class the "maximum" and invoicing leaves parts of it "unused" or is it the "minimum" and payroll extends it but anyhow, i wuold be very very happy if other people also told their opinions. it is only some 5 people. not any of the americans has commented. only we here in central europe... yes, me too (would be happy) mabe someone reads the log and i feel we do know very well what the other 4 of hat 5 thinks, and keep on repeating the same again and again... * kilo is little bit frustrated actually i think i haven't discussed with anybody except you and i can't remember something else in the logs i hope to talk to dimas in the weekend if i may add my opinion on the address matter re max/min approach: well, i may be wrong, i am not an organizer, i am an engineer. so maybe you are right reinhard, dunno i think as jcater and reinhard that address1...5 is enough for basics ie address1...5 + zip + town +country lekma: for the statistics - which country are you from? nl he is i think * reinhard is forgetting things... i'm french but leaving in the netherlands and working sometimes with germans oh poor sucher sucker ;-) :) you got the best 8-)))) but at the moment i work for a dutch/french company addresses are so inconsistent that it's better to avoid specifics well, problem is that one day i agree and the other day i dont and i used to work (in another life) for a marketing department that made huge mass mailing kilo: then we'll wait for a day you agree and talk again then ;-) but the next day i will turn everything back 8-)) so when we redesigned the address db we sticked with basic 1...5 design and a lot of trouble went away the downside is people putting manually putting data have to stick to a few rules to keep the whole a bit consistent i think i'll call it a night bye all bye *** reinhard has quit IRC lekma: that downside is what i fear... you shouldn't :) if you keep it simple i shouldn't. i do. on a weekly basis i have to correct db entries because the customer wes clever enough to put in 'heater' as the name of all the 30000 heaters, and then he can't find the one he looks for :) *** sjc has quit IRC *** sjc has joined #gnuenterprise good night/afternoon/evening(/morning?) everyone *** lekma has quit IRC wha? oh *** jamest has quit IRC *** sjc has quit IRC *** sjc has joined #gnuenterprise *** sjc has quit IRC *** sjc has joined #gnuenterprise *** kilo has quit IRC *** jamest has joined #gnuenterprise *** sjc has quit IRC *** jcater_ has joined #gnuenterprise *** jcater has quit IRC *** gsoti_away has left #gnuenterprise *** MiXi^ has joined #gnuenterprise *** MiXi has quit IRC *** PeterD has joined #gnuenterprise Kilo: I read a log and want to comment on zip codes/postal codes I Australia Postal Codes are allocated to suburbs/cities probably based on postal distribution. Sometimes few suburbs got the same postal code. I noticed to that big organisations like telcos, universities, banks got allocated own postal code. In Poland Postal Codes in big cities are allocated to the streets, sometimes both sides of street got different codes or group of street numbers on this street got allocated separate codes. In small country town the same postal code is allocated to few streets. Most of villages in country sides got one postal code allocated to them the postal codes got format of five numbers xx-xxx where the first two represent big city or administrative region *** mdean has quit IRC *** PeterD has quit IRC *** holycow has joined #gnuenterprise