ebob9 / cloudgenix_serial_report Goto Github PK
View Code? Open in Web Editor NEWScript to generate a serial usage report for a CloudGenix Network.
License: MIT License
Script to generate a serial usage report for a CloudGenix Network.
License: MIT License
I was running the serial report via python and ran into this error
Building ID->Name lookup table.
Querying APIs.
Parsing Responses.
Building Reports.
Traceback (most recent call last):
File "C:\CloudGenix_Python\cloudgenix_serial_report-master\serial_report.py", line 5, in
cloudgenix_serial_report.go()
File "C:\CloudGenix_Python\cloudgenix_serial_report-master\cloudgenix_serial_report_init_.py", line 270, in go
generate(sdk, specify_filename=args["output"])
File "C:\CloudGenix_Python\cloudgenix_serial_report-master\cloudgenix_serial_report_init_.py", line 189, in generate
ws.column_dimensions[column].width = adjusted_width
File "C:\Users\moorets1\AppData\Local\Programs\Python\Python39\lib\site-packages\openpyxl\utils\bound_dictionary.py", line 25, in getitem
setattr(value, self.reference, key)
File "C:\Users\moorets1\AppData\Local\Programs\Python\Python39\lib\site-packages\openpyxl\descriptors\base.py", line 42, in set
raise TypeError('expected ' + str(self.expected_type))
TypeError: expected <class 'str'>
PS C:\CloudGenix_Python\cloudgenix_serial_report-master>
Building ID->Name lookup table.
Querying APIs.
Parsing Responses.
Building Reports.
Traceback (most recent call last):
File "./serial_report.py", line 5, in <module>
cloudgenix_serial_report.go()
File "/Users/mikekorenbaum/PycharmProjects/cloudgenix_serial_report/cloudgenix_serial_report/__init__.py", line 270, in go
generate(sdk, specify_filename=args["output"])
File "/Users/mikekorenbaum/PycharmProjects/cloudgenix_serial_report/cloudgenix_serial_report/__init__.py", line 189, in generate
ws.column_dimensions[column].width = adjusted_width
File "/Users/mikekorenbaum/venv/lib/python2.7/site-packages/openpyxl/utils/bound_dictionary.py", line 26, in __getitem__
setattr(value, self.reference, key)
File "/Users/mikekorenbaum/venv/lib/python2.7/site-packages/openpyxl/descriptors/base.py", line 44, in __set__
raise TypeError('expected ' + str(self.expected_type))
TypeError: expected <type 'basestring'>
Is seen when generating report.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.