Opened 15 years ago

Closed 15 years ago

#24034 closed defect (invalid)

Import problem with gtk and pygtk after installing sucessfully py26-gtk and python26 +no_x11 +quartz

Reported by: lawrence.bandeira@… Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: py26-gtk

Description (last modified by mf2k (Frank Schima))

I have installed sucessfully the python26 and py25-gtk after the patch applied (ticket #20799). Everything is working perfectly but I can't import gtk and pygtk.

How can I solve this issue?

Attachments (1)

tk-858-decarbon.patch (1.0 KB) - added by lawrence.bandeira@… 15 years ago.
Patch that I applied !!!

Download all attachments as: .zip

Change History (7)

Changed 15 years ago by lawrence.bandeira@…

Attachment: tk-858-decarbon.patch added

Patch that I applied !!!

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)

I assume you meant py26-gtk not py25-gtk?

What is the output of the following?

port installed py26-gtk python26

and

which python

It works for me. Please post the error output.

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to mcalhoun@…
Port: py26-gtk added

And also post the output of:

port installed tk

comment:3 Changed 15 years ago by lawrence.bandeira@…

The following ports are currently installed:
  py26-gtk @2.16.0_0 (active)
  python26 @2.6.4_0+darwin (active)
/Library/Frameworks/Python.framework/Versions/2.6/bin/python
The following ports are currently installed:
  tk @8.5.8_0+darwin+quartz (active)

comment:4 Changed 15 years ago by mf2k (Frank Schima)

You may be using the system python instead of Macports python. Try the following:

sudo port install python_select
sudo python_select python26

If this still does not work, post the error you are seeing.

comment:5 Changed 15 years ago by lawrence.bandeira@…

Everythin is working fine right now, but Pango is working weird. Do you know anything about this?

PangoWarning: shaping failure, expect ugly output. shape-engine='BasicEngineFc', font='Lucida Grande Medium 12', text='15'

comment:6 Changed 15 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

I suggest you post on the macports-users list.

Note: See TracTickets for help on using tickets.