Corsinvest / cv4pve-pepper

Launching SPICE remote-viewer for Proxmox VE VDI client
https://www.corsinvest.it/cv4pve
GNU General Public License v3.0
98 stars 15 forks source link

errors via both password or api token #6

Closed Stewie3112 closed 3 years ago

Stewie3112 commented 3 years ago

Hi, when executing the following command on unubtu desktop 16.04:

./cv4pve-pepper --host=10.0.2.20 --username root@pam --password PWD --vmid 104 --viewer /usr/bin/remote-viewer

all I get is

================ EXCEPTION ================ Microsoft.CSharp.RuntimeBinder.RuntimeBinderException 'System.Dynamic.ExpandoObject' does not contain a definition for 'data' at CallSite.Target(Closure , CallSite , Object ) at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0) at Corsinvest.ProxmoxVE.Api.Extension.ResultExtension.ToEnumerable(Result result) at Corsinvest.ProxmoxVE.Api.Extension.VM.ClientExtension.GetVMs(PveClient client) at Corsinvest.ProxmoxVE.Api.Extension.VM.ClientExtension.GetVM(PveClient client, String idOrName) at Corsinvest.ProxmoxVE.Api.Extension.Helpers.SpiceHelper.CreateFileSpaceClient(PveClient client, String vmIdOrName, String fileName) at Corsinvest.ProxmoxVE.Pepper.Program.<>c__DisplayClass0_0.<Main>b__0() at McMaster.Extensions.CommandLineUtils.CommandLineApplication.<>c__DisplayClass144_0.<OnExecute>b__0(CancellationToken _) at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken) at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args) at Corsinvest.ProxmoxVE.Api.Shell.Helpers.ShellHelper.ExecuteConsoleApp(CommandLineApplication app, String[] args)

already tried with and without port after the host

Proxmox 6.2.4 cv4pve 1.3.1

any hint? Thanks Stefano