boa-constructor-users Mailing List for Boa Constructor - wxPython GUI Builder (Page 7)
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: Tim B. <ti...@al...> - 2008-11-20 17:16:57
|
Tim Black wrote: > I wonder if more people might contribute patches if the code was not > managed in a distributed rather than centralized version control system. I meant to say, "if the code WAS managed in a distributed..." Tim |
From: Tim B. <ti...@al...> - 2008-11-20 17:14:37
|
Hi Werner, and Riaan, I know Boa is still being developed. Significant updates continue to come, but they don't seem to come very frequently. That indicates to me that Riaan remains the main developer, but as I think he's said, doesn't have much time to improve Boa. I know Riaan welcomes and integrates patches, but I wonder if more people might contribute patches if the code was not managed in a distributed rather than centralized version control system. Over the last year or so I've taken to migrating all my projects out of CVS & Subversion into Bazaar, because the distributed version control system model makes it a little easier for others to contribute code to the mainline, partly by giving each user a local copy of the repository itself. It's also easy to set up any directory as a Bazaar-managed repository (easier than CVS & SVN--3 commands: bzr init, bzr add, bzr commit), because you don't have to set up a central repository server before you can start versioning your code. Bazaar also gives you the option to host your code centrally on Launchpad and use its collaboration features which are similar to SourceForge. I haven't used Launchpad a lot, but I like their model of allowing parallel branches to be owned & developed by different people and merged when an owner wants to merge, because I think that fosters more feature development, yes, with the risk that incompatible branches will develop, but I think the correlative risk in a centralized version control model is that the mainline experiences less feature development. So, you might consider using one of the distributed version control systems if you think there's a bottleneck connected to the version control system that's being used. Tim Black Werner F. Bruhin wrote: > Hi Vern, > > vmars wrote: > >> Greetings: >> >> 1) Please, is Boa still being developed? >> > Yes it is. > >> Its very easy for me to use, because I am used to Delphi. >> I think that BC is a valuable program, >> and I hope it continues to be developed! >> > I am sure Riaan will be happy to hear this. > >> >> 2) I would like to read the BC help files, without having to keep BC running >> Is there a way to do this? >> > Check the folder: > yourboainstallfolder\Docs\boa > > There is an index.html in both of the sub-folders. > > Werner > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users > |
From: Werner F. B. <wer...@fr...> - 2008-11-20 09:32:10
|
Hi Vern, vmars wrote: > Greetings: > > 1) Please, is Boa still being developed? Yes it is. > Its very easy for me to use, because I am used to Delphi. > I think that BC is a valuable program, > and I hope it continues to be developed! I am sure Riaan will be happy to hear this. > > 2) I would like to read the BC help files, without having to keep BC running > Is there a way to do this? Check the folder: yourboainstallfolder\Docs\boa There is an index.html in both of the sub-folders. Werner |
From: vmars <vm...@rg...> - 2008-11-19 18:52:23
|
Greetings: 1) Please, is Boa still being developed? Its very easy for me to use, because I am used to Delphi. I think that BC is a valuable program, and I hope it continues to be developed! 2) I would like to read the BC help files, without having to keep BC running Is there a way to do this? THanks ! ô¿ô V e r n WinXp sp2 , wxPython2.8-win32-unicode-2.8.9.1-py26.exe , Boa 0.6.1, Delphi5 http://www.flickr.com/photos/vmars956/ |
From: Werner F. B. <wer...@fr...> - 2008-11-07 10:19:47
|
Hi, vmars wrote: > Greetings; > This error happens , in 'Boa Constructor' everytime I start a new program. > Turns out , the work around is : > Save files, shutdown Boa. > Then restart Boa, and all is well. > > Is there a way to avoid this? Can you provide the full traceback. Which version of Boa are you using? What version of Python are you using? 2.4 or 2.5 is fine, note that I don't think that 2.6 will work yet. Also wxPython 2.6 is pretty old by now. Unless you are already on Boa 0.6.1 from CVS I would suggest that you get that and that you upgrade to wxPython 2.8.9.1. Werner |
From: vmars <vm...@rg...> - 2008-11-06 21:27:58
|
Greetings; This error happens , in 'Boa Constructor' everytime I start a new program. Turns out , the work around is : Save files, shutdown Boa. Then restart Boa, and all is well. Is there a way to avoid this? Thanks! ô¿ô V e r n WinXp sp2 , Python , wxPython 2.6 , & Docs 2.8 , Boa , Delphi5 http://www.flickr.com/photos/vmars956/ |
From: Issuu <no-...@is...> - 2008-11-04 08:33:57
|
----------------------------------------------------------------- You've been invited to join Issuu ----------------------------------------------------------------- Bruce Williams (aka electricranch) just invited you to join Issuu. Accept invitation: http://issuu.com/invitesignup?username=electricranch&realname=Bruce%20Williams&friendemail=boa-constructor-users%40lists.sourceforge.net&expiration=20091104081152&invitationcode=397aba723a208e65ae557e249c0c3b53 Note: Please use this link to sign up. If you choose to explore Issuu first, please come back here to sign up. Issuu is a living library where interesting people share great publications. You can publish and share too! Join Issuu now − it's fast, fun and free forever. Explore Issuu: http://issuu.com ----------------------------------------------------------------- Publish on Issuu ----------------------------------------------------------------- With Issuu anyone can convert their PDF documents into cool online magazines. Anything on Issuu can be seen, shared and posted on any other site. ----------------------------------------------------------------- Get connected with friends ----------------------------------------------------------------- When you accept this invitation you become friends with electricranch. You will be able to see what s/he publishes on Issuu! You can easily find more friends on Issuu and invite new people. It's a great way to see what people in your network are up to. ----------------------------------------------------------------- Opt out ----------------------------------------------------------------- This e-mail may contain promotional materials. If you do not wish to receive future commercial mailings from Issuu, please opt out: http://issuu.com/optout?email=boa-constructor-users%40lists.sourceforge.net&optCode=fab54686867f715022ec8dc4138b340e Issuu's offices are located at 1370 Willow Rd. Menlo Park CA 94025. Copyright (c) Issuu Inc. 2008. All rights reserved. |
From: vmars <vm...@rg...> - 2008-11-03 19:22:28
|
Can this forum be reached via my OutLook Express NewsGroups? Or only via email? Thanks! ô¿ô V e r n WinXp sp2 , Python , wxPython 2.6 , & Docs 2.8 , Boa , Delphi5 http://www.flickr.com/photos/vmars956/ |
From: vmars <vm...@rg...> - 2008-11-03 19:22:26
|
Thanks for your prompt reply. I made the change, but still no go. But I think we're on the right track [something stupid]. Thanks! -- ô¿ô V e r n WinXp sp2 , Python , wxPython 2.6 , & Docs 2.8 , Boa , Delphi5 http://www.flickr.com/photos/vmars956/ "Wolfgang Strobl" <ne...@my...> wrote in message news:l67...@4a...... "vmars" <vm...@rg...>: >I am stepping thru: "Getting Started Guide for Boa Constructor >Kevin Gill November 1, 2000 March 2005 updated for Boa 0.4.0 >July 2007 updated for Boa 0.6.0 by Werner F. Bruhin " > >Below is their 'Getting Started Program' which works well, except for >the OnMenuHelpAboutMenu . Which calls the Dialog2.py module. >But the Dialog2 Window never comes up. ... >[wxID_DIALOG2, wxID_DIALOG2BUTTON1, wxID_DIALOG2STATICBITMAP1, > wxID_DIALOG2STATICTEXT1, wxID_DIALOG2STATICTEXT2, >] = [wx.NewId() for _init_ctrls in range(5)] ... > # generated method, don't edit > wx.Dialog.__init__(self, id=wxID_Dialog2, name='', parent=prnt, You _did_ edit this method, didn't you? :-) Replace wxID_Dialog2 with wxID_DIALOG2, and it will work. -- Wir danken für die Beachtung aller Sicherheitsbestimmungen ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Boa-constructor-users mailing list Boa...@li... https://lists.sourceforge.net/lists/listinfo/boa-constructor-users |
From: vmars <vm...@rg...> - 2008-11-03 01:43:45
|
Thanks in advance! I am stepping thru: "Getting Started Guide for Boa Constructor Kevin Gill November 1, 2000 March 2005 updated for Boa 0.4.0 July 2007 updated for Boa 0.6.0 by Werner F. Bruhin " Below is their 'Getting Started Program' which works well, except for the OnMenuHelpAboutMenu . Which calls the Dialog2.py module. But the Dialog2 Window never comes up. Can someone tell me why this doesn't happen? I been working on this for several days, and I am baffled. It's sure to be some stupid little thing, but I can't find it. I'll also include the Apy2.py . Thanks for your help! # ################################## #Boa:Frame:Frame2 import wx import Dialog2 def create(parent): return Frame2(parent) [wxID_FRAME2, wxID_FRAME2STATUSBAR1, wxID_FRAME2TEXTEDITOR, ] = [wx.NewId() for _init_ctrls in range(3)] [wxID_FRAME2MENUFILECLOSE, wxID_FRAME2MENUFILEEXIT, wxID_FRAME2MENUFILEOPEN, wxID_FRAME2MENUFILESAVE, wxID_FRAME2MENUFILESAVEAS, ] = [wx.NewId() for _init_coll_menuFile_Items in range(5)] [wxID_FRAME2MENUHELPABOUT] = [wx.NewId() for _init_coll_menuHelp_Items in range(1)] class Frame2(wx.Frame): def _init_coll_menuBar1_Menus(self, parent): # generated method, don't edit parent.Append(menu=self.menuFile, title='File') parent.Append(menu=self.menuHelp, title='Help') def _init_coll_menuHelp_Items(self, parent): # generated method, don't edit parent.Append(help='Help is on the way...', id=wxID_FRAME2MENUHELPABOUT, kind=wx.ITEM_NORMAL, text='About') self.Bind(wx.EVT_MENU, self.OnMenuHelpAboutMenu, id=wxID_FRAME2MENUHELPABOUT) def _init_coll_menuFile_Items(self, parent): # generated method, don't edit parent.Append(help='Open a File...', id=wxID_FRAME2MENUFILEOPEN, kind=wx.ITEM_NORMAL, text='Open') parent.Append(help='Save File...', id=wxID_FRAME2MENUFILESAVE, kind=wx.ITEM_NORMAL, text='Save') parent.Append(help='Save File As...', id=wxID_FRAME2MENUFILESAVEAS, kind=wx.ITEM_NORMAL, text='SaveAs') parent.Append(help='Close File...', id=wxID_FRAME2MENUFILECLOSE, kind=wx.ITEM_NORMAL, text='Close') parent.Append(help='Exit Program...', id=wxID_FRAME2MENUFILEEXIT, kind=wx.ITEM_NORMAL, text='Exit') self.Bind(wx.EVT_MENU, self.OnMenuFileOpenMenu, id=wxID_FRAME2MENUFILEOPEN) self.Bind(wx.EVT_MENU, self.OnMenuFileSaveMenu, id=wxID_FRAME2MENUFILESAVE) self.Bind(wx.EVT_MENU, self.OnMenuFileSaveasMenu, id=wxID_FRAME2MENUFILESAVEAS) self.Bind(wx.EVT_MENU, self.OnMenuFileCloseMenu, id=wxID_FRAME2MENUFILECLOSE) self.Bind(wx.EVT_MENU, self.OnMenuFileExitMenu, id=wxID_FRAME2MENUFILEEXIT) def _init_coll_statusBar1_Fields(self, parent): # generated method, don't edit parent.SetFieldsCount(1) parent.SetStatusText(number=0, text='status') parent.SetStatusWidths([-1]) def _init_utils(self): # generated method, don't edit self.menuFile = wx.Menu(title='File') self.menuHelp = wx.Menu(title='Help') self.menuBar1 = wx.MenuBar() self._init_coll_menuFile_Items(self.menuFile) self._init_coll_menuHelp_Items(self.menuHelp) self._init_coll_menuBar1_Menus(self.menuBar1) def _init_ctrls(self, prnt): # generated method, don't edit wx.Frame.__init__(self, id=wxID_FRAME2, name='', parent=prnt, pos=wx.Point(627, 173), size=wx.Size(400, 489), style=wx.DEFAULT_FRAME_STYLE, title='Notebook') self._init_utils() self.SetClientSize(wx.Size(392, 455)) self.SetMenuBar(self.menuBar1) self.statusBar1 = wx.StatusBar(id=wxID_FRAME2STATUSBAR1, name='statusBar1', parent=self, style=0) self._init_coll_statusBar1_Fields(self.statusBar1) self.SetStatusBar(self.statusBar1) self.textEditor = wx.TextCtrl(id=wxID_FRAME2TEXTEDITOR, name='textEditor', parent=self, pos=wx.Point(0, 0), size=wx.Size(392, 412), style=wx.TE_MULTILINE, value='') def __init__(self, parent): self._init_ctrls(parent) self.FileName=None def OnMenuFileOpenMenu(self, event): dlg = wx.FileDialog(self, 'Choose a file', '.', '', '*.*', wx.OPEN) try: if dlg.ShowModal() == wx.ID_OK: filename = dlg.GetPath() # Your code self.textEditor.LoadFile(filename) self.FileName=filename self.SetTitle(('Notebook - %s') % filename) finally: dlg.Destroy() # event.Skip() def OnMenuFileSaveMenu(self, event): if self.FileName == None: return self.OnFileSaveasMenu(event) else: self.textEditor.SaveFile(self.FileName) # event.Skip() def OnMenuFileSaveasMenu(self, event): dlg = wx.FileDialog(self, 'Save file as', '.', '', '*.*', wx.SAVE) try: if dlg.ShowModal() == wx.ID_OK: filename = dlg.GetPath() # Your code self.textEditor.LoadFile(filename) self.FileName=filename self.SetTitle(('Notebook - %s') % filename) finally: dlg.Destroy() # event.Skip() def OnMenuFileCloseMenu(self, event): self.textEditor.LoadFile(filename) self.FileName=filename self.SetTitle(('Notebook - %s') % filename) # event.Skip() def OnMenuHelpAboutMenu(self, event): # if hasattr(sys, 'debugger_control'): # sys.debugger_control.set_traceable() dlg = Dialog2.Dialog2(self) try: dlg.ShowModal() finally: dlg.Destroy() # event.Skip() def OnMenuFileExitMenu(self, event): self.Close() # event.Skip() #END of Boa:Frame:Frame2 # ############################################ #Boa:Dialog:Dialog2 import wx def create(parent): return Dialog2(parent) [wxID_DIALOG2, wxID_DIALOG2BUTTON1, wxID_DIALOG2STATICBITMAP1, wxID_DIALOG2STATICTEXT1, wxID_DIALOG2STATICTEXT2, ] = [wx.NewId() for _init_ctrls in range(5)] class Dialog2(wx.Dialog): def _init_ctrls(self, prnt): # generated method, don't edit wx.Dialog.__init__(self, id=wxID_Dialog2, name='', parent=prnt, pos=wx.Point(604, 204), size=wx.Size(400, 398), style=wx.DEFAULT_DIALOG_STYLE, title='About NoteBook') self.SetClientSize(wx.Size(392, 364)) self.staticText1 = wx.StaticText(id=wxID_DIALOG2STATICTEXT1, label='NoteBook - Simple Text Editor', name='staticText1', parent=self, pos=wx.Point(80, 0), size=wx.Size(251, 23), style=wx.ALIGN_CENTRE) self.staticText1.SetFont(wx.Font(14, wx.SWISS, wx.NORMAL, wx.NORMAL, False, 'Tahoma')) self.staticText2 = wx.StaticText(id=wxID_DIALOG2STATICTEXT2, label='This is my first Boa Contstructor application', name='staticText2', parent=self, pos=wx.Point(40, 56), size=wx.Size(309, 19), style=0) self.staticText2.SetBackgroundColour(wx.Colour(255 , 0, 0)) self.staticText2.SetFont(wx.Font(12, wx.SWISS, wx.NORMAL, wx.NORMAL, False, 'Tahoma')) self.staticBitmap1 = wx.StaticBitmap(bitmap=wx.Bitmap(u'C:/Program Files/Python26/Boa Constructor/Practice/Boa.jpg', wx.BITMAP_TYPE_JPEG), id=wxID_DIALOG2STATICBITMAP1, name='staticBitmap1', parent=self, pos=wx.Point(80, 112), size=wx.Size(236, 157), style=0) self.button1 = wx.Button(id=wxID_DIALOG2BUTTON1, label='Close', name='button1', parent=self, pos=wx.Point(168, 312), size=wx.Size(75, 23), style=0) self.button1.Bind(wx.EVT_BUTTON, self.OnButton1Button, id=wxID_DIALOG2BUTTON1) def __init__(self, parent): self._init_ctrls(parent) def OnButton1Button(self, event): self.Close() # event.Skip() #END of Boa:Dialog:Dialog2 # ####################################### #!/usr/bin/env python #Boa:App:BoaApp import wx import Frame2 modules ={u'Dialog2': [0, '', u'Dialog2.py'], 'Frame2': [1, 'Main frame of Application', u'Frame2.py']} class BoaApp(wx.App): def OnInit(self): self.main = Frame2.create(None) self.main.Show() self.SetTopWindow(self.main) return True def main(): application = BoaApp(0) application.MainLoop() if __name__ == '__main__': main() #END of Boa:App:BoaApp # #########Thanks!############## ô¿ô V e r n WinXp sp2 , Python , wxPython 2.6 , & Docs 2.8 , Boa , Delphi5 http://www.flickr.com/photos/vmars956/ |
From: Alex M. <tec...@wi...> - 2008-10-14 07:16:36
|
Bob Mathias - Sysero llc Dev wrote: > Dear Boa Constructor users, > > On Ubuntu 8.04 I used Synaptic Pacckage Manager to install > Boa-constructor 0.6.1-4. > > When I run Boa Constructor and select the about the information is: > Boa Constructor v0.6.1 > Python 2.5.2 (r252:60911, July 31 2008, 17:31:22) [GCC 4.2.3 (Ubuntu > 4.2.3-2ubuntu7)] wx.Python 2.6.3.2: __WXGTK__, wxGTK, unicode, gtk2, > wx-assertions-off, SWIG-1.3.27,USA en_US.UTF-8, ascii > > I started with the Help Tutorial - Building your first > applcation. I had no > problems with Windows XP. The problem I am having is in the Help "Now > we are going to create the menubar" using the pop-up menu in the > Inspector. The pop-up menu: > 1 - Does not show on the right side the down arrow symbol > 2 - Does not show any list when you select the down arrow. > > In the "Adding the Text Control" using the Inspector in the style field > for any item that has a False or True check box is not showing up. > > Any Ideas how to solve this problem? > > Bob > > I never had much luck with the copies of Boa in the Ubuntu repositories, since it's a python application it's really easy to just check out the latest code to your machine and launch it directly with python. See http://sourceforge.net/cvs/?group_id=1909 Once you download you can make a launcher with: python /path/to/files/boa-constructor-0.6.1/Boa.py Also if patches are made you can always just run an update to get the latest without having to wait for it to make it to Ubuntu(Can take years) Alex |
From: Bob M. - S. l. D. <sys...@gm...> - 2008-10-14 01:27:15
|
Dear Boa Constructor users, On Ubuntu 8.04 I used Synaptic Pacckage Manager to install Boa-constructor 0.6.1-4. When I run Boa Constructor and select the about the information is: Boa Constructor v0.6.1 Python 2.5.2 (r252:60911, July 31 2008, 17:31:22) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] wx.Python 2.6.3.2: __WXGTK__, wxGTK, unicode, gtk2, wx-assertions-off, SWIG-1.3.27,USA en_US.UTF-8, ascii I started with the Help Tutorial - Building your first applcation. I had no problems with Windows XP. The problem I am having is in the Help "Now we are going to create the menubar" using the pop-up menu in the Inspector. The pop-up menu: 1 - Does not show on the right side the down arrow symbol 2 - Does not show any list when you select the down arrow. In the "Adding the Text Control" using the Inspector in the style field for any item that has a False or True check box is not showing up. Any Ideas how to solve this problem? Bob |
From: Bob M. - S. l. D. <sys...@gm...> - 2008-10-13 22:21:22
|
Dear Boa Constructor users, I am using both Window XP and Ubuntu 8.04 with Boa Constructor v0.6.1 Python 2.5.2 (r252:60911, July 31 2008, 17:31:22) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] wx.Python 2.6.3.2: __WXGTK__, wxGTK, unicode, gtk2, wx-assertions-off, SWIG-1.3.27,USA en_US.UTF-8, ascii I am using the Help Tutorial - Building your first applcation. I had no problems with Windows XP. The problem I am havinf is in the Help "Now we are going to create the menubar" any pop-up menu: 1 - Does not show on the right down arrow symbol 2 - Does not show any list when you select the down arrow. In the "Adding the Text Control" using the Inspector in the style field for any item that has a False or True check box is not showing up. Any Ideas how to solve this problem? Bob |
From: Coveney R. <bel...@da...> - 2008-10-08 08:33:17
|
Neew life! http://z6pmgq.bay.livefilestore.com/y1pVXsbmm7kuaAQqJih3fniWkQYIEE3jEtPyRJeslijZum-vU_PR24oHcO910CU8x8_0V9TdwKY4CIqExzM253sPQ/tnwrw1xkfq.html For they had been two kindred spirits. At the cathcart, turning towards her, adela, my love, a cent to her name. She's an elegantlooking woman, in the island which is said now to be a floating repentant, and that he'd find me a good post.. |
From: Strenke Z. <tit...@or...> - 2008-10-07 13:46:03
|
NNeww life! http://lh6ila.blu.livefilestore.com/y1pRI1kRFRQwZo6GkDnPOnDjmSnbHzXdHVVnZjiFeXTzPojPOb6u2Sqib3p7cU0xOnQvB17BoDWxp0CjOFsdUILUA/dxf8t1xgk.html Decided to make a fresh start. My feet were so dated the 24ththat's yesterday. And here's the down to ring up the doctor. Then had a giddy fit in that graceful art, and he had no doubt they grave adam, as if he had been a delicatehanded. |
From: Kenya S. <ox...@th...> - 2008-10-07 03:13:08
|
New liffee! http://mx5v6g.bay.livefilestore.com/y1pCweXwGwqDNLkwVOafV6XDE1lEGr-ohUcNcswispYSRV6fEXOiUgLcGGSOb_bMSghOjXYjwl5MReXuC99laMH8A/wq6hk8aqypzc.html Nor of his sorrows and since human speech is like truthfully. did you, before buming the papers, than the actuality of an unvalued stranger. Certainly, delay, through a mistake of sherman's which the near him, theres been a bit of a strike among. |
From: spir <den...@fr...> - 2008-10-02 15:17:02
|
Hello, As I told in a previous message, I have strange problems happening with unicode. When I start writing a new program with utf-8 encoding, eveything works fine for a while. Then unicode errors happen randomly. I tried to understand myself what's up with unicode, so I did a kind of dignostic. I wish to tell here all what I know about that problem, so that it will be a long message. First, some more precisions. I have the last versions of python and wxPython installed on an XP machine, and 3 IDEs which are all written in python and built on wx : drPython, boa and SPE. Also, I sometimes use notepad++. The problems I'm talking about are not * the processing of unicode data (python's unicode text type) * programming with words from other languages (having french or german variable names) but only the edition and run of a source code file encoded in utf-8. I don't need it, only to use french characters that are properly managed by latin-1, but I wanted to try again playing with unicode. The same codec errors happen with the 3 IDEs named above. Not with notepad++. Note that N++ is itself written in C++. When the problems happen, I'm still able to load the source in N++, change the codec to latin-1 (iso-8859-1) and read it, everything's all right. While the same procedure in one of the three other IDEs leads to other problems, and even with Python set to latin-1, the program won't run. So I decided to analyse the source file to try and find where the problem is. I wrote a script that does the following : [Note : characters with ordinals between 128 and 255 , thus encoded in a single byte in latin-1 will be coded in 2 bytrs in utf-8 -- see http://en.wikipedia.org/wiki/Utf-8]. -1- Read the source -2- Make a list of all bytes > 127 -3- Write these byte numbers and matching characters (like #193:Ã) -4- Look up in the source where these characters happen to be, and what should be there instead. There's always a pair of strange characters in place of a single 'normal' (for me) one. For instance, I may find "biêre" instead of "bière". -5- Replace all of these pairs of bugs with the expected characters. Then, the source text should be clean, properly encoded for e.g. latin-1, and acceptable for python. This process is a kind of adhoc transcoding from utf-8 to latin-1. But it still happens not to work! Which is expected, as otherwise, why did my IDEs (and python too) refuse the file when they where set to utf-8? This refusal shows that something was wrong in the utf-8 encoding itself. Actually, by looking in the text after the 'transcoding', I found a couple of remaining bugs, each made of a sequence of 3 bytes, and each at the place of an ordinary 'é' (ordinal #233) letter in the middle of a word. This is very strange, as * This letter os the most common in french, and all other ocuurences where properly processed by the transcoding procedure. * All french ordinary characters, especially on the keyboard, will be encoded on 3 bytes in utf-8. So that I can' have typed it as a typo. So how did these weird byte sequences happens to be in my source code file ? This is the point, I guess. I searched farther, first by checking that everything was solved if I corrected the errors. All right, all works fine again, both in the IDE and at run time (my program works! only python does not want it in utf-8). Digging further, I went back to the buggy version in order to follow the error traceback given by python. I have to swim a bit in the standard module, but finally found the source of the message in the utf-8.py that you should find in the /Lib/encodings directory. The following function launches the error: def decode(input, errors='strict'): return codecs.utf_8_decode(input, errors, True) I tried to get some information about the arguments with: def decode(input, errors='strict'): try: return codecs.utf_8_decode(input, errors, True) except UnicodeDecodeError: print "### input :###" print input print "##############" sys.exit() But for any reason, I got no output (because standard output should also have passed through the utf-8 encoding?). So I'm stuck. Denis |
From: Werner F. B. <wer...@fr...> - 2008-09-30 13:26:15
|
Denis, spir wrote: > Thank you for your help, Werner. > I work on windows with last versions installed I guess : > * win XP SP3 > * python 2.5.2 > * wxPython 2.8.81 > * boa 0.6.1 > > Actually, you're right, I use the exe version of boa, which explains > why sitecustomize.py does not work. I should have noted that myself... > Still, the strange thing is : I just installed ACtiveState's > ActivePython instead of the standard Cpython. And *now*, boa works > perfectly with unicode, both when opening and running a file. wxPython > modules such as the file dialog, too (before I had warnings at each > directory change, even if there are only plain ascii file and > directory names). No idea, I thought that ActivePython is just a "packaged" up Cpython with some other modules, but as they are always lagging a bit behind I prefer to get the packages/modules I need and to upgrade them when it fits into my plans. > > I would really enjoy understanding. Does it mean that ActivePython is > internally built using unicode ? And written in order to be able to > parse unicode source files ? If it uses utf-8, then ascii users would > not even notice it (characters < 128 still coded on a single byte). > Anyway, this fact shows that I still don't get fully the way python > copes with non-ascii stuff. I don't mean non-ascii data, or the > unicode type of strings, but the encoding of the source code itself. You might want to search with Google there are lots of references/posts/wiki pages out there. It is still a mystery to me, also I think I have my application converted over to Unicode, actually utf-8, but still testing. > > greetings, denis > > PS : Do you know about a programming language in which variable and > object _names_ can be non-ascii ? I think in the XXIth century this > should be possible ;-) You probably could today with Python, also it might be a lot easier with Python 3x as I believe it will be handling Unicode "natively", i.e. it will be the default and no longer ascii. I am a native German speaker but all the code in my app uses English for all objects etc etc, and I then use gettext to translate all the user visible stuff into German and French. Werner |
From: Werner F. B. <wer...@fr...> - 2008-09-29 22:05:42
|
Denis, spir wrote: > Hello, > > I read in the doc that, in order to use unicode with boa, one should add > a sitecustomize.py module with a setdefaultencoding("utf-8") > instruction, either to the python directory, or to the Lib/site-packages > one, or to the boa directory. I choose the last solution in order not to > disturb other modules. > Note that my source files always start with "# -*- coding:utf-8 -*-". > But it does not work. Actually, sitecustomize.py is not even read, there > is no .pyc file generated. When I try to open a source file with > non-ascii chars, I get the usual ascii codec error, for instance: > "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position > 27: ordinal not in range(128)" (Oxe9 is the code for 'é'). > Copying sitecustomize.py to the python directory does not solve the > problem. In fact, this kind of error messages even constantly happens in > the boa file-open dialog, even though my directory and file names don't > hold any non-ascii character. # Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] # wxPython 2.8.8.1, Boa Constructor 0.6.1 # Type "copyright", "credits" or "license" for more information. >>> import sys >>> sys.getdefaultencoding() 'utf-8' >>> I work in Unicode for some time now with Boa. My sitecustomize.py is in the Python root. Can you provide more information on what you are running, i.e. Boa version, and OS. Also, I hope that you are not using the boa.exe as that would explain why non of the locations for your sitecustomize.py seem to work. The .exe version is built with py2exe and therefor will use whatever is it was built against (which is an ANSI build). Werner |
From: Riaan B. <riaan@e.co.za> - 2008-09-29 12:39:57
|
Hi Denis, You are probably using the exe version of Boa, that means that everything is compiled into the exe and no external py files like sitecustomize.py are run. You can still set the default encoding via the command-line switch -U, e.g. Boa.exe -U utf-8 But as the exe version uses the ascii version of wxPython it may still give issues. I suggest you use the source version of Boa. Cheers, Riaan. 2008/9/29 spir <den...@fr...>: > Hello, > > I read in the doc that, in order to use unicode with boa, one should add > a sitecustomize.py module with a setdefaultencoding("utf-8") > instruction, either to the python directory, or to the Lib/site-packages > one, or to the boa directory. I choose the last solution in order not to > disturb other modules. > Note that my source files always start with "# -*- coding:utf-8 -*-". > But it does not work. Actually, sitecustomize.py is not even read, there > is no .pyc file generated. When I try to open a source file with > non-ascii chars, I get the usual ascii codec error, for instance: > "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position > 27: ordinal not in range(128)" (Oxe9 is the code for 'é'). > Copying sitecustomize.py to the python directory does not solve the > problem. In fact, this kind of error messages even constantly happens in > the boa file-open dialog, even though my directory and file names don't > hold any non-ascii character. > > Thank you for help, > Denis > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users > |
From: spir <den...@fr...> - 2008-09-29 09:02:51
|
Hello, I read in the doc that, in order to use unicode with boa, one should add a sitecustomize.py module with a setdefaultencoding("utf-8") instruction, either to the python directory, or to the Lib/site-packages one, or to the boa directory. I choose the last solution in order not to disturb other modules. Note that my source files always start with "# -*- coding:utf-8 -*-". But it does not work. Actually, sitecustomize.py is not even read, there is no .pyc file generated. When I try to open a source file with non-ascii chars, I get the usual ascii codec error, for instance: "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 27: ordinal not in range(128)" (Oxe9 is the code for 'é'). Copying sitecustomize.py to the python directory does not solve the problem. In fact, this kind of error messages even constantly happens in the boa file-open dialog, even though my directory and file names don't hold any non-ascii character. Thank you for help, Denis |
From: Tessa H. <Te...@cu...> - 2008-09-17 16:37:40
|
Im very hot girl, who is looking to meet you, or chat in skype with webcam! my e-mail for you hot reply: R0...@am... I want your answer! You bad woman Stadium, Basseterre, Saint Kitts and Nevis.Thames in London. |
From: nuent <sre...@3w...> - 2008-09-17 09:30:04
|
prolong erection and emphasize your manliness http://www.chitfora.com/ <http://www.chitfora.com/> |
From: Colvard <Lin...@Ch...> - 2008-09-16 12:37:30
|
We bought gifts at cheap prices and we recommend you to check it out http://www.cotedace.com/ -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ |
From: Werner F. B. <wer...@fr...> - 2008-09-16 10:18:29
|
Derek, Derek Croxton wrote: > Sorry if this is a stupid question, but I can't find it: is there any > way to run an application within Boa and pass it parameters? Menu File/Set Command Line Parameters Unfortunately if you close Boa or the app you entered the params for then you have to reenter them. Werner |