You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(116) |
Sep
(146) |
Oct
(78) |
Nov
(69) |
Dec
(70) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(188) |
Feb
(142) |
Mar
(143) |
Apr
(131) |
May
(97) |
Jun
(221) |
Jul
(127) |
Aug
(89) |
Sep
(83) |
Oct
(66) |
Nov
(47) |
Dec
(70) |
2003 |
Jan
(77) |
Feb
(91) |
Mar
(103) |
Apr
(98) |
May
(134) |
Jun
(47) |
Jul
(74) |
Aug
(71) |
Sep
(48) |
Oct
(23) |
Nov
(37) |
Dec
(13) |
2004 |
Jan
(24) |
Feb
(15) |
Mar
(52) |
Apr
(119) |
May
(49) |
Jun
(41) |
Jul
(34) |
Aug
(91) |
Sep
(169) |
Oct
(38) |
Nov
(32) |
Dec
(47) |
2005 |
Jan
(61) |
Feb
(47) |
Mar
(101) |
Apr
(130) |
May
(51) |
Jun
(65) |
Jul
(71) |
Aug
(96) |
Sep
(28) |
Oct
(20) |
Nov
(39) |
Dec
(62) |
2006 |
Jan
(13) |
Feb
(19) |
Mar
(18) |
Apr
(34) |
May
(39) |
Jun
(50) |
Jul
(63) |
Aug
(18) |
Sep
(37) |
Oct
(14) |
Nov
(56) |
Dec
(32) |
2007 |
Jan
(30) |
Feb
(13) |
Mar
(25) |
Apr
(3) |
May
(15) |
Jun
(42) |
Jul
(5) |
Aug
(17) |
Sep
(6) |
Oct
(25) |
Nov
(49) |
Dec
(10) |
2008 |
Jan
(12) |
Feb
|
Mar
(17) |
Apr
(18) |
May
(12) |
Jun
(2) |
Jul
(2) |
Aug
(6) |
Sep
(4) |
Oct
(15) |
Nov
(45) |
Dec
(9) |
2009 |
Jan
(1) |
Feb
(3) |
Mar
(18) |
Apr
(8) |
May
(3) |
Jun
|
Jul
(13) |
Aug
(2) |
Sep
(1) |
Oct
(9) |
Nov
(13) |
Dec
|
2010 |
Jan
(2) |
Feb
(3) |
Mar
(9) |
Apr
(10) |
May
|
Jun
(1) |
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
(1) |
Dec
(4) |
2011 |
Jan
|
Feb
|
Mar
(10) |
Apr
(44) |
May
(9) |
Jun
(22) |
Jul
(2) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2012 |
Jan
|
Feb
(1) |
Mar
(2) |
Apr
(2) |
May
|
Jun
(5) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(1) |
Jun
|
Jul
(3) |
Aug
(8) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
|
1
|
2
(1) |
3
|
4
(3) |
5
|
6
|
7
|
8
|
9
(1) |
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
Make sure that the line return not (sys.executable.endswith('Resources/Python.app/Contents/MacOS/Python')) does not contain any spaces, etc. in the string 'Resources/Python.app/Contents/MacOS/Python' I just realized that somewhere in the process of posting to the list the code got corrupted. ka On Jun 2, 2012, at 2:52 PM, Kevin Altis wrote: def main_is_frozen(): if sys.platform == 'darwin': # this is a temporary hack for bundlebuilder return not (sys.executable.endswith('Resources/Python.app/Contents/MacOS/Python')) else: return (hasattr(sys, "frozen") or # new py2exe, McMillan hasattr(sys, "importers") # old py2exe or imp.is_frozen("__main__")) # tools/freeze, cx_freeze
Hello. I'm having problems with running PythonCard on Ubuntu 12.04 LTS Precise Pangolin. I do have wxPython installed for the natty release which seems to work just fine. However since there was only a .rpm version of PythonCard, I used alien to convert it to deb. I did install the .deb package. When I tried to run minimal.py the terminal returned Permission denied. So I found on a forum that this might be due to the fact that it's not an executable file. I then ran chmod +x to make it executable and eventually when I ran minimal.py itself the terminal returned: "Traceback (most recent call last): File "./minimal.py", line 8, in <module> from PythonCard import model ImportError: No module named PythonCard" I think something went wrong when I installed the converted .rpm to .deb package but who knows. I'm really new to Linux but I'd really appreciate it if you could help me. Thanks in advance.
Yes, the main_is_frozen method is the only thing that gets changed. ka On Jun 3, 2012, at 11:05 PM, hra...@kt... wrote: > > After you have PythonCard installed, it will be necessary to make a > modification to the file util.py located at > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PythonCard/util.py > I opened this file in BBEdit and it has 420 lines of code. > In util.py, change the following method to simplify the bundlebuilder > check rather than having it checking for specific versions of MacPython... > > def main_is_frozen(): > if sys.platform == 'darwin': > # this is a temporary hack for bundlebuilder > return not (sys.executable.endswith('Resources/Python.app/ > Contents/MacOS/Python')) > else: > return (hasattr(sys, "frozen") or # new py2exe, McMillan > hasattr(sys, "importers") # old py2exe > or imp.is_frozen("__main__")) # tools/freeze, cx_freeze > Does this code replace the block of lines 14 through 23?
> I tried installing PythonCard 0.8.2 on a new Mac OS X Lion machine and ran > into an old problem. The solution (update a method in util.py) was posted > on this list back in July 2009, but I thought I would recap what to do if > you want to run PythonCard on a Mac today. If you follow the instructions > and still have a problem, please respond to this message. This is mostly a > recap of the existing install directions on the main PythonCard site, but > with updated Python and wxPython links. > > I downloaded Python 2.7.3 universal... > http://www.python.org/ftp/python/2.7.3/python-2.7.3-macosx10.6.dmg > wxPython... > http://downloads.sourceforge.net/wxpython/wxPython2.8-osx-unicode-2.8.12.1-universal-py2.7.dmg > and PythonCard... > http://prdownloads.sourceforge.net/pythoncard/PythonCard-0.8.2.tar.gz > > I ran Python.mpkg after mounting the Python disk image. > > I verified that Python was installed correctly by opening the Terminal > application and typing python at the command-prompt: > > My-MacBook-Air:~ nobody$ python > Python 2.7.3 (v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43) > [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin > Type "help", "copyright", "credits" or "license" for more information. > > Type Control-d to exit Python. > > I ran the wxPython pkg after mounting the wxPython disk image. > > Double-clicking on PythonCard-0.8.2.tar.gz decompressed PythonCard-0.8.2 > folder into the downloads folder. Then with the Terminal window still open > I switched to the directory and ran the installer. If you downloaded > PythonCard to a different directory, then use that directory instead of > Downloads. > > cd ~/Downloads/PythonCard-0.8.2 > sudo python setup.py install > > You'll be prompted to type your password. > > After you have PythonCard installed, it will be necessary to make a > modification to the file util.py located at > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PythonCard/util.py > I opened this file in BBEdit and it has 420 lines of code. > In util.py, change the following method to simplify the bundlebuilder > check rather than having it checking for specific versions of MacPython... > > def main_is_frozen(): > if sys.platform == 'darwin': > # this is a temporary hack for bundlebuilder > return not (sys.executable.endswith('Resources/Python.app/ > Contents/MacOS/Python')) > else: > return (hasattr(sys, "frozen") or # new py2exe, McMillan > hasattr(sys, "importers") # old py2exe > or imp.is_frozen("__main__")) # tools/freeze, cx_freeze > Does this code replace the block of lines 14 through 23? > That was the only change I had to make to get the samples, resourceEditor, > codeEditor, etc. to run on OS X Lion 10.7.4 using Python 2.7.3 universal > and wxPython 2.8.12.1 unicode and PythonCard 0.8.2 downloaded from > SourceForge. > > Since I installed the universal version of Python, it is necessary to > specify to use the 32-bit version of python since the version of wxPython > is limited to running in 32-bit mode because it uses the Carbon API. I'm > not recommending installing the 32-bit version of Python because I don't > think it supports OS X 10.7 (Lion). > > In Python Launcher specify /usr/local/bin/python-32 or > /usr/local/bin/pythonw-32 for running scripts. From the terminal just type > python-32 where you would have typed python for running from the > command-line. For some reason, Python Launcher stays open after launching > scripts. I don't know if that is a OS X Lion bug or something else that > I've missed. I don't have that problem on my Snow Leopard boxes. > > Finally, as far as I can tell, there is no way to get Run or Run with > interpreter menu items in the resourceEditor and codeEditor to work with > the current universal build of Python and wxPython. The error message says > there is 'no matching architecture in universal wrapper'. I'm guessing > that if you install a 32-bit version of Python and wxPython that problem > would go away. Instead, just run scripts from the terminal or Finder. > > ka > Thank you for help, Ivan ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users >
I tried installing PythonCard 0.8.2 on a new Mac OS X Lion machine and ran into an old problem. The solution (update a method in util.py) was posted on this list back in July 2009, but I thought I would recap what to do if you want to run PythonCard on a Mac today. If you follow the instructions and still have a problem, please respond to this message. This is mostly a recap of the existing install directions on the main PythonCard site, but with updated Python and wxPython links. I downloaded Python 2.7.3 universal... http://www.python.org/ftp/python/2.7.3/python-2.7.3-macosx10.6.dmg wxPython... http://downloads.sourceforge.net/wxpython/wxPython2.8-osx-unicode-2.8.12.1-universal-py2.7.dmg and PythonCard... http://prdownloads.sourceforge.net/pythoncard/PythonCard-0.8.2.tar.gz I ran Python.mpkg after mounting the Python disk image. I verified that Python was installed correctly by opening the Terminal application and typing python at the command-prompt: My-MacBook-Air:~ nobody$ python Python 2.7.3 (v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. Type Control-d to exit Python. I ran the wxPython pkg after mounting the wxPython disk image. Double-clicking on PythonCard-0.8.2.tar.gz decompressed PythonCard-0.8.2 folder into the downloads folder. Then with the Terminal window still open I switched to the directory and ran the installer. If you downloaded PythonCard to a different directory, then use that directory instead of Downloads. cd ~/Downloads/PythonCard-0.8.2 sudo python setup.py install You'll be prompted to type your password. After you have PythonCard installed, it will be necessary to make a modification to the file util.py located at /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PythonCard/util.py In util.py, change the following method to simplify the bundlebuilder check rather than having it checking for specific versions of MacPython... def main_is_frozen(): if sys.platform == 'darwin': # this is a temporary hack for bundlebuilder return not (sys.executable.endswith('Resources/Python.app/ Contents/MacOS/Python')) else: return (hasattr(sys, "frozen") or # new py2exe, McMillan hasattr(sys, "importers") # old py2exe or imp.is_frozen("__main__")) # tools/freeze, cx_freeze That was the only change I had to make to get the samples, resourceEditor, codeEditor, etc. to run on OS X Lion 10.7.4 using Python 2.7.3 universal and wxPython 2.8.12.1 unicode and PythonCard 0.8.2 downloaded from SourceForge. Since I installed the universal version of Python, it is necessary to specify to use the 32-bit version of python since the version of wxPython is limited to running in 32-bit mode because it uses the Carbon API. I'm not recommending installing the 32-bit version of Python because I don't think it supports OS X 10.7 (Lion). In Python Launcher specify /usr/local/bin/python-32 or /usr/local/bin/pythonw-32 for running scripts. From the terminal just type python-32 where you would have typed python for running from the command-line. For some reason, Python Launcher stays open after launching scripts. I don't know if that is a OS X Lion bug or something else that I've missed. I don't have that problem on my Snow Leopard boxes. Finally, as far as I can tell, there is no way to get Run or Run with interpreter menu items in the resourceEditor and codeEditor to work with the current universal build of Python and wxPython. The error message says there is 'no matching architecture in universal wrapper'. I'm guessing that if you install a 32-bit version of Python and wxPython that problem would go away. Instead, just run scripts from the terminal or Finder. ka