Opened 9 years ago

Closed 7 years ago

#1330 closed Defect (Fixed)

ImportError: No module named objc

Reported by: lighty Owned by: timothy
Component: Colloquy (Mac) Version: 2.2 (Mac)
Severity: Normal Keywords:
Cc:

Description (last modified by timothy)

Can't load any python plugin, I get the following error:
ImportError?: No module named objc

I thought it was a problem with my mac, but when I tried in the terminal:

Nyx:~ lighty$ python
Python 2.5.1 (r251:54863, Apr 15 2008, 22:57:26) 
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import objc
>>>

Change History (6)

comment:1 Changed 9 years ago by timothy

  • Description modified (diff)

comment:2 Changed 9 years ago by timothy

  • Resolution set to invalid
  • Status changed from new to closed

You need to install PyObjC.

http://pyobjc.sourceforge.net/

comment:3 Changed 9 years ago by zach

  • Resolution invalid deleted
  • Severity changed from Major to Normal
  • Status changed from closed to reopened
  • Version changed from 2.1 (Mac) to 2.2 (Mac)

This still happens on Leopard (which ships with pyobjc installed)

comment:4 Changed 9 years ago by erikpearson

The PyObjC Sourceforge site (specifically http://pyobjc.sourceforge.net/downloads.html) says that the latest version of PyObjC is included in Leopard. Why does this need to be reinstalled?

comment:5 Changed 9 years ago by jezdez

  • milestone set to Colloquy 2.3

The patch attached to #1225 seems to fix that by weak linking the Python framework.

comment:6 Changed 7 years ago by zach

  • Resolution set to fixed
  • Status changed from reopened to closed

Colloquy requires 10.5 as of the nightlies, at which point PyObjC is standard.

Note: See TracTickets for help on using tickets.