Re: [Pythonmac-SIG] Python Launcher Pops Up When Py-based App Is Running

2023-10-09 Thread Karsten Wolf
Try to set the first line to #!/usr/bin/python That should call the right python interpreter if it's still there. For background: https://github.com/paulhammond/webkit2png/issues/89 I tried to port it to python3 but failed. ___ Pythonmac-SIG maillis

Re: [Pythonmac-SIG] Python 3.8.7 & pyobjc 6.2.2 MainMenu not loading

2021-06-23 Thread Karsten Wolf
I wrote > On 23. Jun 2021, at 18:24, Karsten Wolf wrote: > > I'm trying to convert some python2 pyobjc apps to python3. > > No matter what I do, it does not load MainMenu. > > Pointers? Updating py2app from 0.21 to 0.24 did the trick. ___

[Pythonmac-SIG] Python 3.8.7 & pyobjc 6.2.2 MainMenu not loading

2021-06-23 Thread Karsten Wolf
I'm trying to convert some python2 pyobjc apps to python3. No matter what I do, it does not load MainMenu. Pointers? ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org https://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: https://mail

Re: [Pythonmac-SIG] Problem with pip

2018-01-18 Thread Karsten Wolf via Pythonmac-SIG
> On 18.01.2018, at 14:58, Joni Orponen wrote: > > The offical CPython distributions seem to be compiled on 10.6 for > compatibility reasons. It is easier to compile CPython forwards-compatible > than to manually patch pyconfig.h after configure to exclude the syscalls not > available on your

[Pythonmac-SIG] PyobjC using pdb on yosemite

2015-08-26 Thread Karsten Wolf via Pythonmac-SIG
I am setting up a 10.10 system and the current annoyance is that when pdb.set_trace() stepping through a pyobjc/py2app app everything printed, event the (pdb) prompt is piped through NSLog and hard to use. The Python version is 2.7.10 and compiled with X86_64 and MIN_DEPLOYMENT_TARGET=10.6 Per

Re: [Pythonmac-SIG] PyObjC 3.0.1 on PyPI

2015-01-02 Thread Karsten Wolf
It does not compile on OSX 10.6.8 / Py 2.7.9 32-bit only It tries to compile AVKit which is not available on 10.6. The file pyobjc-framework-AVKit/setup.py needs the following line in setup() min_os_level="10.9", -karsten On 27.07.2014, at 11:00, Ronald Oussoren wrote: > Hi, > > I

[Pythonmac-SIG] py2app & pillow

2014-06-13 Thread Karsten Wolf
Hi, in an py2app app I replaced the thumbnail mechanism from sips (via os.system) to Pillow. The resulting app size went from 11MB to 50 MB for the inclusion of the complete TCL/TK stuff. Is there an easy way to reduce that? Both, Python 2.7.6 and Pillow are compiled for intel 32bit on OSX10.6

Re: [Pythonmac-SIG] py-appscript 32-bit terminology.dump() attempts failing in Lion

2012-05-07 Thread Karsten Wolf
but the result is still the truncated (useless) dictionary; ASDictionary 0.13.1 also produces the same result Same result here. is there something i'm missing, or is this workaround not possible in Lion? It is also not working on Leopard. alternatively, if anyone has created such a term

Re: [Pythonmac-SIG] Launch failed w py2app0.5.3 on OSX 10.5

2011-10-26 Thread Karsten Wolf
Am 27.10.2011 um 07:56 schrieb Ronald Oussoren: That's an option for the list, you can change this through the webpage at (use the "unsubscribe or edit options" button at the bottom of the page, on the next page log in to edit options

Re: [Pythonmac-SIG] Launch failed w py2app0.5.3 on OSX 10.5

2011-10-26 Thread Karsten Wolf
Can't reply to my own post. Same Problem. It doesn't launch with current py2app on OSX 10.5. -karsten ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/ma

Re: [Pythonmac-SIG] Launch failed w py2app0.5.3 on OSX 10.5

2011-10-25 Thread Karsten Wolf
Am 25.10.2011 um 20:33 schrieb Ronald Oussoren: ... Could you send me the error message? Kicked it out. Reinstalled it for the error message. It builds the binary. It launches on my machine. I don't get it. Back to the problem. The OSX 10.5 machines that didn't launch the app complain

[Pythonmac-SIG] Launch failed w py2app0.5.3 on OSX 10.5

2011-10-25 Thread Karsten Wolf
Hi, I have a pyobjc/py2app application that did fine for several years now but failed launching on OSX 10.5 after the upgrade from Python 2.7.1 to 2.7.2. It runs fine on 10.4 (build machine) and 10.6. The failing part seems to be the site-packages.zip file and it could be made launching

Re: [Pythonmac-SIG] python characters on a mac?

2011-06-29 Thread Karsten Wolf
I was directed to send the following query to this email address. That's too bad. If you're not here on your own you might be reluctant to learn... Try this. Assuming your text file was encoded in UTF-8. Read the docs about unicode and encoding. Am 23.06.2011 um 20:35 schrieb Joseph

Re: [Pythonmac-SIG] [py-appscript] is System Events sleeping ?

2011-02-01 Thread Karsten Wolf
Am 30.01.2011 um 16:12 schrieb Fandekasp: Ok so the only solution for me is to map a sleep key which will call my program and plan some tasks (threading.Timer), and my program will force my system to sleep after that. If you're willing to dive into pyobjc, NSWorkspace may help you. Ask

[Pythonmac-SIG] (no subject)

2010-01-15 Thread Karsten Wolf
Hi, I have an application which I created with python 2.5 and py2app on OSX 10.4.11. All is well. Trying to build it with python 2.6.4 and py2app 0.4.3 ends in pdb. python setup.py -A works. Analyzing the code snippet which causes the exception, one can see it calls a unix tool called 'ib

[Pythonmac-SIG] py2app with python 2.6 on OSX 10.4.9/Xcode 2.5

2010-01-06 Thread Karsten Wolf
Hi, I have an application which I created with python 2.5 and py2app on OSX 10.4.11. All is well. Trying to build it with python 2.6.4 and py2app 0.4.3 ends in pdb. python setup.py -A works. Analyzing the code snippet which causes the exception, one can see it calls a unix tool called 'ib

[Pythonmac-SIG] Screen geometry

2009-02-18 Thread Karsten Wolf
Hi, how do I read the screen geometry (no of screens/monitors, coordinate rectangle for each) via python? This is on OSX 10.4.11 PPC. -karsten ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonm

Re: [Pythonmac-SIG] Python/appscript ready for primetime?

2007-09-05 Thread Karsten Wolf
Hi, Am 04.09.2007 um 20:29 schrieb Karl Sweitzer: > Is Python's appscript suitable and sufficiently mature for deployment > in a commercial application? You'll have to find out about the commercial part yourself, but... I started Python (with appscript, py2app, pyobjc (which you'll all need

[Pythonmac-SIG] appscript and filemaker

2007-08-09 Thread Karsten Wolf
Hi, I'm new to python & appscript and try to control some FileMaker 9 databases. I'd like to handle container fields (CF). Getting these in appscript is a little more difficult than in other scripting languages. When getting a record as a list, a CF shows up as . Accessing this list item

Re: [Pythonmac-SIG] appscript

2007-02-22 Thread Karsten Wolf
Hi, Am 22.02.2007 um 05:31 schrieb Christian Bird: > RuntimeError: Can't get terminology for application > (aem.Application(u'/Applications/iTunes.app')): CommandError -600: no > eligible process with specified descriptor Error -600 means the process isn't running. Some applications launch wh