[MacPorts] #35793: webkit-gtk @1.8.2_2 +quartz +video "ImportError: No module named simplejson"
#35793: webkit-gtk @1.8.2_2 +quartz +video "ImportError: No module named simplejson" -------------------------------+-------------------------------------------- Reporter: sasoph@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: webkit-gtk -------------------------------+-------------------------------------------- 10.5.8 PPC, Xcode 3.1.4 {{{ Traceback (most recent call last): File "./Source/WebCore/inspector/CodeGeneratorInspector.py", line 38, in <module> import simplejson as json ImportError: No module named simplejson make: *** [DerivedSources/WebCore/InspectorBackendDispatcher.cpp] Error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/35793> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35793: webkit-gtk @1.8.2_2 +quartz +video "ImportError: No module named simplejson" -------------------------------+-------------------------------------------- Reporter: sasoph@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: webkit-gtk -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => jeremyhu@… -- Ticket URL: <https://trac.macports.org/ticket/35793#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35793: webkit-gtk @1.8.2_2 +quartz +video "ImportError: No module named simplejson" -------------------------------+-------------------------------------------- Reporter: sasoph@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: webkit-gtk -------------------------------+-------------------------------------------- Comment(by jeremyhu@…): It is using simplejson if json fails to import: {{{ try: import json except ImportError: import simplejson as json }}} ... perhaps we need to force it to use /usr/bin/python when building... -- Ticket URL: <https://trac.macports.org/ticket/35793#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35793: webkit-gtk @1.8.2_2 +quartz +video "ImportError: No module named simplejson" -------------------------------+-------------------------------------------- Reporter: sasoph@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: webkit-gtk -------------------------------+-------------------------------------------- Changes (by jeremyhu@…): * status: new => assigned Comment: Please try this patch: {{{ Index: Portfile =================================================================== --- Portfile (revision 96967) +++ Portfile (working copy) @@ -52,6 +52,10 @@ quartz.patch \ bison-2.6.patch +# https://trac.macports.org/ticket/35793 +configure.env-append \ + PYTHON=/usr/bin/python + configure.args \ --with-gtk=2.0 \ --disable-introspection \ }}} -- Ticket URL: <https://trac.macports.org/ticket/35793#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35793: webkit-gtk @1.8.2_2 +quartz +video "ImportError: No module named simplejson" -------------------------------+-------------------------------------------- Reporter: sasoph@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: webkit-gtk -------------------------------+-------------------------------------------- Comment(by sasoph@…): The patch gives the very same error. How do I incant the json/simplejson import code block? Does "port select python" have any bearing on the error? {{{ Available versions for python: none (active) python25-apple python27 }}} {{{ $ ls -l $(which python) lrwxr-xr-x 1 root wheel 72 Jan 17 2009 /usr/bin/python -> ../../System/Library/Frameworks/Python.framework/Versions/2.5/bin/python }}} -- Ticket URL: <https://trac.macports.org/ticket/35793#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35793: webkit-gtk @1.8.2_2 +quartz +video "ImportError: No module named simplejson" -------------------------------+-------------------------------------------- Reporter: sasoph@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: webkit-gtk -------------------------------+-------------------------------------------- Comment(by jeremyhu@…): Ah, I see... it's an issue with Leopard's python not having json. We'll need to build with MacPorts' python on Leopard. -- Ticket URL: <https://trac.macports.org/ticket/35793#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35793: webkit-gtk @1.8.2_2 +quartz +video "ImportError: No module named simplejson" --------------------------------+------------------------------------------- Reporter: sasoph@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: webkit-gtk | --------------------------------+------------------------------------------- Changes (by jeremyhu@…): * status: assigned => closed * resolution: => fixed Comment: r97344 -- Ticket URL: <https://trac.macports.org/ticket/35793#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts