`paket.exe restore` hangs after (successfully) finishing its job
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- fsharp
- Domain
- cli
Research direction
Start by reproducing paket.exe restore on Windows 11 with Paket 7.2.1, using both the provided build.cmd context and a direct shell invocation. Review the attached console and Process Monitor screenshots, focusing on the point after CloseFile(). Done means the restore completes and paket.exe returns control to the calling shell without requiring the process to be killed.
Written by the indexing model from the issue text.
Description
Hey,
posted this already in https://github.com/fsprojects/Paket/issues/3412 but it seems this has no effect, since that Issue is rather old. So i decided to open a new issue.
We have somewhat same problem here, as in https://github.com/fsprojects/Paket/issues/3412 issue. All stuff is done and paket.exe restore simply not returns. But there seems to be no activity.
I attached 2 screenshots here:
- Console output of our
build.cmdscript (a simple batch file startingpaket.exe restore)
--> Screenshot1: ConsoleOutput.png - Sysinternals Process Monitor Screenshot of
paket.exeprocess
--> Screenshot2: ProcessMonitor.png
After the CloseFile() (Screenshot2) nothing happens, but paket.exe in our script not returns (Screenshot1).
Additional informations:
- It doesn´t matter if
paket.exeis started fromcmd.exe,PowerShell, or the newWindows Terminal. - It doesn´t matter if
paket.exe restoreneeds to restore or not (in Screenshot1 all packages were up2date).
Used environment:
- Output of
paket.exe --version: Paket version 7.2.1+8e4eb74b42fbd45f39f7afce9184c16ebb65f16c - Windows 11 Pro Version 22H2 Build 22621.1848
- Visual Studio 2022 Version 17.6.3 (but doesn´t matter here)
We are a big company (but using my personal GitHub account here), developing and maintaining 1 giant .NET enterprise software product and we use paket.exe since years now. And this is a non-critical (but annoying) problem we have, since quite a while. The paket.exe restore does what it should (restore packages) and all is fine. The paket.exe simply not returns. We "fixed"it, by using a self-written tool, that scans for a paket.exe process and, if found, kills the process, so our script can continue then. But that´s more of a band aid patch than a solution. 😉
Any help is very appreciated!
Best regards
- Dominant language
- F#
- Stars
- 2.1k
- Forks
- 528
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 54
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from fsprojects/Paket
-
agentic-workflows automation repo-assist
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
fsprojects/Paket#4411 ·
-
agentic-workflows automation repo-assist
Difficulty 1/5 Under an hour Newbie friendliness 82/100
fsprojects/Paket#4400 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
fsprojects/Paket#4255 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
fsprojects/Paket#2321 · 3 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
fsprojects/Paket#4428 ·
All issues in fsprojects/Paket
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AvengeMedia/DankMaterialShell#3523 ·
-
comp/cli comp/cron P3 type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
NousResearch/hermes-agent#117433 · 2 comments ·