pyobjc-dev Mailing List for PyObjC (Page 214)
Brought to you by:
ronaldoussoren
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(9) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(1) |
Feb
(2) |
Mar
(3) |
Apr
(30) |
May
(18) |
Jun
|
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2002 |
Jan
(7) |
Feb
(2) |
Mar
(1) |
Apr
|
May
|
Jun
(3) |
Jul
(13) |
Aug
|
Sep
(23) |
Oct
(180) |
Nov
(291) |
Dec
(95) |
2003 |
Jan
(338) |
Feb
(352) |
Mar
(97) |
Apr
(46) |
May
(226) |
Jun
(184) |
Jul
(145) |
Aug
(141) |
Sep
(69) |
Oct
(161) |
Nov
(96) |
Dec
(90) |
2004 |
Jan
(66) |
Feb
(87) |
Mar
(98) |
Apr
(132) |
May
(115) |
Jun
(68) |
Jul
(150) |
Aug
(92) |
Sep
(59) |
Oct
(52) |
Nov
(17) |
Dec
(75) |
2005 |
Jan
(84) |
Feb
(191) |
Mar
(133) |
Apr
(114) |
May
(158) |
Jun
(185) |
Jul
(62) |
Aug
(28) |
Sep
(36) |
Oct
(88) |
Nov
(65) |
Dec
(43) |
2006 |
Jan
(85) |
Feb
(62) |
Mar
(92) |
Apr
(75) |
May
(68) |
Jun
(101) |
Jul
(73) |
Aug
(37) |
Sep
(91) |
Oct
(65) |
Nov
(30) |
Dec
(39) |
2007 |
Jan
(24) |
Feb
(28) |
Mar
(10) |
Apr
(2) |
May
(18) |
Jun
(16) |
Jul
(21) |
Aug
(6) |
Sep
(30) |
Oct
(31) |
Nov
(153) |
Dec
(31) |
2008 |
Jan
(63) |
Feb
(70) |
Mar
(47) |
Apr
(24) |
May
(59) |
Jun
(22) |
Jul
(12) |
Aug
(7) |
Sep
(14) |
Oct
(26) |
Nov
(5) |
Dec
(5) |
2009 |
Jan
(10) |
Feb
(41) |
Mar
(70) |
Apr
(88) |
May
(49) |
Jun
(62) |
Jul
(34) |
Aug
(15) |
Sep
(55) |
Oct
(40) |
Nov
(67) |
Dec
(21) |
2010 |
Jan
(60) |
Feb
(17) |
Mar
(26) |
Apr
(26) |
May
(29) |
Jun
(4) |
Jul
(21) |
Aug
(21) |
Sep
(10) |
Oct
(12) |
Nov
(3) |
Dec
(19) |
2011 |
Jan
(3) |
Feb
(13) |
Mar
(8) |
Apr
(8) |
May
(17) |
Jun
(20) |
Jul
(21) |
Aug
(7) |
Sep
|
Oct
|
Nov
(9) |
Dec
(11) |
2012 |
Jan
(3) |
Feb
|
Mar
|
Apr
(5) |
May
(4) |
Jun
(14) |
Jul
(5) |
Aug
(2) |
Sep
(15) |
Oct
(2) |
Nov
(23) |
Dec
(1) |
2013 |
Jan
(8) |
Feb
(1) |
Mar
|
Apr
|
May
(5) |
Jun
(1) |
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(12) |
Nov
(10) |
Dec
(3) |
2014 |
Jan
(7) |
Feb
(14) |
Mar
(2) |
Apr
|
May
(2) |
Jun
(11) |
Jul
(10) |
Aug
(4) |
Sep
|
Oct
(8) |
Nov
(1) |
Dec
(2) |
2015 |
Jan
(9) |
Feb
(7) |
Mar
(1) |
Apr
|
May
(7) |
Jun
|
Jul
(5) |
Aug
(6) |
Sep
|
Oct
(1) |
Nov
(4) |
Dec
|
2016 |
Jan
(1) |
Feb
(1) |
Mar
(4) |
Apr
(2) |
May
(1) |
Jun
|
Jul
(6) |
Aug
(8) |
Sep
(21) |
Oct
(17) |
Nov
|
Dec
(36) |
2017 |
Jan
(6) |
Feb
(2) |
Mar
(4) |
Apr
(2) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
(1) |
Dec
(6) |
2018 |
Jan
(2) |
Feb
(3) |
Mar
(3) |
Apr
(14) |
May
(2) |
Jun
(2) |
Jul
(4) |
Aug
(3) |
Sep
(6) |
Oct
(16) |
Nov
(1) |
Dec
(6) |
2019 |
Jan
(3) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
(6) |
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(2) |
Jun
(1) |
Jul
(7) |
Aug
(1) |
Sep
(1) |
Oct
|
Nov
(2) |
Dec
(1) |
2021 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(5) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2025 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Richard C. <sun...@ma...> - 2003-10-08 20:42:57
|
Hello, On Wednesday, October 8, 2003, at 06:45 pm, Ronald Oussoren wrote: > PyObjC 1.0 is (finally ;-) released! Cool! > I've tagged the CVS tree: 'release_1_0' is the release, 'branch_1_0' > is a branch for creating a 1.0.x release (should that be necessary). > The files have been uploaded to SF and should be available "soon". > > MacPython 2.3 users can get instant gratification by pointing PackMan > to > http://pyobjc.sf.net/packman/pyobjc-stable-6.6-Power_Macintosh.plist > (and ...-7.0-... for those of you who run MacPython 2.3 on Panther). Unfortunately that doesn't seem to work for me (10.2.8 / MacPython 2.3) I get a Requires unknown AppleDevTools error message - I do have the apple dev tools installed. > I'll send the announcement below to other lists some time tomorrow, I > want to be reasonably sure that the SF mirrors have picked up the > archives/installers before telling the world about them. There is a typo in you're url on the homepage, the available link points to sourceforget instead of sourceforge. Cheers, Richard |
From: Zachery B. <zb...@ur...> - 2003-10-08 19:55:54
|
Hey, all. Wanted to just announce my first PyObjC application, ZopeEditManager. I really appreciated all the help that went into this, in particular Bill Bumgarner during the early phases when I bent his ear off-list far too often :) <http://www.zope.org/Members/urbanape/ZopeEditManager/> Thanks so much for all your help! Zac |
From: Ronald O. <ous...@ci...> - 2003-10-08 17:45:52
|
PyObjC 1.0 is (finally ;-) released! I've tagged the CVS tree: 'release_1_0' is the release, 'branch_1_0' is a branch for creating a 1.0.x release (should that be necessary). The files have been uploaded to SF and should be available "soon". MacPython 2.3 users can get instant gratification by pointing PackMan to http://pyobjc.sf.net/packman/pyobjc-stable-6.6-Power_Macintosh.plist (and ...-7.0-... for those of you who run MacPython 2.3 on Panther). I'll send the announcement below to other lists some time tomorrow, I want to be reasonably sure that the SF mirrors have picked up the archives/installers before telling the world about them. Ronald ANN: PyObjC 1.0 The PyObjC developers are happy to announce the 1.0 release of PyObjC. It is available for download at http://pyobjc.sourceforge.net/. PyObjC is a bridge between Python and Objective-C. It allows full featured Cocoa applications and plugins to be written in pure Python. It is also easy to use other frameworks containing Objective-C class libraries from Python and to mix in Objective-C, C and C++ source. Python is a highly dynamic programming language with a shallow learning curve. It combines remarkable power with very clear syntax. The installer package includes a number of Project Builder templates for easily creating new Cocoa-Python projects, as well as support for syntax-coloring Python files in Project Builder. PyObjC also supports full introspection of Objective-C classes and direct invocation of Objective-C APIs from the interactive interpreter. PyObjC requires MacOS X 10.2 or later. PyObjC works both with the Apple provided Python installation in MacOS X 10.2 (and later) and with MacPython 2.3. Users of MacPython 2.3 can install PyObjC though the PackageManager application. Version 1.0 fixes a number of bugs in the beta release, and fixes some inconsitencies in the exposed interfaces. It also includes improved support for Key-Value Coding (the NSKeyValue coding informal protocol). PyObjC is released with an open source license. |
From: Bob I. <bo...@re...> - 2003-10-08 00:58:49
|
On Tuesday, Oct 7, 2003, at 20:48 America/New_York, Zachery Bir wrote: > On Oct 7, 2003, at 6:05 PM, Jack Jansen wrote: > >> Wild guess: you're not overriding the values in the plist file through >> a localized English.lproj/InfoPlist.strings file, are you? > > GAH! Yes. But it didn't show up in greps because it's all like this: > > ^@C^@F^@B^@u... > > Thanks. Can I just get rid of it, or overwrite it with plain ASCII > representations? Toss it, won't hurt. -bob |
From: Zachery B. <zb...@ur...> - 2003-10-08 00:48:17
|
On Oct 7, 2003, at 6:05 PM, Jack Jansen wrote: > Wild guess: you're not overriding the values in the plist file through > a localized English.lproj/InfoPlist.strings file, are you? GAH! Yes. But it didn't show up in greps because it's all like this: ^@C^@F^@B^@u... Thanks. Can I just get rid of it, or overwrite it with plain ASCII representations? Zac |
From: Jack J. <Jac...@cw...> - 2003-10-07 22:06:09
|
> (Never mind my last post: I went back to your original post, and it all > looks just fine. I'm at a loss what's going on.) Wild guess: you're not overriding the values in the plist file through a localized English.lproj/InfoPlist.strings file, are you? -- Jack Jansen, <Jac...@cw...>, http://www.cwi.nl/~jack If I can't dance I don't want to be part of your revolution -- Emma Goldman |
From: Just v. R. <ju...@le...> - 2003-10-07 21:26:07
|
(Never mind my last post: I went back to your original post, and it all looks just fine. I'm at a loss what's going on.) Just |
From: Just v. R. <ju...@le...> - 2003-10-07 21:21:21
|
Zachery Bir wrote: > > Have you tried logging out and back in? LaunchServices and Finder > > cache a lot of information, I wouldn't be terribly surprised that > > it cached version numbers. Another way to check would be to copy > > the bundle to somewhere else from the terminal and check that from > > Finder. > > Yup, tried both. Same result in either case. It's prolly not all that > bad, it's just the version number, and six-tenths of a version less > should just as well convey its lack of polish :) Are you 100% sure your buildapp.py is importing the same version of bundlebuilder.py as the one you're looking at? PyObjC installs a version if there isn't one, so it really should not have installed one, but you may want to make sure. Another thing to check would be whether you made a typo in your buildapp.py script. Eg. the buildapp.py for drawbot contains this line: CFBundleShortVersionString = "0.9a1", That version string is indeed visible in the Finder. Just |
From: Zachery B. <zb...@ur...> - 2003-10-07 21:07:05
|
On Oct 7, 2003, at 4:51 PM, Bob Ippolito wrote: > Have you tried logging out and back in? LaunchServices and Finder > cache a lot of information, I wouldn't be terribly surprised that it > cached version numbers. Another way to check would be to copy the > bundle to somewhere else from the terminal and check that from Finder. Yup, tried both. Same result in either case. It's prolly not all that bad, it's just the version number, and six-tenths of a version less should just as well convey its lack of polish :) Zac |
From: Bob I. <bo...@re...> - 2003-10-07 20:51:40
|
On Tuesday, Oct 7, 2003, at 16:44 America/New_York, Zachery Bir wrote: > On Oct 7, 2003, at 4:38 PM, Just van Rossum wrote: > >> Zachery Bir wrote: >> >>> So, I've got some plist assignments being made in my buildapp.py >>> script, and I can verify that the values are placed properly in the >>> Info.plist inside the Contents directory of my bundle, but Finder >>> doesn't display the appropriate version info - it's always reported >>> as >>> 0.1. Any ideas? >> >> Sounds similar to a bundlebuilder bug that was recently fixed. I don't >> know off hand which PyObjC version contains the fixed version >> (probably >> after 1.0b1), but you can grab the latest bundlebuilder.py here: >> >> http://cvs.sourceforge.net/viewcvs.py/*checkout*/python/python/dist/ >> src/ >> Lib/plat-mac/bundlebuilder.py?rev=1.36 > > Downloaded that to my Documents directory, diffed against what's in my > current 2.3, and there are no differences... Have you tried logging out and back in? LaunchServices and Finder cache a lot of information, I wouldn't be terribly surprised that it cached version numbers. Another way to check would be to copy the bundle to somewhere else from the terminal and check that from Finder. -bob |
From: Bob I. <bo...@re...> - 2003-10-07 20:49:24
|
On Tuesday, Oct 7, 2003, at 16:38 America/New_York, Just van Rossum wrote: > Zachery Bir wrote: > >> So, I've got some plist assignments being made in my buildapp.py >> script, and I can verify that the values are placed properly in the >> Info.plist inside the Contents directory of my bundle, but Finder >> doesn't display the appropriate version info - it's always reported as >> 0.1. Any ideas? > > Sounds similar to a bundlebuilder bug that was recently fixed. I don't > know off hand which PyObjC version contains the fixed version (probably > after 1.0b1), but you can grab the latest bundlebuilder.py here: > > http://cvs.sourceforge.net/viewcvs.py/*checkout*/python/python/dist/ > src/ > Lib/plat-mac/bundlebuilder.py?rev=1.36 Somewhat related, you can also get an updated version of PyObjC itself from my PackageManager repository: http://undefined.org/python/pimp/ for instructions I forgot to tell anyone I went ahead and compiled a CVS version (it was marked as 1.0rc3) this weekend and put it up there. I also changed my version checker in the plist to use distutils.version.LooseVersion so it should compare correctly for those of you with an earlier version installed. This doesn't include bundlebuilder and the examples though, just the PyObjC package. -bob |
From: Zachery B. <zb...@ur...> - 2003-10-07 20:44:50
|
On Oct 7, 2003, at 4:38 PM, Just van Rossum wrote: > Zachery Bir wrote: > >> So, I've got some plist assignments being made in my buildapp.py >> script, and I can verify that the values are placed properly in the >> Info.plist inside the Contents directory of my bundle, but Finder >> doesn't display the appropriate version info - it's always reported as >> 0.1. Any ideas? > > Sounds similar to a bundlebuilder bug that was recently fixed. I don't > know off hand which PyObjC version contains the fixed version (probably > after 1.0b1), but you can grab the latest bundlebuilder.py here: > > http://cvs.sourceforge.net/viewcvs.py/*checkout*/python/python/dist/ > src/ > Lib/plat-mac/bundlebuilder.py?rev=1.36 Downloaded that to my Documents directory, diffed against what's in my current 2.3, and there are no differences... Zac |
From: Just v. R. <ju...@le...> - 2003-10-07 20:38:17
|
Zachery Bir wrote: > So, I've got some plist assignments being made in my buildapp.py > script, and I can verify that the values are placed properly in the > Info.plist inside the Contents directory of my bundle, but Finder > doesn't display the appropriate version info - it's always reported as > 0.1. Any ideas? Sounds similar to a bundlebuilder bug that was recently fixed. I don't know off hand which PyObjC version contains the fixed version (probably after 1.0b1), but you can grab the latest bundlebuilder.py here: http://cvs.sourceforge.net/viewcvs.py/*checkout*/python/python/dist/src/ Lib/plat-mac/bundlebuilder.py?rev=1.36 Just |
From: Zachery B. <zb...@ur...> - 2003-10-07 20:18:28
|
So, I've got some plist assignments being made in my buildapp.py script, and I can verify that the values are placed properly in the Info.plist inside the Contents directory of my bundle, but Finder doesn't display the appropriate version info - it's always reported as 0.1. Any ideas? Thanks, Zac plist = Plist( CFBundleIdentifier = "com.urbanape.zopeeditmanager" , CFBundleShortVersionString = "0.7" , CFBundleGetInfoString = "0.7" , NSHumanReadableCopyright = "Copyright 2003 Zope Corporation" ) <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleExecutable</key> <string>ZopeEditManager</string> <key>CFBundleGetInfoString</key> <string>0.7</string> <key>CFBundleIconFile</key> <string>ZEM.icns</string> <key>CFBundleIdentifier</key> <string>com.urbanape.zopeeditmanager</string> <key>CFBundleName</key> <string>ZopeEditManager</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> <string>0.7</string> <key>CFBundleSignature</key> <string>????</string> <key>NSHumanReadableCopyright</key> <string>Copyright 2003 Zope Corporation</string> <key>NSMainNibFile</key> <string>MainMenu</string> <key>NSPrincipalClass</key> <string>NSApplication</string> </dict> </plist> |
From: Bob I. <bo...@re...> - 2003-10-06 17:31:21
|
On Monday, Oct 6, 2003, at 13:09 America/New_York, Ronald Oussoren wrote: > BTW. there's two reasons I'm working on a GNUstep port, the first is > the coolness factor and the second is improving the quality of the > MacOSX port by exposing the bridge to slightly different conditions. > > BTW2. my Linux box is headless, and I won't install X11 on it. This > means someone else will have to port the AppKit wrappers. That will be > pretty easy once the core code works. I have a "headed" X11 box and a Win XP (which I'm pretty sure can run *some* of GNUStep if one is so inclined) laptop at work.. so let me know when it's ready for me to start poking at. -bob |
From: Ronald O. <ous...@ci...> - 2003-10-06 17:09:50
|
On 6 okt 2003, at 16:17, Gary Robinson wrote: >>> I thought this was interesting. too bad GnuStep's PyObjC connection >>> is >>> languishing or it might have provided a quicker path to x-platform. >> >> All it needs is a maintainer, feel free to volunteer ;) > > I wish we had the bandwidth to take it on!!!! But we're just flat-out > against the wall trying to get done the stuff we absolutely must get > done > ASAP. I am, very slowly, working on a GNUstep port. The lack of usefull documentation on the GNU runtime isn't helpfull :-). I'll start checking in after the release of PyObjC 1.0. The script below now works, but the unittests still cause many, many crashes. import objc class Foo (objc.runtime.NSObject): def init(self): print "hello" return self def description(self): return "foo" print Foo.alloc().init() BTW. there's two reasons I'm working on a GNUstep port, the first is the coolness factor and the second is improving the quality of the MacOSX port by exposing the bridge to slightly different conditions. BTW2. my Linux box is headless, and I won't install X11 on it. This means someone else will have to port the AppKit wrappers. That will be pretty easy once the core code works. Ronald |
From: Gary R. <gro...@tr...> - 2003-10-06 14:16:44
|
>> I thought this was interesting. too bad GnuStep's PyObjC connection is >> languishing or it might have provided a quicker path to x-platform. > > All it needs is a maintainer, feel free to volunteer ;) I wish we had the bandwidth to take it on!!!! But we're just flat-out against the wall trying to get done the stuff we absolutely must get done ASAP. We're currently looking at PythonCard as an alternative strategy for our software. Our UI needs are currently pretty simple, so we're thinking it may fit the bill. --Gary -- Putting http://wecanstopspam.org in your email helps it pass through overzealous spam filters. Gary Robinson CEO Transpose, LLC gro...@tr... 207-942-3463 http://www.transpose.com http://radio.weblogs.com/0101454 |
From: Bob I. <bo...@re...> - 2003-10-06 14:08:10
|
On Monday, Oct 6, 2003, at 10:02 America/New_York, Gary Robinson wrote: > I thought this was interesting. too bad GnuStep's PyObjC connection is > languishing or it might have provided a quicker path to x-platform. All it needs is a maintainer, feel free to volunteer ;) -bob |
From: Gary R. <gro...@tr...> - 2003-10-06 14:02:15
|
I thought this was interesting. too bad GnuStep's PyObjC connection is languishing or it might have provided a quicker path to x-platform. --Gary > > --__--__-- > > Message: 2 > Date: Sun, 5 Oct 2003 18:02:25 -0400 > From: Bob Ippolito <bo...@re...> > To: pyo...@li... > Subject: [Pyobjc-dev] GNUStep Renaissance - rocks in PyObjC! > > GNUStep Renaissance ( http://www.gnustep.it/Renaissance/ ) is basically > a very terse XML way of describing interfaces, as a cross-platform > replacement for nib files. It works perfectly in PyObjC (even outlets > seem to work with AutoBaseClass and such). Although I don't > particularly care about cross-platform at this point, it's very useful > for dynamically defining an interface. > > Basically what I'm doing with a friend of mine is adding a drawer to > DrawBot, where the drawer's contents are defined dynamically by the > Python code. What this drawer will be used for is taking the constants > out of the code and assigning them to sliders, checkboxes, color wells, > etc. I spent a few hours looking around for how to create Cocoa > interfaces by hand, and it seems entirely possible, but I couldn't find > out how to do the automatic layout stuff. Renaissance, which I found > from a mailing list post on Google when poking around for nib-less > Cocoa information, solves this problem elegantly and easily from > PyObjC, especially because constructing XML from Python is cake. I'm > just starting the implementation, so I don't know if I'll have to > modify Renaissance for my purposes (hopefully not), but I'm extremely > pleased so far and I figured this was worth pointing out. > > -bob > > > > > End of Pyobjc-dev Digest > |
From: Dinu G. <gh...@da...> - 2003-10-06 10:13:02
|
Bob Ippolito: > [...] What this drawer will be used for is taking the constants out > of the code and assigning them to sliders, checkboxes, color wells, > etc. Sort of what I did in GnuplotEddie, although the layout itself is static, but it displays different variables and attributes, depen- ding on what you select in the Python/Gnuplot code. http://python.net/~gherman/GnuplotEddie.html Dinu -- Dinu C. Gherman ...................................................................... "The empires of the future are the empires of the mind." (Winston Churchill) |
From: Bob I. <bo...@re...> - 2003-10-05 22:03:05
|
GNUStep Renaissance ( http://www.gnustep.it/Renaissance/ ) is basically a very terse XML way of describing interfaces, as a cross-platform replacement for nib files. It works perfectly in PyObjC (even outlets seem to work with AutoBaseClass and such). Although I don't particularly care about cross-platform at this point, it's very useful for dynamically defining an interface. Basically what I'm doing with a friend of mine is adding a drawer to DrawBot, where the drawer's contents are defined dynamically by the Python code. What this drawer will be used for is taking the constants out of the code and assigning them to sliders, checkboxes, color wells, etc. I spent a few hours looking around for how to create Cocoa interfaces by hand, and it seems entirely possible, but I couldn't find out how to do the automatic layout stuff. Renaissance, which I found from a mailing list post on Google when poking around for nib-less Cocoa information, solves this problem elegantly and easily from PyObjC, especially because constructing XML from Python is cake. I'm just starting the implementation, so I don't know if I'll have to modify Renaissance for my purposes (hopefully not), but I'm extremely pleased so far and I figured this was worth pointing out. -bob |
From: SourceForge.net <no...@so...> - 2003-10-05 21:24:29
|
Bugs item #818304, was opened at 2003-10-05 17:24 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=114534&aid=818304&group_id=14534 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Bob Ippolito (etrepum) Assigned to: Nobody/Anonymous (nobody) Summary: objc.loadBundle doesn't take relative paths Initial Comment: It's not documented that the bundle_path kwarg MUST be an absolute path. The implementation should be changed to use os.path.abspath, or the documentation should make a note of this. I banged my head against the wall for a few minutes figuring this out :) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=114534&aid=818304&group_id=14534 |
From: Kevin M. <kev...@ma...> - 2003-10-04 08:27:08
|
I have an app I wrote in pure Python & PYObjC: http://homepage.mac.com/kevinmarks/iIRC.dmg I want to bring in some ObjC classes I wrote for another App, and I am stumped as to how. I tried creating a new PB Project of type Cocoa-Python-ObjC But it is hard to work out what I am supposed to modify in this template. How do I get the Classes in other files invoked by my Nib? Do I add my class to the support framework instead of Hue? How do I adapt my existing Python classes to fit in? |
From: SourceForge.net <no...@so...> - 2003-09-29 19:48:33
|
orDescription_ Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Bugs item #814683, was opened at 2003-09-29 21:48 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=114534&aid=814683&group_id=14534 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Martina Oefelein (oefe) Assigned to: Nobody/Anonymous (nobody) Summary: crash in dataFromPropertyList_format_err orDescription_ Initial Comment: NSPropertyListSerialization.dataFromPropertyList_format_err crashes. Observed with Jaguar Python and PyObjC 1.0rc1, 1.0rc3 as well as with MacPython 2.3 and PyObjC 1.0b1 Example: Python 2.2 (#1, 11/12/02, 23:31:59) [GCC Apple cpp-precomp 6.14] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import objc >>> objc.__version__ '1.0rc3' >>> from Foundation import * >>> plist = 0 >>> NSPropertyListSerialization.dataFromPropertyList_format_err orDescription_(plist, NSPropertyListXMLFormat_v1_0) (<NSCFData objective-c instance 0x5386f0>, None) >>> NSPropertyListSerialization.dataFromPropertyList_format_err orDescription_(plist, NSPropertyListXMLFormat_v1_0) Bus error Crash Log: Date/Time: 2003-08-15 13:45:22 +0200 OS Version: 10.2.6 (Build 6L60) Host: Vercingetorix.local. Command: python PID: 1313 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000004 Thread 0 Crashed: #0 0x002679f8 in depythonify_unsigned_int_value (objc_support.m:770) #1 0x002775e0 in ObjC_FFICaller (libffi_support.m:1004) #2 0x0027176c in objcsel_call (selector.m:563) #3 0x00045930 in PyObject_Call #4 0x0005df64 in PyEval_GetFuncDesc #5 0x0005b32c in PyEval_EvalCode #6 0x0005c634 in PyEval_EvalCodeEx #7 0x00058a80 in PyEval_EvalCode #8 0x00027e90 in PyRun_FileExFlags #9 0x00026c70 in PyRun_InteractiveOneFlags #10 0x00026a58 in PyRun_InteractiveLoopFlags #11 0x000268f0 in PyRun_AnyFileExFlags #12 0x000069f0 in Py_Main #13 0x00002970 in start #14 0x000027f0 in start PPC Thread State: srr0: 0x002679f8 srr1: 0x0000f030 vrsave: 0x00000000 xer: 0x00000000 lr: 0x002679dc ctr: 0x00266a5c mq: 0x00000000 r0: 0x0009d840 r1: 0xbffff0a0 r2: 0x002879dc r3: 0x00000000 r4: 0x0027b628 r5: 0xbffff150 r6: 0x00000000 r7: 0xffffffff r8: 0x002766c0 r9: 0x00000000 r10: 0x00000049 r11: 0x00000026 r12: 0x90009ee0 r13: 0x00000001 r14: 0x00000008 r15: 0xbffff1c8 r16: 0x00000049 r17: 0x00000000 r18: 0x00000000 r19: 0x00280b78 r20: 0x00281268 r21: 0x00000049 r22: 0xbffff1c0 r23: 0x0000000c r24: 0x00121800 r25: 0x0027b628 r26: 0x00000003 r27: 0x0000000c r28: 0x00000000 r29: 0x00000000 r30: 0x00514928 r31: 0x002679dc ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=114534&aid=814683&group_id=14534 |
From: Just v. R. <ju...@le...> - 2003-09-29 19:37:23
|
I'm happy to announce a first public version of "DrawBot", an environment for 2D graphics programming. DrawBot is a minimal "IDE", that allows you to write simple Python scripts that generate two-dimensional graphics. The builtin graphics primitives are currently pretty braindead, this version only supports rectangles, ovals and (bezier) paths and polygons. A future version will also support text and images. DrawBot is written in Python. The binary download is fully self-sufficient (ie. it doesn't need a Python install around), but if you use or build it from the source you'll need Python.framework 2.3 as well as PyObjC 1.0b1 or later. In either case, you need MacOSX 10.2 or later. Binary: http://just.letterror.com/~just/drawbot.dmg Source: http://just.letterror.com/~just/drawbot.tgz It contains an "Examples" folder with some, well, examples. Note that you don't _have_ to use the drawing primitives I provide: they're just thin wrappers around Cocoa's NSColor and NSBezierPath, so you can also use the latter (or anything else from Cocoa, like NSImage) directly. To an extent it's intentionally sparse with features: DrawBot is being developed as part of a course that teaches a bit of Python to visually oriented non-programmers (ie. design students), and I don't want to overload these people with stuff that'll confuse them; there's enough of that in Python itself already... DrawBot is released under an MIT-style license. It contains a more or less reusable Python editor widget that supports syntax coloring and smart/auto indentation. Have fun, Just |