I tried to run the pwb replace script with file, regex arguments as given in the following log in PAWS environment and got error
The log is given below.
@PAWS:~$ pwb.py replace -file:vemanapages.txt -regex '(?s)^(.*)$' "{{వేమన పద్యాలు }}\n\1" Traceback (most recent call last): File "/srv/paws/pwb/pwb.py", line 365, in <module> if not main(): File "/srv/paws/pwb/pwb.py", line 357, in main run_python_file(filename, File "/srv/paws/pwb/pwb.py", line 73, in run_python_file exec(compile(source, filename, 'exec', dont_inherit=True), File "replace.py", line 1191, in <module> main() File "replace.py", line 917, in main if genFactory.handleArg(arg): AttributeError: 'GeneratorFactory' object has no attribute 'handleArg' CRITICAL: Exiting due to uncaught exception <class 'AttributeError'>
I was able to run it on my desktop using the pwb Version 6.2.0 dated 28 May 2021 successfully.