boa-constructor-users Mailing List for Boa Constructor - wxPython GUI Builder (Page 21)
Status: Beta
Brought to you by:
riaan
You can subscribe to this list here.
2000 |
Jan
|
Feb
(1) |
Mar
(18) |
Apr
(4) |
May
(17) |
Jun
(14) |
Jul
(18) |
Aug
(3) |
Sep
(30) |
Oct
(16) |
Nov
(11) |
Dec
(9) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(19) |
Feb
(10) |
Mar
(4) |
Apr
(6) |
May
(27) |
Jun
(37) |
Jul
(44) |
Aug
(44) |
Sep
(49) |
Oct
(4) |
Nov
(6) |
Dec
(12) |
2002 |
Jan
(27) |
Feb
(22) |
Mar
(48) |
Apr
(21) |
May
(20) |
Jun
(6) |
Jul
(33) |
Aug
(34) |
Sep
(9) |
Oct
(41) |
Nov
(14) |
Dec
(35) |
2003 |
Jan
(75) |
Feb
(75) |
Mar
(59) |
Apr
(22) |
May
(18) |
Jun
(36) |
Jul
(50) |
Aug
(106) |
Sep
(71) |
Oct
(63) |
Nov
(81) |
Dec
(58) |
2004 |
Jan
(48) |
Feb
(42) |
Mar
(57) |
Apr
(64) |
May
(81) |
Jun
(30) |
Jul
(15) |
Aug
(39) |
Sep
(56) |
Oct
(61) |
Nov
(27) |
Dec
(20) |
2005 |
Jan
(74) |
Feb
(62) |
Mar
(237) |
Apr
(83) |
May
(138) |
Jun
(132) |
Jul
(61) |
Aug
(51) |
Sep
(17) |
Oct
(22) |
Nov
(59) |
Dec
(32) |
2006 |
Jan
(7) |
Feb
(7) |
Mar
(24) |
Apr
(15) |
May
(19) |
Jun
(46) |
Jul
(26) |
Aug
(51) |
Sep
(35) |
Oct
(90) |
Nov
(27) |
Dec
(23) |
2007 |
Jan
(22) |
Feb
(17) |
Mar
(14) |
Apr
(28) |
May
(38) |
Jun
(44) |
Jul
(34) |
Aug
(40) |
Sep
(29) |
Oct
(44) |
Nov
(16) |
Dec
(15) |
2008 |
Jan
(12) |
Feb
(37) |
Mar
(48) |
Apr
(35) |
May
(37) |
Jun
(32) |
Jul
(30) |
Aug
(28) |
Sep
(33) |
Oct
(19) |
Nov
(44) |
Dec
(45) |
2009 |
Jan
(30) |
Feb
(16) |
Mar
(48) |
Apr
(56) |
May
(100) |
Jun
(4) |
Jul
(1) |
Aug
|
Sep
|
Oct
(7) |
Nov
|
Dec
(3) |
2010 |
Jan
(8) |
Feb
(3) |
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(6) |
Nov
(22) |
Dec
|
2011 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(2) |
Dec
(1) |
2012 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
(5) |
Feb
(1) |
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Werner F. B. <wer...@fr...> - 2007-08-21 16:03:25
|
Gianfranco, gianfranco bonacorsi wrote: Please copy the list so others will see whatever solution we will find to this problem. > well this for example, it is just a test, don't mind the contents, is not a real application , it is more an exercise but it shoud work. > What I mean is that I get this kind of problem even when I start a brand new application and try to save it............ doesnt seem related to the runnable python > Strange but it does work for me, except having to correct an indentation problems and the following exception: Traceback (most recent call last): File "C:\Dev\BoaTest04\GianfrancoB\Frame1.py", line 123, in OnButton1Button self.staticText3.SetLabel('Il tipo non e : %s' ) % tipo TypeError: unsupported operand type(s) for %: 'NoneType' and 'type' I changed the line to this: self.staticText3.SetLabel('Il tipo non e : %s' ) % tipo But further checking needs to be done to ensure that tipo has a value. I will do some more testing by using folder and file names with non ascii codes but it would help if you give me: - what are the folder names you use - how does one invoke the dialog in your app to cause the original error on filedialog - what are the steps 1 to n you perform to create the error Please provide as detailed information as you can, so not to waste your time nor my time in trying to figure this problem out. See you Werner > > ----- Original Message ---- > From: Werner F. Bruhin <wer...@fr...> > To: gianfranco bonacorsi <bg...@ya...> > Cc: boa...@li... > Sent: Tuesday, August 21, 2007 5:44:47 PM > Subject: Re: wx.GetDefaultPyEncoding() > > > Hi, > > gianfranco bonacorsi wrote: > >> C'est toujours le même probleme sous windows 2000, ça n'a rien à voir avec le programme en Python >> , c'est boa qui foire........... >> >> > This does not get you anywhere nor does it help me (or anyone else) to > help you. > > I use Boa on Win XP, Win Vista and Win 2000 without problems like you > report. > > So, either provide more detail or..................... > > By this I mean a small sample application which does show the problem on > your machine and then we might be able to help you. > > Werner > > > > ____________________________________________________________________________________ > Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. > http://autos.yahoo.com/carfinder/ |
From: Werner F. B. <wer...@fr...> - 2007-08-21 09:16:02
|
D. R. Evans wrote: > Sorry for being so stupid, but the instructions say: > > ---- > > To create a component, you select the appropriate component from the > Palette. Components are grouped for easier access, e.g. the basic > controls are together. Once you have selected a control, the status > bar in the Palette shows the selected control. > > To place the component move the cursor onto the Designer. Click the > mouse once in the position where the component is required. Once the > component is on the form, it can be moved and resized. You move it by > placing the mouse within the component and dragging it. You resize it > by dragging one of the eight markers shown on the edge of a selected > control. > > ---- > > So I: > > 1. created a frame > 2. opened the frame designer > 3. selected the static bitmap You had to pick one of the controls which is a bit of an exception :) > 4. clicked on the frame > > At this point a very small box with diagonal red lines appears. > However, nothing I do at this point seems to either remove or resize > it. In particular, there is no sign of "eight markers" that might > allow me to change its size from something microscopic to something > usable. > > I also note that right-clicking brings up a context menu with > helpful-looking commands like "Align..." and "Size..." but selecting > those does not bring up any secondary menu (which one would expect to > appear because of the ellipses). > > So I'm completely lost. The instructions seem clear. I believe that I > am following them. But nothing I do seems to actually move or resize > the static bitmap. > > This is with kubuntu dapper 64-bit (boa constructor 0.4.4, which is > the version in the dapper repository). First of all you should upgrade Boa, 0.4.4 is a very old version. I would suggest: - Boa 0.6.1-beta from the sourceforge download section or from CVS - wxPython 2.8.x, latest is 2.8.4.2 - Python 2.5 To layout an application so it works well on different platforms you should use sizers, there is a small tutorial in Boa 0.6.1. So, the sequence would be something like this: - create the frame - put a panel onto the frame (this is especially needed for cross platform compatibility) - put e.g. a flexgridsizer onto the panel (IIRC, this did not yet work in 0.4.4) - put e.g. a textctrl or statictext onto the panel or a bitmap if you have to :) (I'll add this to the list for enhancing the tutorial as it is a bit different to other controls). I am a bit short of time, so have to leave it at this. Werner |
From: D. R. E. <doc...@gm...> - 2007-08-21 00:00:39
|
Sorry for being so stupid, but the instructions say: ---- To create a component, you select the appropriate component from the Palette. Components are grouped for easier access, e.g. the basic controls are together. Once you have selected a control, the status bar in the Palette shows the selected control. To place the component move the cursor onto the Designer. Click the mouse once in the position where the component is required. Once the component is on the form, it can be moved and resized. You move it by placing the mouse within the component and dragging it. You resize it by dragging one of the eight markers shown on the edge of a selected control. ---- So I: 1. created a frame 2. opened the frame designer 3. selected the static bitmap 4. clicked on the frame At this point a very small box with diagonal red lines appears. However, nothing I do at this point seems to either remove or resize it. In particular, there is no sign of "eight markers" that might allow me to change its size from something microscopic to something usable. I also note that right-clicking brings up a context menu with helpful-looking commands like "Align..." and "Size..." but selecting those does not bring up any secondary menu (which one would expect to appear because of the ellipses). So I'm completely lost. The instructions seem clear. I believe that I am following them. But nothing I do seems to actually move or resize the static bitmap. This is with kubuntu dapper 64-bit (boa constructor 0.4.4, which is the version in the dapper repository). |
From: Burton G. <997...@te...> - 2007-08-20 20:55:17
|
Hello! I am bored this evening. I am nice girl that would like to chat with you. Email me at t...@ma... only, because I am writing not from my personal email. If you would like to see my pictures. |
From: Werner F. B. <wer...@fr...> - 2007-08-20 10:00:14
|
gianfranco bonacorsi wrote: > What do you get if you do this in the shell: > > >>> import wx > >>> wx.GetDefaultPyEncoding() > 'iso-8859-1' > >>> > > Well, I get 'cd1252'....... I assume you mean 'cp1252', which is the default on Windows and I believe is more or less equivalent to iso-8859-1. Can you put together a small runnable sample which shows the problem and also let use know what folder and file names you use. Werner |
From: Werner F. B. <wer...@fr...> - 2007-08-20 08:15:14
|
ianaré sévi wrote: > It's been a while since I've messed with boa in windows, but wouldn't > the error normally be in a 'py', not a 'pyc' file? > Most I see it on .py files but I have seen it on .pyc files too. Maybe to do if the file had to be pyc'ed on this run or not? Werner > Just curious ... > > |
From: Werner F. B. <wer...@fr...> - 2007-08-20 08:14:55
|
Paul, paul sorenson wrote: > Werner, > > How are you going? Doing very well, keeping busy with my shareware and and and.... > I haven't posted in ages. > > Thanks for looking into this. My code base at home gets the "mac > fudge" for setmenubar added at build time (not at design time). I > tried a few things, including updating the version selection and still > get the same result. The version selection shouldn't be an issue, but defining a minimum instead a specific version makes it easier to maintain and worked for me as I don't have 2.6 Unicode on my machine. > > Below is the output in the console window. The RecipeModel and > getConfig "not defined" errors have always been there when opening up > the designer. Why did you instantiate these before __init__ctrl? I reordered the code as follows and it still works and gets rid of these two warning errors (I believe there is a way to define them so the designer doesn't complain but I can't find the mail from Riaan on how to do this). def __init__(self, parent): self._init_ctrls(parent) self.config = getConfig() self.ingredientGridMap = {} # Setup the model from with known constants self.recipe = RecipeModel() self.SetMenuBar(self.menubar) # added for Mac compatibility Hops.setDefaultForm(self.config.get('brewsta', 'hop_form')) The above gets rid of the designer error and to me it looks as if the app still works correctly, but then I might be missing something. > > Anyway, I will have to do a bit more digging myself. It seems it is > peculiar to my application. > > cheers > > ... > opening in Editor: brewsta.py > opening in Editor: brewsterframe.py > showing main frames > > ** (python:9430): CRITICAL **: glide_draw_box_gap: assertion `height > >= -1' failed > name 'RecipeModel' is not defined > name 'getConfig' is not defined > All the rest is GTK errors, that is why I don't get it on my Windows box. You might want to post this to the wxPython list. GTK doesn't like that a new parent is set on a widget, but I can't see where this is done in your code. Werner |
From: <ia...@gm...> - 2007-08-20 06:05:35
|
SXQncyBiZWVuIGEgd2hpbGUgc2luY2UgSSd2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C9saXN0cy9s aXN0aW5mby9ib2EtY29uc3RydWN0b3ItdXNlcnMKPgoKCi0tIAotIGlhbmFyw6kgc8OpdmkKTGUg SG9tYXJkIGRlIFZpbmNpCg== |
From: paul s. <sf...@me...> - 2007-08-20 01:02:41
|
Werner, How are you going? I haven't posted in ages. Thanks for looking into this. My code base at home gets the "mac fudge" for setmenubar added at build time (not at design time). I tried a few things, including updating the version selection and still get the same result. Below is the output in the console window. The RecipeModel and getConfig "not defined" errors have always been there when opening up the designer. Anyway, I will have to do a bit more digging myself. It seems it is peculiar to my application. cheers ... opening in Editor: brewsta.py opening in Editor: brewsterframe.py showing main frames ** (python:9430): CRITICAL **: glide_draw_box_gap: assertion `height >= -1' failed name 'RecipeModel' is not defined name 'getConfig' is not defined (python:9430): Gtk-WARNING **: Can't set a parent on widget which has a parent (python:9430): Gtk-WARNING **: Can't set a parent on widget which has a parent (python:9430): Gtk-WARNING **: Can't set a parent on widget which has a parent (python:9430): Gtk-WARNING **: Can't set a parent on widget which has a parent (python:9430): Gtk-WARNING **: Can't set a parent on widget which has a parent (python:9430): Gtk-WARNING **: Can't set a parent on widget which has a parent (python:9430): Gtk-WARNING **: Can't set a parent on widget which has a parent (python:9430): Gdk-WARNING **: gdkdrawable-x11.c:878 drawable is not a pixmap or window Gtk-ERROR **: file gtkcontainer.c: line 2447 (gtk_container_propagate_expose): assertion failed: (child->parent == GTK_WIDGET (container)) aborting... Werner F. Bruhin wrote: > Hi Paul, > > paul sorenson wrote: >> Guys, >> >> I have an application that I created with Boa and wxPython that I have >> been maintaining for several years. >> >> On FC6 With Boa 0.6.1, wxPython 2.8.4.2, trying to open the frame >> designer results in a complete crash with boa disappearing without a >> trace. This hasn't happened previously. >> >> The application runs fine. >> >> The source code for my app is at http://sourceforge.net/projects/brewsta/ >> >> Which may be slightly different to what I have here at home but this >> change in behaviour appears to have either popped up with either an >> upgrade in boa and/or wxPython. Unfortunately I can't say which one at >> the moment. > I don't see this, assuming you talk about brewsterframe.py. Only > problem I see is that you made two manual changes which are not > compatible with the frame designer. > > - you commented a line "self.SetMenuBar" and you added it to _init_utils. > > - I removed the commented line and moved it to after: > self._init_ctrls(parent) > self.SetMenuBar(self.menubar) # added for Mac compatibility > > - changed the wxversion.select: > wxversion.ensureMinimal('2.6-unicode') > > I used the v1_0b10src for this. > > After above changes I can open it in the designer and I can also run the > application. > > wxPython 2.8.4, Python 2.5 on Windows Vista. > > Werner > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users |
From: gianfranco b. <bg...@ya...> - 2007-08-19 21:26:26
|
=0AWhat do you get if you do this in the shell:=0A=0A >>> import wx=0A >>> = wx.GetDefaultPyEncoding()=0A'iso-8859-1'=0A >>>=0A=0AWell, I get 'cd1252'..= .....=0A=0A=0A=0A=0A =0A_____________________________________________= _______________________________________=0AChoose the right car based on you= r needs. Check out Yahoo! Autos new Car Finder tool.=0Ahttp://autos.yahoo.= com/carfinder/ |
From: Werner F. B. <wer...@fr...> - 2007-08-19 08:24:27
|
Hi Paul, paul sorenson wrote: > Guys, > > I have an application that I created with Boa and wxPython that I have > been maintaining for several years. > > On FC6 With Boa 0.6.1, wxPython 2.8.4.2, trying to open the frame > designer results in a complete crash with boa disappearing without a > trace. This hasn't happened previously. > > The application runs fine. > > The source code for my app is at http://sourceforge.net/projects/brewsta/ > > Which may be slightly different to what I have here at home but this > change in behaviour appears to have either popped up with either an > upgrade in boa and/or wxPython. Unfortunately I can't say which one at > the moment. I don't see this, assuming you talk about brewsterframe.py. Only problem I see is that you made two manual changes which are not compatible with the frame designer. - you commented a line "self.SetMenuBar" and you added it to _init_utils. - I removed the commented line and moved it to after: self._init_ctrls(parent) self.SetMenuBar(self.menubar) # added for Mac compatibility - changed the wxversion.select: wxversion.ensureMinimal('2.6-unicode') I used the v1_0b10src for this. After above changes I can open it in the designer and I can also run the application. wxPython 2.8.4, Python 2.5 on Windows Vista. Werner |
From: Leon P. <a-...@ac...> - 2007-08-19 06:57:15
|
Hello! I am bored today. I am nice girl that would like to chat with you. Email me at x...@ma... only, because I am writing not from my personal email. Hope you like my pictures. |
From: paul s. <pa...@me...> - 2007-08-19 00:27:54
|
Guys, I have an application that I created with Boa and wxPython that I have been maintaining for several years. On FC6 With Boa 0.6.1, wxPython 2.8.4.2, trying to open the frame designer results in a complete crash with boa disappearing without a trace. This hasn't happened previously. The application runs fine. The source code for my app is at http://sourceforge.net/projects/brewsta/ Which may be slightly different to what I have here at home but this change in behaviour appears to have either popped up with either an upgrade in boa and/or wxPython. Unfortunately I can't say which one at the moment. |
From: Lloyd S. <a-a...@ag...> - 2007-08-18 20:45:58
|
Hello! I am bored today. I am nice girl that would like to chat with you. Email me at uv...@ma... only, because I am writing not from my personal email. I want to show you some pictures. |
From: Werner F. B. <wer...@fr...> - 2007-08-18 11:01:30
|
gianfranco bonacorsi wrote: > Ialways get the unicode error for example if I try to save a newly created application, I mean an empty application. > It also happens when I navigate through files and enter a directory > > the log file gives : > > 23:05:46: Traceback (most recent call last): > 23:05:46: File "Models\PythonControllers.pyc", line 422, in OnSave > 23:05:46: File "Models\Controllers.pyc", line 162, in OnSave > 23:05:46: File "Editor.pyc", line 985, in activeModSaveOrSaveAs > 23:05:46: File "EditorUtils.pyc", line 398, in saveOrSaveAs > 23:05:46: File "EditorUtils.pyc", line 386, in saveAs > 23:05:46: File "Editor.pyc", line 971, in saveAsDlg > 23:05:46: File "FileDlg.pyc", line 167, in __init__ > 23:05:46: File "FileDlg.pyc", line 569, in SetDirectory > 23:05:46: File "FileDlg.pyc", line 288, in updatePathLabel > 23:05:46: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 27: ordinal not in range(128) > > > but I m sure I dont use this character. > > I have python 2.5, boa constructor 0.6.1 , wxpython for python 2.5 version2.8 unicod, windows XP french > So I went back to my old configuration Just did a little test with Python 2.5, Boa 0.6.1, wxPython 2.8 unicode on Windows Vista French and I don't see any problem. What do you get if you do this in the shell: >>> import wx >>> wx.GetDefaultPyEncoding() 'iso-8859-1' >>> Werner > > > > > > ____________________________________________________________________________________ > Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. > http://answers.yahoo.com/dir/?link=list&sid=396545433 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ |
From: <ia...@gm...> - 2007-08-18 07:48:47
|
Q291bGQgYmUgYSBidWcuIFdoZXJlIGFyZSB5b3Ugc2F2aW5nIHRvPyBFeGFjdCBwYXRoIHBsZWFz ZS4KCi0tCi0gaWFuYXLDqSBzw6l2aQpMZSBIb21hcmQgZGUgVmluY2kKCgoyMDA3LzgvMTcsIGdp YW5mcmFuY28gYm9uYWNvcnNpIDxiZ2ZyYUB5YWhvby5jb20+Ogo+IElhbHdheXMgIGdldCB0aGUg dW5pY29kZSBlcnJvciBmb3IgZXhhbXBsZSBpZiBJIHRyeSB0byBzYXZlIGEgbmV3bHkgY3JlYXRl ZCBhcHBsaWNhdGlvbiwgSSBtZWFuIGFuIGVtcHR5IGFwcGxpY2F0aW9uLgo+IEl0IGFsc28gaGFw cGVucyB3aGVuIEkgbmF2aWdhdGUgdGhyb3VnaCBmaWxlcyBhbmQgZW50ZXIgYSBkaXJlY3RvcnkK Pgo+IHRoZSBsb2cgZmlsZSBnaXZlcyA6Cj4KPiAyMzowNTo0NjogVHJhY2ViYWNrIChtb3N0IHJl Y2VudCBjYWxsIGxhc3QpOgo+IDIzOjA1OjQ2OiAgIEZpbGUgIk1vZGVsc1xQeXRob25Db250cm9s bGVycy5weWMiLCBsaW5lIDQyMiwgaW4gT25TYXZlCj4gMjM6MDU6NDY6ICAgRmlsZSAiT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21:48:47
|
Ialways get the unicode error for example if I try to save a newly created= application, I mean an empty application.=0AIt also happens when I navigat= e through files and enter a directory=0A=0Athe log file gives :=0A=0A23:05:= 46: Traceback (most recent call last): =0A23:05:46: File "Models\PythonCo= ntrollers.pyc", line 422, in OnSave =0A23:05:46: File "Models\Controllers= .pyc", line 162, in OnSave =0A23:05:46: File "Editor.pyc", line 985, in a= ctiveModSaveOrSaveAs =0A23:05:46: File "EditorUtils.pyc", line 398, in sa= veOrSaveAs =0A23:05:46: File "EditorUtils.pyc", line 386, in saveAs =0A23= :05:46: File "Editor.pyc", line 971, in saveAsDlg =0A23:05:46: File "Fi= leDlg.pyc", line 167, in __init__ =0A23:05:46: File "FileDlg.pyc", line 5= 69, in SetDirectory =0A23:05:46: File "FileDlg.pyc", line 288, in updateP= athLabel =0A23:05:46: UnicodeDecodeError: 'ascii' codec can't decode byte 0= xe9 in position 27: ordinal not in range(128) =0A=0A=0Abut I m sure I dont = use this character.=0A=0AI have python 2.5, boa constructor 0.6.1 , wxpytho= n for python 2.5 version2.8 unicod, windows XP french=0ASo I went back to m= y old configuration=0A=0A=0A=0A=0A =0A_______________________________= _____________________________________________________=0ABe a better Heartth= rob. Get better relationship answers from someone who knows. Yahoo! Answers= - Check it out. =0Ahttp://answers.yahoo.com/dir/?link=3Dlist&sid=3D3965454= 33 |
From: Devon C. <a-...@aa...> - 2007-08-17 18:51:57
|
you get to take Hello. How do you do? Email me at ky...@ma... only. I am female. Mind me sending some of my pictures to you? the pressure, had gone unstructured play follow and I have |
From: <ia...@gm...> - 2007-08-06 21:24:15
|
SWYgeW91IHdhbnQgdG8gcHV0IGluIG5vbi1BU0NJSSBjaGFyYWN0ZXJzIGluIHlvdXIgZmlsZSwg eW91IG5lZWQgdG8KZGVjbGFyZSBhbiBlbmNvZGluZyBhdCB0aGUgdmVyeSBiZWdpbmluZyBvZiB0 aGUgcHl0aG9uIGZpbGUuIFNvbWV0aGluZwpsaWtlIHRoaXM6CgojIC0qLSBjb2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xlbSwKY291bGQgeW91IGdpdmUgbW9yZSBpbmZvOgoKZnVsbCBwYXRoIG9mIGJvYQpm dWxsIHBhdGggb2YgdGhlIHByb2dyYW0KT1MgdmVyc2lvbiAmIGxhbmd1YWdlCkhhdmUgeW91IHRy aWVkIHdpdGggd3hQeXRob24gMi42PwoKSSBhc2sgYmVjYXVzZSBJIGhhdmUgaGFkIHByb2JsZW1z IHdpdGggcGF0aHMgYW5kIGFjY2VudHMuCgpDaGVlcnMsCgotLSAKLSBpYW5hcsOpIHPDqXZpCkxl IEhvbWFyZCBkZSBWaW5jaQo= |
From: gianfranco b. <bg...@ya...> - 2007-08-06 16:32:21
|
Hello,=0A=0AI just updated to version .6.1 , python 2.5.1and wxpython 2.8.4= ansi (or unicode,I tried both)=0A=0AWhen I want to edit this file=0A=0A#Bo= a:Frame:Frame1=0A=0Aimport wx=0Aimport wx.calendar=0Aimport Dialog1=0Aimpor= t Dialog2=0A=0Adef create(parent):=0A return Frame1(parent)=0A=0A[wxID_F= RAME1, wxID_FRAME1BUTTON1, wxID_FRAME1BUTTON3, =0A wxID_FRAME1CALENDARCTRL1= , wxID_FRAME1COMBOBOX1, wxID_FRAME1PANEL1, =0A wxID_FRAME1SLIDER1, wxID_FRA= ME1STATICBOX1, wxID_FRAME1STATICBOX2, =0A wxID_FRAME1STATICTEXT1, wxID_FRAM= E1STATICTEXT2, wxID_FRAME1STATICTEXT3, =0A wxID_FRAME1STATICTEXT4, wxID_FRA= ME1STATICTEXT5, wxID_FRAME1STATICTEXT6, =0A wxID_FRAME1STATICTEXT7, wxID_FR= AME1STATICTEXT8, =0A] =3D [wx.NewId() for _init_ctrls in range(17)]=0A=0Acl= ass Frame1(wx.Frame):=0A def _init_ctrls(self, prnt):=0A # genera= ted method, don't edit=0A wx.Frame.__init__(self, id=3DwxID_FRAME1, = name=3D'', parent=3Dprnt,=0A pos=3Dwx.Point(187, 26), size=3Dw= x.Size(527, 487),=0A style=3Dwx.DEFAULT_FRAME_STYLE, title=3D'= Schermo di partenza')=0A self.SetClientSize(wx.Size(519, 460))=0A=0A= self.panel1 =3D wx.Panel(id=3DwxID_FRAME1PANEL1, name=3D'panel1', p= arent=3Dself,=0A pos=3Dwx.Point(0, 0), size=3Dwx.Size(519, 460= ),=0A style=3Dwx.TAB_TRAVERSAL)=0A=0A self.button1 =3D = wx.Button(id=3DwxID_FRAME1BUTTON1,=0A label=3D'Apre una finest= ra per valore', name=3D'button1',=0A parent=3Dself.panel1, pos= =3Dwx.Point(48, 120), size=3Dwx.Size(200, 23),=0A style=3D0)= =0A self.button1.Bind(wx.EVT_BUTTON, self.OnButton1Button,=0A = id=3DwxID_FRAME1BUTTON1)=0A=0A self.staticText1 =3D wx.Static= Text(id=3DwxID_FRAME1STATICTEXT1,=0A label=3D'Questo serve per= provare il bottone', name=3D'staticText1',=0A parent=3Dself.p= anel1, pos=3Dwx.Point(88, 40), size=3Dwx.Size(262, 21),=0A sty= le=3D0)=0A self.staticText1.SetFont(wx.Font(11, wx.SWISS, wx.NORMAL,= wx.BOLD,=0A False, 'Comic Sans MS'))=0A=0A self.static= Text2 =3D wx.StaticText(id=3DwxID_FRAME1STATICTEXT2,=0A label= =3D'Questo il testo che cambia.....', name=3D'staticText2',=0A = parent=3Dself.panel1, pos=3Dwx.Point(104, 240), size=3Dwx.Size(149, 13),= =0A style=3D0)=0A self.staticText2.SetForegroundColour(= wx.Colour(255, 0, 0))=0A self.staticText2.SetBackgroundColour(wx.Col= our(255, 255, 0))=0A=0A self.comboBox1 =3D wx.ComboBox(choices=3D["a= ncora", 12, 14],=0A id=3DwxID_FRAME1COMBOBOX1, name=3D'comboBo= x1', parent=3Dself.panel1,=0A pos=3Dwx.Point(304, 96), size=3D= wx.Size(168, 21), style=3D0,=0A value=3D'Scegli')=0A se= lf.comboBox1.SetLabel('Scegli')=0A self.comboBox1.Bind(wx.EVT_TEXT, = self.OnComboBox1Text,=0A id=3DwxID_FRAME1COMBOBOX1)=0A=0A = self.staticText3 =3D wx.StaticText(id=3DwxID_FRAME1STATICTEXT3,=0A = label=3D'Il tipo ', name=3D'staticText3', parent=3Dself.panel1,=0A = pos=3Dwx.Point(112, 264), size=3Dwx.Size(34, 13), style=3D0)= =0A self.staticText3.SetBackgroundColour(wx.Colour(128, 128, 255))= =0A self.staticText3.SetForegroundColour(wx.Colour(0, 255, 0))=0A=0A= self.staticBox1 =3D wx.StaticBox(id=3DwxID_FRAME1STATICBOX1,=0A = label=3D'Ambaradan', name=3D'staticBox1', parent=3Dself.panel1,= =0A pos=3Dwx.Point(16, 88), size=3Dwx.Size(256, 144), style=3D= 0)=0A self.staticBox1.SetFont(wx.Font(10, wx.SWISS, wx.NORMAL, wx.BO= LD, False,=0A 'Microsoft Sans Serif'))=0A=0A self.slide= r1 =3D wx.Slider(id=3DwxID_FRAME1SLIDER1, maxValue=3D100,=0A m= inValue=3D0, name=3D'slider1', parent=3Dself.panel1, point=3Dwx.Point(64,= =0A 320), size=3Dwx.DefaultSize, style=3Dwx.SL_HORIZONTAL, val= ue=3D0)=0A self.slider1.Bind(wx.EVT_COMMAND_SCROLL_THUMBRELEASE,=0A = self.OnSlider1CommandScrollThumbrelease, id=3DwxID_FRAME1SLIDE= R1)=0A=0A self.staticText4 =3D wx.StaticText(id=3DwxID_FRAME1STATICT= EXT4,=0A label=3D'Valore slide', name=3D'staticText4', parent= =3Dself.panel1,=0A pos=3Dwx.Point(112, 296), size=3Dwx.Size(54= , 13), style=3D0)=0A=0A self.calendarCtrl1 =3D wx.calendar.CalendarC= trl(date=3Dwx.DateTime.Now(),=0A id=3DwxID_FRAME1CALENDARCTRL1= , name=3D'calendarCtrl1',=0A parent=3Dself.panel1, pos=3Dwx.Po= int(304, 128), size=3Dwx.Size(179,=0A 128), style=3Dwx.calenda= r.CAL_SHOW_HOLIDAYS)=0A=0A self.staticBox2 =3D wx.StaticBox(id=3DwxI= D_FRAME1STATICBOX2,=0A label=3D'staticBox2', name=3D'staticBox= 2', parent=3Dself.panel1,=0A pos=3Dwx.Point(288, 72), size=3Dw= x.Size(200, 248), style=3D0)=0A=0A self.button3 =3D wx.Button(id=3Dw= xID_FRAME1BUTTON3,=0A label=3D'Sceglie due date', name=3D'butt= on3', parent=3Dself.panel1,=0A pos=3Dwx.Point(48, 168), size= =3Dwx.Size(200, 23), style=3D0)=0A self.button3.Bind(wx.EVT_BUTTON, = self.OnButton3Button,=0A id=3DwxID_FRAME1BUTTON3)=0A=0A = self.staticText5 =3D wx.StaticText(id=3DwxID_FRAME1STATICTEXT5,=0A = label=3D'Data inizio e', name=3D'staticText5', parent=3Dself.panel1,= =0A pos=3Dwx.Point(48, 368), size=3Dwx.Size(72, 13), style=3D0= )=0A=0A self.staticText6 =3D wx.StaticText(id=3DwxID_FRAME1STATICTEX= T6, label=3D'',=0A name=3D'staticText6', parent=3Dself.panel1,= pos=3Dwx.Point(296, 368),=0A size=3Dwx.Size(0, 13), style=3D0= )=0A=0A self.staticText7 =3D wx.StaticText(id=3DwxID_FRAME1STATICTEX= T7,=0A label=3D'Data Fine e ', name=3D'staticText7', parent=3D= self.panel1,=0A pos=3Dwx.Point(48, 400), size=3Dwx.Size(58, 13= ), style=3D0)=0A=0A self.staticText8 =3D wx.StaticText(id=3DwxID_FRA= ME1STATICTEXT8, label=3D'',=0A name=3D'staticText8', parent=3D= self.panel1, pos=3Dwx.Point(296, 416),=0A size=3Dwx.Size(0, 13= ), style=3D0)=0A=0A def __init__(self, parent):=0A self._init_ctr= ls(parent)=0A=0A def OnButton1Button(self, event):=0A self.dia = =3D Dialog1.create(self)=0A self.dia.ShowModal()=0A txt =3D '= La Valeur est : '+ self.dia.transfer()=0A tipo =3D type(self.dia.tra= nsfer())=0A self.staticText2.SetLabel(txt)=0A self.staticText= 3.SetLabel('Il tipo non e :'+ tipo) =0A self.dia.Destroy()=0A=0A = def OnSlider1CommandScrollThumbrelease(self, event):=0A event.Skip()= =0A=0A def OnSlider1CommandScrollThumbtrack(self, event):=0A self= .staticText4.label =3D self.slider1=0A=0A def OnComboBox1Text(self, even= t):=0A prova =3D self.comboBox1.GetValue()=0A self.staticText= 2.SetLabel(prova)=0A=0A def OnButton3Button(self, event):=0A self= .dia2 =3D Dialog2.create(self)=0A self.dia2.ShowModal()=0A tx= t2 =3D self.dia2.transfer()=0A self.staticText5.SetLabel(str(t= xt2[0]))=0A self.staticText7.SetLabel(str(txt2[1]))=0A self.d= ia2.Destroy()=0A=0A=0AI get the following error=0A=0A15:25:40: Traceback (m= ost recent call last): =0A15:25:40: File "Models\PythonControllers.pyc", = line 207, in OnRunApp =0A15:25:40: File "Models\PythonEditorModels.pyc", = line 174, in run =0A15:25:40: UnicodeDecodeError: 'ascii' codec can't decod= e byte 0xe9 in position 2: ordinal not in range(128) =0A16:37:53: Traceback= (most recent call last): =0A16:37:53: File "Models\wxPythonControllers.p= yc", line 78, in OnDesigner =0A16:37:53: File "Models\wxPythonControllers= .pyc", line 143, in showDesigner =0A16:37:53: File "Views\Designer.pyc", = line 399, in refreshCtrl =0A16:37:53: File "Views\InspectableViews.pyc", = line 127, in initObjectsAndCompanions =0A16:37:53: File "Views\Designer.p= yc", line 529, in initObjCreator =0A16:37:53: File "Views\InspectableView= s.pyc", line 155, in initObjCreator =0A16:37:53: File "Views\Designer.pyc= ", line 491, in loadControl =0A16:37:53: File "Companions\BaseCompanions.= pyc", line 594, in designTimeControl =0A16:37:53: File "wx\_controls.pyc"= , line 589, in __init__ =0A16:37:53: TypeError: String or Unicode type requ= ired =0A=0AHow can I fix it ?=0A=0AWhen I try to save it I get a =0A=0A15:2= 6:43: Traceback (most recent call last): =0A15:26:43: File "Models\wxPyth= onControllers.pyc", line 78, in OnDesigner =0A15:26:43: File "Models\wxPy= thonControllers.pyc", line 143, in showDesigner =0A15:26:43: File "Views\= Designer.pyc", line 399, in refreshCtrl =0A15:26:43: File "Views\Inspecta= bleViews.pyc", line 127, in initObjectsAndCompanions =0A15:26:43: File "V= iews\Designer.pyc", line 529, in initObjCreator =0A15:26:43: File "Views\= InspectableViews.pyc", line 155, in initObjCreator =0A15:26:43: File "Vie= ws\Designer.pyc", line 491, in loadControl =0A15:26:43: File "Companions\= BaseCompanions.pyc", line 594, in designTimeControl =0A15:26:43: File "wx= \_controls.pyc", line 589, in __init__ =0A15:26:43: TypeError: String or Un= icode type required =0A18:30:46: Traceback (most recent call last): =0A18:3= 0:46: File "Models\PythonControllers.pyc", line 422, in OnSave =0A18:30:4= 6: File "Models\Controllers.pyc", line 162, in OnSave =0A18:30:46: File= "Editor.pyc", line 985, in activeModSaveOrSaveAs =0A18:30:46: File "Edit= orUtils.pyc", line 423, in saveOrSaveAs =0A18:30:46: UnicodeDecodeError: 'a= scii' codec can't decode byte 0xe9 in position 12: ordinal not in range(128= ) =0A=0A=0AWhat's wrong ?=0AIt was working fine before.=0A=0AThanks=0A=0AGi= anfranco=0A=0A=0A=0A=0A=0A =0A_______________________________________= _____________________________________________=0ASick sense of humor? Visit = Yahoo! TV's =0AComedy with an Edge to see what's on, when. =0Ahttp://tv.yah= oo.com/collections/222 |
From: investor P. <oh...@sh...> - 2007-08-05 23:49:04
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2900.2912" name=3D"GENERATOR"> </HEAD> <BODY> <DIV align=3Dleft><FONT face=3DArial size=3D2><B>Your credit history doesn't matter to us!</B></FONT></DIV> <DIV align=3Dcenter> Â </DIV> <DIV align=3Dleft><FONT face=3DArial size=3D2>If you have your own business and wish IMMEDIATE cash to spend ANY way you like or want Extra money to give the business a boost or wish A low interest loan - NO STRINGS ATTACHED, here is our deal we can offer you THIS NIGHT (hurry, this tender will expire TONIGHT):</FONT></DIV> <DIV align=3Dcenter> Â </DIV> <DIV align=3Dleft><FONT face=3DArial size=3D2><B>$28,000+ loan</B></FONT></DIV> <DIV align=3Dcenter> Â </DIV> <DIV align=3Dleft><FONT face=3DArial size=3D2><B>Hurry, when best deal is gone, it is gone. Simply Call Us... </B></FONT></DIV> <DIV align=3Dcenter> Â </DIV> <DIV align=3Dleft><FONT face=3DArial size=3D2>Don't worry about approval, your credit history will not disqualify you!</FONT></DIV> <DIV align=3Dcenter> Â </DIV> <DIV align=3Dleft><FONT face=3DArial size=3D2><B>Call Us Free on 877-699-7808</B></FONT></DIV></BODY></HTML> |
From: Mable F. <Lor...@di...> - 2007-07-29 22:32:46
|
Your credit score doesn't matter to us! If you have your own business and wish IMMEDIATE cash to spend ANY way = you like or require Extra money to give the business a boost or need A = low interest loan - NO STRINGS ATTACHED, here is the deal we can offer = you TONIGHT (hurry, this lot will expire THIS EVENING): $38,000+ loan Hurry, when our deal is gone, it is gone. Simply Call Us... Don't worry about approval, your credit will not disqualify you! Call Us Free on 877-542-1884 |
From: Godfrey C. A. <qe...@fa...> - 2007-07-28 19:59:32
|