Windows PS tar cannot extract cuegui
Describe the bug Running tar -xzf cuegui-xxx-.tar.gz fails to extract two files from the archive.
To Reproduce Steps to reproduce the behavior:
- Open a powershell terminal
- Run 'tar -xzf cuegui-0.3.43-all.tar.gz'
- Error -> The two files below fail to extract, all others succeed.
cuegui-0.3.43-all/cuegui/images/crystal/icons.qrc: Can't create '\\?\C:\Users\abc\Downloads\cuegui-0.3.43-all\cuegui\images\crystal\icons.qrc' cuegui-0.3.43-all/cuegui/images/bluecurve/icons.qrc: Can't create '\\?\C:\Users\abc\Downloads\cuegui-0.3.43-all\cuegui\images\bluecurve\icons.qrc' tar.exe: Error exit delayed from previous errors.
Expected behavior All files should extract on Windows. Linux works fine.
Version Number Various
@smith1511
It is happening because .qrc files are symbolic links which can be extracted only if you have administrative privilege.
I have tried with extracting it with 7z and WinRAR after running it as administrator. I am searching for some solutions using tar command and will update this issue thread ASAP.
@aman-roy Thank you! Let us know if you find anything.
Any update or workaround on this issue? It also occurs in a powershell terminal with administrative privileges.
im bumping this @bcipriano @RickShahid @aman-roy @smith1511
ive made a batch script for it, you can try it but still errors using tar command but using winrar i dont get any tar errors
@echo off
mkdir c:\opencue
mkdir c:\opencue\logs
cd c:\opencue
curl -OL https://github.com/AcademySoftwareFoundation/OpenCue/releases/download/v1.0.0/cueadmin-1.0.0-all.tar.gz
curl -OL https://github.com/AcademySoftwareFoundation/OpenCue/releases/download/v1.0.0/cuegui-1.0.0-all.tar.gz
curl -OL https://github.com/AcademySoftwareFoundation/OpenCue/releases/download/v1.0.0/cuesubmit-1.0.0-all.tar.gz
curl -OL https://github.com/AcademySoftwareFoundation/OpenCue/releases/download/v1.0.0/pycue-1.0.0-all.tar.gz
curl -OL https://github.com/AcademySoftwareFoundation/OpenCue/releases/download/v1.0.0/pyoutline-1.0.0-all.tar.gz
curl -OL https://github.com/AcademySoftwareFoundation/OpenCue/releases/download/v1.0.0/rqd-1.0.0-all.tar.gz
dir /a-d /b | FINDSTR /V files.txt > files.txt
for /F %%h in (files.txt) do tar -xvzf %%h
python -m venv venv
dir /ad /b | FINDSTR /V venv | FINDSTR /V logs > dirs.txt
for /F %%d in (dirs.txt) do cd c:\opencue\%%d & c:\opencue\venv\Scripts\activate & pip install -r c:\opencue\%%d\requirements.txt -r c:\opencue\%%d\requirements_gui.txt& python setup.py install
ok seems to have done it if i run cmd as admin as im seeing no errors