[MacPorts] #58666: py36-pyside2 - problem with pyside2-rcc

MacPorts noreply at macports.org
Mon Jul 1 03:27:07 UTC 2019


#58666: py36-pyside2 - problem with pyside2-rcc
---------------------+--------------------------
 Reporter:  cainesi  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.5.4
 Keywords:           |       Port:  py36-pyside2
---------------------+--------------------------
 "pyside2-rcc-3.6" script does not execute correctly.

 The script is correctly installed in /opt/local/bin, but when run it does
 not correctly find the pyside2-rcc script in
 /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
 /site-packages/PySide2/scripts/, instead it appears to be looking for
 pyside2-rcc-3.6 in that location.

 Example error when pyside2-rcc-3.6 command is run:

 Traceback (most recent call last):

   File "/opt/local/bin/pyside2-rcc-3.6", line 11, in <module>
     load_entry_point('PySide2==5.12.3', 'console_scripts',
 'pyside2-rcc')()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
 /site-packages/PySide2/scripts/pyside_tool.py", line 50, in main
     sys.exit(subprocess.call(command))
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py",
 line 287, in call
     with Popen(*popenargs, **kwargs) as p:
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py",
 line 729, in __init__
     restore_signals, start_new_session)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py",
 line 1364, in _execute_child
     raise child_exception_type(errno_num, err_msg, err_filename)
 FileNotFoundError: [Errno 2] No such file or directory:
 '/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
 /site-packages/PySide2/scripts/../pyside2-rcc-3.6':
 '/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
 /site-packages/PySide2/scripts/../pyside2-rcc-3.6'

-- 
Ticket URL: <https://trac.macports.org/ticket/58666>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list