[MacPorts] #35636: py27-pyqt4 @4.9.1_0 failures loading webkit plugins

MacPorts noreply at macports.org
Sun Aug 12 06:19:16 PDT 2012


#35636: py27-pyqt4 @4.9.1_0 failures loading webkit plugins
-------------------------------+--------------------------------------------
 Reporter:  dustin@…           |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Low                |   Milestone:                                       
Component:  ports              |     Version:  2.1.2                                
 Keywords:                     |        Port:  py27-pyqt4                           
-------------------------------+--------------------------------------------
 The following reduced Python script:
 {{{
 import sip
 sip.setapi('QVariant', 2)
 from PyQt4 import QtWebKit
 from PyQt4.QtNetwork import QNetworkRequest, QNetworkAccessManager
 from PyQt4.QtCore import QByteArray, QUrl
 from PyQt4.QtGui import QApplication

 app = QApplication(['test'])
 page = QtWebKit.QWebPage(app)
 main_frame = page.mainFrame()
 body = QByteArray()
 request = QNetworkRequest(QUrl("http://www.ywlcs.org"))

 main_frame.load(request, QNetworkAccessManager.GetOperation, body)
 while True:
     app.processEvents()
 }}}
 fails with
 {{{
 objc[32791]: Class WebCoreMovieObserver is implemented in both
 /opt/local/lib/libQtWebKit.4.dylib and
 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore.
 One of the two will be used. Which one is undefined.
 objc[32791]: Class WebCoreSharedBufferData is implemented in both
 /opt/local/lib/libQtWebKit.4.dylib and
 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore.
 One of the two will be used. Which one is undefined.
 objc[32791]: Class WebVideoFullscreenWindow is implemented in both
 /opt/local/lib/libQtWebKit.4.dylib and
 /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit. One of the
 two will be used. Which one is undefined.
 objc[32791]: Class WebVideoFullscreenController is implemented in both
 /opt/local/lib/libQtWebKit.4.dylib and
 /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit. One of the
 two will be used. Which one is undefined.
 objc[32791]: Class WebVideoFullscreenHUDWindowController is implemented in
 both /opt/local/lib/libQtWebKit.4.dylib and
 /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit. One of the
 two will be used. Which one is undefined.
 objc[32791]: Class WebVideoFullscreenHUDWindow is implemented in both
 /opt/local/lib/libQtWebKit.4.dylib and
 /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit. One of the
 two will be used. Which one is undefined.
 objc[32791]: Class WebWindowFadeAnimation is implemented in both
 /opt/local/lib/libQtWebKit.4.dylib and
 /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit. One of the
 two will be used. Which one is undefined.
 objc[32791]: Class WebWindowScaleAnimation is implemented in both
 /opt/local/lib/libQtWebKit.4.dylib and
 /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit. One of the
 two will be used. Which one is undefined.
 2012-08-12 09:17:52.130 python[32791:903] Error loading /Library/Internet
 Plug-Ins/npgtpo3dautoplugin.plugin/Contents/MacOS/npgtpo3dautoplugin:
 dlopen(/Library/Internet Plug-
 Ins/npgtpo3dautoplugin.plugin/Contents/MacOS/npgtpo3dautoplugin, 262): no
 suitable image found.  Did find:
         /Library/Internet Plug-
 Ins/npgtpo3dautoplugin.plugin/Contents/MacOS/npgtpo3dautoplugin: mach-o,
 but wrong architecture
 2012-08-12 09:17:52.147 python[32791:903] Error loading /Library/Internet
 Plug-Ins/Silverlight.plugin/Contents/MacOS/agcore:
 dlopen(/Library/Internet Plug-
 Ins/Silverlight.plugin/Contents/MacOS/agcore, 262): no suitable image
 found.  Did find:
         /Library/Internet Plug-
 Ins/Silverlight.plugin/Contents/MacOS/agcore: mach-o, but wrong
 architecture
 2012-08-12 09:17:52.159 python[32791:903] Error loading
 /Users/dustin/Library/Internet Plug-Ins/WebEx.plugin/Contents/MacOS/WebEx:
 dlopen(/Users/dustin/Library/Internet Plug-
 Ins/WebEx.plugin/Contents/MacOS/WebEx, 262): no suitable image found.  Did
 find:
         /Users/dustin/Library/Internet Plug-
 Ins/WebEx.plugin/Contents/MacOS/WebEx: mach-o, but wrong architecture
 2012-08-12 09:17:52.467 python[32791:903] Error loading /Library/Internet
 Plug-Ins/QuickTime Plugin.plugin/Contents/MacOS/QuickTime Plugin:
 dlopen(/Library/Internet Plug-Ins/QuickTime
 Plugin.plugin/Contents/MacOS/QuickTime Plugin, 265): no suitable image
 found.  Did find:
         /Library/Internet Plug-Ins/QuickTime
 Plugin.plugin/Contents/MacOS/QuickTime Plugin: no matching architecture in
 universal wrapper
 2012-08-12 09:17:52.470 python[32791:903] Error loading /Library/Internet
 Plug-
 Ins/googletalkbrowserplugin.plugin/Contents/MacOS/googletalkbrowserplugin:
 dlopen(/Library/Internet Plug-
 Ins/googletalkbrowserplugin.plugin/Contents/MacOS/googletalkbrowserplugin,
 262): no suitable image found.  Did find:
         /Library/Internet Plug-
 Ins/googletalkbrowserplugin.plugin/Contents/MacOS/googletalkbrowserplugin:
 mach-o, but wrong architecture
 plugin,NP_Initialize start
 plugin,NP_Initialize end
 plugin,NP_GetEntryPoints start
 Private_Initialize
 plugin,NP_GetEntryPoints end
 2012-08-12 09:17:52.611 python[32791:903] Error loading /Library/Internet
 Plug-Ins/iPhotoPhotocast.plugin/Contents/MacOS/iPhotoPhotocast:
 dlopen(/Library/Internet Plug-
 Ins/iPhotoPhotocast.plugin/Contents/MacOS/iPhotoPhotocast, 262): no
 suitable image found.  Did find:
         /Library/Internet Plug-
 Ins/iPhotoPhotocast.plugin/Contents/MacOS/iPhotoPhotocast: no matching
 architecture in universal wrapper
 2012-08-12 09:17:52.624 python[32791:903] Error loading
 /Users/dustin/Library/Internet Plug-Ins/Unity
 Player.plugin/Contents/MacOS/Unity Player:
 dlopen(/Users/dustin/Library/Internet Plug-Ins/Unity
 Player.plugin/Contents/MacOS/Unity Player, 262): no suitable image found.
 Did find:
         /Users/dustin/Library/Internet Plug-Ins/Unity
 Player.plugin/Contents/MacOS/Unity Player: no matching architecture in
 universal wrapper
 }}}

 It sounds like there are two problems: first, duplicate libs between
 MacPorts and OS X, and second, inability to load plugins.

 If I load a page that doesn't require plugins, it seems to work OK.

 This is on Snow Leopard.

-- 
Ticket URL: <https://trac.macports.org/ticket/35636>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list