Description
Hi,
I have a fresh install of Ubuntu 14, mono and kpm etc and I have downloaded the samples apps to test and when I run kpm restore I am getting the following exception.
mark@ubuntu:~/Home/samples/HelloWeb$ kpm restore
Restoring packages for /home/mark/Home/samples/HelloWeb/project.json
CACHE https://www.myget.org/F/aspnetvnext/api/v2/FindPackagesById()?Id='Kestrel'
CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='Kestrel'
CACHE https://www.nuget.org/api/v2/package/Kestrel/1.0.0-beta1
CACHE https://www.myget.org/F/aspnetvnext/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Diagnostics'
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Diagnostics'.
GET https://www.myget.org/F/aspnetvnext/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Hosting'.
CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Hosting'
GET https://www.myget.org/F/aspnetvnext/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Server.WebListener'.
CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Server.WebListener'
CACHE https://www.myget.org/F/aspnetvnext/api/v2/FindPackagesById()?Id='Microsoft.AspNet.StaticFiles'
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.StaticFiles'.
System.ArgumentException: (Internal)Expected an Exception or an IEnumerable
Parameter name: exceptionObject
at System.Threading.Tasks.TaskExceptionHolder.AddFaultException (System.Object exceptionObject) [0x00000] in :0
at System.Threading.Tasks.TaskExceptionHolder.Add (System.Object exceptionObject, Boolean representsCancellation) [0x00000] in :0
at System.Threading.Tasks.Task.AddException (System.Object exceptionObject, Boolean representsCancellation) [0x00000] in :0
at System.Threading.Tasks.Task.AddException (System.Object exceptionObject) [0x00000] in :0
at System.Threading.Tasks.Task1[TResult].TrySetException (System.Object exceptionObject) [0x00000] in <filename unknown>:0 at System.Threading.Tasks.Task+WhenAllPromise
1[T].Invoke (System.Threading.Tasks.Task ignored) [0x00000] in :0
at System.Threading.Tasks.Task+WhenAllPromise1[T]..ctor (System.Threading.Tasks.Task
1[] tasks) [0x00000] in :0
at System.Threading.Tasks.Task.InternalWhenAll[TResult](System.Threading.Tasks.Task1[] tasks) [0x00000] in <filename unknown>:0 at System.Threading.Tasks.Task.WhenAll[TResult](IEnumerable
1 tasks) [0x00000] in :0
at Microsoft.Framework.PackageManager.RestoreCommand+d__1.MoveNext () [0x00000] in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00000] in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00000] in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00000] in :0
at System.Runtime.CompilerServices.TaskAwaiter`1[System.Boolean].GetResult () [0x00000] in :0
at Microsoft.Framework.PackageManager.RestoreCommand+d__1.MoveNext () [0x00000] in :0
Restore failed
(Internal)Expected an Exception or an IEnumerable
Parameter name: exceptionObject
Version info
mark@ubuntu:/Home/samples/HelloWeb$ kpm --version/Home/samples/HelloWeb$ mono --version
1.0.0-beta2-10863
mark@ubuntu:
Mono JIT compiler version 3.99.0 (master/90e8672 Thu Feb 12 03:45:32 PST 2015)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
mark@ubuntu:~/Home/samples/HelloWeb$
Any ideas, I have search the web with no success.
Cheers
Mark