Hi all,
In my last post I mentioned that the qt.conf INI file was key to
fixing the "cannot move to target thread" problem, caused by multiple
instances of Qt running in the same app. The following setup.py file
is my encapsulation of the solution. This is my first brush with
py2app, s
ded useful information:
http://doc.trolltech.com/4.4/deployment-mac.html#linking-the-application-to-qt-as-frameworks
http://doc.trolltech.com/4.4/qt-conf.html
Thanks
Scott
On Sep 18, 2009, at 9:31 AM, Christopher Barker wrote:
Scott Frankel wrote:
Thanks for the info and sample code! I&
Hi Daniel,
Thanks for the info and sample code! I've now got libqsqlpsql.bundle
copying to the app bundle's frameworks dir.
Reading http://doc.trolltech.com/4.4/deployment-mac.html#linking-the-application-to-qt-as-frameworks
, I'm knee deep in otool and install_name_tool. I had no idea I
etup.py solution?
Do I need to dig back into my macports installations?
How can I locate the source of the offending item?
Thanks in advance for any suggestions! I'd be much obliged.
Scott
On Aug 24, 2009, at 9:49 PM, Scott Frankel wrote:
If someone has any wisdom to share regarding b
c @4.5.2_1+psql (active)
...
Any thoughts or suggestions?
Thanks!
Scott
On Aug 19, 2009, at 10:41 AM, Scott Frankel wrote:
Hello,
I'm stuck somewhere between macports and py2app. I'm hopeful that
someone here may be able to offer some advice on how to rectify my
build
qt4-mac has the psql dependency:
py26-py2app-devel @0.4.2_1 (active)
py26-pyqt4 @4.5.4_0 (active)
qt4-mac @4.5.1_0+psql (active)
Thanks in advance!
Scott
On Aug 10, 2009, at 8:51 AM, Scott Frankel wrote:
Hello,
I'm troubleshooting a PyQt-PostgreSQL py2ap
Hello,
I'm troubleshooting a PyQt-PostgreSQL py2app error: "Cannot move to
target thread". Note that a test app builds and runs happily. The
error only comes up when I add PyQt4.QtSql' to py2app's option
includes. eg:
This works:
OPTIONS = {'argv_emulation': True, 'includes':
How does one add PyQt sqldrivers to an app created with py2app?
My app relies on the QPSQL driver. Unless I'm mistaken, the QPSQL
driver does not appear to have been included in the macports install.
Nonetheless, I have the driver on my development machine.
Does libqsqlpsql.dylib have to
Yes, it turned out to be a $PATH problem.
Thanks!
Scott
On Jun 5, 2009, at 6:54 PM, Ned Deily wrote:
In article ,
Scott Frankel wrote:
Is there a way to coerce python_select? Does python_select
require bash?
python_select essentially only affects the command
/opt/local/bin/python. If
Hi Christopher,
On Jun 5, 2009, at 4:58 PM, Christopher Barker wrote:
Scott Frankel wrote:
Is there a way to force the use of a specific version of python for
py2app? python_select appears to be getting overridden somewhere/
how.
it should use the one you call it with...
% python
macports installed libs. I've
added the macports paths to bin and sbin to my $PATH. Grepping and
calling port without a path demonstrates that $PATH is set correctly.
Suggestions?
Thanks in advance!
Scott
On Jun 4, 2009, at 11:04 PM, Scott Frankel wrote:
I'm using py2app
ely should linking to the /system python.
If you can't upgrade to py26-pyqt then consider filing a bug with
macports.
The last trick is to use the 'install_name_tool' to actually
manually (brute force) fix the linking from the /system python to
the macports python.
I'm using py2app for the first time to build a PyQt app. I get the
following error msg when I launch the app:
Fatal Python error: Interpreter not initialized (version mismatch?)
I've downloaded macports and installed its python25, pyqt, &c. I've
issued the command, sudo python_se
I'll take a new look at wxPython and Editra. I'll also check out
SPE. Time to adopt a more robust debugging scheme than tossing print
statements through Emacs ...
Thanks all!
Scott
On Nov 19, 2007, at 2:25 PM, Christopher Barker wrote:
> Scott Frankel wrote:
>> W
. That isn't a display issue, that's literally what
> gets saved
> (the garbage characters).
>
> Jim
>
>
> On 11/19/07 3:45 PM, "Leonardo Santagada" <[EMAIL PROTECTED]> wrote:
>
>> Em 19/11/2007, às 17:50, Scott Frankel escreveu:
>>&g
Is anyone on this list using Eclipse with Python and the SWT
windowing kit?
I've been looking through the MacPython.org and Eclipse pages for
info on combining Python and SWT. So far, I've read about the PyDev
plugin that allows Eclipse to speak Python.
I'd like to know if PyDev would all
Pardon the cross-post.
Would anyone on this list happen to know the appropriate way to build
and install _imagingft for use with PIL? My Google searches have
found references to it, source code, complaints, and disclaimers; but
I have not found the info I need to build & install it. I wou
Thanks for the clarifications!
Scott
On Mar 23, 2006, at 12:06 PM, Jordan Krushen wrote:
> obj-c:
> [rectangle setWidth:width height:height]
>
> python:
> rectangle.setWidth_height_(width, height)
On Mar 23, 2006, at 12:11 PM, Zachery Bir wrote:
> You're not assigning the result of
Apologies in advance for this tangential question.
I'm trying to wrap my head around how Objective-C methods are
constructed -- and more importantly, how they're converted to Python
methods. Doco I've found uses as an example a method with white
space between the parts of the method name.
The tilde is just UNIX shorthand for the environment variable,
"home." You can access environment variables in python like this:
os.getenv("HOME")
Scott
On Mar 18, 2006, at 4:22 PM, Stewart Midwinter wrote:
> I have a question on use of the tilde symbol (~) to access the current
>
I use psycopg to talk to postgres via python. Was relatively
painless to setup. Take a look at
http://initd.org/projects/psycopg1
and make sure to follow the link the latest release, psycopg2.
Good luck!
Scott
On Mar 8, 2006, at 9:25 PM, Lee Hinde wrote:
> Hi all;
>
> I'm havin
It's also possible to launch the executable directly by typing this
is a terminal window:
/Applications/Safari.app/Contents/MacOS/Safari
For applications that want to talk back to you by printing info in
the shell window, this can be very useful. To avoid having to type &
retype t
back with any further
> questions you have.
>
> --Dethe
>
> On 3/6/06, Scott Frankel <[EMAIL PROTECTED]> wrote:
>>
>> Following the simple example app that Apple provides for PyObjC has
>> lead me to a number of questions ... and a failed build. The example
>&
Following the simple example app that Apple provides for PyObjC has
lead me to a number of questions ... and a failed build. The example
demonstrates using Xcode & InterfaceBuilder to build a simple app,
PyAverager. My attempts at a build yield "Build failed for target
"Development" erro
Got it. Thanks!
On Mar 3, 2006, at 12:15 PM, Bob Ippolito wrote:
>
> On Mar 3, 2006, at 12:02 PM, Scott Frankel wrote:
>
>>
>> Exploring the brave new world of Python GUIs with PyObjC and I'm
>> stymied at the download page. This doesn'
Exploring the brave new world of Python GUIs with PyObjC and I'm
stymied at the download page. This doesn't bode well ;)
Looking at http://pyobjc.sourceforge.net/software/, I've got download
choices for a number of Python & OSX versions. None match my setup:
Python 2.4.1
OS
Disclaimer: I'm not currently using X11, nor have I ever used Open
Office.
That said, the first thing that comes to mind is to check the
Finder's Info window on Open Office; look for the "Open with"
section. I dunno about applications, but files carry with them
application creator code
No more bad magic. Just bad memory. Forgot to comment-out an explicit
python path env var. Everything seems to be working now.
Thanks
Scott
On Sep 16, 2005, at 9:05 AM, Scott Frankel wrote:
>
> Still bad magic.
>
> Where should .pth files be placed for 3rd party modules to be
correspond to the path specified
in the .pth file.
This is on a system upgraded from 10.3 to 10.4 and python 2.3 to 2.4.1
yesterday. I've installed TigerPython24Fix and TigerPython23Compat.
Thanks in advance!
Scott
On Sep 15, 2005, at 5:27 PM, Scott Frankel wrote:
>
> Where do .pth
Where do .pth files go in python 2.4.1 running on osx 10.4.2?
My best guess (after a few not-so-good-ones) was:
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-
packages/
But my python is still looking in the wrong place for its newly
compiled modules.
Thanks in
I am just now, finally, able to upgrade osx & python to latest release
versions: 10.4.2 & 2.4.1, respectively). I've had half an eye on the
traffic on this list, so installation went well. 2.4.1 is humming
smoothly.
I'm running into the following error, though, when my scripts import my
own
I've just migrated a machine to Tiger and have a question about the
"official unofficial" mac version of python.2.4.1.
Why would /usr/bin/python still be linked to python2.3 after the
install?
I downloaded and installed MacPython 2.4.1 from undefined.org. I also
downloaded and installed both
32 matches
Mail list logo