Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#674 closed defect (fixed)

pyrcc5 not working

Reported by: jelstner Owned by: osgeo4w-dev@…
Priority: major Component: Package
Version: Keywords:
Cc:

Description

Since the update to QGIS 3.18 and new OSGEo4w repo, my pyrcc5 doesn't work anymore: Using the OSGeo4w console, I get the following error starting the program:

C:\OSGeo4W64>pyrcc5
Fatal error in launcher: Unable to create process using '"d:\src\osgeo4w\src\pycc8e~1\osgeo4w\osgeo4w\bin\python3.exe"  "C:\OSGEO4~2\apps\Python39\Scripts\pyrcc5.exe" ': Das System kann die angegebene Datei nicht finden.

The first of the two file paths mentioned in the error message doesn't exist on my system (no drive d:\) - I suppose that this is some leftover from the build or debug environment?

Change History (5)

comment:1 by jef, 3 years ago

Resolution: fixed
Status: newclosed

comment:2 by andreaerdna, 3 years ago

Besides of python3-pyqt5 and the other packages (numpy, wxpython, chardet, pygments, future, coverage, nose2, sip) already fixed by you,

the following packages (among the ones included in the standalone installer) also need to be patched:

python3-xlrd (runxlrd.py)

python3-exifread (EXIF.py)

which have the same problem: the py file begins with

#!D:\src\osgeo4w\src\PY4F73~1\osgeo4w\osgeo4w\bin\python3.exe and #!D:\src\osgeo4w\src\PYE7DB~1\osgeo4w\osgeo4w\bin\python3.exe

respectively.

comment:3 by jef, 3 years ago

Various other scripts fixed.

comment:4 by andreaerdna, 3 years ago

Thanks! Anyway it seems that python3-exifread is not yet fixed: python3-exifread-2.3.2-2 still ships EXIF.py (in apps\Python39\Scripts) that contains #!D:\src\osgeo4w\src\PYE7DB~1\osgeo4w\osgeo4w\bin\python3.exe

python3-xlrd results fixed instead.

comment:5 by jef, 3 years ago

python3-exifread also fixed.

Note: See TracTickets for help on using tickets.