*** johannesV has joined #gnuenterprise *** reinhard has joined #gnuenterprise *** kilo has joined #gnuenterprise *** holy_cow has joined #gnuenterprise *** holycow has quit IRC *** yure has joined #gnuenterprise *** btami has joined #gnuenterprise good morning hi all hi btami hi dimas how about packaging ? i'm having problem with my win packages ? they do not see ui driver available what could i miss? hmm no gtk2 no win32 with installed prerequisites all worked fine no py2exe errors at all ? you mean it works in installed python dir OK? yes did not notice any error from py2exe is it a standard/default install with all Python/pywin32/gnue ? default dir yep are there win32gui.pyd ad similar at the end of py2exe process in bin dir? should i rerun setup.cmd? what files you have in c:\Python23\Scripts\dist ? this is the place py2exe puts the result some pyd and dll win32gui.pyd no any about gtk though setup.py doesn't contain gtk2 related code so it's OK if you want gtk2, you have to complete it with package/module names how then gtk2 driver works? or it is not included into prebuild packages? it was never included in packages but it works in installed Python dir so it's doable but i'v never tried wx and pywin32 is fat enough :) ok :) *** johannesV has quit IRC *** johannesV has joined #gnuenterprise maybe you have to compare the latest released packages with yours what's missing... btami: that's an idea if you find any important, please write your experiences into the README file :) btami: is it possible to use Python dir installed and prebuild on the same machine? sure but for sure i used to rename the source dir (c:\python23 -> c:\p23) when i test packages was kinda similar here :) so they unable to pick up modules from source install when making base install for gnue-forms it is not saying anything about win32 library checking ncurses library checking curses library checking wxPython library: ok nothing about win32 is that ok? *** holy_cow has quit IRC yes # wxPython print "checking wxPython library: ", if (os.environ.has_key('DISPLAY') and len(os.environ["DISPLAY"])) or \ os.name!='posix': try: from wxPython import wx if wx.__version__[0:2]=='2.': print "ok (%s)" % wx.__version__ UIOK = 1 # WORKAROUND: # return now because subsequent import of pygtk will segfault. return i don't know if we need this return on win32 ... what import should indicate that pywin32 is available? but if you can run gnue-forms with -u win32 from source Python install, then you OK win32ui or win32gui # win32ui print "checking win32all extensions: ", try: import win32ui print 'ok.' UIOK = 1 return except ImportError: print 'not found.' can you run somethig like: python.exe gnue-forms -u win32 intro.gfd ? reinstall is near to complete will check it now bbl *** reinhard has quit IRC python.exe gnue-forms -u win32 form.gfd works when run from Python23\Scripts directory ok now try to run setup.cmd -k again why i'm getting warning: Cannot build [about|jumpto|messageBox] form? with directory like C:\\Python23\\share\\gnue\\dialogs\\... all dialogs (.gfd) are changed with native dialog func so you have to remove them wherever you find them from your locale svn, from installed shera dir, etc. s/shera/share what if i do not need psycopg driver? remove from "Includes" list in setup.py if it was there and complaining during install will it cause any problem further seems like it you can remove others too, if you want only a slim form client only (wx/sapdb/etc.) *** reinhard has joined #gnuenterprise *** wt has joined #gnuenterprise how to save output from "python setup.py py2exe -c -k" into a file? > output.txt reinhard: you here? * btami is out for a minute *** ayers has joined #gnuenterprise back *** wt has quit IRC btami: should i install packages right after they built? like install gnue-environment before gnue-common getting build no no install in build process needed *** ayers has quit IRC back reinhard: i find some incompatibility in designer and behavior stuff designer (and maybe forms) knows only text/number/date as types but the new behavior stuff gives back 'strig' astype f.e: if you start designer and drag a field from schema navigator panel to layout panel the click into the new created entry you get error from property panel ah ok johannesV will look into it DB000: self.SetSelection(self.selectionList.index(value)) DB000: ValueError: list.index(x): x not in list koz value is 'string', but selectionList is [..., 'text'... ] ok, thx same thing, nothing works what environment, registry settings are important for prebuild? nothing IIRC dimas: no error messages ifyou use console version ? if run from GNUe\bin it just suggest to use --help option and win32ui.pyd, win32gui.pyd are in bin ? btw. you use -u win32 ? yes, yes compareing with released packets please put in comment the "try:" before the "import win32gui,..." statement in bin\gnue\forms\uidrivers\UIdriver.py btami, will look at designer right now ... (trying to reproduce) btw. behaviour still returns text as 'datatype' member, and the gsd-type in 'type' (which is acutally that what's changed) hm, looks like i've to install wx on my hoary first ... :) there is only wxpython2.5.3 available ... is this usable by gnue ? dunno, i'v packaged 2.6.1 myself for my distro btami, i get a UnicodeDecodeError on dropping an item from schemanav onto the layout panel are you using unicode version of wx ? don't know, how do i check that ? i have 'unicode' in my dir names like /usr/lib/python2.3/site-packages/wx-2.6-gtk2-unicode/wxPython/_wx.py here it looks like this: /usr/lib/python2.4/site-packages/wx-2.5.3-gtk2-unicode and lib names in wxwidgets have 'u' too like: /usr/lib/libwx_gtk2u_core-2.6.so ok, same is here .. hmm * johannesV does not like wx ... you have to help jcater canging designer ui agnostic :) you know there is gnue-designer/src/uidrivers/qt dir, you just have to add gtk2 :) designer is very important when you have to maintain a big and frequently changing project ok, i think i've found the bug ... but i still can't reproduce because of that unicode error * btami desperately missing reports layout support from designer out for a min btami: pythonpath is initialized with ['c:\\Program Files\\GNUe\\bin\\library.zip','C:\\Program Files\\GNUe\\bin'] would that work? why double \\ ? *** kilo has left #gnuenterprise btami: it was unable to import a textwrap module commented temporary import textwrap im dialogs.py got simple/form.gfd appeared back but from python commandline textwrap is available dimas: seems we have to add textwrap to "Includes" list in setup.py heh dialogs.py is new code, there was no need to put it into the "Includes" before do you know how library.zip is handled? does it require zlib module for unzipping? but ui drivers are indirect imported dunno trying with textwrap included isn't textwrap in library.zip, is it ? did not find so py2exe can't find it it's not clever enough to fallow our (ui) dyn_import :) appeared in library.zip after i added it into setup.py textwrap that is johannesV: if you commit your fix, i can test if it's OK or not dimas: cool btami, i've added a try: except: pass block around the failing unicode-code ... so i've already reproduced your bug ok and, well, i've just found it i'll remove all that debug-prints and then i'll commit it *** wt has joined #gnuenterprise thx btami, designer is committed ... please retry it's OK now, thx *** titopbs has joined #gnuenterprise btami: packages work got error uidriver\win32\widgets\form\widget.py, line 175, in showModal 'int' object has no attribute 'Enable' how can i reproduce this ? i opened dialog form from navigator i closed error window, used form (worked fine), when i closed dialog form - navigator also closed *** jamest has joined #gnuenterprise reinhard, (jamest): the pb with postgresql-behavior (constraints) is found ... there are dropped columns in pg_attribute table wow these are missing in GSFields and that's why we get an index error dimas: can you send me your.gpd .gfd files to btami at freemail dot hu ? i'll fix this for the next version of behavior (coming with write-support till tomorrow) thanks man, i really didn't plan to even revisit this till late this week or next np (got some customer's work to do first ...) btami: yes, if form not of type dialog - none of errors, and navigator works as it should dimas: you're trying to launch a dialog type form from navigator? unfortunately :( :) jamest: it was not a mandatory, but yes - launching it few months already :) dimas: it worked OK with win32 ui before ? can't confirm as i had problem with packages i accasionally run some forms separately why would you use a form type of dialog directly from navigator? that type of form was meant to be displayed via a trigger in a standard form to act as a dialog box why not use driver.getInput () ? you are right the form occationally appeared to have style="dialog" in header and did not gave any trouble as of today johannesV: maybe it's too new, and not documented :) and i really do not need dialog in this form dimas: then definately take that out ok btami: problem solved, do not need to send anything :) ok *** jcater has joined #gnuenterprise *** titopbs has quit IRC btami: error is appearing with any dialog form, closing dialog - close everythings behind hmm, it's a bug then :( will try to fix it *** titopbs has joined #gnuenterprise *** btami has quit IRC *** reinhard has quit IRC *** dimas has quit IRC *** dimas has joined #gnuenterprise *** johannesV_ has joined #gnuenterprise *** johannesV has quit IRC *** jcater has quit IRC *** johannesV_ has quit IRC *** sjc has joined #gnuenterprise *** wendall911 has joined #gnuenterprise *** SachaS has joined #gnuenterprise offtopic: anybody here use evolution and imap? not me nope nope *** kreiszner has joined #gnuenterprise *** kreiszner has quit IRC wendall911 yep *** kilo has joined #gnuenterprise *** jamest has left #gnuenterprise *** mnemoc has joined #gnuenterprise *** yure has quit IRC *** mnemoc_ has quit IRC *** wendall911 has quit IRC *** wendall911 has joined #gnuenterprise *** jcater has joined #gnuenterprise *** kilo has quit IRC *** sjc has quit IRC *** wendall911 has quit IRC *** titopbs has quit IRC *** yure has joined #gnuenterprise *** holycow has joined #gnuenterprise *** jcater has quit IRC *** SachaS has quit IRC *** jcater has joined #gnuenterprise *** wt has quit IRC *** jcater has quit IRC *** dcmwai has joined #gnuenterprise *** dcmwai_ has joined #gnuenterprise *** dcmwai has quit IRC *** SachaS has joined #gnuenterprise