fsprojects / fsprojects/Paket

Paket magic mode fails on Travis-CI with Win32Exception

Open
#2,588 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

boostrapper crash paket runtime: .net framework/mono
Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

Description

https://travis-ci.org/sideeffffect/FSharpx.Collections/builds/261426969

$ ./build.sh All
Running paket failed with: System.ComponentModel.Win32Exception: ApplicationName='/tmp/paket_F9967CACF72243EFF862145CF0582A9916D34B1C786AAE38D5C4CD10F307A27F.exe', CommandLine='--from-bootstrapper restore', CurrentDirectory='', Native error= Cannot find the specified file
  at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0 
  at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0 
  at System.Diagnostics.Process.Start () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()
  at Paket.Bootstrapper.PaketRunner.Run (System.String program, IEnumerable`1 arguments) [0x00000] in <filename unknown>:0 
  at Paket.Bootstrapper.Program.OnSuccessfulDownload (Paket.Bootstrapper.BootstrapperOptions options) [0x00000] in <filename unknown>:0 
Cannot open assembly 'packages/FAKE/tools/FAKE.exe': No such file or directory.
Repro steps

run Travis-CI of e.g. FSharpx.Collections

Expected behavior

Paket should restore packages

Actual behavior

but instead it crashes

Known workarounds

use paket.bootstrapper.exe (see https://github.com/fsprojects/FSharpx.Collections/pull/78)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure through build.sh All on Travis-CI, using the FSharpx.Collections example and the reported paket magic mode path. Compare that behavior with the paket.bootstrapper.exe workaround and verify that the fix restores packages so packages/FAKE/tools/FAKE.exe can be opened.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
ci-cd, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.