Maybe a platform specific python or java issue?
Actually from eyeballing the comments in plugin.py, Usage errors do not set a filename (sometimes?) and if they happen first (before any other error in that file) then offlst will not get initialized resulting in the error message you got (a guess on my part).
Simply setting offlst to [0] right where lastfilename is first set to None might help but I have no computer to test that with.
Last edited by KevinH; 07-30-2020 at 09:57 PM.
|