pyobjc-dev Mailing List for PyObjC (Page 34)
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: Saptarshi G. <sap...@gm...> - 2009-12-04 23:37:34
|
Hello, When running my PyObjc app, I get some errors, but no traceback e.g in the console (XCode's) 2009-12-04 18:32:31.643 Awake[5689:10b] Awake did finish launching. 2009-12-04 18:32:31.644 Awake[5689:10b] Using the following wakeupfile:/Users/yanger/.wakeuprc 2009-12-04 18:32:31.653 Awake[5689:10b] <type 'exceptions.TypeError'>: 'NoneType' object is not iterable But I'd like to see the traceback for the last line. Is there a way for me to view it? Regards Saptarshi PYObjc on leopard 10.5.8 (Macbook) |
From: Ronald O. <ron...@ma...> - 2009-12-02 07:06:05
|
On 1 Dec, 2009, at 22:01, Orestis Markou wrote: > > On 1 Dec 2009, at 13:30, Ronald Oussoren wrote: > >> >> On 1 Dec, 2009, at 10:05, Orestis Markou wrote: >> >>> >>> On 1 Dec 2009, at 10:53, Ronald Oussoren wrote: >>> >>>>> >>>>> Some background: We are trying to get our applications compatible with PyObjC 2.2 and Python 2.6, in preparation of our upgrade to SL on the target machines. While the applications themselves mostly run fine, the tests are having weird troubles like this, which makes the transition a non-starter. Is there anything we can do to help you help us? >>>> >>>> I'll spent some time in the debugger. This should work, but obviously doesn't. >>> >>> Thanks. Is there anything I can do to help? >> >> I've tried to reproduce the bug, but failed so far. I've pasted your code in a script, running that works just fine on my machine and that makes debugging rather hard ;-) >> >> Can you create a script that reproduces the problem for you? >> >> BTW. I'm using pyobjc 2.2 + python 2.6.4 (python.org installer) on SL (10.6.2) > > Attaching a zip that contains the script plus a small .png file. > > A couple of data points: > > PyObjC 2.2 + Python 2.6.1 (system) on SL (10.6.2), inside a virtualenv: Segfault > PyObjC 2.2b3 (system) + Python 2.6.1 (system) on SL (10.6.2), no virtualenv: Works fine. > > I can try installing Python 2.6.4 from python.org to see if that makes any difference. I can safely remove it after that, right? Thanks for the example. The example works fine with pyobjc 2.2 and python 2.6.4. I haven't tried the virtualenv approach yet, I'll do that later this week. Ronald > > > <pyobjc_segfault.zip> |
From: Orestis M. <or...@or...> - 2009-12-01 21:01:28
|
On 1 Dec 2009, at 13:30, Ronald Oussoren wrote: > > On 1 Dec, 2009, at 10:05, Orestis Markou wrote: > >> >> On 1 Dec 2009, at 10:53, Ronald Oussoren wrote: >> >>>> >>>> Some background: We are trying to get our applications compatible with PyObjC 2.2 and Python 2.6, in preparation of our upgrade to SL on the target machines. While the applications themselves mostly run fine, the tests are having weird troubles like this, which makes the transition a non-starter. Is there anything we can do to help you help us? >>> >>> I'll spent some time in the debugger. This should work, but obviously doesn't. >> >> Thanks. Is there anything I can do to help? > > I've tried to reproduce the bug, but failed so far. I've pasted your code in a script, running that works just fine on my machine and that makes debugging rather hard ;-) > > Can you create a script that reproduces the problem for you? > > BTW. I'm using pyobjc 2.2 + python 2.6.4 (python.org installer) on SL (10.6.2) Attaching a zip that contains the script plus a small .png file. A couple of data points: PyObjC 2.2 + Python 2.6.1 (system) on SL (10.6.2), inside a virtualenv: Segfault PyObjC 2.2b3 (system) + Python 2.6.1 (system) on SL (10.6.2), no virtualenv: Works fine. I can try installing Python 2.6.4 from python.org to see if that makes any difference. I can safely remove it after that, right? |
From: Ronald O. <ron...@ma...> - 2009-12-01 11:31:20
|
On 1 Dec, 2009, at 10:05, Orestis Markou wrote: > > On 1 Dec 2009, at 10:53, Ronald Oussoren wrote: > >>> >>> Some background: We are trying to get our applications compatible with PyObjC 2.2 and Python 2.6, in preparation of our upgrade to SL on the target machines. While the applications themselves mostly run fine, the tests are having weird troubles like this, which makes the transition a non-starter. Is there anything we can do to help you help us? >> >> I'll spent some time in the debugger. This should work, but obviously doesn't. > > Thanks. Is there anything I can do to help? I've tried to reproduce the bug, but failed so far. I've pasted your code in a script, running that works just fine on my machine and that makes debugging rather hard ;-) Can you create a script that reproduces the problem for you? BTW. I'm using pyobjc 2.2 + python 2.6.4 (python.org installer) on SL (10.6.2) Ronald |
From: Orestis M. <or...@or...> - 2009-12-01 09:05:26
|
On 1 Dec 2009, at 10:53, Ronald Oussoren wrote: > > On 27 Nov, 2009, at 0:31, Orestis Markou wrote: > >> Hi, >> >> Mac OS X 10.6.2, stock python 2.6, pyobjc2.2 in a virtualenv. >> >> This snippet of code crashes with a segfault when run from the command line: >> >> >> from Foundation import CFURLCreateWithFileSystemPath, kCFURLPOSIXPathStyle >> from Quartz import CGImageSourceCreateWithURL, CGImageSourceCreateImageAtIndex, CGImageCreateWithImageInRect, CGRectMake >> >> path = 'Songs/lyricsthumb.png' >> imageURL = CFURLCreateWithFileSystemPath(None, path, >> kCFURLPOSIXPathStyle, False) >> imageSource = CGImageSourceCreateWithURL(imageURL, None) >> cgImage = CGImageSourceCreateImageAtIndex(imageSource, 0, None) >> >> rect = CGRectMake(0, 0, 100, 100) >> cropped = CGImageCreateWithImageInRect(cgImage, rect) #segfault here >> >> >> >> It works fine when run from inside an actual application. It used to work fine in stock Leopard PyObjC. >> >> Some background: We are trying to get our applications compatible with PyObjC 2.2 and Python 2.6, in preparation of our upgrade to SL on the target machines. While the applications themselves mostly run fine, the tests are having weird troubles like this, which makes the transition a non-starter. Is there anything we can do to help you help us? > > I'll spent some time in the debugger. This should work, but obviously doesn't. Thanks. Is there anything I can do to help? Orestis > Ronald |
From: Ronald O. <ron...@ma...> - 2009-12-01 08:54:12
|
On 27 Nov, 2009, at 1:05, Tom Dossis wrote: > Hi, > > I've had little luck getting the pyobjc 2.2 eggs to work under leopard. > Anyhow, in the interim I tried reverting to pyobjc==2.2b, but that > version is no longer on PyPI. > Is it possible to reinstate that version (or make it available > elsewhere)? "easy_install pyobjc==2.2b2" should work. The files are no longer visible in the pypi UI, but are present. Ronald > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev |
From: Ronald O. <ron...@ma...> - 2009-12-01 08:53:33
|
On 27 Nov, 2009, at 0:31, Orestis Markou wrote: > Hi, > > Mac OS X 10.6.2, stock python 2.6, pyobjc2.2 in a virtualenv. > > This snippet of code crashes with a segfault when run from the command line: > > > from Foundation import CFURLCreateWithFileSystemPath, kCFURLPOSIXPathStyle > from Quartz import CGImageSourceCreateWithURL, CGImageSourceCreateImageAtIndex, CGImageCreateWithImageInRect, CGRectMake > > path = 'Songs/lyricsthumb.png' > imageURL = CFURLCreateWithFileSystemPath(None, path, > kCFURLPOSIXPathStyle, False) > imageSource = CGImageSourceCreateWithURL(imageURL, None) > cgImage = CGImageSourceCreateImageAtIndex(imageSource, 0, None) > > rect = CGRectMake(0, 0, 100, 100) > cropped = CGImageCreateWithImageInRect(cgImage, rect) #segfault here > > > > It works fine when run from inside an actual application. It used to work fine in stock Leopard PyObjC. > > Some background: We are trying to get our applications compatible with PyObjC 2.2 and Python 2.6, in preparation of our upgrade to SL on the target machines. While the applications themselves mostly run fine, the tests are having weird troubles like this, which makes the transition a non-starter. Is there anything we can do to help you help us? I'll spent some time in the debugger. This should work, but obviously doesn't. Ronald > > Regards, > Orestis > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev |
From: Ronald O. <ron...@ma...> - 2009-12-01 08:52:54
|
On 26 Nov, 2009, at 23:41, Orestis Markou wrote: > Hello, > > I'm trying to get pyobjc2.2 working on python2.5 in SL (in a virtualenv). I'm getting this strange failure: > > ImportError: dlopen(/Users/orestis/.virtualenvs/pyobjc2.2/lib/python2.5/site-packages/pyobjc_core-2.2-py2.5-macosx-10.6-i386.egg/objc/_objc.so, 2): Symbol not found: _PyType_Modified > Referenced from: /Users/orestis/.virtualenvs/pyobjc2.2/lib/python2.5/site-packages/pyobjc_core-2.2-py2.5-macosx-10.6-i386.egg/objc/_objc.so > Expected in: flat namespace > in /Users/orestis/.virtualenvs/pyobjc2.2/lib/python2.5/site-packages/pyobjc_core-2.2-py2.5-macosx-10.6-i386.egg/objc/_objc.so >>>> > > You're the second user that ran into this problem. I haven't had time yet to research the issue. Ronald |
From: Jon C. <jon...@gm...> - 2009-11-30 23:46:57
|
Can someone provide me with a few quick pointers on how to do localization for a bare-bones app without any nibs, etc. There's only one example I can find and it seems to use Localized.strings inside English.lproj, etc, but I'm not sure how to tell my simple little app (w/o any nib files, etc) how to use it. So, what's the easiest way to do something like: # logtest.py import Foundation Foundation.NSLog(Foundation.NSLocalizedString("My Message","My Message")) If I could get that to work, I could probably localize my app, but there seems to be something I'm missing. What additional configuration is necessary so that: python setup.py py2app would know to use a localization file? Thanks, Jon |
From: Jonathan S. <jon...@ga...> - 2009-11-30 00:48:30
|
Hi All, my first post here. ;-) I'm trying to use the twisted networking library integrating some QTKit functionalities into the application. I run my console script interleaving twisted's reactor with AppHelper.callLater and all works fine, except for the shutdown after a SIGINT. After digging into the code I found that the installInterrupt=True parameter of AppHelper.runConsoleEventLoop() imports from PyObjCTools/MachSignals.py which uses the _machsignals module. I tried a search in google and finally found a reference to a machsignals.m file which creates a _machsignal python module in PyObjC version 1.3. Searching the 2.2 codebase I found a reference to this file in pyobjc/pyobjc-core/MANIFEST (line 771): Modules/CoreFoundation/machsignals.m but the file (and the folder) does not exists. Is this incoherence a bug or is there another way to trigger the SIGINT handling code from python while not running python code? Thanks for the help, greets ~jonathan P.S. Hitting C-c on the command line produces the following error: ^C2009-11-30 01:14:38.203 python[82197:10b] *** NSRunLoop ignoring exception '<type 'exceptions.KeyboardInterrupt'>: ' that raised during posting of delayed perform with target 0x3181cb0 and selector 'callAfter:' -- Best Regards, Jonathan Stoppani |
From: Greg E. <gre...@ca...> - 2009-11-28 23:15:38
|
Thomas Heller wrote: > Is the list available on gmane? I have received a reply from gmane saying that a subscription request has been sent and that the gmane group would be created when the first message arrives. I'm not a gmane user myself, so someone may want to take a look over there and see if it's working. -- Greg |
From: Greg E. <gre...@ca...> - 2009-11-28 23:15:29
|
Thomas Heller wrote: > Is the list available on gmane? I have received a reply from gmane saying that a subscription request has been sent and that the gmane group would be created when the first message arrives. I'm not a gmane user myself, so someone may want to take a look over there and see if it's working. -- Greg |
From: Daniel M. <mil...@gm...> - 2009-11-27 18:50:29
|
On Nov 24, 2009, at 9:15 AM, Ronald Oussoren wrote: > On 24 Nov, 2009, at 4:01, Daniel Miller wrote: > >>> You seem to get a bus error, although the code looks fine at first >>> glance. Could you create a small self-contained project that >>> suffers from the same problem, that would make debugging a lot >>> easier for me. >> >> Sorry for the delay in getting this to you. The example is >> attached. I modified the TinyTinyEdit example found in PyObjC 1.4 >> (and updated it slightly to use the new subclassing mechanism >> rather than the old NibClassBuilder.AutoBaseClass). Anyway, this >> little program will reproduce the error I described in the first >> email in this thread. Instructions to reproduce the error (execute >> the following at the command line after unpacking the zip file): >> >> Dependencies (This is what's on my system. Other versions may also >> produce the same error. 10.4 with PyObjC 1.4 did NOT produce this >> error to my knowlege.): > > This is a rather annoying issue, and a instance where the Python<- > >ObjC bridge suddenly leaps into view to mess things up. > > I have committed a quick workaround in the repository, but that does > require a change to your code. To call the delegate method use: > > getattr(delegate, selector)(self, 1, context) > > rather than: > > perform_selector(delegate, selector, self, 1, context) > > Some notes: > > * You do not have to translate the selector name into a python > identifier, that's a hack but is supported behaviour (that is, if I > ever change PyObjC to be stricter about the names passed to > __getattr__ there will be a transition period) > > * This does require the very latest version of PyObjC that I'm in > the process of releasing. > > * My fix does not work with perform_selector and I don't know if I > can get that version to work without a lot of work. Thanks Ronald. It works now with PyObjC 2.2 ~ Daniel |
From: Tom D. <td...@yo...> - 2009-11-27 00:30:57
|
Hi, I've had little luck getting the pyobjc 2.2 eggs to work under leopard. Anyhow, in the interim I tried reverting to pyobjc==2.2b, but that version is no longer on PyPI. Is it possible to reinstate that version (or make it available elsewhere)? |
From: Orestis M. <or...@or...> - 2009-11-26 23:31:43
|
Hi, Mac OS X 10.6.2, stock python 2.6, pyobjc2.2 in a virtualenv. This snippet of code crashes with a segfault when run from the command line: from Foundation import CFURLCreateWithFileSystemPath, kCFURLPOSIXPathStyle from Quartz import CGImageSourceCreateWithURL, CGImageSourceCreateImageAtIndex, CGImageCreateWithImageInRect, CGRectMake path = 'Songs/lyricsthumb.png' imageURL = CFURLCreateWithFileSystemPath(None, path, kCFURLPOSIXPathStyle, False) imageSource = CGImageSourceCreateWithURL(imageURL, None) cgImage = CGImageSourceCreateImageAtIndex(imageSource, 0, None) rect = CGRectMake(0, 0, 100, 100) cropped = CGImageCreateWithImageInRect(cgImage, rect) #segfault here It works fine when run from inside an actual application. It used to work fine in stock Leopard PyObjC. Some background: We are trying to get our applications compatible with PyObjC 2.2 and Python 2.6, in preparation of our upgrade to SL on the target machines. While the applications themselves mostly run fine, the tests are having weird troubles like this, which makes the transition a non-starter. Is there anything we can do to help you help us? Regards, Orestis |
From: Orestis M. <or...@or...> - 2009-11-26 22:41:20
|
Hello, I'm trying to get pyobjc2.2 working on python2.5 in SL (in a virtualenv). I'm getting this strange failure: Python 2.5.4 (r254:67916, Jul 7 2009, 23:51:24) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import objc Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/orestis/.virtualenvs/pyobjc2.2/lib/python2.5/site-packages/pyobjc_core-2.2-py2.5-macosx-10.6-i386.egg/objc/__init__.py", line 22, in <module> _update() File "/Users/orestis/.virtualenvs/pyobjc2.2/lib/python2.5/site-packages/pyobjc_core-2.2-py2.5-macosx-10.6-i386.egg/objc/__init__.py", line 19, in _update import _objc ImportError: dlopen(/Users/orestis/.virtualenvs/pyobjc2.2/lib/python2.5/site-packages/pyobjc_core-2.2-py2.5-macosx-10.6-i386.egg/objc/_objc.so, 2): Symbol not found: _PyType_Modified Referenced from: /Users/orestis/.virtualenvs/pyobjc2.2/lib/python2.5/site-packages/pyobjc_core-2.2-py2.5-macosx-10.6-i386.egg/objc/_objc.so Expected in: flat namespace in /Users/orestis/.virtualenvs/pyobjc2.2/lib/python2.5/site-packages/pyobjc_core-2.2-py2.5-macosx-10.6-i386.egg/objc/_objc.so >>> Installed in a virtualenv through easy_install==2.2 Any pointers? Thanks, Orestis |
From: Ronald O. <ron...@ma...> - 2009-11-26 07:11:54
|
On 25 Nov, 2009, at 17:15, Jopes Gallardo wrote: > Hello... > > I easy_install'd 2.2 in my Leopard and Snow Leopard machines and after the actual download and setup, I tried importing module objc, and it gave me this error: Which version of Python did you use? Or rather, what is the output of: * which easy_install * which python In the environment where you installed PyObjC? Ronald > > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/Library/Python/2.5/site-packages/pyobjc_core-2.2-py2.5-macosx-10.3-i386.egg/objc/__init__.py", line 22, in <module> > _update() > File "/Library/Python/2.5/site-packages/pyobjc_core-2.2-py2.5-macosx-10.3-i386.egg/objc/__init__.py", line 19, in _update > import _objc > ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pyobjc_core-2.2-py2.5-macosx-10.3-i386.egg/objc/_objc.so, 2): Symbol not found: _PyType_Modified > Referenced from: /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pyobjc_core-2.2-py2.5-macosx-10.3-i386.egg/objc/_objc.so > Expected in: dynamic lookup > > I also get this from my Snow Leopard... what could I be doing wrong? :( > > On Wed, Nov 25, 2009 at 3:48 AM, Ronald Oussoren <ron...@ma...> wrote: > > On 24 Nov, 2009, at 19:00, Aahz wrote: > > > On Tue, Nov 24, 2009, Ronald Oussoren wrote: > >> On 24 Nov, 2009, at 17:44, Aahz wrote: > >>> On Tue, Nov 24, 2009, Ronald Oussoren wrote: > >>>> > >>>> Installation: easy_install pyobjc=2.2 > >>>> > >>>> NOTE: Do not upgrade the version of pyobjc that's shipped with OSX > >>>> (that is, don't use /usr/bin/easy_install to install), I'm not sure if > >>>> this version is fully compatible to that in OSX 10.6, let alone 10.5. > >>> > >>> What about 10.4? ;-) > >> > >> IIRC Apple didn't ship pyobjc with Tiger, it should be safe to > >> install/upgrade PyObjC on Tiger even when installing into Apple's > >> installation of Python. > >> > >> But then again, if you're using Tiger I'd advise you to do a seperate > >> install of Python anyway because Tiger and the included version of > >> Python are ancient ;-) > > > > The question was more whether we should expect pyobjc 2.2 to work with > > 10.4 (either built on 10.4 or built on 10.5/10.6 -- I'm interested more > > in building with 10.5/10.6 because that's what I'm currently doing). > > IIRC you said that there were problems and you weren't sure when you'd be > > getting to them. > > PyObjC 2.2 probably works on Tiger, I have spent some time on porting at least pyobjc-core, pyobjc-framework-Cocoa and pyobjc-framework-Quartz. > > I'm not going to write that pyobjc *supports* 10.4 because I rarely run 10.4 at all, basicly just to do some cursory checks for the python.org Mac installers and sometimes PyObjC. > > Ronald > > > -- > > Aahz (aa...@py...) <*> http://www.pythoncraft.com/ > > > > The best way to get information on Usenet is not to ask a question, but > > to post the wrong information. > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > > trial. Simplify your report design, integration and deployment - and focus on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Pyobjc-dev mailing list > > Pyo...@li... > > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev > > > > > -- > Jofell S. Gallardo > Web / Mac Developer > http://www.insynchq.com |
From: Jopes G. <wo...@jo...> - 2009-11-25 17:16:33
|
Hello... I easy_install'd 2.2 in my Leopard and Snow Leopard machines and after the actual download and setup, I tried importing module objc, and it gave me this error: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Library/Python/2.5/site-packages/pyobjc_core-2.2-py2.5-macosx-10.3-i386.egg/objc/__init__.py", line 22, in <module> _update() File "/Library/Python/2.5/site-packages/pyobjc_core-2.2-py2.5-macosx-10.3-i386.egg/objc/__init__.py", line 19, in _update import _objc ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pyobjc_core-2.2-py2.5-macosx-10.3-i386.egg/objc/_objc.so, 2): Symbol not found: _PyType_Modified Referenced from: /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pyobjc_core-2.2-py2.5-macosx-10.3-i386.egg/objc/_objc.so Expected in: dynamic lookup I also get this from my Snow Leopard... what could I be doing wrong? :( On Wed, Nov 25, 2009 at 3:48 AM, Ronald Oussoren <ron...@ma...>wrote: > > On 24 Nov, 2009, at 19:00, Aahz wrote: > > > On Tue, Nov 24, 2009, Ronald Oussoren wrote: > >> On 24 Nov, 2009, at 17:44, Aahz wrote: > >>> On Tue, Nov 24, 2009, Ronald Oussoren wrote: > >>>> > >>>> Installation: easy_install pyobjc=2.2 > >>>> > >>>> NOTE: Do not upgrade the version of pyobjc that's shipped with OSX > >>>> (that is, don't use /usr/bin/easy_install to install), I'm not sure if > >>>> this version is fully compatible to that in OSX 10.6, let alone 10.5. > >>> > >>> What about 10.4? ;-) > >> > >> IIRC Apple didn't ship pyobjc with Tiger, it should be safe to > >> install/upgrade PyObjC on Tiger even when installing into Apple's > >> installation of Python. > >> > >> But then again, if you're using Tiger I'd advise you to do a seperate > >> install of Python anyway because Tiger and the included version of > >> Python are ancient ;-) > > > > The question was more whether we should expect pyobjc 2.2 to work with > > 10.4 (either built on 10.4 or built on 10.5/10.6 -- I'm interested more > > in building with 10.5/10.6 because that's what I'm currently doing). > > IIRC you said that there were problems and you weren't sure when you'd be > > getting to them. > > PyObjC 2.2 probably works on Tiger, I have spent some time on porting at > least pyobjc-core, pyobjc-framework-Cocoa and pyobjc-framework-Quartz. > > I'm not going to write that pyobjc *supports* 10.4 because I rarely run > 10.4 at all, basicly just to do some cursory checks for the python.org Mac > installers and sometimes PyObjC. > > Ronald > > > -- > > Aahz (aa...@py...) <*> > http://www.pythoncraft.com/ > > > > The best way to get information on Usenet is not to ask a question, but > > to post the wrong information. > > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > > trial. Simplify your report design, integration and deployment - and > focus on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Pyobjc-dev mailing list > > Pyo...@li... > > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev > > -- Jofell S. Gallardo Web / Mac Developer http://www.insynchq.com |
From: Ronald O. <ron...@ma...> - 2009-11-24 19:48:24
|
On 24 Nov, 2009, at 19:00, Aahz wrote: > On Tue, Nov 24, 2009, Ronald Oussoren wrote: >> On 24 Nov, 2009, at 17:44, Aahz wrote: >>> On Tue, Nov 24, 2009, Ronald Oussoren wrote: >>>> >>>> Installation: easy_install pyobjc=2.2 >>>> >>>> NOTE: Do not upgrade the version of pyobjc that's shipped with OSX >>>> (that is, don't use /usr/bin/easy_install to install), I'm not sure if >>>> this version is fully compatible to that in OSX 10.6, let alone 10.5. >>> >>> What about 10.4? ;-) >> >> IIRC Apple didn't ship pyobjc with Tiger, it should be safe to >> install/upgrade PyObjC on Tiger even when installing into Apple's >> installation of Python. >> >> But then again, if you're using Tiger I'd advise you to do a seperate >> install of Python anyway because Tiger and the included version of >> Python are ancient ;-) > > The question was more whether we should expect pyobjc 2.2 to work with > 10.4 (either built on 10.4 or built on 10.5/10.6 -- I'm interested more > in building with 10.5/10.6 because that's what I'm currently doing). > IIRC you said that there were problems and you weren't sure when you'd be > getting to them. PyObjC 2.2 probably works on Tiger, I have spent some time on porting at least pyobjc-core, pyobjc-framework-Cocoa and pyobjc-framework-Quartz. I'm not going to write that pyobjc *supports* 10.4 because I rarely run 10.4 at all, basicly just to do some cursory checks for the python.org Mac installers and sometimes PyObjC. Ronald > -- > Aahz (aa...@py...) <*> http://www.pythoncraft.com/ > > The best way to get information on Usenet is not to ask a question, but > to post the wrong information. > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev |
From: Aahz <aa...@py...> - 2009-11-24 18:00:51
|
On Tue, Nov 24, 2009, Ronald Oussoren wrote: > On 24 Nov, 2009, at 17:44, Aahz wrote: >> On Tue, Nov 24, 2009, Ronald Oussoren wrote: >>> >>> Installation: easy_install pyobjc=2.2 >>> >>> NOTE: Do not upgrade the version of pyobjc that's shipped with OSX >>> (that is, don't use /usr/bin/easy_install to install), I'm not sure if >>> this version is fully compatible to that in OSX 10.6, let alone 10.5. >> >> What about 10.4? ;-) > > IIRC Apple didn't ship pyobjc with Tiger, it should be safe to > install/upgrade PyObjC on Tiger even when installing into Apple's > installation of Python. > > But then again, if you're using Tiger I'd advise you to do a seperate > install of Python anyway because Tiger and the included version of > Python are ancient ;-) The question was more whether we should expect pyobjc 2.2 to work with 10.4 (either built on 10.4 or built on 10.5/10.6 -- I'm interested more in building with 10.5/10.6 because that's what I'm currently doing). IIRC you said that there were problems and you weren't sure when you'd be getting to them. -- Aahz (aa...@py...) <*> http://www.pythoncraft.com/ The best way to get information on Usenet is not to ask a question, but to post the wrong information. |
From: Ronald O. <ron...@ma...> - 2009-11-24 17:43:08
|
On 24 Nov, 2009, at 17:44, Aahz wrote: > On Tue, Nov 24, 2009, Ronald Oussoren wrote: >> >> Installation: easy_install pyobjc=2.2 >> >> NOTE: Do not upgrade the version of pyobjc that's shipped with OSX >> (that is, don't use /usr/bin/easy_install to install), I'm not sure if >> this version is fully compatible to that in OSX 10.6, let alone 10.5. > > What about 10.4? ;-) IIRC Apple didn't ship pyobjc with Tiger, it should be safe to install/upgrade PyObjC on Tiger even when installing into Apple's installation of Python. But then again, if you're using Tiger I'd advise you to do a seperate install of Python anyway because Tiger and the included version of Python are ancient ;-) Ronald |
From: <up...@ma...> - 2009-11-24 16:52:48
|
the PyObjC team, PyObjC 2.2b2 has just been updated to version 2.2 on MacUpdate. Check it out at: http://www.macupdate.com/info.php/id/11709/pyobjc Please keep MacUpdate informed of any new Mac version releases of your products, so we can promote them for you. You can update your listing by signing up for a developer tools account: http://www.macupdate.com/developer/ Partner in our 24-hour promotion of your software through mupromo.com: http://www.mupromo.com/ -MacUpdate Team www.macupdate.com [You're being notified of this update because you're listed as the developer of PyObjC. Please email us if you are not the developer: up...@ma...]. |
From: Aahz <aa...@py...> - 2009-11-24 16:44:23
|
On Tue, Nov 24, 2009, Ronald Oussoren wrote: > > Installation: easy_install pyobjc=2.2 > > NOTE: Do not upgrade the version of pyobjc that's shipped with OSX > (that is, don't use /usr/bin/easy_install to install), I'm not sure if > this version is fully compatible to that in OSX 10.6, let alone 10.5. What about 10.4? ;-) -- Aahz (aa...@py...) <*> http://www.pythoncraft.com/ The best way to get information on Usenet is not to ask a question, but to post the wrong information. |
From: Ronald O. <ron...@ma...> - 2009-11-24 16:26:13
|
I've just pushed pyobjc 2.2 to PyPI. There have been no changes but some minor bugfixes from the last beta release. Installation: easy_install pyobjc=2.2 NOTE: Do not upgrade the version of pyobjc that's shipped with OSX (that is, don't use /usr/bin/easy_install to install), I'm not sure if this version is fully compatible to that in OSX 10.6, let alone 10.5. Ronald |
From: Ronald O. <ron...@ma...> - 2009-11-24 14:30:43
|
On 24 Nov, 2009, at 15:24, Orestis Markou wrote: > > On 24 Nov 2009, at 16:20, Ronald Oussoren wrote: > >> >> On 24 Nov, 2009, at 15:16, Orestis Markou wrote: >> >>> On 24 Nov 2009, at 14:56, Ronald Oussoren wrote: >>> >>>> >>>> On 24 Nov, 2009, at 8:19, Orestis Markou wrote: >>>> >>>>> Hello, >>>>> >>>>> I would like to use the latest version (SVN) of PyObjC in my applications, both on 10.5 and on 10.6 (10.6 ships with a version of PyObjC that doesn't work with my apps). >>>>> >>>>> I'm having trouble building everything and getting it to work. I tried to modify the 02-develop-all.sh script to install instead of develop, but it seems not to be working. I will have to try again to give more information there. >>>>> >>>>> Is there an easy way to produce a build of PyObjC + Frameworks that can be easily dropped into an app bundle and used? >>>>> >>>>> The app should run on stock Python 2.5 on 10.5 and 10.6. >>>> >>>> I'll upload a new release to pypi later today. When that's done 'easy_install pyobjc==2.2' should work. >>>> >>>> PyObjC 2.2 will be the version that's currently in the repository, with updated version numbers. >>> >>> Thanks for that - I'm still wondering how to do a full build from source though (in case I want to fix a bug or try out something new). Right now with easy_install I can't find any option that will allow me to point to a directory and say 'install from here'. >> >> "python setup.py install" in the right order should work (that's what the develop.sh script does). >> >> I just noticed that you try to install an updated version of pyobjc in the system install of Python. I wouldn't do that, I know Apple used pyobjc in the past, and AFAIK still does so on the server. Upgrading PyObjC might break that code > > Accidentally de-cced the list. Re-adding now. > > I'm installing this into a clean virtualenv, and then copy all packages out. I may have to fiddle with .pth files a bit though to get everything working. > > OK, so I do have to install every framework wrapper separately. I was hoping that since the dependencies are all listed in the 'empty' pyobjc project I could reuse that somehow. I will tweak develop.sh to do what I want and report back. It's probably possible to tell easy_install to use files in a directory, something like the (untested): easy_install -f dir-containing-pyobjc-sources pyobjc=2.2 This probably requires sdist archives of all subprojects. I'll see if I can come up with a better solution in pyobjc 2.3, possibly using a custom distutils command in the pyobjc package. BTW. easy_install has a -l option that might help as well: --local-snapshots-ok (-l) allow building eggs from local checkouts While easy_install is pretty useful it is still far removed from being a truly usefull packaging tool. I'd love to see a real python package tool (and pip isn't it, that's in the end just a slightly different version of easy_install) Ronald |