#50287: qt5-qtwebengine @5.5.1: TypeError: argument of type 'NoneType' is not iterable --------------------------------+------------------------ Reporter: jianguohsiang82@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qt5-qtwebengine | --------------------------------+------------------------ Changes (by mcalhoun@…): * status: new => assigned Comment: In the file {{{ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5/qt5-qtwebengine/work /qtwebengine-opensource- src-5.5.1/src/3rdparty/chromium/tools/json_schema_compiler/../../ppapi/generators/idl_lexer.py }}} there is the code {{{ try: from ply import lex except: module_path, module_name = os.path.split(__file__) third_party = os.path.join(module_path, '..', '..', 'third_party') sys.path.append(third_party) from ply import lex }}} I did not have the port py27-ply installed, but you seem to.[[BR]] Even after installing py27-ply, I was not able to reproduced the error. There is a discrepancy, however, on the line numbers of the py27-ply file {{{ /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/ply/lex.py }}} Is it possible that you are using an old version of py27-ply (r142769)? Please look in {{{ /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/ply/lex.py }}} The {{{__version__}}} variable should say 3.8.[[BR]] Is that the case? -- Ticket URL: <https://trac.macports.org/ticket/50287#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X