Closed lnlyssg closed 1 year ago
I think 0.6.1 solves that (and more)
Can you try if that version fixes it?
also: you're actually running pyracf on USS in z/OS? Or do you use miniconda on the Linux box too?
Hmmm, I get a different error after the update (I'm running this on my Mac):
Traceback (most recent call last):
File "/x/x/test2.py", line 7, in <module>
mysys.xls('/x/x/my.xlsx')
File "/x/x/opt/miniconda3/lib/python3.9/site-packages/pyracf/__init__.py", line 663, in xls
writer.save()
AttributeError: 'XlsxWriter' object has no attribute 'save'
>>> r = RACF(irrdbu00='IRRDBU-MACDEV')
>>> r.parse()
True
>>> r.status
{'status': 'Ready', 'input-lines': 4987, 'lines-read': 4987, 'lines-parsed': 4269, 'lines-per-second': 21536, 'parse-time': 0.231557}
>>> r.xls()
/home/henri/pyracf/lib/python3.8/site-packages/pyracf/__init__.py:663: FutureWarning: save is not part of the public API, usage can give unexpected results and will be removed in a future version
writer.save()
I see! Looks like I'm having an older version of xlsxWriter?
henri@themachine:~/pyracf$ pip freeze | grep Xls
XlsxWriter==3.0.3
Investigating!
If only all errors/bug were this easily fixed :)
crafting a 0.6.2 to amend that...
https://github.com/wizardofzos/pyracf/commit/4ebcd18d603cad553ca4f8a467a732881ac1b657
Should fix that.... available via pip install at PyPi now too (0.6.2)
let me know, then I'll close this issue :)
THANKS
All working now!
Cool. Leaving closed then :)
(also merged you README example fixes....thanks!)
Using this code:
I'm getting the below error: