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

Cannot bind argument to parameter 'Rows' because it is an empty collection #13

Open
yakhatape opened this issue Feb 19, 2024 · 5 comments

Comments

@yakhatape
Copy link

Hi,

I wanna try your cool tools in my company but I got an error during the Built report :

WARNING: [ 16:38:40:725 ] [ Document ] - Cannot bind argument to parameter 'Rows' because it is an empty collection

the target CPPM version is : 6.11.0.250087 , have you already seen this error ?

best regards

@yakhatape
Copy link
Author

yakhatape commented Feb 19, 2024

some verbose :

VERBOSE: Config.Company.FullName =
VERBOSE: Config.Company.Contact =
VERBOSE: Config.Company.Phone =
VERBOSE: Config.Company.Email =
VERBOSE: Config.Company.ShortName =
VERBOSE: Config.Company.Address =
VERBOSE: Config.Email.Port =
VERBOSE: Config.Email.Credentials =
VERBOSE: Config.Email.Server =
VERBOSE: Config.Email.To =
VERBOSE: Config.Email.From =
VERBOSE: Config.Email.UseSSL =
VERBOSE: Config.Email.Body =
VERBOSE: Populating RepositorySourceLocation property for module AsBuiltReport.Aruba.ClearPass.
VERBOSE: Loading module from path
'C:\Users\X.X.X.X\Documents\WindowsPowerShell\Modules\AsBuiltReport.Aruba.ClearPass\0.1.1\AsBuiltReport.Aru
ba.ClearPass.psm1'.
VERBOSE: Loading report configuration file from path
'C:\Users\X.X.X.X\Documents\WindowsPowerShell\Modules\AsBuiltReport.Aruba.ClearPass\0.1.1\AsBuiltReport.Aru
ba.ClearPass.json'.
VERBOSE: Setting report filename to 'Aruba ClearPass As Built Report - 2024-02-19_16.47.10'.
VERBOSE: [ 16:47:10:572 ] [ Document ] - Document 'Aruba ClearPass As Built Report - 2024-02-19_16.47.10' processing
started.
VERBOSE: [ 16:47:10:620 ] [ Document ] - Executing report style script from path
'C:\Users\X.X.X.X\Documents\WindowsPowerShell\Modules\AsBuiltReport.Aruba.ClearPass\0.1.1\AsBuiltReport.Aru
ba.ClearPass.Style.ps1'.
VERBOSE: [ 16:47:10:634 ] [ Document ] - Setting global document options.
VERBOSE: [ 16:47:10:637 ] [ Document ] - Enabling section/heading numbering.
VERBOSE: [ 16:47:10:639 ] [ Document ] - Setting default font(s) to 'Arial'.
VERBOSE: [ 16:47:10:642 ] [ Document ] - Setting page top margin to '25,05'mm.
VERBOSE: [ 16:47:10:645 ] [ Document ] - Setting page right margin to '25,05'mm.
VERBOSE: [ 16:47:10:647 ] [ Document ] - Setting page bottom margin to '25,05'mm.
VERBOSE: [ 16:47:10:650 ] [ Document ] - Setting page left margin to '25,05'mm.
VERBOSE: [ 16:47:10:653 ] [ Document ] - Setting page size to 'A4'.
VERBOSE: [ 16:47:10:655 ] [ Document ] - Setting page orientation to 'Portrait'.
VERBOSE: [ 16:47:10:659 ] [ Document ] - Setting page height to '297'mm.
VERBOSE: [ 16:47:10:662 ] [ Document ] - Setting page width to '210'mm.
VERBOSE: [ 16:47:10:664 ] [ Document ] - Setting document style 'Title'.
VERBOSE: [ 16:47:10:668 ] [ Document ] - Setting document style 'Title2'.
VERBOSE: [ 16:47:10:671 ] [ Document ] - Setting document style 'Title3'.
VERBOSE: [ 16:47:10:674 ] [ Document ] - Setting document style 'Heading1'.
VERBOSE: [ 16:47:10:678 ] [ Document ] - Setting document style 'Heading2'.
VERBOSE: [ 16:47:10:681 ] [ Document ] - Setting document style 'Heading3'.
VERBOSE: [ 16:47:10:684 ] [ Document ] - Setting document style 'Heading4'.
VERBOSE: [ 16:47:10:687 ] [ Document ] - Setting document style 'Heading5'.
VERBOSE: [ 16:47:10:692 ] [ Document ] - Setting document style 'Normal'.
VERBOSE: [ 16:47:10:695 ] [ Document ] - Setting document style 'Caption'.
VERBOSE: [ 16:47:10:699 ] [ Document ] - Setting document style 'Header'.
VERBOSE: [ 16:47:10:703 ] [ Document ] - Setting document style 'Footer'.
VERBOSE: [ 16:47:10:706 ] [ Document ] - Setting document style 'TOC'.
VERBOSE: [ 16:47:10:711 ] [ Document ] - Setting document style 'TableDefaultHeading'.
VERBOSE: [ 16:47:10:715 ] [ Document ] - Setting document style 'TableDefaultRow'.
VERBOSE: [ 16:47:10:722 ] [ Document ] - Setting document style 'Critical'.
VERBOSE: [ 16:47:10:727 ] [ Document ] - Setting document style 'Warning'.
VERBOSE: [ 16:47:10:732 ] [ Document ] - Setting document style 'Info'.
VERBOSE: [ 16:47:10:737 ] [ Document ] - Setting document style 'OK'.
VERBOSE: [ 16:47:10:743 ] [ Document ] - Setting table style 'TableDefault'.
VERBOSE: [ 16:47:10:747 ] [ Document ] - Setting table style 'Borderless'.
VERBOSE: [ 16:47:10:754 ] [ Document ] - Processing document header started.
VERBOSE: [ 16:47:10:758 ] [ Document ] - Processing paragraph 'Aruba ClearPass As Built Report - v1.0'.
VERBOSE: [ 16:47:10:762 ] [ Document ] - Processing document header completed.
VERBOSE: [ 16:47:10:765 ] [ Document ] - Processing document footer started.
VERBOSE: [ 16:47:10:768 ] [ Document ] - Processing paragraph 'Page <!# PageNumber #!>'.
VERBOSE: [ 16:47:10:772 ] [ Document ] - Processing document footer completed.
VERBOSE: [ 16:47:10:775 ] [ Document ] - Processing blank line.
VERBOSE: [ 16:47:10:778 ] [ Document ] - Processing image 'AsBuiltReport Logo'.
VERBOSE: [ 16:47:10:785 ] [ Document ] - Processing blank line.
VERBOSE: [ 16:47:10:788 ] [ Document ] - Processing paragraph 'Aruba ClearPass As Built Report'.
VERBOSE: [ 16:47:10:792 ] [ Document ] - Processing blank line.
VERBOSE: [ 16:47:10:795 ] [ Document ] - Processing table 'Cover Page'.
VERBOSE: [ 16:47:10:799 ] [ Document ] - Processing page break.
VERBOSE: [ 16:47:10:801 ] [ Document ] - Processing table of contents 'Table of Contents'.
VERBOSE: [ 16:47:10:804 ] [ Document ] - Processing page break.
VERBOSE: [ 16:47:10:807 ] [  Module  ] - Please refer to the AsBuiltReport.Aruba.ClearPass GitHub website for more
detailed information about this project.
VERBOSE: [ 16:47:10:811 ] [  Module  ] - Do not forget to update your report configuration file after each new version
release: https://www.asbuiltreport.com/user-guide/new-asbuiltreportconfig/
VERBOSE: [ 16:47:10:814 ] [  Module  ] - Documentation: https://github.com/AsBuiltReport/AsBuiltReport.Aruba.ClearPass
VERBOSE: [ 16:47:10:816 ] [  Module  ] - Issues or bug reporting:
https://github.com/AsBuiltReport/AsBuiltReport.Aruba.ClearPass/issues
VERBOSE: [ 16:47:10:866 ] [  Module  ] - AsBuiltReport.Aruba.ClearPass 0.1.1 is currently installed.
VERBOSE: [ 16:47:11:530 ] [ Document ] - Connect to X.X.X.X : X.X.X.X
VERBOSE: [ 16:47:11:533 ] [ Document ] - Processing section 'Implementation Report X.X.X.X' started.
VERBOSE: [ 16:47:11:536 ] [ Document ] - Processing paragraph 'The following section provides a sum[..]'.
VERBOSE: [ 16:47:11:540 ] [ Document ] - Processing blank line.
VERBOSE: [ 16:47:11:544 ] [ Document ] - Discovering System settings information from X.X.X.X.
VERBOSE: [ 16:47:11:692 ] [ Document ] - Processing section 'Version' started.
VERBOSE: [ 16:47:11:696 ] [ Document ] - Processing paragraph 'The following section details Versio[..]'.
VERBOSE: [ 16:47:11:700 ] [ Document ] - Processing blank line.
VERBOSE: [ 16:47:11:703 ] [ Document ] - Processing table 'Version'.
VERBOSE: [ 16:47:11:708 ] [ Document ] - Processing paragraph 'The following section details Patche[..]'.
VERBOSE: [ 16:47:11:711 ] [ Document ] - Processing blank line.
VERBOSE: [ 16:47:11:715 ] [ Document ] - Processing table 'Patches'.
WARNING: [ 16:47:11:721 ] [ Document ] - Cannot bind argument to parameter 'Rows' because it is an empty collection.
VERBOSE: [ 16:47:11:728 ] [ Document ] - Document 'Aruba ClearPass As Built Report - 2024-02-19_16.47.10' processing
completed.
VERBOSE: [ 16:47:11:732 ] [ Document ] - Total processing time '1,16' seconds.

@alagoutte
Copy link
Collaborator

Hi,

it is "known" issue because your ClearPass don't have yet patch, it will be fixed on next release (with #11)

@yakhatape
Copy link
Author

Oh my bad ! Thanks for your feeback ! 👍

@yakhatape
Copy link
Author

Do you know if its possible to generate documentation without the Patches Part which look like the part causing the crash ? maybe we can comment a part of the code temporarly ?

@alagoutte
Copy link
Collaborator

Bonjour,

yes, you can ! You can look the fix on #10

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

No branches or pull requests

2 participants