From: Glenn B. <gbb...@ve...> - 2008-10-03 14:19:24
|
The newly released wxPython 2.8.9.1 fixes the problem with CodeEditor. |
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2008-10-17 08:33:49
|
On Fri, 03 Oct 2008 09:18:41 -0500 (CDT), Glenn Burkhardt <gbb...@ve...> wrote: > The newly released wxPython 2.8.9.1 fixes the problem with CodeEditor. Anybody able to run the codeEditor with OSX 10.4+ and wxPython 2.8.9.0+....I still cannot get it to work in OSX due to the following error: PyNoAppError: The wx.App object must be created first! so it seems to be the same as 2.8.x.x. The other editors are fine, and as Glenn pointed out they all work on my XP box. -- XXXXXXXXXXX |
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2009-03-18 10:36:20
|
On Fri, 17 Oct 2008 09:31:02 +0100 XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXX wrote: > On Fri, 03 Oct 2008 09:18:41 -0500 (CDT), Glenn Burkhardt > <gbb...@ve...> wrote: > > > The newly released wxPython 2.8.9.1 fixes the problem with > > CodeEditor. > > Anybody able to run the codeEditor with OSX 10.4+ and wxPython 2.8.9.0 > +....I still cannot get it to work in OSX due to the following error: > > PyNoAppError: The wx.App object must be created first! > > so it seems to be the same as 2.8.x.x. The other editors are fine, > and as Glenn pointed out they all work on my XP box. It looks like the codeEditor works again in OSX with the recent wxPython 2.8.9.2 release. Tested under OSX 10.4.11...anybody else confirm this? I've posted to the wxPython + Mac list asking if this issue was definately fixed in the latest release, but had no reply yet. -- XXXXXXXXXXX |
From: Kevin A. <al...@se...> - 2009-03-18 22:11:44
|
On Mar 18, 2009, at 3:36 AM, XXXXXXXXXXX wrote: > On Fri, 17 Oct 2008 09:31:02 +0100 XXXXXXXXXXX > XXXXXXXXXXXXXXXXXXXXXXXXXX wrote: > >> On Fri, 03 Oct 2008 09:18:41 -0500 (CDT), Glenn Burkhardt >> <gbb...@ve...> wrote: >> >>> The newly released wxPython 2.8.9.1 fixes the problem with >>> CodeEditor. >> >> Anybody able to run the codeEditor with OSX 10.4+ and wxPython >> 2.8.9.0 >> +....I still cannot get it to work in OSX due to the following error: >> >> PyNoAppError: The wx.App object must be created first! >> >> so it seems to be the same as 2.8.x.x. The other editors are fine, >> and as Glenn pointed out they all work on my XP box. > > It looks like the codeEditor works again in OSX with the recent > wxPython > 2.8.9.2 release. Tested under OSX 10.4.11...anybody else confirm this? > > I've posted to the wxPython + Mac list asking if this issue was > definately fixed in the latest release, but had no reply yet. > > -- > XXXXXXXXXXX I tried Python 2.5.4 universal install with wxPython 2.8.9.2 unicode on Tiger (10.4.11) and the tabcodeEditor.py and codeEditor.py seem to be working fine with no errors at startup. I use tabcodeEditor.py all the time, so if something pops up I should know soon. I haven't decided whether to give Python 2.6.x a try yet. ka |
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2009-03-19 16:21:45
|
On Wed, 18 Mar 2009 14:49:54 -0700 Kevin Altis <al...@se...> wrote: > On Mar 18, 2009, at 3:36 AM, XXXXXXXXXXX wrote: > > > > It looks like the codeEditor works again in OSX with the recent > > wxPython > > 2.8.9.2 release. Tested under OSX 10.4.11...anybody else confirm > > this? > > > > I've posted to the wxPython + Mac list asking if this issue was > > definately fixed in the latest release, but had no reply yet. > > I tried Python 2.5.4 universal install with wxPython 2.8.9.2 unicode > on Tiger (10.4.11) and the tabcodeEditor.py and codeEditor.py seem > to be working fine with no errors at startup. I use tabcodeEditor.py > all the time, so if something pops up I should know soon. > > I haven't decided whether to give Python 2.6.x a try yet. I've got an old G4 Mac mini still running Python 2.3.5 + wxPython 2.5.x, which I can bring up to date. I'll try Python 2.6 on it in the next few days if I get a chance. As I've posted elsewhere, I've got Python 2.6 + Pythoncard running OK on XP but there are known manifest problems on Vista that have resulted in me rolling back to Python 2.5. I don't actually need 2.6 for anything I'm working on. -- XXXXXXXXXXX |
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2009-03-24 08:27:56
|
On Thu, 19 Mar 2009 16:21:31 +0000 XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXX wrote: > On Wed, 18 Mar 2009 14:49:54 -0700 Kevin Altis > <al...@se...> wrote: > > > > I haven't decided whether to give Python 2.6.x a try yet. > > I've got an old G4 Mac mini still running Python 2.3.5 + wxPython > 2.5.x, which I can bring up to date. I'll try Python 2.6 on it in the > next few days if I get a chance. ...or at least that was the plan. Having installed 2.6, it still runs 2.3.5 when I run "python". And yet, on my old G3 where I installed 2.5 a while ago, the default when I run "python" is 2.5. So something's broken :-( -- XXXXXXXXXXX |
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2009-03-31 11:50:16
|
On Tue, 24 Mar 2009 08:27:49 +0000 XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXX wrote: > On Thu, 19 Mar 2009 16:21:31 +0000 XXXXXXXXXXX > XXXXXXXXXXXXXXXXXXXXXXXXXX wrote: > > > On Wed, 18 Mar 2009 14:49:54 -0700 Kevin Altis > > <al...@se...> wrote: > > > > > > I haven't decided whether to give Python 2.6.x a try yet. > > > > I've got an old G4 Mac mini still running Python 2.3.5 + wxPython > > 2.5.x, which I can bring up to date. I'll try Python 2.6 on it in > > the next few days if I get a chance. > > ...or at least that was the plan. Having installed 2.6, it still runs > 2.3.5 when I run "python". And yet, on my old G3 where I installed 2.5 > a while ago, the default when I run "python" is 2.5. So something's > broken :-( Hmmm....maybe I should have documented what I did last time. Anyway, there's an "Update Shell Profile.command" script in the "Python 2.6" folder that gets created by the 2.6 installer in "Applications". Run that script and it modifies .bash_profile or .profile so that running "python" from a terminal session starts 2.6 instead of the default 2.3.5 in Tiger. So...the good news is that I can now run "python minimal.py" in the Pythoncard "samples" folder and it works :-) The bad news is that none of my Python scripts run by double-clicking on them. The 2.6 version of "Python Launcher" briefly pops up and disappears and....nothing :-( -- XXXXXXXXXXX |
From: Kevin A. <al...@se...> - 2009-03-31 15:40:00
|
On Mar 31, 2009, at 5:49 AM, XXXXXXXXXXX wrote: > On Tue, 24 Mar 2009 08:27:49 +0000 XXXXXXXXXXX > XXXXXXXXXXXXXXXXXXXXXXXXXX wrote: > >> On Thu, 19 Mar 2009 16:21:31 +0000 XXXXXXXXXXX >> XXXXXXXXXXXXXXXXXXXXXXXXXX wrote: >> >>> On Wed, 18 Mar 2009 14:49:54 -0700 Kevin Altis >>> <al...@se...> wrote: >>>> >>>> I haven't decided whether to give Python 2.6.x a try yet. >>> >>> I've got an old G4 Mac mini still running Python 2.3.5 + wxPython >>> 2.5.x, which I can bring up to date. I'll try Python 2.6 on it in >>> the next few days if I get a chance. >> >> ...or at least that was the plan. Having installed 2.6, it still runs >> 2.3.5 when I run "python". And yet, on my old G3 where I installed >> 2.5 >> a while ago, the default when I run "python" is 2.5. So something's >> broken :-( > > Hmmm....maybe I should have documented what I did last time. Anyway, > there's an "Update Shell Profile.command" script in the "Python 2.6" > folder that gets created by the 2.6 installer in "Applications". Run > that script and it modifies .bash_profile or .profile so that running > "python" from a terminal session starts 2.6 instead of the default > 2.3.5 in Tiger. > > So...the good news is that I can now run "python minimal.py" in the > Pythoncard "samples" folder and it works :-) > > The bad news is that none of my Python scripts run by double-clicking > on them. The 2.6 version of "Python Launcher" briefly pops up and > disappears and....nothing :-( You should have a Python Launcher application in the MacPython 2.6 folder in Applications. When you double-click on a script this is what should get launched. If not, then you have to do a Get Info on a Python script; .py, .pyw, .pyc have to be done separately. I'm guessing the MacPython installer sets IDLE as the default application for scripts. If you double-click the Python Launcher application you can verify which Python it is going to use to open a given script. In my case, / usr/local/bin/python is used. It could be that in your case it is still set to /usr/bin/python or the location of an older default python. Here's some background that may help. I'm using 2.5.4, so the output below shows what you would see on your machine for various links. Below that is my info about ~/.MacOSX/environment.plist, the old magic file for scripts launched from the Finder. Unfortunately, I haven't looked at whether you still need the environment.plist stuff or not. It used to be that in order for launches from the Finder to be able to find the appropriate libraries, you needed one. It might still be relevant for me because I have my "working copy" of PythonCard and some other libraries set to be found by the PYTHONPATH defined in environment.plist. ka --- [yourmachine:~] yourusername% python Python 2.5.4 (r254:67917, Dec 23 2008, 14:57:27) [GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> [yourmachine:~] yourusername% which python /Library/Frameworks/Python.framework/Versions/Current/bin/python [yourmachine:~] yourusername% ls -l /usr/local/bin/python lrwxr-xr-x 1 root wheel 68 Mar 18 14:42 /usr/local/bin/python - > ../../../Library/Frameworks/Python.framework/Versions/2.5/bin/python [yourmachine:~] yourusername% ls -l /Library/Frameworks/ Python.framework/Versions/Current/bin/python lrwxr-xr-x 1 root admin 9 Mar 18 14:42 /Library/Frameworks/ Python.framework/Versions/Current/bin/python -> python2.5 [yourmachine:~] yourusername% ls -lA .MacOSX/ total 8 -rw-r--r-- 1 yourusername staff 361 Sep 22 2003 environment.plist [yourmachine:~] yourusername% ls -la .MacOSX/environment.plist -rw-r--r-- 1 yourusername staff 361 Sep 22 2003 .MacOSX/ environment.plist [yourmachine:~] yourusername% cat .MacOSX/environment.plist <?xml version="1.0 encoding="UTF-8"?> <!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/ PropertyList.dtd"> <plist version="0.9"> <dict> <key>PATH</key> <string>/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/Users/ yourusername</string> <key>CVS_RSH</key> <string>ssh</string> <key>PYTHONPATH</key> <string>/Users/yourusername/python</string> </dict> </plist> |
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2009-03-31 16:37:50
|
On Tue, 31 Mar 2009 08:40:05 -0700 Kevin Altis <al...@se...> wrote: > On Mar 31, 2009, at 5:49 AM, XXXXXXXXXXX wrote: > > > > The bad news is that none of my Python scripts run by > > double-clicking on them. The 2.6 version of "Python Launcher" > > briefly pops up and disappears and....nothing :-( > > You should have a Python Launcher application in the MacPython 2.6 > folder in Applications. When you double-click on a script this is > what should get launched. If not, then you have to do a Get Info on > a Python script; .py, .pyw, .pyc have to be done separately. I'm > guessing the MacPython installer sets IDLE as the default > application for scripts. This is where it gets a bit confusing. I still have a "MacPython 2.3" folder in Applications, which I must have installed at some point in the past even though the default Tiger Python is 2.3.5. But I now also have "Python 2.6" in Applications with the same tools (Python Launcher, IDLE, samples, etc.) following the Python 2.6 install. This is the 2.6 I downloaded by following the download links in www.python.org. I should have been a bit clearer. When I double-click on minimal.py (or any other Python script) the Python Launcher preference window briefly appears for a fraction of a second and then disappears. I assume it's the 2.6 version but it goes so quickly it's difficult to tell. Nothing actually runs. Thanks for sending through the other details...I'll compare them to my set-up when I get a bit more time. -- XXXXXXXXXXX |
From: Robert L. <lew...@ms...> - 2009-03-31 22:41:01
|
Is it possible to make executables with multiple forms, etc. with PY2exe? I am having trouble getting the "python" command to run from the command line in DOS. Robert J. Lewis Graduate Assistant Doctoral Program in Communication Office: 456 CAS Building E-mail: lew...@ms... -----Original Message----- From: XXXXXXXXXXX [mailto:XXXXXXXXXXXXXXXXXXXXXXXX] Sent: Tuesday, March 31, 2009 1:35 PM To: Kevin Altis Cc: pyt...@li... Subject: Re: [Pythoncard-users] Pythoncard + Python 2.6 + OSX (was Re: codeEditor still not working on OSX with wxPython 2.8.9.1) On Tue, 31 Mar 2009 08:40:05 -0700 Kevin Altis <al...@se...> wrote: > On Mar 31, 2009, at 5:49 AM, XXXXXXXXXXX wrote: > > > > The bad news is that none of my Python scripts run by > > double-clicking on them. The 2.6 version of "Python Launcher" > > briefly pops up and disappears and....nothing :-( > > You should have a Python Launcher application in the MacPython 2.6 > folder in Applications. When you double-click on a script this is > what should get launched. If not, then you have to do a Get Info on > a Python script; .py, .pyw, .pyc have to be done separately. I'm > guessing the MacPython installer sets IDLE as the default > application for scripts. This is where it gets a bit confusing. I still have a "MacPython 2.3" folder in Applications, which I must have installed at some point in the past even though the default Tiger Python is 2.3.5. But I now also have "Python 2.6" in Applications with the same tools (Python Launcher, IDLE, samples, etc.) following the Python 2.6 install. This is the 2.6 I downloaded by following the download links in www.python.org. I should have been a bit clearer. When I double-click on minimal.py (or any other Python script) the Python Launcher preference window briefly appears for a fraction of a second and then disappears. I assume it's the 2.6 version but it goes so quickly it's difficult to tell. Nothing actually runs. Thanks for sending through the other details...I'll compare them to my set-up when I get a bit more time. -- XXXXXXXXXXX ---------------------------------------------------------------------------- -- _______________________________________________ Pythoncard-users mailing list Pyt...@li... https://lists.sourceforge.net/lists/listinfo/pythoncard-users |
From: Alec B. <wry...@gm...> - 2009-04-01 00:14:39
|
I'm not sure I understand your issue, but note that you need to explicitly import each PythonCard widget when packaging with PyInstaller, probably the same with Py2Exe. from PythonCard.components import statictext, imagebutton, textfield, textarea, staticline, slider, choice, checkbox Make sure to import any widget you use in this manner. On Tue, Mar 31, 2009 at 2:40 PM, Robert Lewis <lew...@ms...> wrote: > Is it possible to make executables with multiple forms, etc. with PY2exe? I > am having trouble getting the "python" command to run from the command line > in DOS. > > Robert J. Lewis > Graduate Assistant > Doctoral Program in Communication > Office: 456 CAS Building > E-mail: lew...@ms... > > > -----Original Message----- > From: XXXXXXXXXXX [mailto:XXXXXXXXXXXXXXXXXXXXXXXX] > Sent: Tuesday, March 31, 2009 1:35 PM > To: Kevin Altis > Cc: pyt...@li... > Subject: Re: [Pythoncard-users] Pythoncard + Python 2.6 + OSX (was Re: > codeEditor still not working on OSX with wxPython 2.8.9.1) > > On Tue, 31 Mar 2009 08:40:05 -0700 Kevin Altis <al...@se...> > wrote: > >> On Mar 31, 2009, at 5:49 AM, XXXXXXXXXXX wrote: >> > >> > The bad news is that none of my Python scripts run by >> > double-clicking on them. The 2.6 version of "Python Launcher" >> > briefly pops up and disappears and....nothing :-( >> >> You should have a Python Launcher application in the MacPython 2.6 >> folder in Applications. When you double-click on a script this is >> what should get launched. If not, then you have to do a Get Info on >> a Python script; .py, .pyw, .pyc have to be done separately. I'm >> guessing the MacPython installer sets IDLE as the default >> application for scripts. > > This is where it gets a bit confusing. I still have a "MacPython 2.3" > folder in Applications, which I must have installed at some point in > the past even though the default Tiger Python is 2.3.5. But I now also > have "Python 2.6" in Applications with the same tools (Python Launcher, > IDLE, samples, etc.) following the Python 2.6 install. This is the 2.6 > I downloaded by following the download links in www.python.org. > > I should have been a bit clearer. When I double-click on minimal.py (or > any other Python script) the Python Launcher preference window briefly > appears for a fraction of a second and then disappears. I assume it's > the 2.6 version but it goes so quickly it's difficult to tell. Nothing > actually runs. > > Thanks for sending through the other details...I'll compare them to my > set-up when I get a bit more time. > > -- > XXXXXXXXXXX > > ---------------------------------------------------------------------------- > -- > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > > > ------------------------------------------------------------------------------ > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > |
From: Robert L. <lew...@ms...> - 2009-05-15 23:22:23
|
Greetings, I have a relatively complex application that I have built using Python-Card. I am wondering if there is any good way (the easiest is the best) of making the application into a Windows executable. Robert J. Lewis |
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2009-05-16 16:39:11
|
I still use the old McMillan installer <http://pythoncard.sourceforge.net/standalone.html> but I think the preferred method now is py2exe. -- XXXXXXXXXXX On Fri, 15 May 2009 19:22:13 -0400 "Robert Lewis" <lew...@ms...> wrote: > I have a relatively complex application that I have built using > Python-Card. I am wondering if there is any good way (the easiest is > the best) of making the application into a Windows executable. |