Bug 379723 - install_craft.ps1 fails to install craft
Summary: install_craft.ps1 fails to install craft
Status: RESOLVED WORKSFORME
Alias: None
Product: Craft
Classification: Developer tools
Component: Core (show other bugs)
Version: master
Platform: Microsoft Windows Microsoft Windows
: NOR grave
Target Milestone: ---
Assignee: Hannah von Reth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-11 12:17 UTC by Michael Drüing
Modified: 2022-11-07 19:16 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
log files (15.21 KB, text/plain)
2017-05-11 12:18 UTC, Michael Drüing
Details
a second log file (11.69 KB, text/plain)
2017-05-11 12:19 UTC, Michael Drüing
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Drüing 2017-05-11 12:17:05 UTC
I donwloaded https://raw.githubusercontent.com/KDE/craft/master/setup/install_craft.ps1 and ran it in PowerShell 5.1 in Windows 10 Pro

It asked where to install KDE (I chose D:\KDE) and some other things, and at the end it shows:

Setup complete
Please run D:\KDE/craft/kdeenv.ps1

However, the directory D:\KDE\craft does not exist. There is some text output before the message but it scrolls by so fast and at the end the screen gets cleared so I cannot scroll up.

During installation I can see it downloading Python, craft, and various other files, and for a short time the directories D:\KDE\craft and d:\kde\craft-master exist, however, they are removed right before the script finishes.

I tried with both 32 and 64 bit Python, and in case it matters I'm trying to build with MSVC (already installed) instead of MinGW
Comment 1 Michael Drüing 2017-05-11 12:18:51 UTC
Created attachment 105442 [details]
log files

I found the log files. It seems that craft has some issues downloading 7zip or wget
Comment 2 Michael Drüing 2017-05-11 12:19:31 UTC
Created attachment 105443 [details]
a second log file
Comment 3 Hannah von Reth 2017-05-11 12:54:04 UTC
For some reason it fails to find 7za.
But the log states it was placed in K:\dev-utils\bin.
I'll try to reproduce it on a vm.
Comment 4 Michael Drüing 2017-05-11 13:04:10 UTC
This is everything on K:\ (or d:\kde) after the script has run:

K:\>dir /b/s
K:\download
K:\etc
K:\python
K:\download\craft.zip
K:\download\CraftBootstrap.py
K:\download\git
K:\download\python-3.6.0-embed-amd64.zip
K:\etc\kdesettings.ini
K:\etc\portage
K:\etc\portage\install.db
K:\python\pyexpat.pyd
K:\python\python.exe
K:\python\python3.dll
K:\python\python36.dll
K:\python\python36.zip
K:\python\pythonw.exe
K:\python\select.pyd
K:\python\sqlite3.dll
K:\python\unicodedata.pyd
K:\python\vcruntime140.dll
K:\python\winsound.pyd
K:\python\_asyncio.pyd
K:\python\_bz2.pyd
K:\python\_ctypes.pyd
K:\python\_decimal.pyd
K:\python\_elementtree.pyd
K:\python\_hashlib.pyd
K:\python\_lzma.pyd
K:\python\_msi.pyd
K:\python\_multiprocessing.pyd
K:\python\_overlapped.pyd
K:\python\_socket.pyd
K:\python\_sqlite3.pyd
K:\python\_ssl.pyd
Comment 5 Hannah von Reth 2017-05-11 13:26:20 UTC
Here is what I get
2017-05-11 15:22:24,629 DEBUG checking digest of: 7z1604-extra.7z
2017-05-11 15:22:24,634 DEBUG unpacking this file: 7z1604-extra.7z
2017-05-11 15:22:24,635 DEBUG Adding K:\dev-utils\bin\7za.EXE to app cache
Is K: a substituted directory, as it should be?
You can list all substituted directories by calling "cmd /C subs".
To unsubstitute a directory call "cmd /C subs /D K:"
Comment 6 Michael Drüing 2017-05-11 15:01:06 UTC
yes, K: is substituted:


K:\>subst
K:\: => D:\KDE
Q:\: => D:\KDE\download\git
Comment 7 Justin Zobel 2022-11-06 09:25:36 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 8 Michael Drüing 2022-11-07 19:14:48 UTC
No, I'm pretty sure the issue doesn't occur anymore. I have built (parts of) KDE successfully since then

You can close this ticket