Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception while trying to start dashboard on Ubuntu 17.10 #138

Closed
adamdriscoll opened this issue Nov 15, 2017 · 4 comments
Closed

Exception while trying to start dashboard on Ubuntu 17.10 #138

adamdriscoll opened this issue Nov 15, 2017 · 4 comments

Comments

@adamdriscoll
Copy link
Owner

No description provided.

@ArtisanByteCrafter
Copy link

Hey Adam, I'll move comments here for visibility:

This one is affecting me.

OS:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=17.10
DISTRIB_CODENAME=artful
DISTRIB_DESCRIPTION="Ubuntu 17.10"

Module Release

ModuleType    Version    Name                                                                                                                
-----------------     ----     ---------------                                                                                   
Script    1.0.282     UniversalDashboard                 

Logging Output

22:49:25 DashboardColor DashboardColor - color = Color [A=255, R=36, G=81, B=131]
22:49:25 DashboardColor DashboardColor - color = Color [A=255, R=255, G=255, B=255]
22:49:25 DashboardColor DashboardColor - color = Color [A=255, R=255, G=255, B=255]
22:49:25 DashboardColor DashboardColor - color = Color [A=255, R=0, G=0, B=0]
22:49:25 ColorExtensions rgba(36, 81, 131, 1)
22:49:25 ColorExtensions rgba(255, 255, 255, 1)
22:49:25 ColorExtensions rgba(255, 255, 255, 1)
22:49:25 ColorExtensions rgba(0, 0, 0, 1)
22:49:25 DashboardColor DashboardColor - color = Color [A=128, R=47, G=125, B=188]
22:49:25 DashboardColor DashboardColor - color = Color [A=255, R=47, G=125, B=188]
22:49:25 DashboardColor DashboardColor - color = Color [White]
22:49:25 DashboardColor DashboardColor - color = Color [Black]
22:49:25 ColorExtensions rgba(47, 125, 188, 1)
22:49:25 ColorExtensions rgba(47, 125, 188, 0.5019608)
22:49:25 ColorExtensions rgba(255, 255, 255, 1)
22:49:25 ColorExtensions rgba(0, 0, 0, 1)
22:49:25 NewMonitorCommand {"type":"Monitor","chartType":1,"labels":["Downloads per second"],"title":"Downloads per second","options":null,"live":true,"dataPointRetention":20,"chartBackgroundColor":"rgba(47, 125, 188, 0.5019608)","chartBorderColor":"rgba(47, 125, 188, 1)","backgroundColor":"rgba(255, 255, 255, 1)","fontColor":"rgba(0, 0, 0, 1)","borderWidth":1,"id":"6e83790c-f33b-4f00-922c-6eb7db7327d5","refreshInterval":1,"autoRefresh":true,"error":null}
22:49:25 NewDashboardCommand {"Title":"Charts","Theme":0,"NavBarColor":"rgba(36, 81, 131, 1)","NavBarFontColor":"rgba(255, 255, 255, 1)","BackgroundColor":"rgba(255, 255, 255, 1)","FontColor":"rgba(0, 0, 0, 1)","NavbarLinks":null,"Scripts":null,"Stylesheets":null,"Pages":[{"type":"page","name":"home","url":null,"icon":null,"components":[{"type":"Monitor","chartType":1,"labels":["Downloads per second"],"title":"Downloads per second","options":null,"live":true,"dataPointRetention":20,"chartBackgroundColor":"rgba(47, 125, 188, 0.5019608)","chartBorderColor":"rgba(47, 125, 188, 1)","backgroundColor":"rgba(255, 255, 255, 1)","fontColor":"rgba(0, 0, 0, 1)","borderWidth":1,"id":"6e83790c-f33b-4f00-922c-6eb7db7327d5","refreshInterval":1,"autoRefresh":true,"error":null}],"id":null,"refreshInterval":0,"autoRefresh":false,"error":null}],"CyclePages":false,"CyclePagesInterval":10,"Error":null,"Designer":false,"LoginPage":null}
22:49:25 StartDashboardCommand  - /home/artvandelay440/Documents/scripts/Powershell/UniversalDashboard/UDTestDashboard.ps1 - False
22:49:25 StartDashboardCommand {"Title":"Charts","Theme":0,"NavBarColor":"rgba(36, 81, 131, 1)","NavBarFontColor":"rgba(255, 255, 255, 1)","BackgroundColor":"rgba(255, 255, 255, 1)","FontColor":"rgba(0, 0, 0, 1)","NavbarLinks":null,"Scripts":null,"Stylesheets":null,"Pages":[{"type":"page","name":"home","url":null,"icon":null,"components":[{"type":"Monitor","chartType":1,"labels":["Downloads per second"],"title":"Downloads per second","options":null,"live":true,"dataPointRetention":20,"chartBackgroundColor":"rgba(47, 125, 188, 0.5019608)","chartBorderColor":"rgba(47, 125, 188, 1)","backgroundColor":"rgba(255, 255, 255, 1)","fontColor":"rgba(0, 0, 0, 1)","borderWidth":1,"id":"6e83790c-f33b-4f00-922c-6eb7db7327d5","refreshInterval":1,"autoRefresh":true,"error":null}],"id":null,"refreshInterval":0,"autoRefresh":false,"error":null}],"CyclePages":false,"CyclePagesInterval":10,"Error":null,"Designer":false,"LoginPage":null}
Start-UDDashboard : The given key was not present in the dictionary.
At /home/artvandelay440/Documents/scripts/Powershell/UniversalDashboard/UDTestDashboard.ps1:1 char:1
+ Start-UDDashboard -Content {
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Start-UDDashboard], KeyNotFoundException
    + FullyQualifiedErrorId : System.Collections.Generic.KeyNotFoundException,PowerShellProTools.UniversalDashboard.Cmdlets.StartDashboardCommand

@adamdriscoll adamdriscoll changed the title Exception while trying to start dashboard on Ubuntu Exception while trying to start dashboard on Ubuntu 17.10 Nov 15, 2017
@ArtisanByteCrafter
Copy link

Hey Adam,
I setup a clean install Ubuntu 16.04 LTS then performed this:

  • Install PSCore from official GitHub repo
  • Download and Extract UniversalDashboard v1.0.282 from GitHub Release,move to ~/.local/share/powershell/Modules and Import-Module UniversalDashboard
  • Open

Error received:

Start-UDDashboard : The content root '/home/test/.local/share/powershell/Modules/UniversalDashboard/netcoreapp2.0/..\client' does not exist.
Parameter name: contentRootPath
At /home/test/Downloads/Untitled-1.ps1:34 char:1
+ Start-UDDashboard -Dashboard $Dashboard -Port 8080
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Start-UDDashboard], ArgumentException
+ FullyQualifiedErrorId : System.ArgumentException,PowerShellProTools.UniversalDashboard.Cmdlets.StartDashboardCommand

I get the same thing on reverting back to v .281from the PowerShell Gallery as well. This is in a VMWare Workstation VM.

I have snapshots of my system if you need further help testing, and thanks again

Nate

@adamdriscoll
Copy link
Owner Author

Just confirmed this happens with RedHat as well.

@adamdriscoll
Copy link
Owner Author

Fixed in next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants