Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#16265 closed defect (invalid)

py25-gtk @2.12.1_0+darwin_9 hangs on import

Reported by: phil@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: gtk pygtk py25-gtk python gramps Cc:
Port:

Description

I'm attempting to get gramps to run under MacPorts on my MBP running a fully-patched Leopard. I completely removed my MacPorts installation, installed a fresh one, and did a selfupdate. Running a 'sudo port install gramps' builds correctly, albeit with known bugs #13930 and #12875 along the way. When done, running gramps hangs. This can be traced to the "import gtk" command hanging in python2.5. Trying to import gtk also hangs the terminal session quite thoroughly (immune to ctrl-C), but the Python process can be killed from another session.

My complete list of packages installed is attached as a text file.

Attachments (1)

installed.txt (4.4 KB) - added by phil@… 16 years ago.
output of 'port installed'

Download all attachments as: .zip

Change History (8)

comment:1 Changed 16 years ago by blb@…

How long did you wait for the import? Here, with py25-gtk 2.12.1 installed, an 'import gtk' takes several seconds as it has to wait for X11 to launch (and X11 may want to do a font scan, which could take longer still).

Also, FYI, using 'port installed' is a better way of seeing what you have installed as it will show the version, active/inactive, and variants used.

Changed 16 years ago by phil@…

Attachment: installed.txt added

output of 'port installed'

comment:2 Changed 16 years ago by phil@…

I waited at least 15 minutes (I just left the terminal open while I was doing other stuff). CPU and disk activity was basically nil, and it looked very much like a deadlock situation.

Thanks for the tip on port installed. I'm re-attaching the resulting list, although I've added other packages since I submitted the bug. In any case, every package is active, and there are no inactive or unusual variants (as one would expect from a clean start).

comment:3 Changed 16 years ago by blb@…

I think 15 minutes is definitely more than enough time...what does

echo $DISPLAY

say? If it looks like /tmp/launch-3gPr9M/:0 then it should be okay, in which case, what happens if you first launch X11 then try the import gtk?

comment:4 Changed 16 years ago by phil@…

Embarrassingly, it was indeed my X11 process hanging. Restarting it solved the problem. Gramps now runs fine. I'm closing the ticket, and my apologies for the false alarm.

comment:5 Changed 16 years ago by phil@…

And I guess I can't close the ticket. Would someone please close it for me? Thanks, and again, my apologies.

comment:6 Changed 16 years ago by danielluke (Daniel J. Luke)

Resolution: invalid
Status: newclosed

comment:7 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.