Opened 10 months ago

Closed 10 months ago

Last modified 10 months 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 Changed 10 months ago by jef

Resolution: fixed
Status: newclosed

comment:2 Changed 10 months ago by andreaerdna

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 Changed 10 months ago by jef

Various other scripts fixed.

comment:4 Changed 10 months ago by andreaerdna

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 Changed 10 months ago by jef

python3-exifread also fixed.

Note: See TracTickets for help on using tickets.