[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] missing python package - SOLVED
From: |
Ed Criscuolo |
Subject: |
Re: [Discuss-gnuradio] missing python package - SOLVED |
Date: |
Thu, 20 Dec 2007 13:57:56 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 |
Michael,
What I found was that, for some unknown reason, some of the
packages that got recompiled as a result of doing
"sudo port upgrade py-gtk2" ended up in
/opt/local/lib/python2.3/site-packages/ instead of in
/opt/local/lib/python2.4/site-packages/! This included
cairo, gtk2.0, and pygtk.
In addition, executing "pythonw -V" now invoked pythonw2.3
instead of pythonw2.4. On the other hand, "python -V" invoked
python2.4 as it should.
For the time being, I got things to work by copying the packages
to python2.4/site-packages, and linking /usr/bin/pythonw to
/opt/local/Library/Frameworks/Python.framework/Versions/2.4/bin/pythonw2.4
Things are working again now. Unfortunately, the problem I was trying
to fix with the upgrade is still there. About 20% of the time,
a flowgraph being run under GRC does not exit cleanly, and crashes
GRC with a GTK error:
/Users/edwardc/Work/gnu_radio/grc_0.69/src/ActionHandler.py:67:
GtkWarning: Invalid text buffer iterator: either the iterator is
uninitialized, or the characters/pixbufs/widgets in the buffer have been
modified since the iterator was created.
You must use marks, character numbers, or line numbers to preserve a
position across buffer modifications.
You can apply tags and insert marks without invalidating your iterators,
but any mutation that affects 'indexable' buffer contents (contents that
can be referred to by character offset)
will invalidate all outstanding iterators
gtk.main()
Bus error
@(^.^)@ Ed